<?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:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Server Guide and Blog</title>
	
	<link>http://www.bgevolution.com/blog</link>
	<description>Rock Your Linux</description>
	<lastBuildDate>Thu, 11 Mar 2010 19:40:51 +0000</lastBuildDate>
	
	<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" type="application/rss+xml" href="http://feeds.feedburner.com/ServerGuideAndBlog" /><feedburner:info uri="serverguideandblog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><geo:lat>40.833246</geo:lat><geo:long>-73.693095</geo:long><creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license><image><link>http://creativecommons.org/licenses/by-nc-sa/3.0/</link><url>http://creativecommons.org/images/public/somerights20.gif</url><title>Some Rights Reserved</title></image><feedburner:feedFlare href="http://add.my.yahoo.com/rss?url=http%3A%2F%2Ffeeds.feedburner.com%2FServerGuideAndBlog" src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FServerGuideAndBlog" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare href="http://feeds.my.aol.com/add.jsp?url=http%3A%2F%2Ffeeds.feedburner.com%2FServerGuideAndBlog" src="http://o.aolcdn.com/favorites.my.aol.com/webmaster/ffclient/webroot/locale/en-US/images/myAOLButtonSmall.gif">Subscribe with My AOL</feedburner:feedFlare><feedburner:feedFlare href="http://www.bloglines.com/sub/http://feeds.feedburner.com/ServerGuideAndBlog" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FServerGuideAndBlog" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FServerGuideAndBlog" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FServerGuideAndBlog" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&amp;fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><item>
		<title>Stdout or a Pipe and a Tee</title>
		<link>http://feedproxy.google.com/~r/ServerGuideAndBlog/~3/-3Q2UBPMJpg/</link>
		<comments>http://www.bgevolution.com/blog/stdout-or-a-pipe-and-a-tee/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 19:06:47 +0000</pubDate>
		<dc:creator>nseidm1</dc:creator>
				<category><![CDATA[log]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[pipe]]></category>
		<category><![CDATA[stdout]]></category>
		<category><![CDATA[tee]]></category>
		<category><![CDATA[2 ways]]></category>
		<category><![CDATA[backup log]]></category>
		<category><![CDATA[default mail]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[mail log]]></category>
		<category><![CDATA[output]]></category>
		<category><![CDATA[tail]]></category>

		<guid isPermaLink="false">http://www.bgevolution.com/blog/?p=1859</guid>
		<description><![CDATA[If you have a binary that is outputting information to standard output, you can save the information 2 ways. You can direct the output to a file using &#62;&#62; or you can use a pipe with a tee. When you use &#62;&#62; you will not see the output, it will directly get dumped into the [...]]]></description>
			<content:encoded><![CDATA[<p>If you have a binary that is outputting information to standard output, you can save the information 2 ways. You can direct the output to a file using <code>&gt;&gt;</code> or you can use a pipe with a tee. When you use <code>&gt;&gt;</code> you will not see the output, it will directly get dumped into the file, which is why the pipe and the tee is useful. Lets say you want to monitor your your mail.log. Open it with tail -f, and watch it on the screen:</p>
<p><code>sudo tail -f /var/log/mail.log</code></p>
<p>I find it interesting sometimes to watch spam and viruses get processed by the server.</p>
<p>Now if you want to save this output to a file other than the default mail.log you can direct the stdout to a file using <code>>></code>:</p>
<p><code>sudo tail -f /var/log/mail.log >> ~/mail_bak.log</code></p>
<p>If you want to view the tail, while you are also saving it to a backup log file, use:</p>
<p><code>sudo tail -f /var/log/mail.log | tee ~/mail_bak.log</code></p>
<p>Two options, I use them both on occasion.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/nPW_5_ULDlvWamvWccfmSEgOEYU/0/da"><img src="http://feedads.g.doubleclick.net/~a/nPW_5_ULDlvWamvWccfmSEgOEYU/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/nPW_5_ULDlvWamvWccfmSEgOEYU/1/da"><img src="http://feedads.g.doubleclick.net/~a/nPW_5_ULDlvWamvWccfmSEgOEYU/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/ServerGuideAndBlog/~4/-3Q2UBPMJpg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.bgevolution.com/blog/stdout-or-a-pipe-and-a-tee/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.bgevolution.com/blog/stdout-or-a-pipe-and-a-tee/</feedburner:origLink></item>
		<item>
		<title>Fstab – Manual Mounting and Udev Auto</title>
		<link>http://feedproxy.google.com/~r/ServerGuideAndBlog/~3/NY38EOKe__k/</link>
		<comments>http://www.bgevolution.com/blog/fstab-manual-mounting-and-udev-auto/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 14:26:01 +0000</pubDate>
		<dc:creator>nseidm1</dc:creator>
				<category><![CDATA[fstab]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[udev]]></category>
		<category><![CDATA[automount]]></category>
		<category><![CDATA[cd iso]]></category>
		<category><![CDATA[iso]]></category>
		<category><![CDATA[iso images]]></category>
		<category><![CDATA[linux distributions]]></category>
		<category><![CDATA[samba shares]]></category>
		<category><![CDATA[System]]></category>

		<guid isPermaLink="false">http://www.bgevolution.com/blog/?p=1854</guid>
		<description><![CDATA[Modern Linux distributions use udev which automount partitions to the system. This is most notably seen with usb device that are the predominant hot swappable media. Internal hard drives, particularly drives that are used to boot the system, have their mount points defined in the fstab file. Fstab is automatically generated during the Debian/Ubuntu installation [...]]]></description>
			<content:encoded><![CDATA[<p>Modern Linux distributions use udev which automount partitions to the system. This is most notably seen with usb device that are the predominant hot swappable media. Internal hard drives, particularly drives that are used to boot the system, have their mount points defined in the fstab file. Fstab is automatically generated during the Debian/Ubuntu installation process. Occasionally you&#8217;ll want to add entries such as to automount samba shares or if you have Windows partitions on the hard drive; although Windows partitions will most likely be handled automatically by udev. You can mount iso images automatically using fstab; but this may be unnecessarily permanent, and a temporary <code>mount -t iso9660 cd.iso</code> might simply be easier and more convenient.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/ZBcED0J6_O4Q23bitCxHT4l-mW8/0/da"><img src="http://feedads.g.doubleclick.net/~a/ZBcED0J6_O4Q23bitCxHT4l-mW8/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/ZBcED0J6_O4Q23bitCxHT4l-mW8/1/da"><img src="http://feedads.g.doubleclick.net/~a/ZBcED0J6_O4Q23bitCxHT4l-mW8/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/ServerGuideAndBlog/~4/NY38EOKe__k" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.bgevolution.com/blog/fstab-manual-mounting-and-udev-auto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.bgevolution.com/blog/fstab-manual-mounting-and-udev-auto/</feedburner:origLink></item>
		<item>
		<title>Partiton Full? Move your Stuff Somewhere Else</title>
		<link>http://feedproxy.google.com/~r/ServerGuideAndBlog/~3/A7QQuRwyytU/</link>
		<comments>http://www.bgevolution.com/blog/partiton-full-move-your-stuff-somewhere-else/#comments</comments>
		<pubDate>Sat, 06 Mar 2010 16:35:23 +0000</pubDate>
		<dc:creator>nseidm1</dc:creator>
				<category><![CDATA[cp]]></category>
		<category><![CDATA[ln]]></category>
		<category><![CDATA[partition]]></category>
		<category><![CDATA[rm]]></category>
		<category><![CDATA[symbolic]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[backup directory]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[excess space]]></category>
		<category><![CDATA[hda]]></category>
		<category><![CDATA[hda1]]></category>
		<category><![CDATA[hda2]]></category>
		<category><![CDATA[home]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[symbolic link]]></category>
		<category><![CDATA[user]]></category>

		<guid isPermaLink="false">http://www.bgevolution.com/blog/?p=1850</guid>
		<description><![CDATA[If you run out of space on a particular partition, but you have excess space on another partition you can relocate your data. Lets say you have 100 Megabytes left on /dev/hda1 but your have 10 gigs left on /dev/hda2. Lets say you have a folder on /dev/hda1 /home/user/backup that is over 2 gigs. Lets [...]]]></description>
			<content:encoded><![CDATA[<p>If you run out of space on a particular partition, but you have excess space on another partition you can relocate your data. Lets say you have 100 Megabytes left on /dev/hda1 but your have 10 gigs left on /dev/hda2. Lets say you have a folder on /dev/hda1 /home/user/backup that is over 2 gigs. Lets transfer these files to /dev/hda2 and then create a symbolic link at the original location so the folder can be accessed from the exact same location. For the example /dev/hda1 is mounted at /home/user/backup and /dev/hda2 is mounted on /home/user/backup2.</p>
<p>1) Create a new folder and move the contents.</p>
<p><code></code><code>cp -r /home/user/backup/* /home/user/backup2</code></p>
<p>Then check that the files have been successfully copied to the new directory. Then delete the original backup directory.</p>
<p><code>rm -r /home/user/backup</code></p>
<p>Then create a symbolic link to the backup directory.</p>
<p><code>ln -s /home/user/backup2 /home/user/backup</code></p>
<p>Now when you navigate to /home/user/backup you wont be able to tell the difference except that you have now alot of space on the /dev/hda1 partition.</p>
<p>Your partitions may be mounted to different locations, just apply the above example to your particular configuration.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/0bfiD136Sr96J46hBuejCFKFjWU/0/da"><img src="http://feedads.g.doubleclick.net/~a/0bfiD136Sr96J46hBuejCFKFjWU/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/0bfiD136Sr96J46hBuejCFKFjWU/1/da"><img src="http://feedads.g.doubleclick.net/~a/0bfiD136Sr96J46hBuejCFKFjWU/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/ServerGuideAndBlog/~4/A7QQuRwyytU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.bgevolution.com/blog/partiton-full-move-your-stuff-somewhere-else/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.bgevolution.com/blog/partiton-full-move-your-stuff-somewhere-else/</feedburner:origLink></item>
		<item>
		<title>Working Locally from a Remote Location</title>
		<link>http://feedproxy.google.com/~r/ServerGuideAndBlog/~3/s88uJtIXVcQ/</link>
		<comments>http://www.bgevolution.com/blog/working-locally-from-a-remote-location/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 15:26:58 +0000</pubDate>
		<dc:creator>nseidm1</dc:creator>
				<category><![CDATA[gdm]]></category>
		<category><![CDATA[ldm]]></category>
		<category><![CDATA[local]]></category>
		<category><![CDATA[ltsp]]></category>
		<category><![CDATA[nvidia]]></category>
		<category><![CDATA[remote]]></category>
		<category><![CDATA[location]]></category>
		<category><![CDATA[nvidia card]]></category>
		<category><![CDATA[PXE]]></category>
		<category><![CDATA[room]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[server room]]></category>
		<category><![CDATA[video capabilities]]></category>
		<category><![CDATA[video chipset]]></category>

		<guid isPermaLink="false">http://www.bgevolution.com/blog/?p=1847</guid>
		<description><![CDATA[Yes, I know it sounds funny. You can work locally from a remote location. I am specifically referring to use of LTSP. I am managing a server for a company, and I will be placing the server in an air conditioned server room; and I don&#8217;t want to sit in that room all day long. [...]]]></description>
			<content:encoded><![CDATA[<p>Yes, I know it sounds funny. You can work locally from a remote location. I am specifically referring to use of LTSP. I am managing a server for a company, and I will be placing the server in an air conditioned server room; and I don&#8217;t want to sit in that room all day long. I installed an LTSP server so I can sit in the main office and boot a PXE enabled computer from the system. LTSP allows you to login directly to the server from a remote location. The desktop environment will be exactly the same as if you were sitting in front of the machine. The only difference is the LDM  login screen, which technically you can change to anything including GDM.</p>
<p>I want to take the graphics card out of the server; its a nice Nvidia card; in the end I will not being doing what I want because I cannot leave the server completely without local video capabilities. I will be relying on the motherboard integrated Intel video chipset on the PXE enabled computer. It will server its purpose. I will be taking the 1080p capable monitor from the server, to use on the client; this I can get away with. Its a nice system and a pleasure to manage.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/GJxvIX0ColdkIMG3JkDsg2b1B4M/0/da"><img src="http://feedads.g.doubleclick.net/~a/GJxvIX0ColdkIMG3JkDsg2b1B4M/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/GJxvIX0ColdkIMG3JkDsg2b1B4M/1/da"><img src="http://feedads.g.doubleclick.net/~a/GJxvIX0ColdkIMG3JkDsg2b1B4M/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/ServerGuideAndBlog/~4/s88uJtIXVcQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.bgevolution.com/blog/working-locally-from-a-remote-location/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.bgevolution.com/blog/working-locally-from-a-remote-location/</feedburner:origLink></item>
		<item>
		<title>SSH – Gateway Ports and Forward Reverse Tunnels</title>
		<link>http://feedproxy.google.com/~r/ServerGuideAndBlog/~3/DT0KpsOnSFI/</link>
		<comments>http://www.bgevolution.com/blog/ssh-gateway-ports-and-forward-reverse-tunnels/#comments</comments>
		<pubDate>Sat, 27 Feb 2010 14:42:32 +0000</pubDate>
		<dc:creator>nseidm1</dc:creator>
				<category><![CDATA[.forward]]></category>
		<category><![CDATA[client]]></category>
		<category><![CDATA[gateway]]></category>
		<category><![CDATA[host]]></category>
		<category><![CDATA[port]]></category>
		<category><![CDATA[reverse]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[tunnel]]></category>
		<category><![CDATA[client location]]></category>
		<category><![CDATA[connection]]></category>
		<category><![CDATA[encrypted connection]]></category>
		<category><![CDATA[gateway ports]]></category>
		<category><![CDATA[option]]></category>
		<category><![CDATA[ssh connection]]></category>
		<category><![CDATA[ssh connections]]></category>

		<guid isPermaLink="false">http://www.bgevolution.com/blog/?p=1837</guid>
		<description><![CDATA[SSH can create forward and reverse tunnels to transmit port data through the encrypted connection. You can create forward tunnels that link the local port of the client machine to the remote port on the server. You can create reverse tunnels that link the remote ports of the server to the local ports on the [...]]]></description>
			<content:encoded><![CDATA[<p>SSH can create forward and reverse tunnels to transmit port data through the encrypted connection. You can create forward tunnels that link the local port of the client machine to the remote port on the server. You can create reverse tunnels that link the remote ports of the server to the local ports on the client. Forward tunnels are created using the -L option. Reverse ports are configured using the -R option. The forward and reverse tunnels work fine when working locally on the client machine, but if you want other hosts, at the client location, to connect to the tunnels you need to enable the gateway ports feature of ssh.</p>
<p>Gateway ports does not work with forward and reverse tunnels on Ubuntu 8.04, the long term support branch. The openssh version included in the repositories does not allow reverse tunnels, and forward tunnels combined, with the -G (gatewayports) option enabled. Forward tunnels do work with the gateway ports feature. Theoretically the option does try and work, but when you operate ssh using -VV you will see that during the connection process the reverse tunnel fails to create.</p>
<p>I think this is an old bug that may have been addressed. I do see posts about successes, therefore I&#8217;m inclined to think that new versions of openssh have addressed the bug.</p>
<p><a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=228064">http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=228064</a></p>
<p>Instead of installing a newer version of ssh I just implemented an alternative for hosts at the client location. I wanted to use a single computer as a gateway to ports located on a remote server. It would have been nice to consolidate all communications to a single ssh connection.</p>
<p>I ended up using <a href="http://haanstra.eu/putty/">http://haanstra.eu/putty/</a>. Each workstation, at the client location, will establish a direct ssh connection bypassing the gateway ports feature. There will be many ssh connections, but this is all behind the scenes stuff that the employees will never see, and it will provided the needed functionality.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/3f2e9c8KptoY37i8Ub-_XuKnnEY/0/da"><img src="http://feedads.g.doubleclick.net/~a/3f2e9c8KptoY37i8Ub-_XuKnnEY/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/3f2e9c8KptoY37i8Ub-_XuKnnEY/1/da"><img src="http://feedads.g.doubleclick.net/~a/3f2e9c8KptoY37i8Ub-_XuKnnEY/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/ServerGuideAndBlog/~4/DT0KpsOnSFI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.bgevolution.com/blog/ssh-gateway-ports-and-forward-reverse-tunnels/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.bgevolution.com/blog/ssh-gateway-ports-and-forward-reverse-tunnels/</feedburner:origLink></item>
		<item>
		<title>Mod Security for Apache – Web Server Smart Firewall</title>
		<link>http://feedproxy.google.com/~r/ServerGuideAndBlog/~3/-7JFOd3umcE/</link>
		<comments>http://www.bgevolution.com/blog/mod-security-for-apache-web-server-smart-firewall/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 14:25:52 +0000</pubDate>
		<dc:creator>nseidm1</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[mod]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[debian repositories]]></category>
		<category><![CDATA[denial of service]]></category>
		<category><![CDATA[denial of service attacks]]></category>
		<category><![CDATA[module]]></category>
		<category><![CDATA[security options]]></category>
		<category><![CDATA[spamhaus]]></category>
		<category><![CDATA[sudo]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.bgevolution.com/blog/?p=1832</guid>
		<description><![CDATA[Mod security has features that go above and beyond a standard firewall. It will help to prevent denial of service attacks, and also can be used to block traffic based on realtime blackhole lists issued by Spamhaus and others. Mod security is apparently in the Debian repositories as well as Ubuntu. In the Ubuntu repos [...]]]></description>
			<content:encoded><![CDATA[<p>Mod security has features that go above and beyond a standard firewall. It will help to prevent denial of service attacks, and also can be used to block traffic based on realtime blackhole lists issued by Spamhaus and others. Mod security is apparently in the Debian repositories as well as Ubuntu. In the Ubuntu repos you will have to enable the third party applications and update the aptitude databases. Then install:</p>
<p><code>sudo apt-get install libapache2-mod-security</code></p>
<p>Then enable the module:</p>
<p><code>sudo a2enmod security</code></p>
<p>By default there is a configuration file installed. The default configuration will provide you a basic starting point for the various security options available by the module. Please refer to the document for more information about what can be done. This blog shows how to use mod security to hit realtime blackhole lists to block nasty offenders of various natures.</p>
<p><a title="Blocking comment spam using ModSecurity and realtime blacklists" href="http://www.inliniac.net/blog/2007/02/23/blocking-comment-spam-using-modsecurity-and-realtime-blacklists.html">http://www.inliniac.net/blog/2007/02/23/blocking-comment-spam-using-modsecurity-and-realtime-blacklists.html</a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/1Cu2c-wd_OI-FCgzS_XJsTrny04/0/da"><img src="http://feedads.g.doubleclick.net/~a/1Cu2c-wd_OI-FCgzS_XJsTrny04/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/1Cu2c-wd_OI-FCgzS_XJsTrny04/1/da"><img src="http://feedads.g.doubleclick.net/~a/1Cu2c-wd_OI-FCgzS_XJsTrny04/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/ServerGuideAndBlog/~4/-7JFOd3umcE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.bgevolution.com/blog/mod-security-for-apache-web-server-smart-firewall/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.bgevolution.com/blog/mod-security-for-apache-web-server-smart-firewall/</feedburner:origLink></item>
		<item>
		<title>Project Honey Pot – Real Time Spam Traps</title>
		<link>http://feedproxy.google.com/~r/ServerGuideAndBlog/~3/AjDlQAgLfv8/</link>
		<comments>http://www.bgevolution.com/blog/project-honey-pot-real-time-spam-traps/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 17:46:54 +0000</pubDate>
		<dc:creator>nseidm1</dc:creator>
				<category><![CDATA[Honey]]></category>
		<category><![CDATA[Pot]]></category>
		<category><![CDATA[Project]]></category>
		<category><![CDATA[spam]]></category>
		<category><![CDATA[trap]]></category>
		<category><![CDATA[attempts]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[domain owners]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[harvesters]]></category>
		<category><![CDATA[honey pot]]></category>
		<category><![CDATA[implementation]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://www.bgevolution.com/blog/?p=1828</guid>
		<description><![CDATA[Project Honey Pot is a bridge that provides domain owners the ability to share email harvesting attempts with the community. On the website you can download a pre-made and customized script for implementation on your website. Go to:
http://www.projecthoneypot.org
Register yourself. Then click &#8220;install new honey pot&#8221;. Place it in a directory on your domain. Traverse to [...]]]></description>
			<content:encoded><![CDATA[<p>Project Honey Pot is a bridge that provides domain owners the ability to share email harvesting attempts with the community. On the website you can download a pre-made and customized script for implementation on your website. Go to:</p>
<p><a title="Project Honey Pot" href="http://www.projecthoneypot.org">http://www.projecthoneypot.org</a></p>
<p>Register yourself. Then click &#8220;install new honey pot&#8221;. Place it in a directory on your domain. Traverse to the directory in a browser. Select the button that completes the setup, and the continue following the instructions provided to you. When you add links to your website I recommend adding the nofollow rel tag. Albeit use of this tag is widely debated, I don&#8217;t think it can hurt. You will get statistics on your projecthoneypot.com homepage with the incident of email harvesters coming to your domain.</p>
<p>Set one up. Participate. If your domain receives any spam your website is most likely being visited by email harvesters.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/EenPDlwMuiZ7w4Ijv5NKxHjkUu0/0/da"><img src="http://feedads.g.doubleclick.net/~a/EenPDlwMuiZ7w4Ijv5NKxHjkUu0/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/EenPDlwMuiZ7w4Ijv5NKxHjkUu0/1/da"><img src="http://feedads.g.doubleclick.net/~a/EenPDlwMuiZ7w4Ijv5NKxHjkUu0/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/ServerGuideAndBlog/~4/AjDlQAgLfv8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.bgevolution.com/blog/project-honey-pot-real-time-spam-traps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.bgevolution.com/blog/project-honey-pot-real-time-spam-traps/</feedburner:origLink></item>
		<item>
		<title>Apache Security – Necessary Settings</title>
		<link>http://feedproxy.google.com/~r/ServerGuideAndBlog/~3/WFYHed0B9_o/</link>
		<comments>http://www.bgevolution.com/blog/apache-security-necessary-settings/#comments</comments>
		<pubDate>Sat, 20 Feb 2010 14:37:05 +0000</pubDate>
		<dc:creator>nseidm1</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[option]]></category>
		<category><![CDATA[parameter]]></category>
		<category><![CDATA[php.ini]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[apache modules]]></category>
		<category><![CDATA[apache php]]></category>
		<category><![CDATA[basedir]]></category>
		<category><![CDATA[ini]]></category>
		<category><![CDATA[option search]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[security feature]]></category>
		<category><![CDATA[signature option]]></category>

		<guid isPermaLink="false">http://www.bgevolution.com/blog/?p=1819</guid>
		<description><![CDATA[PHP is powerful, and allows static html pages to become dynamic. It also allows information to translate into commands and functions. Because of this you should implement a variety of security features. The biggest security feature, which increases security of the host machine, is setting the basedir parameter. This locks PHP functions to a particular [...]]]></description>
			<content:encoded><![CDATA[<p>PHP is powerful, and allows static html pages to become dynamic. It also allows information to translate into commands and functions. Because of this you should implement a variety of security features. The biggest security feature, which increases security of the host machine, is setting the basedir parameter. This locks PHP functions to a particular directory, not allowing them to run processes or effect files further down the tree. Use nano and the cntrl-w function to search for &#8220;open_basedir&#8221; in /etc/php5/apache/php.ini. It will most likely be commented with a # sign. Remove the # sign and add the document root of your website. If you virtualhost, you can add the root of all documents served.</p>
<p>Also turn off several other parementers.</p>
<p><code>allow_url_fopen</code></p>
<p>allow_url_include</p>
<p>display_errors</p>
<p>register_globals</p>
<p>safe_mode</p>
<p>Also turn off the Magic Quotes options in php.ini. In /etc/apache2/apache2.conf turn off the signature option. Search for &#8220;ServerSignature&#8221;. There is an apache modules that should be iplemented; mod security; I&#8217;ll save it for the next post.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/0BZxTX02TmmYhjJeDKFimAFaWdA/0/da"><img src="http://feedads.g.doubleclick.net/~a/0BZxTX02TmmYhjJeDKFimAFaWdA/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/0BZxTX02TmmYhjJeDKFimAFaWdA/1/da"><img src="http://feedads.g.doubleclick.net/~a/0BZxTX02TmmYhjJeDKFimAFaWdA/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/ServerGuideAndBlog/~4/WFYHed0B9_o" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.bgevolution.com/blog/apache-security-necessary-settings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.bgevolution.com/blog/apache-security-necessary-settings/</feedburner:origLink></item>
		<item>
		<title>Cable Internet – Isolate the Problem</title>
		<link>http://feedproxy.google.com/~r/ServerGuideAndBlog/~3/3uRFVJyQy4w/</link>
		<comments>http://www.bgevolution.com/blog/cable-internet-isolate-the-problem/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 14:40:33 +0000</pubDate>
		<dc:creator>nseidm1</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cable]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[main]]></category>
		<category><![CDATA[website]]></category>
		<category><![CDATA[cable company]]></category>
		<category><![CDATA[cable modem]]></category>
		<category><![CDATA[caption]]></category>
		<category><![CDATA[email services]]></category>
		<category><![CDATA[external ip address]]></category>
		<category><![CDATA[house]]></category>
		<category><![CDATA[line]]></category>
		<category><![CDATA[months service]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[Wikipedia]]></category>

		<guid isPermaLink="false">http://www.bgevolution.com/blog/?p=1816</guid>
		<description><![CDATA[

After rewiring my entire house the ultimate way to isolate the problem is to put the cable modem directly on the main line. Replace all splitters, and ask the cable company to drop a new main line, and you can feel confident that the problem is no longer in your house. I rewired my entire [...]]]></description>
			<content:encoded><![CDATA[<div class="zemanta-img">
<div class="wp-caption alignleft" style="width: 190px"><a href="http://commons.wikipedia.org/wiki/Image:Sb5120.jpg"><img class=" " title="Motorola SB5120 Modem" src="http://upload.wikimedia.org/wikipedia/commons/thumb/3/3b/Sb5120.jpg/300px-Sb5120.jpg" alt="Motorola SB5120 Modem" width="180" height="180" /></a>
<p class="wp-caption-text">Image via Wikipedia</p>
</div>
</div>
<p>After rewiring my entire house the ultimate way to isolate the problem is to put the cable modem directly on the main line. Replace all splitters, and ask the cable company to drop a new main line, and you can feel confident that the problem is no longer in your house. I rewired my entire house, replaced all splitter, then called the cable company. They replaced the splitter outside, and then dropped a new main line. The problem is no longer in my house. My router is loosing its external ip address. So far the cable company said they will compensate us for one months service, if this continues more compensation is warranted.</p>
<p>Every time the internet goes down, this website, my other websites, and all of my email services go offline. I rely on this website to get me through the day when I am at work. What is a day of work when you can blog about things <img src='http://www.bgevolution.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div class="zemanta-pixie"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/b3bdb5a1-369e-4601-a9f7-790463f4ed2b/"><img class="zemanta-pixie-img" src="http://img.zemanta.com/reblog_e.png?x-id=b3bdb5a1-369e-4601-a9f7-790463f4ed2b" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>

<p><a href="http://feedads.g.doubleclick.net/~a/MtEWc9k5-sSfyjUL6bc0myBypXM/0/da"><img src="http://feedads.g.doubleclick.net/~a/MtEWc9k5-sSfyjUL6bc0myBypXM/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/MtEWc9k5-sSfyjUL6bc0myBypXM/1/da"><img src="http://feedads.g.doubleclick.net/~a/MtEWc9k5-sSfyjUL6bc0myBypXM/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/ServerGuideAndBlog/~4/3uRFVJyQy4w" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.bgevolution.com/blog/cable-internet-isolate-the-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.bgevolution.com/blog/cable-internet-isolate-the-problem/</feedburner:origLink></item>
		<item>
		<title>Apache2 Server Side Includes</title>
		<link>http://feedproxy.google.com/~r/ServerGuideAndBlog/~3/ZZ4wklFuunk/</link>
		<comments>http://www.bgevolution.com/blog/apache2-server-side-includes/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 14:32:47 +0000</pubDate>
		<dc:creator>nseidm1</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[apache2]]></category>
		<category><![CDATA[include]]></category>
		<category><![CDATA[side]]></category>
		<category><![CDATA[ssi]]></category>
		<category><![CDATA[benifit]]></category>
		<category><![CDATA[caption]]></category>
		<category><![CDATA[client web]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[directory]]></category>
		<category><![CDATA[directory path]]></category>
		<category><![CDATA[document]]></category>
		<category><![CDATA[gt options]]></category>
		<category><![CDATA[host containers]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[server parameters]]></category>
		<category><![CDATA[shtml]]></category>
		<category><![CDATA[sudo]]></category>
		<category><![CDATA[Wikipedia]]></category>

		<guid isPermaLink="false">http://www.bgevolution.com/blog/?p=1769</guid>
		<description><![CDATA[Server side includes allow for external html documents to be injected into a page prior to it rendering on the client web browser. The benifit of this is eliminating the need to repetitiously repeat code over and over again. If you include the same scripts, on each of your website pages, you can create an [...]]]></description>
			<content:encoded><![CDATA[<p>Server side includes allow for external html documents to be injected into a page prior to it rendering on the client web browser. The benifit of this is eliminating the need to repetitiously repeat code over and over again. If you include the same scripts, on each of your website pages, you can create an external html document and inject it using a server side include with a single line of code. If your using virtual host containers, you can include the server parameters directly in the file. Add the following directory block and make the directory path that of the virtual host block&#8217;s document root:</p>
<blockquote><p><code>&lt;Directory /var/www/*&gt;</code><br />
Options +Includes<br />
AddType text/html .shtml<br />
AddOutputFilter INCLUDES .shtml<br />
&lt;/Directory&gt;</p></blockquote>
<p>Make .shtml the extension of the files you are including. I think you can make it anything, I just used &#8220;.html&#8221;.</p>
<p>Then enable the module:</p>
<p><code>sudo a2enmod include</code></p>
<p>Reload apache2:</p>
<p><code>sudo /etc/init.d/apache2 restart</code></p>
<p>Then include external html files using:</p>
<blockquote><p><code>&lt;!-- #include virtual="/mrtg/file1.html" --&gt;</code></p></blockquote>

<p><a href="http://feedads.g.doubleclick.net/~a/AYor_NqrKxFZxhthGxeSs4q7EWg/0/da"><img src="http://feedads.g.doubleclick.net/~a/AYor_NqrKxFZxhthGxeSs4q7EWg/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/AYor_NqrKxFZxhthGxeSs4q7EWg/1/da"><img src="http://feedads.g.doubleclick.net/~a/AYor_NqrKxFZxhthGxeSs4q7EWg/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/ServerGuideAndBlog/~4/ZZ4wklFuunk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.bgevolution.com/blog/apache2-server-side-includes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.bgevolution.com/blog/apache2-server-side-includes/</feedburner:origLink></item>
		<item>
		<title>Virus Detected Notification – Suppress Clamav-Milter Messages</title>
		<link>http://feedproxy.google.com/~r/ServerGuideAndBlog/~3/hsXuQSfYTbw/</link>
		<comments>http://www.bgevolution.com/blog/virus-detected-notification-suppress-clamav-milter-messages/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 14:12:44 +0000</pubDate>
		<dc:creator>nseidm1</dc:creator>
				<category><![CDATA[ClamAV]]></category>
		<category><![CDATA[detect]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[milter]]></category>
		<category><![CDATA[notification]]></category>
		<category><![CDATA[virus]]></category>
		<category><![CDATA[Clamav-milter]]></category>
		<category><![CDATA[linux machine]]></category>
		<category><![CDATA[postmaster]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[root user]]></category>
		<category><![CDATA[spam folder]]></category>
		<category><![CDATA[user]]></category>
		<category><![CDATA[virus message]]></category>

		<guid isPermaLink="false">http://www.bgevolution.com/blog/?p=1758</guid>
		<description><![CDATA[Clamav-milter will automatically mail the root user and/or the postmaster in the event that a virus message has been rejected for delivery. To suppress the mailing of these virus found reports open:
/etc/default/clamav-milter
At the top is the options line. Add to the line:
--quiet
No more messages and you don&#8217;t need to filter the messages into the spam [...]]]></description>
			<content:encoded><![CDATA[<p>Clamav-milter will automatically mail the root user and/or the postmaster in the event that a virus message has been rejected for delivery. To suppress the mailing of these virus found reports open:</p>
<p><code>/etc/default/clamav-milter</code></p>
<p>At the top is the options line. Add to the line:</p>
<p><code>--quiet</code></p>
<p>No more messages and you don&#8217;t need to filter the messages into the spam folder, which is a separate feat that I could not achieve. Which is why I went this route.<br />
<h6 class="zemanta-related-title">Related articles by Zemanta</h6>
<ul class="zemanta-article-ul">
<li class="zemanta-article-ul-li"><a href="http://www.ghacks.net/2010/01/20/scan-your-linux-machine-for-viruses-with-clamtk/">Scan your Linux machine for viruses with ClamTk</a> (ghacks.net)</li>
</ul>
<div class="zemanta-pixie"><a class="zemanta-pixie-a" href="http://reblog.zemanta.com/zemified/94147ebe-8eca-4e6b-9618-4a1d0fd273f4/" title="Reblog this post [with Zemanta]"><img class="zemanta-pixie-img" src="http://img.zemanta.com/reblog_e.png?x-id=94147ebe-8eca-4e6b-9618-4a1d0fd273f4" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related pretty-attribution"><script type="text/javascript" src="http://static.zemanta.com/readside/loader.js" defer="defer"></script></span></div>

<p><a href="http://feedads.g.doubleclick.net/~a/kULMk5cL8xF2v__txBK6FJxF7Bw/0/da"><img src="http://feedads.g.doubleclick.net/~a/kULMk5cL8xF2v__txBK6FJxF7Bw/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/kULMk5cL8xF2v__txBK6FJxF7Bw/1/da"><img src="http://feedads.g.doubleclick.net/~a/kULMk5cL8xF2v__txBK6FJxF7Bw/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/ServerGuideAndBlog/~4/hsXuQSfYTbw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.bgevolution.com/blog/virus-detected-notification-suppress-clamav-milter-messages/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.bgevolution.com/blog/virus-detected-notification-suppress-clamav-milter-messages/</feedburner:origLink></item>
		<item>
		<title>Apache 2 Manage Modules and Sites – Configuration Structure</title>
		<link>http://feedproxy.google.com/~r/ServerGuideAndBlog/~3/9KP3Tb9QHQk/</link>
		<comments>http://www.bgevolution.com/blog/apache-2-manage-modules-and-sites/#comments</comments>
		<pubDate>Sun, 14 Feb 2010 15:52:48 +0000</pubDate>
		<dc:creator>nseidm1</dc:creator>
				<category><![CDATA[a2dismod]]></category>
		<category><![CDATA[a2dissite]]></category>
		<category><![CDATA[a2enmod]]></category>
		<category><![CDATA[a2ensite]]></category>
		<category><![CDATA[apache2]]></category>
		<category><![CDATA[mod]]></category>
		<category><![CDATA[php5]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[com]]></category>
		<category><![CDATA[conf]]></category>
		<category><![CDATA[default]]></category>
		<category><![CDATA[document]]></category>
		<category><![CDATA[document roots]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[host containers]]></category>
		<category><![CDATA[servername]]></category>
		<category><![CDATA[software modules]]></category>
		<category><![CDATA[sudo]]></category>
		<category><![CDATA[virtualhost]]></category>
		<category><![CDATA[www data]]></category>

		<guid isPermaLink="false">http://www.bgevolution.com/blog/?p=1752</guid>
		<description><![CDATA[Apache2 implements a structured method of organizing and enabling/disabling modules and sites. The default apache2 host is automatically turned on in /etc/apache2/sites-enabled/, and it includes the virtual hosting option. Therefore, by default, virtual hosting is enabled. Create your virtual host containers in /etc/apache2/sites-available, and then enable them by issuing the command:
sudo a2ensite xxxxx.com
VirtualHost containers are [...]]]></description>
			<content:encoded><![CDATA[<p>Apache2 implements a structured method of organizing and enabling/disabling modules and sites. The default apache2 host is automatically turned on in /etc/apache2/sites-enabled/, and it includes the virtual hosting option. Therefore, by default, virtual hosting is enabled. Create your virtual host containers in /etc/apache2/sites-available, and then enable them by issuing the command:</p>
<p><code>sudo a2ensite xxxxx.com</code></p>
<p>VirtualHost containers are easy to format, and can point to any directory. An example virtualhost container is:</p>
<p><code>&lt;VirtualHost *&gt;<br />
DocumentRoot /www/example1<br />
ServerName www.example1.com</code><br />
&lt;/VirtualHost&gt;</p>
<p># Other directives here</p>
<p>I tend to place the document roots in my main users home directory. Then chmod the entire document root with owner and group as your username, and then chmod it 775. A permission of 775 will give the owner and group write permissions. Then add www-data, the user running apache2, to your group:</p>
<p><code>sudo adduser www-data username</code></p>
<p>Now www-data can write to the document root, which comes in handy for many php solution including blogging software.</p>
<p>Modules are also managed using the a2 command. Use a2enmod/a2dismod respectively. Although with some modules like php5, when you install it the module is loaded automatically:</p>
<p><code>sudo apt-get install libapache2-mod-php5<br />
</code></p>
<p>Apache2 changed how the configuration files are coordinated. It is much more neater than containing everything in the httpd.conf file. Now there is the ports.conf file, and the sites-available/mod-available, and sites-enabled/mods-enabled directories. Essentially no real modification is required in the new apache2.conf file. The default listening port is configured in /etc/apache2/ports.conf.</p>
<h6 class="zemanta-related-title">Related articles by Zemanta</h6>
<ul class="zemanta-article-ul">
<li class="zemanta-article-ul-li"><a href="http://helpdeskgeek.com/how-to/add-virtual-hostnames-in-apache/">How to Add Virtual Hostnames in Apache</a> (helpdeskgeek.com)</li>
<li class="zemanta-article-ul-li"><a href="http://www.howtoforge.com/how-to-set-up-apache2-with-mod_fcgid-and-php5-on-opensuse-11.2">How To Set Up Apache2 With mod_fcgid And PHP5 On OpenSUSE 11.2</a> (howtoforge.com)</li>
</ul>
<div class="zemanta-pixie"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/fe98f757-f8d7-492b-afd9-59769c3eacbf/"><img class="zemanta-pixie-img" src="http://img.zemanta.com/reblog_e.png?x-id=fe98f757-f8d7-492b-afd9-59769c3eacbf" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>

<p><a href="http://feedads.g.doubleclick.net/~a/tHuNT-YNGuDqlVjr7hMuSgr2Vaw/0/da"><img src="http://feedads.g.doubleclick.net/~a/tHuNT-YNGuDqlVjr7hMuSgr2Vaw/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/tHuNT-YNGuDqlVjr7hMuSgr2Vaw/1/da"><img src="http://feedads.g.doubleclick.net/~a/tHuNT-YNGuDqlVjr7hMuSgr2Vaw/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/ServerGuideAndBlog/~4/9KP3Tb9QHQk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.bgevolution.com/blog/apache-2-manage-modules-and-sites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.bgevolution.com/blog/apache-2-manage-modules-and-sites/</feedburner:origLink></item>
		<item>
		<title>SSH X Forwarding with Compression</title>
		<link>http://feedproxy.google.com/~r/ServerGuideAndBlog/~3/eZnb7eLVJl8/</link>
		<comments>http://www.bgevolution.com/blog/ssh-x-forwarding-with-compression/#comments</comments>
		<pubDate>Sat, 13 Feb 2010 21:39:18 +0000</pubDate>
		<dc:creator>nseidm1</dc:creator>
				<category><![CDATA[Compression]]></category>
		<category><![CDATA[quality]]></category>
		<category><![CDATA[speed]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[xtightvncviewer]]></category>
		<category><![CDATA[c option]]></category>
		<category><![CDATA[compression quality]]></category>
		<category><![CDATA[connection]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[slow internet connection]]></category>
		<category><![CDATA[slow internet connections]]></category>
		<category><![CDATA[ssh sessions]]></category>

		<guid isPermaLink="false">http://www.bgevolution.com/blog/?p=1745</guid>
		<description><![CDATA[If you plan to forward X applications via ssh, and are using a very slow internet connection you should definitely use compression. The &#8220;-C&#8221; option will use compression and will substantially increase the data transfer rate in 100 Kb/s or less internet connections. Also with vnc connection, if you are using xtightvncviewer you can effectively [...]]]></description>
			<content:encoded><![CDATA[<p>If you plan to forward X applications via ssh, and are using a very slow internet connection you should definitely use compression. The &#8220;-C&#8221; option will use compression and will substantially increase the data transfer rate in 100 Kb/s or less internet connections. Also with vnc connection, if you are using xtightvncviewer you can effectively decrease the quality of the desktop, which is proportionally increase performance. For more information about xtightvncviewer check here:</p>
<p><a title="VNC – Compression – Quality – The Works" href="http://www.bgevolution.com/blog/vnc-compression-quality-the-works/">http://www.bgevolution.com/blog/vnc-compression-quality-the-works/</a></p>
<p>You&#8217;d be surprised at what you can get accomplished on slow internet connections using the tips above.</p>
<h6 class="zemanta-related-title">Related articles by Zemanta</h6>
<ul class="zemanta-article-ul">
<li class="zemanta-article-ul-li"><a href="http://ask.slashdot.org/story/10/02/04/2224241/Keep-SSH-Sessions-Active-Or-Reconnect?from=rss">Keep SSH Sessions Active, Or Reconnect?</a> (ask.slashdot.org)</li>
</ul>
<div class="zemanta-pixie"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/c7055344-07cd-4293-9015-9d8e0f21e4bd/"><img class="zemanta-pixie-img" src="http://img.zemanta.com/reblog_e.png?x-id=c7055344-07cd-4293-9015-9d8e0f21e4bd" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>

<p><a href="http://feedads.g.doubleclick.net/~a/Hgh5bRRBbPK3zkL1aks_UTOTSUs/0/da"><img src="http://feedads.g.doubleclick.net/~a/Hgh5bRRBbPK3zkL1aks_UTOTSUs/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/Hgh5bRRBbPK3zkL1aks_UTOTSUs/1/da"><img src="http://feedads.g.doubleclick.net/~a/Hgh5bRRBbPK3zkL1aks_UTOTSUs/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/ServerGuideAndBlog/~4/eZnb7eLVJl8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.bgevolution.com/blog/ssh-x-forwarding-with-compression/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.bgevolution.com/blog/ssh-x-forwarding-with-compression/</feedburner:origLink></item>
		<item>
		<title>Remote Server Management in Local Facility – LTSP</title>
		<link>http://feedproxy.google.com/~r/ServerGuideAndBlog/~3/UMK4CxlvgSo/</link>
		<comments>http://www.bgevolution.com/blog/remote-server-management-in-local-facility-ltsp/#comments</comments>
		<pubDate>Sat, 13 Feb 2010 14:26:33 +0000</pubDate>
		<dc:creator>nseidm1</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[inet]]></category>
		<category><![CDATA[ltsp]]></category>
		<category><![CDATA[tftp]]></category>
		<category><![CDATA[boot sequence]]></category>
		<category><![CDATA[dhcp]]></category>
		<category><![CDATA[dhcp servers]]></category>
		<category><![CDATA[domain default]]></category>
		<category><![CDATA[local ip]]></category>
		<category><![CDATA[machine]]></category>
		<category><![CDATA[server option]]></category>
		<category><![CDATA[sudo]]></category>

		<guid isPermaLink="false">http://www.bgevolution.com/blog/?p=1742</guid>
		<description><![CDATA[I&#8217;m using LTSP to manage a server remotely in a local facility. I setup an LTSP server on the host machine, and will place it in an air-conditioned room to preserve longevity. I configured a machine, of much lower power, to PXE boot from the server. There are several nuances to setting up an LTSP [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m using LTSP to manage a server remotely in a local facility. I setup an LTSP server on the host machine, and will place it in an air-conditioned room to preserve longevity. I configured a machine, of much lower power, to PXE boot from the server. There are several nuances to setting up an LTSP server. Once all is done you realize that it is less complicated that is can or needs to be. When things go right there is essentially three step in total. First:</p>
<p><code>sudo apt-get install ltsp-server-standalone</code></p>
<p>This installs the works. Then configured dhcp.</p>
<p><code>sudo nano /etc/ltsp/dhcpd.conf</code></p>
<p>Config the subnet to the same that you are using on your router. Clearly if your routers local ip is 192.168.0.1 your subnet would be 192.168.0.0. Then set a range. Make sure you turn off the dhcp servers in any and all routers connected to the network. You need the dhcp server on the machine to be the sole and only. Set the &#8220;next-server&#8221; option to the came local ip address of the server. Then set the rest of the options; domain, default gateway, dns&#8230;. Then reboot the server:</p>
<p><code>sudo /etc/init.d/dhcp3-server restart</code></p>
<p>Build the clients:</p>
<p><code>sudo ltsp-build-client</code></p>
<p>Thats really all there is to it. I&#8217;ve found that problems do arise, and instead of trying to fix them just purge all the installed applications and start over.</p>
<p><code>sudo apt-get remove --purge ltsp-server-standalone ltsp-server xinetd</code></p>
<p>One time I was stuck because there were two tftp inet servers, openbsd-inetd and inetd-hpa. They were conflicting. Then purge the autoremove function:</p>
<p><code>sudo apt-get --purge autoremove</code></p>
<p>Then start over installing ltsp-server-standalone. You can test your ltsp server using VirtualBox. Just like a real machine set the boot sequence to network as the first option. Now hook up a fancy monitor that can support 1920&#215;1080 to the relatively low powered machine in the other room, and remotely manage your server from a pseudo local desktop environment.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/vpUoEZG2yvEWDK1XL5_mzsb_mmk/0/da"><img src="http://feedads.g.doubleclick.net/~a/vpUoEZG2yvEWDK1XL5_mzsb_mmk/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/vpUoEZG2yvEWDK1XL5_mzsb_mmk/1/da"><img src="http://feedads.g.doubleclick.net/~a/vpUoEZG2yvEWDK1XL5_mzsb_mmk/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/ServerGuideAndBlog/~4/UMK4CxlvgSo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.bgevolution.com/blog/remote-server-management-in-local-facility-ltsp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.bgevolution.com/blog/remote-server-management-in-local-facility-ltsp/</feedburner:origLink></item>
		<item>
		<title>Sendmail – Critical to Receive System Alerts</title>
		<link>http://feedproxy.google.com/~r/ServerGuideAndBlog/~3/QagfqtSHP6A/</link>
		<comments>http://www.bgevolution.com/blog/sendmail-critical-to-receive-system-alerts/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 14:02:27 +0000</pubDate>
		<dc:creator>nseidm1</dc:creator>
				<category><![CDATA[.forward]]></category>
		<category><![CDATA[Sendmail]]></category>
		<category><![CDATA[access]]></category>
		<category><![CDATA[alert]]></category>
		<category><![CDATA[aliases]]></category>
		<category><![CDATA[home]]></category>
		<category><![CDATA[user]]></category>
		<category><![CDATA[default sendmail]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[external mail server]]></category>
		<category><![CDATA[forward works]]></category>
		<category><![CDATA[local ip]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[relay mail]]></category>
		<category><![CDATA[System]]></category>

		<guid isPermaLink="false">http://www.bgevolution.com/blog/?p=1737</guid>
		<description><![CDATA[



Image via Wikipedia



The core of Linux is designed to mail, at minimum, the root user of various system alerts. With sendmail installed these alerts are mailed to the respective user directory. If you have an external mail server you can configure your local user mail to be forwarded to any email address. The easiest method [...]]]></description>
			<content:encoded><![CDATA[<div class="zemanta-img">
<div>
<dl class="wp-caption alignleft">
<dt class="wp-caption-dt"><a href="http://commons.wikipedia.org/wiki/Image:Roadrunner_supercomputer_HiRes.jpg"><img title="HiRes image of Roadrunner, world's first petaf..." src="http://upload.wikimedia.org/wikipedia/commons/thumb/c/c7/Roadrunner_supercomputer_HiRes.jpg/300px-Roadrunner_supercomputer_HiRes.jpg" alt="HiRes image of Roadrunner, world's first petaf..." /></a></dt>
<dd class="wp-caption-dd zemanta-img-attribution">Image via <a href="http://commons.wikipedia.org/wiki/Image:Roadrunner_supercomputer_HiRes.jpg">Wikipedia</a></dd>
</dl>
</div>
</div>
<p>The core of Linux is designed to mail, at minimum, the root user of various system alerts. With sendmail installed these alerts are mailed to the respective user directory. If you have an external mail server you can configure your local user mail to be forwarded to any email address. The easiest method is to place a .forward file in the users home directory. First create the file:</p>
<p><code>touch .forward</code></p>
<p>Then edit it:</p>
<p><code>nano .forward</code></p>
<p>Then add your email address to the file. All mails set to that particular user will now be forwarded to the added email address. People will say that you need to add the forwards directly to the aliases file in /etc/mail, but this is not necessary. It does work, and can be argued to be more &#8220;neat&#8221;, but .forward works just as well. Place a .forward file in each users directory. I use this on severs that I remotely manage. All system messages arre automatically forwarded to my incoming email server. There is no configuration needed for sendmail to work in this fashion. Just install it and system messages go to users, and then get forwarded as prescribed by .forward. Its secure against incoming messages unless port 25 has been forwarded to the local ip of the machine, from the router. And by default sendmail does not relay mail from external sources. Technically is will only send mail from the localhost, and even if there are other machines in your domain they cannot use sendmail without enabling a relay for them in the access file (/etc/mail/access).</p>
<div class="zemanta-pixie"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/26acb3ec-f2eb-4726-b844-b0efc1e7727b/"><img class="zemanta-pixie-img" src="http://img.zemanta.com/reblog_e.png?x-id=26acb3ec-f2eb-4726-b844-b0efc1e7727b" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>

<p><a href="http://feedads.g.doubleclick.net/~a/AGE_XuNePZxd2ME4KK_ZP_el48Q/0/da"><img src="http://feedads.g.doubleclick.net/~a/AGE_XuNePZxd2ME4KK_ZP_el48Q/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/AGE_XuNePZxd2ME4KK_ZP_el48Q/1/da"><img src="http://feedads.g.doubleclick.net/~a/AGE_XuNePZxd2ME4KK_ZP_el48Q/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/ServerGuideAndBlog/~4/QagfqtSHP6A" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.bgevolution.com/blog/sendmail-critical-to-receive-system-alerts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.bgevolution.com/blog/sendmail-critical-to-receive-system-alerts/</feedburner:origLink></item>
		<item>
		<title>Sendmail – Crontab and Email Updates</title>
		<link>http://feedproxy.google.com/~r/ServerGuideAndBlog/~3/xhAZpEXmHrc/</link>
		<comments>http://www.bgevolution.com/blog/sendmail-crontab-and-email-updates/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 14:11:57 +0000</pubDate>
		<dc:creator>nseidm1</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[annoyance]]></category>
		<category><![CDATA[cronjob]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[email address]]></category>
		<category><![CDATA[external ip address]]></category>
		<category><![CDATA[invaluable feature]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[mail aliases]]></category>
		<category><![CDATA[Press]]></category>
		<category><![CDATA[Sendmail]]></category>

		<guid isPermaLink="false">http://www.bgevolution.com/blog/?p=1730</guid>
		<description><![CDATA[Cron automatically sends out email to the job&#8217;s runner a report of the issued cronjob. This can either be an excellent and invaluable feature or an annoyance. To stop the emails from coming add this to the end of any particular cronjob:
&#62;/dev/null 2&#62;&#38;1
Without the above line the email will be delivered to the mailbox. You [...]]]></description>
			<content:encoded><![CDATA[<p>Cron automatically sends out email to the job&#8217;s runner a report of the issued cronjob. This can either be an excellent and invaluable feature or an annoyance. To stop the emails from coming add this to the end of any particular cronjob:</p>
<p><code>&gt;/dev/null 2&gt;&amp;1</code></p>
<p>Without the above line the email will be delivered to the mailbox. You can send the mail anywhere. I prefer setting up aliases in /etc/mail/aliases. This associated a particular user with possibly the email address of another domain. You can also put a MAILTO directive directly at the top of a particular users crontab:</p>
<p><code>MAILTO=" "</code></p>
<p>Note that sendmail will send outbound mail without any configurations necessary. Just install it:</p>
<p><code>sudo apt-get install sendmail</code></p>
<p>Test sendmail with:</p>
<p><code>mail -v user@domain.com</code></p>
<p>Write a subject, press enter, add something meaningless to the body, press control-d, then press enter on CC. Accepting mail is another story. To accecpt mail you need to open port 25, and make sure the external ip address is routing it to the local ip machine running sendmail. Then you have to configure sendmail to listen and accecpt email coming from this port. Then you need another application to retreive the mail from the users inbox. I prefer Dovecot. For more information on Dovecot please refer to:</p>
<p><a title="Dovecot Ubuntu Server" href="http://www.bgevolution.com/blog/dovecot-ubuntu-server/">http://www.bgevolution.com/blog/dovecot-ubuntu-server/</a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/sfnM1y5uJVMIeFnlJwSH5zCQVkA/0/da"><img src="http://feedads.g.doubleclick.net/~a/sfnM1y5uJVMIeFnlJwSH5zCQVkA/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/sfnM1y5uJVMIeFnlJwSH5zCQVkA/1/da"><img src="http://feedads.g.doubleclick.net/~a/sfnM1y5uJVMIeFnlJwSH5zCQVkA/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/ServerGuideAndBlog/~4/xhAZpEXmHrc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.bgevolution.com/blog/sendmail-crontab-and-email-updates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.bgevolution.com/blog/sendmail-crontab-and-email-updates/</feedburner:origLink></item>
		<item>
		<title>Nvidia Driver on Linux – Easy, and Quick</title>
		<link>http://feedproxy.google.com/~r/ServerGuideAndBlog/~3/rWUJRDfqSiA/</link>
		<comments>http://www.bgevolution.com/blog/nvidia-driver-on-linux-easy-and-quick/#comments</comments>
		<pubDate>Sun, 07 Feb 2010 14:07:06 +0000</pubDate>
		<dc:creator>nseidm1</dc:creator>
				<category><![CDATA[driver]]></category>
		<category><![CDATA[gcc]]></category>
		<category><![CDATA[headers]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[modules]]></category>
		<category><![CDATA[nvidia]]></category>
		<category><![CDATA[xorg]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[desktop cd]]></category>
		<category><![CDATA[gdm]]></category>
		<category><![CDATA[modules package]]></category>
		<category><![CDATA[nvidia driver]]></category>
		<category><![CDATA[open source driver]]></category>
		<category><![CDATA[startup settings]]></category>
		<category><![CDATA[sudo]]></category>

		<guid isPermaLink="false">http://www.bgevolution.com/blog/?p=1726</guid>
		<description><![CDATA[



Image via CrunchBase



There is a buzz that installing the Linux based Nvidia accelerated graphics driver is complicated. I consider it rather straight forward. First install build-essential, and the headers for your kernel. Those may appear to be some bigs words in the previous sentence, but it is really one line in a terminal window. Build [...]]]></description>
			<content:encoded><![CDATA[<div class="zemanta-img">
<div>
<dl class="wp-caption alignleft">
<dt class="wp-caption-dt"><a href="http://www.crunchbase.com/company/nvidia"><img title="Image representing NVidia as depicted in Crunc..." src="http://www.crunchbase.com/assets/images/resized/0001/8308/18308v1-max-250x250.jpg" alt="Image representing NVidia as depicted in Crunc..." /></a></dt>
<dd class="wp-caption-dd zemanta-img-attribution">Image via <a href="http://www.crunchbase.com">CrunchBase</a></dd>
</dl>
</div>
</div>
<p>There is a buzz that installing the Linux based Nvidia accelerated graphics driver is complicated. I consider it rather straight forward. First install build-essential, and the headers for your kernel. Those may appear to be some bigs words in the previous sentence, but it is really one line in a terminal window. Build essential installs GCC and its dependencies:</p>
<p><code>sudo apt-get install build-essential linux-headers-$(uname -r)</code></p>
<p>Now download the latest and greatest Nvidia driver. Choose the correct build type for your architecture. Conveniently save the file to your desktop and rename it to nvidia.run. The change your tty to another. To change to tty2 press control-alt f2.</p>
<p>Shut down gdm, which will stop X11:</p>
<p><code>sudo /etc/init.d/gdm stop</code></p>
<p>Or if you are using the new process manager in Ubuntu 9.10 you can use also:</p>
<p><code>sudo service gdm stop</code></p>
<p>Then execute the Nvidia installation script. Login to the command prompt and navigate to the desktop:</p>
<p><code>cd Desktop<br />
sudo sh nvidia.run</code></p>
<p>Basically answer yes to everything, let the driver compile, and then when it asks you to configure the xorg.conf file, let it. Nowadays the Nvidia driver basically works out of the box. In the past, with Ubuntu in particular, you had to comment out the included driver in Ubuntu&#8217;s modules package, otherwise the custom compiled driver would not load on startup. The open source driver used to be commented out in /etc/default/linux-restricted-modules-common (comment NV); note that this is not needed any more except in Hardy (8.04).</p>
<p>Then start your gdm session, which will take you back to the login window, or your desktop depending on your startup settings:</p>
<p>sudo /etc/init.d/gdm start</p>
<div class="zemanta-pixie"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/6988a6ec-cec3-48df-b2ed-6f8f6859e942/"><img class="zemanta-pixie-img" src="http://img.zemanta.com/reblog_e.png?x-id=6988a6ec-cec3-48df-b2ed-6f8f6859e942" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>

<p><a href="http://feedads.g.doubleclick.net/~a/utHbfDIpxIvpto01TNbMtBKHz0U/0/da"><img src="http://feedads.g.doubleclick.net/~a/utHbfDIpxIvpto01TNbMtBKHz0U/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/utHbfDIpxIvpto01TNbMtBKHz0U/1/da"><img src="http://feedads.g.doubleclick.net/~a/utHbfDIpxIvpto01TNbMtBKHz0U/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/ServerGuideAndBlog/~4/rWUJRDfqSiA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.bgevolution.com/blog/nvidia-driver-on-linux-easy-and-quick/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.bgevolution.com/blog/nvidia-driver-on-linux-easy-and-quick/</feedburner:origLink></item>
		<item>
		<title>SSH Login Timeout – Password Authentication</title>
		<link>http://feedproxy.google.com/~r/ServerGuideAndBlog/~3/HBa94grcO1Y/</link>
		<comments>http://www.bgevolution.com/blog/ssh-login-timeout-password-authentication/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 14:42:29 +0000</pubDate>
		<dc:creator>nseidm1</dc:creator>
				<category><![CDATA[brute]]></category>
		<category><![CDATA[force]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[timeout]]></category>
		<category><![CDATA[automatic mechanisms]]></category>
		<category><![CDATA[brute force]]></category>
		<category><![CDATA[dictionary]]></category>
		<category><![CDATA[legitimate user]]></category>
		<category><![CDATA[timeouts]]></category>
		<category><![CDATA[user]]></category>

		<guid isPermaLink="false">http://www.bgevolution.com/blog/?p=1723</guid>
		<description><![CDATA[SSH login timeouts are not very effective at preventing unauthorized login attempts. Most ssh attacks are scripted attached launched by automatic mechanisms. The scripts most likely will use dictionary based brute force attacks that insert the password very quickly. Setting the login timeout very low will most likely not prevent such scripted attacks, and will [...]]]></description>
			<content:encoded><![CDATA[<p>SSH login timeouts are not very effective at preventing unauthorized login attempts. Most ssh attacks are scripted attached launched by automatic mechanisms. The scripts most likely will use dictionary based brute force attacks that insert the password very quickly. Setting the login timeout very low will most likely not prevent such scripted attacks, and will only hinder the ability for a legitimate user to login successfully within the allocated amount of time. Set the login timeout to 60 seconds; I have set it to 5 seconds and it only caused problems for actual user logins.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/ghFqO68_atHbWb1L9bUrERGJFq0/0/da"><img src="http://feedads.g.doubleclick.net/~a/ghFqO68_atHbWb1L9bUrERGJFq0/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/ghFqO68_atHbWb1L9bUrERGJFq0/1/da"><img src="http://feedads.g.doubleclick.net/~a/ghFqO68_atHbWb1L9bUrERGJFq0/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/ServerGuideAndBlog/~4/HBa94grcO1Y" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.bgevolution.com/blog/ssh-login-timeout-password-authentication/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.bgevolution.com/blog/ssh-login-timeout-password-authentication/</feedburner:origLink></item>
		<item>
		<title>Sshd_config Settings Rundown</title>
		<link>http://feedproxy.google.com/~r/ServerGuideAndBlog/~3/N7OxuNXMgdU/</link>
		<comments>http://www.bgevolution.com/blog/sshd_config-settings-rundown/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 17:38:02 +0000</pubDate>
		<dc:creator>nseidm1</dc:creator>
				<category><![CDATA[iptables]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[rsa]]></category>
		<category><![CDATA[setting]]></category>
		<category><![CDATA[sshd]]></category>
		<category><![CDATA[tcp]]></category>
		<category><![CDATA[change]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[login attempts]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[port]]></category>
		<category><![CDATA[port 22]]></category>
		<category><![CDATA[pound symbol]]></category>
		<category><![CDATA[root login]]></category>
		<category><![CDATA[ssh login]]></category>

		<guid isPermaLink="false">http://www.bgevolution.com/blog/?p=1718</guid>
		<description><![CDATA[



Image via Wikipedia



First change the port you are using. Do not use port 22 on servers that have internet connectivity. This is the first port that will be checked by countless robots searching the internet for vulnerabilities. Change the port to whatever, and then use the -p option in your ssh login attemt. Then make [...]]]></description>
			<content:encoded><![CDATA[<div class="zemanta-img">
<div>
<dl class="wp-caption alignleft">
<dt class="wp-caption-dt"><a href="http://commons.wikipedia.org/wiki/Image:OpenWrtPuTTY.png"><img title="OpenWrt (White Russian 0." src="http://upload.wikimedia.org/wikipedia/commons/thumb/1/1e/OpenWrtPuTTY.png/300px-OpenWrtPuTTY.png" alt="OpenWrt (White Russian 0." /></a></dt>
<dd class="wp-caption-dd zemanta-img-attribution">Image via <a href="http://commons.wikipedia.org/wiki/Image:OpenWrtPuTTY.png">Wikipedia</a></dd>
</dl>
</div>
</div>
<p>First change the port you are using. Do not use port 22 on servers that have internet connectivity. This is the first port that will be checked by countless robots searching the internet for vulnerabilities. Change the port to whatever, and then use the -p option in your ssh login attemt. Then make sure root login is disabled, remove the pound symbol from the front of the option line. If you can you should definitely allow rsa key login. Once you get your encryption key setup disable password login by setting the respective line to &#8220;no&#8221;.  If you cannot enable keyed logins for any reason what soever, you should enabled ip based restrictions either by iptables or by tcp wrappers. Iptables is configured with the iptables command, and the tcp wrappers are configured in /etc/hosts.allow. You can reduce the time limit for password login, but sometimes this causes problems with remote users connecting; sometimes it takes a couple of extra seconds for people to login. Make the time limit around 30 seconds. If people are still having trouble connecting check the /var/log/auth.log file for more information about the failed login attempt. Maybe the password is too complicated? Before reducing the complexity of the password implement fail2ban, which will automatically block ip addresses based on failed login attempts, therefore you can reduce the complexity of the password without substantially reducing system security.</p>
<div class="zemanta-pixie"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/e60bad9b-01fa-477c-8d93-931cacb700d4/"><img class="zemanta-pixie-img" src="http://img.zemanta.com/reblog_e.png?x-id=e60bad9b-01fa-477c-8d93-931cacb700d4" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>

<p><a href="http://feedads.g.doubleclick.net/~a/dqw2YUL3rWqBSoXZ9k_-qDuydgM/0/da"><img src="http://feedads.g.doubleclick.net/~a/dqw2YUL3rWqBSoXZ9k_-qDuydgM/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/dqw2YUL3rWqBSoXZ9k_-qDuydgM/1/da"><img src="http://feedads.g.doubleclick.net/~a/dqw2YUL3rWqBSoXZ9k_-qDuydgM/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/ServerGuideAndBlog/~4/N7OxuNXMgdU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.bgevolution.com/blog/sshd_config-settings-rundown/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.bgevolution.com/blog/sshd_config-settings-rundown/</feedburner:origLink></item>
		<item>
		<title>Auth.log in Debian Systems</title>
		<link>http://feedproxy.google.com/~r/ServerGuideAndBlog/~3/OyoJg8vmL-g/</link>
		<comments>http://www.bgevolution.com/blog/auth-log-in-debian-systems/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 17:13:16 +0000</pubDate>
		<dc:creator>nseidm1</dc:creator>
				<category><![CDATA[auth]]></category>
		<category><![CDATA[cron]]></category>
		<category><![CDATA[crontab]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[log]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[connection]]></category>
		<category><![CDATA[connection attempts]]></category>
		<category><![CDATA[crontab command]]></category>
		<category><![CDATA[force]]></category>
		<category><![CDATA[mail servers]]></category>
		<category><![CDATA[root mail]]></category>
		<category><![CDATA[security countermeasures]]></category>

		<guid isPermaLink="false">http://www.bgevolution.com/blog/?p=1715</guid>
		<description><![CDATA[



Image via Wikipedia



Your auth.log file is the first step in determining of an intrusion is being attempted, or has occured. It logs all ssh connection attempts, cron jobs, and su calls. If an ssh brute force attach is occurring you will see countless failed ssh login attempts. Most likely various usernames will be attempted. You [...]]]></description>
			<content:encoded><![CDATA[<div class="zemanta-img">
<div>
<dl class="wp-caption alignleft">
<dt class="wp-caption-dt"><a href="http://commons.wikipedia.org/wiki/Image:OpenWrtPuTTY.png"><img title="OpenWrt (White Russian 0." src="http://upload.wikimedia.org/wikipedia/commons/thumb/1/1e/OpenWrtPuTTY.png/300px-OpenWrtPuTTY.png" alt="OpenWrt (White Russian 0." /></a></dt>
<dd class="wp-caption-dd zemanta-img-attribution">Image via <a href="http://commons.wikipedia.org/wiki/Image:OpenWrtPuTTY.png">Wikipedia</a></dd>
</dl>
</div>
</div>
<p>Your auth.log file is the first step in determining of an intrusion is being attempted, or has occured. It logs all ssh connection attempts, cron jobs, and su calls. If an ssh brute force attach is occurring you will see countless failed ssh login attempts. Most likely various usernames will be attempted. You should immediately stop the ssh server and implement some security countermeasures. Implement various rules in your hosts.allow and hosts.deny files any if you want implement some iptables rules. Host.allow and deny should be enough; the files control tcp connections to your running system daemons. Iptables will block ip numbers just at the connection attempt is made to the computer so for ultimate security implemente iptables and various host rules.</p>
<p>After locking down your servers you will see brute force attacks stop, and your auth.log file will be mainly filled with cron jobs and su commands by users and daemons. The cron jobs are automated process run by various applications, and are mostly run as root. Mail servers, and other tasks are typically managed by cron jobs. You can check user specific cron jobs using the crontab command. Use option -e to edit a users jobs.</p>
<div class="zemanta-pixie"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/3d636c5f-6390-4670-846a-1ac3fcac0e47/"><img class="zemanta-pixie-img" src="http://img.zemanta.com/reblog_e.png?x-id=3d636c5f-6390-4670-846a-1ac3fcac0e47" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>

<p><a href="http://feedads.g.doubleclick.net/~a/_nFzg6EGCypWY7Da5zlbueadBlA/0/da"><img src="http://feedads.g.doubleclick.net/~a/_nFzg6EGCypWY7Da5zlbueadBlA/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/_nFzg6EGCypWY7Da5zlbueadBlA/1/da"><img src="http://feedads.g.doubleclick.net/~a/_nFzg6EGCypWY7Da5zlbueadBlA/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/ServerGuideAndBlog/~4/OyoJg8vmL-g" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.bgevolution.com/blog/auth-log-in-debian-systems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.bgevolution.com/blog/auth-log-in-debian-systems/</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic page generated in 0.668 seconds. --><!-- Cached page generated by WP-Super-Cache on 2010-03-12 16:12:13 --><!-- Compression = gzip -->
