<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>networks Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/networks/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Tue, 12 Oct 2021 15:11:24 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How to install and use nmap on Linux</title>
		<link>https://www.osradar.com/install-use-nmap-linux/</link>
					<comments>https://www.osradar.com/install-use-nmap-linux/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Fri, 15 Oct 2021 23:04:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[networks]]></category>
		<category><![CDATA[nmap]]></category>
		<category><![CDATA[ports]]></category>
		<category><![CDATA[Security]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=32586</guid>

					<description><![CDATA[<p>Hello, friends. In this post, you will learn how to install and use Nmap on Linux. This tool allows you to scan the ports of one or several hosts and can be useful in auditing tools. Nmap is an open-source, cross-platform tool used to scan networks and obtain information about services, operating systems, and vulnerabilities [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-use-nmap-linux/">How to install and use nmap on Linux</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello, friends. In this post, you will learn how to install and use Nmap on Linux. This tool allows you to scan the ports of one or several hosts and can be useful in auditing tools.</p>



<p>Nmap is an open-source, cross-platform tool used to scan networks and obtain information about services, operating systems, and vulnerabilities derived from the conjunction of these. In general, Nmap is used to scan the ports of one or more hosts.</p>



<p>A more exact definition is provided by the <a href="https://nmap.org/" target="_blank" rel="noreferrer noopener">project’s website</a></p>



<blockquote class="wp-block-quote"><p>Nmap (“Network Mapper”) is a free and open-source (license) utility for network discovery and security auditing. Many systems and network administrators also find it useful for tasks such as network inventory, managing service upgrade schedules, and monitoring host or service uptime.</p></blockquote>



<p>More about Nmap:</p>



<blockquote class="wp-block-quote"><p>Nmap uses raw IP packets in novel ways to determine what hosts are available on the network, what services (application name and version) those hosts are offering, what operating systems (and OS versions) they are running, what type of packet filters/firewalls are in use, and dozens of other characteristics.</p></blockquote>



<p>So if you are passionate about the world of computer security or auditing, then you need to learn how to use Nmap. Or at least get to know it.</p>



<h2 id="install-nmap-on-linux">Install Nmap on Linux</h2>



<p>Fortunately, Nmap is available in the official repositories of many Linux distributions. So installing it will not be a problem for us.</p>



<p>In the case of distributions from the <a href="https://www.osradar.com/tag/debian" target="_blank" rel="noreferrer noopener">Debian </a>family which includes <a href="https://www.osradar.com/tag/ubuntu" target="_blank" rel="noreferrer noopener">Ubuntu </a>and its derivatives such as Linux Mint in a terminal you have to execute</p>



<pre class="wp-block-preformatted">sudo apt update
sudo apt install nmap</pre>



<p>On the other hand, in the case of the RHEL family including CentOS, Fedora, or <a href="https://www.osradar.com/migrate-from-centos-to-rocky-linux/" target="_blank" rel="noreferrer noopener">Rocky Linux</a>, you just need to run</p>



<pre class="wp-block-preformatted">sudo dnf install nmap</pre>



<p>But you can also install it on OpenSUSE</p>



<pre class="wp-block-preformatted">sudo zypper in nmap</pre>



<p>Then, to check that the installation has been successful, you can run</p>



<pre class="wp-block-preformatted">nmap --version
Nmap version 7.80 ( https://nmap.org )
Platform: x86_64-pc-linux-gnu
Compiled with: liblua-5.3.3 openssl-1.1.1j libssh2-1.9.0 libz-1.2.11 libpcre-8.39 libpcap-1.10.0 nmap-libdnet-1.12 ipv6
Compiled without:
Available nsock engines: epoll poll select</pre>



<p>Now we can use it.</p>



<h2 id="using-nmap-on-linux">Using Nmap on Linux</h2>



<p>With Nmap installed correctly, you should be able to use it on your computer without any problems. We’ll go through several examples on how to use this tool.</p>



<p>To scan a host, you can run</p>



<pre class="wp-block-preformatted">sudo nmap [host]</pre>



<p>For example</p>



<pre class="wp-block-preformatted">sudo nmap localhost</pre>



<p>sample output:</p>



<pre class="wp-block-preformatted">Starting Nmap 7.80 ( https://nmap.org ) at 2021-10-12 10:50 EDT
Nmap scan report for localhost (127.0.0.1)
Host is up (0.0000040s latency).
Other addresses for localhost (not scanned): ::1
All 1000 scanned ports on localhost (127.0.0.1) are closed</pre>



<p>As you can see some interesting information is displayed on the output screen which is useful for detecting problems.</p>



<p>To do a quick scan then you can use the <code>-F</code> option</p>



<pre class="wp-block-preformatted">sudo nmap -F [host]</pre>



<p>You can replace <code>[host]</code> with the IP address of the computer you want to scan.</p>



<pre class="wp-block-preformatted">sudo nmap 192.168.2.3</pre>



<p>Also, you can specify multiple hosts or IP addresses.</p>



<pre class="wp-block-preformatted">sudo nmap 192.168.2.3, 192.168.2.6, 192.168.1.1</pre>



<p>Or a range</p>



<pre class="wp-block-preformatted">sudo nmap 192.168.2.3-20</pre>



<p>In this case, it will scan IP addresses ranging from <code>192.168.2.3</code> to <code>192.168.2.20</code>.</p>



<p>Another option is to scan the entire subnet</p>



<pre class="wp-block-preformatted">sudo nmap 192.168.1.1/24</pre>



<p>You can change the frequency and timing of the network scans with the <code>-T</code> option and by specifying a number between <code>0-5</code>, the higher the number the faster the scan.</p>



<p>For example</p>



<pre class="wp-block-preformatted">sudo nmap -T4 localhost</pre>



<p>In this case response times will be lower and can be useful on slow or busy networks.</p>



<p>If you want to have information about the ports, you have to add the <code>-p</code> option and specify some or a range of ports</p>



<pre class="wp-block-preformatted">sudo nmap -p 25,80 192.168.2.1</pre>



<p>In this case, the TCP port <code>25</code> and <code>80</code> of the host will be scanned.</p>



<p>If you want to scan UDP ports</p>



<pre class="wp-block-preformatted">sudo nmap -sU -p 25,80 192.168.2.1</pre>



<h2 id="conclusion">Conclusion</h2>



<p>Nmap is a vital tool for many sysadmin who need to find out some weaknesses.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-use-nmap-linux/">How to install and use nmap on Linux</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-use-nmap-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Wireshark on Ubuntu 20.04/18.04?</title>
		<link>https://www.osradar.com/install-wireshark-on-ubuntu/</link>
					<comments>https://www.osradar.com/install-wireshark-on-ubuntu/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Tue, 16 Mar 2021 02:14:00 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[bionic]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[linux mint]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[networks]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[wireshark]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=9187</guid>

					<description><![CDATA[<p>Many things happen in a network, especially if many users use it. Actually, we don&#8217;t know everything that happens on it, and that for some sysadmin or IT professionals is a problem. Basic or relevant information intersect in that exchange. Therefore, there are applications like Wireshark that help to collect statistics on the use of [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-wireshark-on-ubuntu/">How to install Wireshark on Ubuntu 20.04/18.04?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Many things happen in a network, especially if many users use it. Actually, we don&#8217;t know everything that happens on it, and that for some sysadmin or IT professionals is a problem. Basic or relevant information intersect in that exchange. Therefore, there are applications like Wireshark that help to collect statistics on the use of the network protocol and analyze them. With this in mind, today I will teach you how to install Wireshark on Ubuntu 20.04 and 18.04.</p>
<p><a href="https://www.wireshark.org/">Wireshark</a> is a free and opensource web analyzer. It allows you to know from a quite technical point of view what is happening in your network. With this, you can make statistics, specific <a href="http://osradar.com/tag/monitoring/">monitoring</a> or simply know its traffic.</p>
<p>Some of the main features of Wireshark are:</p>
<ul>
<li>Deep inspection of hundreds of protocols, with more being added all the time.</li>
<li>Live capture and offline analysis.</li>
<li>Standard three-pane packet browser.</li>
<li>Captured network data can be browsed via a GUI, or via the TTY-mode TShark utility.<br />
The most powerful display filters in the industry.</li>
<li>Rich VoIP analysis.</li>
</ul>
<p>And many more. However, one of the most outstanding features is that it is <strong>cross-</strong>platform. In other words, you can install it on Windows, Linux, <a href="https://www.osradar.com/tag/freebsd/">FreeBSD</a>, Solaris, and other systems.</p>
<p>So, let&#8217;s install Wireshark.</p>
<h2>1. Install Wireshark on Ubuntu 20.04/18.04</h2>
<p>To install Wireshark more easily on Ubuntu 16.04, it is necessary to use a PPA repository of its developers. We have two options to install, the developing version or the latest stable version. I&#8217;ll show you the process for both, but in this post, I&#8217;ll install the stable version. <strong>If you use Ubuntu 20.04/ 18.04 this is not necessary.</strong></p>
<h3>If you want to install the development version:</h3>
<p>Open a terminal and run:</p>
<pre class="">:~$ sudo add-apt-repository ppa:dreibh/ppa
:~$ sudo apt update
:~$ sudo apt install wireshark</pre>
<p>And that&#8217;s it.</p>
<h3>Install the stable version:</h3>
<p>It is always best to install the stable version of any program. That&#8217;s to avoid major bugs and surprises. It is clear that no application is free of bugs, but stable versions are less prone to them.</p>
<p>Open a Terminal and add the external repository with this command:</p>
<pre class="">:~$ sudo add-apt-repository ppa:wireshark-dev/stable</pre>
<p><figure id="attachment_9188" aria-describedby="caption-attachment-9188" style="width: 1117px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9188" src="https://www.osradar.com/wp-content/uploads/2019/01/1-11.png" alt="1.- Adding the external repository" width="1117" height="383" srcset="https://www.osradar.com/wp-content/uploads/2019/01/1-11.png 1117w, https://www.osradar.com/wp-content/uploads/2019/01/1-11-300x103.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/1-11-768x263.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/1-11-1024x351.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/1-11-1068x366.png 1068w" sizes="(max-width: 1117px) 100vw, 1117px" /><figcaption id="caption-attachment-9188" class="wp-caption-text">1.- Adding the external repository</figcaption></figure></p>
<p>Next, refresh the APT cache.</p>
<pre class="">:~$ sudo apt update</pre>
<p><figure id="attachment_9189" aria-describedby="caption-attachment-9189" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9189" src="https://www.osradar.com/wp-content/uploads/2019/01/2-10.png" alt="2.- Running the APT cache" width="1365" height="522" srcset="https://www.osradar.com/wp-content/uploads/2019/01/2-10.png 1365w, https://www.osradar.com/wp-content/uploads/2019/01/2-10-300x115.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/2-10-768x294.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/2-10-1024x392.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/2-10-1068x408.png 1068w, https://www.osradar.com/wp-content/uploads/2019/01/2-10-1098x420.png 1098w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-9189" class="wp-caption-text">2.- Running the APT cache</figcaption></figure></p>
<p>Then install Wireshark.</p>
<pre class="">:~$ sudo apt install wireshark</pre>
<p><figure id="attachment_9190" aria-describedby="caption-attachment-9190" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9190" src="https://www.osradar.com/wp-content/uploads/2019/01/3-10.png" alt="3.- Install Wireshark" width="1365" height="550" srcset="https://www.osradar.com/wp-content/uploads/2019/01/3-10.png 1365w, https://www.osradar.com/wp-content/uploads/2019/01/3-10-300x121.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/3-10-768x309.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/3-10-1024x413.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/3-10-1068x430.png 1068w, https://www.osradar.com/wp-content/uploads/2019/01/3-10-1042x420.png 1042w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-9190" class="wp-caption-text">3.- Install Wireshark</figcaption></figure></p>
<p>During installation, we will be asked if we want Wireshark to be available to all users member of wireshark group. Say yes.</p>
<p><figure id="attachment_9191" aria-describedby="caption-attachment-9191" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9191" src="https://www.osradar.com/wp-content/uploads/2019/01/4-11.png" alt="4.- Configuring Wireshark" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/01/4-11.png 1366w, https://www.osradar.com/wp-content/uploads/2019/01/4-11-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/4-11-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/4-11-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/4-11-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/01/4-11-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-9191" class="wp-caption-text">4.- Configuring Wireshark</figcaption></figure></p>
<p>And that&#8217;s it.</p>
<h2>2. Configuring Wireshark</h2>
<p>First, check the version of Wireshark installed.</p>
<pre class="">:~$ wireshark -v</pre>
<p><figure id="attachment_9192" aria-describedby="caption-attachment-9192" style="width: 812px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9192" src="https://www.osradar.com/wp-content/uploads/2019/01/5-11.png" alt="5.- Check the Wireshark version" width="812" height="490" srcset="https://www.osradar.com/wp-content/uploads/2019/01/5-11.png 812w, https://www.osradar.com/wp-content/uploads/2019/01/5-11-300x181.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/5-11-768x463.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/5-11-696x420.png 696w" sizes="(max-width: 812px) 100vw, 812px" /><figcaption id="caption-attachment-9192" class="wp-caption-text">5.- Check the Wireshark version</figcaption></figure></p>
<p>Next, add your current user to the wireshark group so you can use it without problems.</p>
<pre class="">:~$ sudo usermod -a -G wireshark $USER</pre>
<p>Now, change <code>dumpcap</code> permissions. With this you will make it possible to run without permission problems.</p>
<pre class="">:~$ sudo chgrp wireshark /usr/bin/dumpcap
:~$ sudo chmod 750 /usr/bin/dumpcap
:~$ sudo setcap cap_net_raw,cap_net_admin=eip /usr/bin/dumpcap</pre>
<p><figure id="attachment_9193" aria-describedby="caption-attachment-9193" style="width: 797px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9193" src="https://www.osradar.com/wp-content/uploads/2019/01/6-10.png" alt="6.- Change the pemissions" width="797" height="181" srcset="https://www.osradar.com/wp-content/uploads/2019/01/6-10.png 797w, https://www.osradar.com/wp-content/uploads/2019/01/6-10-300x68.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/6-10-768x174.png 768w" sizes="(max-width: 797px) 100vw, 797px" /><figcaption id="caption-attachment-9193" class="wp-caption-text">6.- Change the permissions</figcaption></figure></p>
<p>After you do these steps, run Wireshark from the main menu.</p>
<p><figure id="attachment_9194" aria-describedby="caption-attachment-9194" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9194" src="https://www.osradar.com/wp-content/uploads/2019/01/7-10.png" alt="7.- Wireshark" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/01/7-10.png 1366w, https://www.osradar.com/wp-content/uploads/2019/01/7-10-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/7-10-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/7-10-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/7-10-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/01/7-10-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-9194" class="wp-caption-text">7.- Wireshark</figcaption></figure></p>
<p>Now, you can start to monitor your network.</p>
<p><em>Note: some case you need to run wireshark as root user.</em></p>
<h2>Conclusion</h2>
<p>Wireshark is a vital tool for many sysadmin or network enthusiasts. Its installation is quite simple but its power is almost unmatched.</p>
<p>Please share this post with your friends.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-wireshark-on-ubuntu/">How to install Wireshark on Ubuntu 20.04/18.04?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-wireshark-on-ubuntu/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
