<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>1nixadmin</title>
	
	<link>http://1nixadmin.com</link>
	<description>another day, another problem</description>
	<lastBuildDate>Thu, 19 Mar 2009 22:55:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/StoneyJackson" type="application/rss+xml" /><feedburner:browserFriendly></feedburner:browserFriendly><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>How to install ffmpeg qt-faststart</title>
		<link>http://1nixadmin.com/how-to-install-ffmpeg-qt-faststart-80.htm</link>
		<comments>http://1nixadmin.com/how-to-install-ffmpeg-qt-faststart-80.htm#comments</comments>
		<pubDate>Thu, 19 Mar 2009 22:50:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[unix]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[qt-faststart]]></category>
		<category><![CDATA[quicktime]]></category>
		<category><![CDATA[quicktime fast start]]></category>

		<guid isPermaLink="false">http://1nixadmin.com/?p=80</guid>
		<description><![CDATA[qt-faststart is included in ffmpeg source. You can find it located in tools/qt-faststart.c. There are comments in the file on how to build this application for your use:
/*
* qt-faststart.c, v0.1
* by Mike Melanson (melanson@pcisys.net)
* This file is placed in the public domain. Use the program however you
* see fit.
*
* This utility rearranges a Quicktime file [...]]]></description>
			<content:encoded><![CDATA[<p>qt-faststart is included in ffmpeg source. You can find it located in tools/qt-faststart.c. There are comments in the file on how to build this application for your use:</p>
<p>/*<br />
* qt-faststart.c, v0.1<br />
* by Mike Melanson (melanson@pcisys.net)<br />
* This file is placed in the public domain. Use the program however you<br />
* see fit.<br />
*<br />
* This utility rearranges a Quicktime file such that the moov atom<br />
* is in front of the data, thus facilitating network streaming.<br />
*<br />
* To compile this program, start from the base directory from which you<br />
* are building FFmpeg and type:<br />
*  make tools/qt-faststart<br />
* The qt-faststart program will be built in the tools/ directory. If you<br />
* do not build the program in this manner, correct results are not<br />
* guaranteed, particularly on 64-bit platforms.<br />
* Invoke the program with:<br />
*  qt-faststart &lt;infile.mov&gt; &lt;outfile.mov&gt;<br />
*<br />
* Notes: Quicktime files can come in many configurations of top-level<br />
* atoms. This utility stipulates that the very last atom in the file needs<br />
* to be a moov atom. When given such a file, this utility will rearrange<br />
* the top-level atoms by shifting the moov atom from the back of the file<br />
* to the front, and patch the chunk offsets along the way. This utility<br />
* presently only operates on uncompressed moov atoms.<br />
*/<br />
If you are building ffmpeg from freebsd ports, you can use the following command to build qt-faststart:</p>
<blockquote><p>make work/ffmpeg-2008-07-27/tools/qt-faststart</p></blockquote>
<p>Move the created binary to your favorite location and use!</p>
]]></content:encoded>
			<wfw:commentRss>http://1nixadmin.com/how-to-install-ffmpeg-qt-faststart-80.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updating FreeBSD 4 Port Tree with CSVUP</title>
		<link>http://1nixadmin.com/updating-freebsd-4-port-tree-with-csvup-76.htm</link>
		<comments>http://1nixadmin.com/updating-freebsd-4-port-tree-with-csvup-76.htm#comments</comments>
		<pubDate>Wed, 18 Mar 2009 17:24:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[unix]]></category>
		<category><![CDATA[csvup]]></category>
		<category><![CDATA[Freebsd 4]]></category>
		<category><![CDATA[ports]]></category>

		<guid isPermaLink="false">http://1nixadmin.com/?p=76</guid>
		<description><![CDATA[If you are attempting to update FreeBSD 4 Port tree using csvup with your current ports-supfile, you may run into some issues. FreeBSD is currently End of Life, so modifcation needs to be made so it uses the RELEASE_4_EOL release.
Modify your supfile to read the following:
*default host=cvsup2.FreeBSD.org
*default base=/usr
*default prefix=/usr
#*default release=cvs tag=.
*default release=cvs tag=RELEASE_4_EOL
*default delete use-rel-suffix
Update [...]]]></description>
			<content:encoded><![CDATA[<p>If you are attempting to update FreeBSD 4 Port tree using csvup with your current ports-supfile, you may run into some issues. FreeBSD is currently End of Life, so modifcation needs to be made so it uses the RELEASE_4_EOL release.</p>
<p>Modify your supfile to read the following:</p>
<blockquote><p>*default host=cvsup2.FreeBSD.org<br />
*default base=/usr<br />
*default prefix=/usr<br />
#*default release=cvs tag=.<br />
*default release=cvs tag=RELEASE_4_EOL<br />
*default delete use-rel-suffix</p></blockquote>
<p>Update your ports tree by using csvup:</p>
<blockquote>
<pre>/usr/local/bin/cvsup -g -L 2 /usr/share/examples/cvsup/ports-supfile</pre>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://1nixadmin.com/updating-freebsd-4-port-tree-with-csvup-76.htm/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Find a file modified between a specific time</title>
		<link>http://1nixadmin.com/find-a-file-modified-between-a-specific-time-74.htm</link>
		<comments>http://1nixadmin.com/find-a-file-modified-between-a-specific-time-74.htm#comments</comments>
		<pubDate>Tue, 10 Mar 2009 20:21:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[unix]]></category>
		<category><![CDATA[-mtime]]></category>
		<category><![CDATA[-newer]]></category>
		<category><![CDATA[find]]></category>

		<guid isPermaLink="false">http://1nixadmin.com/?p=74</guid>
		<description><![CDATA[At one point you may need to find a file that has been modified between a specific time, say between 11AM &#8211; 12PM. We can find the results using the find and touch command.
We will need to first create two files that will represent our boundries:
usage: touch -t &#8216;YYYYMMDDhhmm&#8217; filename
touch -t &#8216;200903101100&#8242; /tmp/bound1 # representing [...]]]></description>
			<content:encoded><![CDATA[<p>At one point you may need to find a file that has been modified between a specific time, say between 11AM &#8211; 12PM. We can find the results using the find and touch command.</p>
<p>We will need to first create two files that will represent our boundries:</p>
<p>usage: touch -t &#8216;YYYYMMDDhhmm&#8217; filename</p>
<blockquote><p>touch -t &#8216;200903101100&#8242; /tmp/bound1 # representing March 10th 11AM</p>
<p>touch -t &#8216;200903101200&#8242; /tmp/bound2 # representing March 10th 12PM</p></blockquote>
<p>The using find with -newer option we can search:</p>
<blockquote><p>find / -type f -newer /tmp/bound1 -a ! -newer /tmp/bound2</p></blockquote>
<p>Your output should be files between the ranges specified.</p>
]]></content:encoded>
			<wfw:commentRss>http://1nixadmin.com/find-a-file-modified-between-a-specific-time-74.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create Screenshots for FLV Video using Mplayer</title>
		<link>http://1nixadmin.com/create-screenshots-for-flv-video-using-mplayer-69.htm</link>
		<comments>http://1nixadmin.com/create-screenshots-for-flv-video-using-mplayer-69.htm#comments</comments>
		<pubDate>Wed, 18 Feb 2009 20:00:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[unix]]></category>
		<category><![CDATA[flv]]></category>
		<category><![CDATA[flv screen shot]]></category>
		<category><![CDATA[flv screenshot]]></category>
		<category><![CDATA[mplayer]]></category>

		<guid isPermaLink="false">http://1nixadmin.com/?p=69</guid>
		<description><![CDATA[Rather then using ffmpeg to create screenshots for your FLV video, you can use also Mplayer by using the following command:

mplayer -vf framestep=$rate,scale=$resolution \
-framedrop -nosound $filename -speed 100 -vo \
jpeg:outdir=/path/to/output/directory


$rate should be changed to the number of frames to skip before another screen shot is created
$resolution should be set to the resolution of the output [...]]]></description>
			<content:encoded><![CDATA[<p>Rather then using ffmpeg to create screenshots for your FLV video, you can use also Mplayer by using the following command:</p>
<blockquote>
<pre><code>mplayer -vf framestep=$rate,scale=$resolution \
-framedrop -nosound $filename -speed 100 -vo \
jpeg:outdir=/path/to/output/directory
</code></pre>
</blockquote>
<p>$rate should be changed to the number of frames to skip before another screen shot is created<br />
$resolution should be set to the resolution of the output image 320:280<br />
$filename is the flv file you want to create screens shot</p>
]]></content:encoded>
			<wfw:commentRss>http://1nixadmin.com/create-screenshots-for-flv-video-using-mplayer-69.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Check functionality of Mod Gzip and Mod Deflate</title>
		<link>http://1nixadmin.com/check-functionality-of-mod-gzip-and-mod-deflate-65.htm</link>
		<comments>http://1nixadmin.com/check-functionality-of-mod-gzip-and-mod-deflate-65.htm#comments</comments>
		<pubDate>Sat, 14 Feb 2009 22:43:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[unix]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[mod deflate]]></category>
		<category><![CDATA[mod gzip]]></category>

		<guid isPermaLink="false">http://1nixadmin.com/?p=65</guid>
		<description><![CDATA[We wanted to know how well mod_gzip or mod_deflate will perform, and with our searching on the internets we have found the following site:
http://www.whatsmyip.org/mod_gzip_test/
It will test if gzip is enabled on a specific URL. It will also tell you how much compression is possible.
]]></description>
			<content:encoded><![CDATA[<p>We wanted to know how well mod_gzip or mod_deflate will perform, and with our searching on the internets we have found the following site:</p>
<p><a href="http://www.whatsmyip.org/mod_gzip_test/">http://www.whatsmyip.org/mod_gzip_test/</a></p>
<p>It will test if gzip is enabled on a specific URL. It will also tell you how much compression is possible.</p>
]]></content:encoded>
			<wfw:commentRss>http://1nixadmin.com/check-functionality-of-mod-gzip-and-mod-deflate-65.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Replace Broken Images with Mod Rewrite</title>
		<link>http://1nixadmin.com/replace-broken-images-with-mod-rewrite-63.htm</link>
		<comments>http://1nixadmin.com/replace-broken-images-with-mod-rewrite-63.htm#comments</comments>
		<pubDate>Sat, 07 Feb 2009 16:48:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[unix]]></category>
		<category><![CDATA[broken images]]></category>
		<category><![CDATA[htaccess rewrite]]></category>
		<category><![CDATA[mod rewrite]]></category>

		<guid isPermaLink="false">http://1nixadmin.com/?p=63</guid>
		<description><![CDATA[The following htaccess rewrite rule will replace any broken images that are no longer being hosted on your server with a default image. This will allow your site or other sites hotlinking your images do not load up with a broken image.
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule \.(gif&#124;jpg&#124;png)$ http://path/to/imagefile [R=301,L]
]]></description>
			<content:encoded><![CDATA[<p>The following htaccess rewrite rule will replace any broken images that are no longer being hosted on your server with a default image. This will allow your site or other sites hotlinking your images do not load up with a broken image.</p>
<blockquote><p>RewriteEngine On<br />
RewriteCond %{REQUEST_FILENAME} !-f<br />
RewriteRule \.(gif|jpg|png)$ http://path/to/imagefile [R=301,L]</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://1nixadmin.com/replace-broken-images-with-mod-rewrite-63.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to change your hosts file in Vista</title>
		<link>http://1nixadmin.com/how-to-change-your-hosts-file-in-vista-56.htm</link>
		<comments>http://1nixadmin.com/how-to-change-your-hosts-file-in-vista-56.htm#comments</comments>
		<pubDate>Tue, 20 Jan 2009 22:37:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[unix]]></category>
		<category><![CDATA[uac]]></category>
		<category><![CDATA[vista]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[windows vista]]></category>

		<guid isPermaLink="false">http://1nixadmin.com/?p=56</guid>
		<description><![CDATA[With Vista UAC, it restricts modifying the host file. You will usually get a message telling you that you don&#8217;t have the correct permissions. Use the following steps below to add hosts correctly:
1)  Browse to Start -&#62; All Programs -&#62; Accessories
2)  Right click &#8220;Notepad&#8221; and select &#8220;Run as administrator&#8221;
3)  Click &#8220;Continue&#8221; on the UAC prompt
4)  [...]]]></description>
			<content:encoded><![CDATA[<p>With Vista UAC, it restricts modifying the host file. You will usually get a message telling you that you don&#8217;t have the correct permissions. Use the following steps below to add hosts correctly:</p>
<p>1)  Browse to Start -&gt; All Programs -&gt; Accessories<br />
2)  Right click &#8220;Notepad&#8221; and select &#8220;Run as administrator&#8221;<br />
3)  Click &#8220;Continue&#8221; on the UAC prompt<br />
4)  Click File -&gt; Open<br />
5)  Browse to &#8220;C:\Windows\System32\Drivers\etc&#8221;<br />
6)  Change the file filter drop down box from &#8220;Text Documents (*.txt)&#8221; to &#8220;All Files (*.*)&#8221;<br />
7)  Select &#8220;hosts&#8221; and click &#8220;Open&#8221;<br />
8)  Make the needed changes and Save.</p>
]]></content:encoded>
			<wfw:commentRss>http://1nixadmin.com/how-to-change-your-hosts-file-in-vista-56.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Mail Function with Qmail Not Working!</title>
		<link>http://1nixadmin.com/php-mail-function-with-qmail-not-working-52.htm</link>
		<comments>http://1nixadmin.com/php-mail-function-with-qmail-not-working-52.htm#comments</comments>
		<pubDate>Sat, 17 Jan 2009 15:47:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[unix]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php mail function]]></category>
		<category><![CDATA[qmail]]></category>
		<category><![CDATA[sendmail]]></category>

		<guid isPermaLink="false">http://1nixadmin.com/?p=52</guid>
		<description><![CDATA[If you are using qmail on your server, you may run into an issue with PHP trying to use sendmail to while using the PHP Mail Function. If you are not a root user, you will possibly receive the following error:
sendmail: fatal: your mailing privileges have been removed
You can fix this by providing the path [...]]]></description>
			<content:encoded><![CDATA[<p>If you are using qmail on your server, you may run into an issue with PHP trying to use sendmail to while using the PHP Mail Function. If you are not a root user, you will possibly receive the following error:</p>
<blockquote><p>sendmail: fatal: your mailing privileges have been removed</p></blockquote>
<p>You can fix this by providing the path for qmail in the php.ini:</p>
<p>sendmail_path = /var/qmail/bin/qmail-inject</p>
]]></content:encoded>
			<wfw:commentRss>http://1nixadmin.com/php-mail-function-with-qmail-not-working-52.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blocking Brute Force Attacks SSH or FTP with IPTables and IPT_Recent</title>
		<link>http://1nixadmin.com/blocking-brute-force-attacks-ssh-or-ftp-with-iptables-and-ipt_recent-49.htm</link>
		<comments>http://1nixadmin.com/blocking-brute-force-attacks-ssh-or-ftp-with-iptables-and-ipt_recent-49.htm#comments</comments>
		<pubDate>Tue, 06 Jan 2009 00:43:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[unix]]></category>
		<category><![CDATA[FTP Brute Force]]></category>
		<category><![CDATA[IPTables]]></category>
		<category><![CDATA[IPT_Recent]]></category>
		<category><![CDATA[SSH Brute Force]]></category>

		<guid isPermaLink="false">http://1nixadmin.com/?p=49</guid>
		<description><![CDATA[If you are using Linux, you can use the power of iptables and ipt_recent to block SSH brute force attacks. You will find many results via Google on how to stop SSH brute force attacks. You can use the following rules:

iptables -N SSHSCAN
iptables -A INPUT -p tcp -m tcp &#8211;dport 22 -m state &#8211;state NEW [...]]]></description>
			<content:encoded><![CDATA[<p>If you are using Linux, you can use the power of iptables and ipt_recent to block SSH brute force attacks. You will find many results via Google on how to stop SSH brute force attacks. You can use the following rules:</p>
<blockquote>
<p>iptables -N SSHSCAN<br />
iptables -A INPUT -p tcp -m tcp &#8211;dport 22 -m state &#8211;state NEW -j SSHSCAN<br />
iptables -A SSHSCAN -m recent &#8211;set &#8211;name SSH &#8211;rsource<br />
iptables -A SSHSCAN -m recent &#8211;update &#8211;seconds 300 &#8211;hitcount 3 &#8211;name SSH &#8211;rsource -j DROP</p></blockquote>
<p>You can possibly find more advanced chains on the web, but this is what I am currently using on box to stop SSH Attacks. As far as I can tell, it has worked to thawrte constant attacks against my box which filled my logs up.</p>
<p>Recently I have been receiving large amount of FTP Brute Force Attacks, so I modified the above rule to use it for FTP:</p>
<blockquote><p>iptables -N FTPSCAN<br />
iptables -A INPUT -p tcp -m tcp &#8211;dport 21 -m state &#8211;state NEW -j FTPSCAN<br />
iptables -A FTPSCAN -m recent &#8211;set &#8211;name FTP &#8211;rsource<br />
iptables -A FTPSCAN -m recent &#8211;update &#8211;seconds 300 &#8211;hitcount 3 &#8211;name FTP &#8211;rsource -j DROP</p></blockquote>
<p>Initial testing is promising and has blocked those attempting to access FTP port serveral times. You can watch the ipt_recent bucket using the following path: /proc/net/ipt_recent/</p>
<p>below is the following output of my FTP ipt_recent bucket. I have made a synthetic attack on the server just to see if it does work:</p>
<p>[jason@stealthsrv ~]# cat /proc/net/ipt_recent/FTP<br />
src=71.167.42.204 ttl: 63 last_seen: 5996404666 oldest_pkt: 6 5994532232, 5994536594, 5995242627, 5995252675, 5996395210, 5996404666<br />
src=210.21.56.141 ttl: 252 last_seen: 5995765848 oldest_pkt: 4 5995075694, 5995075696, 5995765847, 5995765848</p>
<p>To commit these changes so that these rules stay live after a reboot, run the following command:</p>
<p>/sbin/iptables-save &gt; /etc/sysconfig/iptables</p>
]]></content:encoded>
			<wfw:commentRss>http://1nixadmin.com/blocking-brute-force-attacks-ssh-or-ftp-with-iptables-and-ipt_recent-49.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Neighbour Table Overflow</title>
		<link>http://1nixadmin.com/neighbour-table-overflow-40.htm</link>
		<comments>http://1nixadmin.com/neighbour-table-overflow-40.htm#comments</comments>
		<pubDate>Wed, 17 Dec 2008 03:56:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[unix]]></category>
		<category><![CDATA[arptable]]></category>
		<category><![CDATA[Neighbour Table Overflow]]></category>
		<category><![CDATA[network]]></category>

		<guid isPermaLink="false">http://1nixadmin.com/?p=40</guid>
		<description><![CDATA[While working on a server today, I see the following errors in /var/log/message. During this time the network on the box went down:
Dec 16 13:34:12 server kernel: printk: 153 messages suppressed.
Dec 16 13:34:12 server kernel: Neighbour table overflow.
Dec 16 13:34:14 server kernel: printk: 54 messages suppressed.
Dec 16 13:34:14 server kernel: Neighbour table overflow.
Dec 16 13:34:19 [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">While working on a server today, I see the following errors in /var/log/message. During this time the network on the box went down:</p>
<p style="text-align: left;"><code>Dec 16 13:34:12 server kernel: printk: 153 messages suppressed.<br />
Dec 16 13:34:12 </code><code>server</code><code> kernel: Neighbour table overflow.<br />
Dec 16 13:34:14 </code><code>server</code><code> kernel: printk: 54 messages suppressed.<br />
Dec 16 13:34:14 </code><code>server</code><code> kernel: Neighbour table overflow.<br />
Dec 16 13:34:19 </code><code>server</code><code> kernel: printk: 138 messages suppressed.<br />
Dec 16 13:34:19 </code><code>server</code><code> kernel: Neighbour table overflow.</code></p>
<p style="text-align: left;">This error occurs when neighbor table is maxed out. The neighbor table settings represents how many arp cache entries the kernel will keep. The default value is 128, 512, 1024.</p>
<p style="text-align: left;">To view the current values:</p>
<p style="text-align: left;">/sbin/sysctl -a | grep net.ipv4.neigh.default.gc_thresh</p>
<p style="text-align: left;">
<p style="text-align: left;">You can modify the values in the following files:</p>
<p style="text-align: left;"><em class="quotelev1"> </em><span class="quotelev1">/sbin/sysctl -w net.ipv4.neigh.default.gc_thresh2=2048 </span></p>
<p style="text-align: left;"><span class="quotelev1"> /sbin/sysctl -w net.ipv4.neigh.default.gc_thresh1=1024 </span></p>
<p style="text-align: left;"><span class="quotelev1">/sbin/sysctl -w net.ipv4.neigh.default.gc_thresh3=4096 </span></p>
<p style="text-align: left;">This will change values immediately, or you can put the values in /etc/sysctl.conf,</p>
<p style="text-align: left;">
<p style="text-align: left;">Others have recommended using the following method below:</p>
<p style="text-align: left;"><code>echo 1024 &gt; /proc/sys/net/ipv4/neigh/default/gc_thresh1</code></p>
<p style="text-align: left;"><code>echo 2048 &gt; </code><code>/proc/sys/net/ipv4/neigh/default/gc_thresh2</code></p>
<p style="text-align: left;"><code>echo 4096 &gt; /proc/sys/net/ipv4/neigh/default/gc_thresh3</code></p>
<p style="text-align: left;">
<p style="text-align: left;">However I ran into the issue that the system would rewrite the values to default immediately. Using sysctl worked without a problem.</p>
<p style="text-align: left;">The differences between these values are as follows:</p>
<p style="text-align: left;">gc_thresh3 = hard limit, kernel will not allocate more then this entry</p>
<p style="text-align: left;">gc_thresh2 = soft limit, kernel will begin to perform garbage collection</p>
<p style="text-align: left;">
]]></content:encoded>
			<wfw:commentRss>http://1nixadmin.com/neighbour-table-overflow-40.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
