<?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>Linux 360° &#124; Italia &#187; Networking</title>
	<atom:link href="http://www.linux360.it/category/networking/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.linux360.it</link>
	<description>Notizie, guide e tutorial per il mondo Linux a 360°</description>
	<lastBuildDate>Tue, 16 Dec 2014 14:03:33 +0000</lastBuildDate>
	<language>it-IT</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=3.9.40</generator>
	<item>
		<title>Trovare gli IP liberi di una rete con NMAP</title>
		<link>http://www.linux360.it/2014/05/24/trovare-gli-ip-liberi-rete-nmap/</link>
		<comments>http://www.linux360.it/2014/05/24/trovare-gli-ip-liberi-rete-nmap/#comments</comments>
		<pubDate>Sat, 24 May 2014 13:35:06 +0000</pubDate>
		<dc:creator><![CDATA[linux360]]></dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Varie]]></category>
		<category><![CDATA[nmap]]></category>

		<guid isPermaLink="false">http://www.linux360.it/?p=26</guid>
		<description><![CDATA[<p>Trovare gli IP liberi di una rete con NMAP. Nell’amministrazione quotidiana di una rete, come ad esempio la propria rete domestica, può essere utile individuare un metodo veloce per individuare indirizzi IP liberi. Di seguito un metodo rapido e funzionale che prevede l&#8217;utilizzo di nmap: nmap -v -sP 10.104.102.0/24 &#124; grep “is down.” &#62; ipliberi.txt; ...</p>
<p>L'articolo <a rel="nofollow" href="http://www.linux360.it/2014/05/24/trovare-gli-ip-liberi-rete-nmap/">Trovare gli IP liberi di una rete con NMAP</a> sembra essere il primo su <a rel="nofollow" href="http://www.linux360.it">Linux 360° | Italia</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p><strong>Trovare gli IP liberi di una rete con NMAP.</strong></p>
<p>Nell’amministrazione quotidiana di una rete, come ad esempio la propria rete domestica, può essere utile individuare un metodo veloce per individuare indirizzi IP liberi. Di seguito un metodo rapido e funzionale che prevede l&#8217;utilizzo di nmap:</p>
<p>nmap -v -sP 10.104.102.0/24 | grep “is down.” &gt; ipliberi.txt;</p>
<p>Fa un grep degli hop che vede in stato down e li scrive tutti nel file ipliberi.txt</p>
<p>L'articolo <a rel="nofollow" href="http://www.linux360.it/2014/05/24/trovare-gli-ip-liberi-rete-nmap/">Trovare gli IP liberi di una rete con NMAP</a> sembra essere il primo su <a rel="nofollow" href="http://www.linux360.it">Linux 360° | Italia</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linux360.it/2014/05/24/trovare-gli-ip-liberi-rete-nmap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mikrotik Scripting: Queue Tree Limit Exceeded</title>
		<link>http://www.linux360.it/2014/05/10/mikrotik-scripting-queue-tree-limit-exceeded-2/</link>
		<comments>http://www.linux360.it/2014/05/10/mikrotik-scripting-queue-tree-limit-exceeded-2/#comments</comments>
		<pubDate>Sat, 10 May 2014 16:11:18 +0000</pubDate>
		<dc:creator><![CDATA[Paolo Daniele]]></dc:creator>
				<category><![CDATA[Mikrotik]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Programmazione]]></category>

		<guid isPermaLink="false">http://www.paolodaniele.it/?p=1879</guid>
		<description><![CDATA[<p>Today i&#8217;ll show you a little script for RouterOS to check if queue tree exceed the limit you set. For. Example i&#8217;ve a queue tree that limit the amount o total traffic(Upload+Download) to 50MBps I want to know whenever this queue exceed the limit, and i want the system to send me an email. This ...</p>
<p>L'articolo <a rel="nofollow" href="http://www.linux360.it/2014/05/10/mikrotik-scripting-queue-tree-limit-exceeded-2/">Mikrotik Scripting: Queue Tree Limit Exceeded</a> sembra essere il primo su <a rel="nofollow" href="http://www.linux360.it">Linux 360° | Italia</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Today i&#8217;ll show you a little script for RouterOS to check if queue tree exceed the limit you set.</p>
<p>For. Example i&#8217;ve a queue tree that limit the amount o total traffic(Upload+Download) to 50MBps</p>
<p>I want to know whenever this queue exceed the limit, and i want the system to send me an email.</p>
<p>This is the script:</p>
<div id="wpshdo_1" class="wp-synhighlighter-outer"><div id="wpshdt_1" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_1"></a><a id="wpshat_1" class="wp-synhighlighter-title" href="#codesyntax_1"  onClick="javascript:wpsh_toggleBlock(1)" title="Click to show/hide code block">Source code</a></td><td align="right"><a href="#codesyntax_1" onClick="javascript:wpsh_code(1)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.linux360.it/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_1" onClick="javascript:wpsh_print(1)" title="Print code"><img border="0" style="border: 0 none" src="http://www.linux360.it/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.linux360.it/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.linux360.it/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_1" class="wp-synhighlighter-inner" style="display: block;"><ol class="php" style="font-family:monospace;"><li class="li1"><div class="de1"><span class="sy0">:</span><span class="kw2">global</span> checkrate <span class="br0">[</span><span class="sy0">/</span>queue tree get total<span class="sy0">-</span>traffic rate<span class="br0">]</span></div></li>
<li class="li1"><div class="de1"><span class="sy0">:</span>local limit 50000000</div></li>
<li class="li1"><div class="de1">&nbsp;</div></li>
<li class="li1"><div class="de1"><span class="sy0">:</span><span class="kw1">if</span> <span class="br0">&#40;</span> <span class="re0">$checkrate</span> <span class="sy0">&lt;</span> <span class="re0">$limit</span> <span class="br0">&#41;</span> <span class="kw1">do</span><span class="sy0">=</span><span class="br0">&#123;</span></div></li>
<li class="li1"><div class="de1"><span class="sy0">:</span><a href="http://www.php.net/log"><span class="kw3">log</span></a> info <span class="br0">&#40;</span><span class="st0">&quot;Queue not Exceeded&quot;</span><span class="br0">&#41;</span></div></li>
<li class="li1"><div class="de1"><span class="br0">&#125;</span></div></li>
<li class="li1"><div class="de1"><span class="sy0">:</span><span class="kw1">if</span> <span class="br0">&#40;</span> <span class="re0">$checkrate</span> <span class="sy0">&gt;</span> <span class="re0">$limit</span> <span class="br0">&#41;</span> <span class="kw1">do</span><span class="sy0">=</span><span class="br0">&#123;</span></div></li>
<li class="li1"><div class="de1"><span class="sy0">:</span><a href="http://www.php.net/log"><span class="kw3">log</span></a> info <span class="br0">&#40;</span><span class="st0">&quot;Queue Exceeded&quot;</span><span class="br0">&#41;</span></div></li>
<li class="li1"><div class="de1"><span class="sy0">/</span>tool e<span class="sy0">-</span><a href="http://www.php.net/mail"><span class="kw3">mail</span></a> send server<span class="sy0">=</span>xxx<span class="sy0">.</span>xxx<span class="sy0">.</span>xxx<span class="sy0">.</span>xxx from<span class="sy0">=</span><span class="st0">&quot;me@myself.com&quot;</span> to<span class="sy0">=</span><span class="st0">&quot;me@myself.com&quot;</span> subject<span class="sy0">=</span><span class="br0">&#40;</span><span class="st0">&quot;Queue Limit Exceed&quot;</span><span class="br0">&#41;</span> body<span class="sy0">=</span><span class="br0">&#40;</span><span class="st0">&quot;Queue Limit Exceed, Limit is: &quot;</span> <span class="sy0">.</span> <span class="re0">$checkrate</span><span class="br0">&#41;</span></div></li>
<li class="li1"><div class="de1"><span class="br0">&#125;</span></div></li>
</ol></div></div>
<p>&nbsp;</p>
<p>I&#8217;ll explain the code:</p>
<p>First i define a variable <strong>checkrate</strong> that represent the instant rate of the queue tree named <strong>total-traffic</strong> then i define a <strong>limit</strong>(this case i&#8217;ve used 50Mbps) then i check if rate less than limit do nothing or just log to test the script.</p>
<p>If checkrate greater than limit send an email to myself.</p>
<p>Be sure to specify as email server an IP address and not the name of the server(ex. mail.myself.com)</p>
<p>Enjoy!</p>
<p>&nbsp;</p>
<p>L'articolo <a rel="nofollow" href="http://www.linux360.it/2014/05/10/mikrotik-scripting-queue-tree-limit-exceeded-2/">Mikrotik Scripting: Queue Tree Limit Exceeded</a> sembra essere il primo su <a rel="nofollow" href="http://www.linux360.it">Linux 360° | Italia</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linux360.it/2014/05/10/mikrotik-scripting-queue-tree-limit-exceeded-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
