<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet href="http://www.booservers.com/styles/rss.css" type="text/css"?>
<rdf:RDF 
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
  xmlns="http://my.netscape.com/rdf/simple/0.9/"
>

 <channel>
  <title>Booservers - All about dedicated servers</title>
  <link>http://www.booservers.com</link>
  <description></description>
 </channel>
    <item>
   <title>Easy CURL 7.10.4 w/SSL </title>
   <description>&lt;p&gt;We&#039;ve put together these RPM&#039;s for libcurl 7.10.2 with SSL support. They upgrade over the stock RH ones. Installation is via rpm -Uvh&lt;/p&gt;&lt;p&gt;Applicability (RH 7.2 / 7.3 required) :&lt;/p&gt;&lt;p&gt;Webppliance 3.1&lt;br /&gt;Webppliance Pro 3.5&lt;br /&gt;cPanel 6&lt;br /&gt;Plesk 5.0 &lt;/p&gt;&lt;p&gt;These are also Modernbill compatible on all above panel types.&lt;/p&gt;&lt;br/&gt;&lt;center&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-7209259988091090&quot;;
google_ad_width = 300;
google_ad_height = 250;
google_ad_format = &quot;300x250_as&quot;;
google_ad_type = &quot;text_image&quot;;
google_ad_channel =&quot;3498328464&quot;;
google_color_border = &quot;FFFFFF&quot;;
google_color_bg = &quot;FFFFFF&quot;;
google_color_link = &quot;006633&quot;;
google_color_url = &quot;000000&quot;;
google_color_text = &quot;0033CC&quot;;
//--&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
  src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/center&gt;&lt;br&gt;&lt;p&gt;Downloadables:&lt;/p&gt;&lt;p&gt;curl-7.10.4-1.i386.rpm&lt;br /&gt;curl-devel-7.10.4-1.i386.rpm&lt;/p&gt;&lt;p&gt;MD5 Checksums&lt;/p&gt;&lt;p&gt;37a04f7db8c34fddbb309d067d16a453 curl-7.10.4-1.i386.rpm&lt;br /&gt;e09253b7c227573f4e5b10d3987f433b curl-devel-7.10.4-1.i386.rpm&lt;/p&gt;&lt;p&gt;Credits: &lt;a href=&quot;http://www.cheetaweb.com/&quot;&gt;http://www.cheetaweb.com/&lt;/a&gt;&lt;/p&gt;</description>
   <link>http://www.booservers.com/archivo/35_easy_curl_7104_wssl_.html</link>
      <pubDate>Thu, 15 Dec 2005 21:35:04 +0000</pubDate>   
  </item>
    <item>
   <title>Using fail2ban to ban abusive IP&#039;s for SSH and Apache</title>
   <description>&lt;p&gt;How to automatically ban abusive ip&#039;s using fail2ban&lt;/p&gt;&lt;p&gt;Originally from Ensim 4.0; similar steps had to be taken after the upgrade to 4.0.2; I would assume the same follows until python 2.3 is included [it may already be; corrections welcome].&lt;/p&gt;&lt;p&gt;Fail2Ban scans log files like /var/log/pwdfail or /var/log/apache/error_log and bans IP that makes too many password failures. It updates firewall rules to reject the IP address.&lt;/p&gt;&lt;br/&gt;&lt;center&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-7209259988091090&quot;;
google_ad_width = 300;
google_ad_height = 250;
google_ad_format = &quot;300x250_as&quot;;
google_ad_type = &quot;text_image&quot;;
google_ad_channel =&quot;3498328464&quot;;
google_color_border = &quot;FFFFFF&quot;;
google_color_bg = &quot;FFFFFF&quot;;
google_color_link = &quot;006633&quot;;
google_color_url = &quot;000000&quot;;
google_color_text = &quot;0033CC&quot;;
//--&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
  src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/center&gt;&lt;br&gt;&lt;p&gt;&lt;a href=&quot;http://fail2ban.sourceforge.net/&quot;&gt;http://fail2ban.sourceforge.net/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;RPM version can be obtained from here;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://fail2ban.sourceforge.net/rpm...1jik.noarch.rpm&quot;&gt;http://fail2ban.sourceforge.net/rpm...1jik.noarch.rpm&lt;/a&gt;&lt;/p&gt;&lt;p&gt;For those of you / us who do not have python2.3; it is required.&lt;br /&gt;You can snag an rpm for your system here:&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.python.org/2.3.5/rpms.html&quot;&gt;http://www.python.org/2.3.5/rpms.html&lt;/a&gt;&lt;br /&gt;I used the following version for Red Hat EL3.&lt;/p&gt;&lt;p&gt;python2.3-2.3.5-4pydotorg.i386.rpm&lt;/p&gt;&lt;p&gt;Python will require db4. The following url has satisfactory versions for different systems.&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://rpm.pbone.net/index.php3?sta...h=db4&amp;amp;srodzaj=3&quot;&gt;http://rpm.pbone.net/index.php3?sta...h=db4&amp;amp;srodzaj=3&lt;/a&gt;&lt;br /&gt;I used the following version for Red Hat EL3.&lt;/p&gt;&lt;p&gt;db4-4.2.52-6.i386.rpm&lt;/p&gt;&lt;p&gt;# The following would then be performed as root&lt;/p&gt;&lt;p&gt;1) cd /root; mkdir fail2ban&lt;/p&gt;&lt;p&gt;2) do you have python 2.3?&lt;br /&gt;&#039;which python&#039; or if you have tab completion enabled type in &#039;pyth&#039; and hit tab two or three times, it should pop up as &#039;python2.3&#039;. &lt;/p&gt;&lt;p&gt;3) wget &lt;a href=&quot;http://fail2ban.sourceforge.net/rpm...1jik.noarch.rpm&quot;&gt;http://fail2ban.sourceforge.net/rpm...1jik.noarch.rpm&lt;/a&gt;&lt;/p&gt;&lt;p&gt;4) rpm -i fail2ban-0.6.0-ljik.noarch.rpm&lt;/p&gt;&lt;p&gt;5) nano -w /etc/fail2ban.conf&lt;/p&gt;&lt;p&gt;6) change the following items&lt;/p&gt;&lt;p&gt;----------------------------&lt;/p&gt;&lt;p&gt;[DEFAULT]&lt;br /&gt;# Option:  background&lt;br /&gt;# Notes.:  start fail2ban as a daemon. Output is redirect to logfile.&lt;br /&gt;# Values:  [true | false]  Default:  false&lt;br /&gt;#&lt;br /&gt;background = true&lt;/p&gt;&lt;p&gt;----------------------------&lt;/p&gt;&lt;p&gt;change :: background = true&lt;br /&gt;# This is so we can start it as a service when the machine comes up&lt;/p&gt;&lt;p&gt;6a) You can also have email sent to you by changing&lt;/p&gt;&lt;p&gt;----------------------------&lt;/p&gt;&lt;p&gt;[MAIL]&lt;br /&gt;# Option:  enabled&lt;br /&gt;# Notes.:  enable mail notification when banning an IP address.&lt;br /&gt;# Values:  [true | false]  Default:  false&lt;br /&gt;#&lt;br /&gt;enabled = true&lt;/p&gt;&lt;p&gt;----------------------------&lt;/p&gt;&lt;p&gt;change :: enabled = true&lt;br /&gt;And then inputting an email address below. Most of the configuration is dead simple for a machine you haven&#039;t change the logging facilities on.&lt;/p&gt;&lt;p&gt;You may also wish to add this to the end of the failregex.&lt;/p&gt;&lt;p&gt;|Did not receive identification &lt;/p&gt;&lt;p&gt;----------------------------&lt;/p&gt;&lt;p&gt;# Option:  failregex&lt;br /&gt;# Notes.:  regex to match the password failures messages in the logfile.&lt;br /&gt;# Values:  TEXT  Default:  Authentication failure|Failed password|Invalid user&lt;br /&gt;#&lt;br /&gt;failregex = Authentication failure|Failed password|Invalid user|Did not receive identification&lt;/p&gt;&lt;p&gt;----------------------------&lt;/p&gt;&lt;p&gt;7) Start the service&lt;/p&gt;&lt;p&gt;----------------------------&lt;/p&gt;&lt;p&gt;# service fail2ban start&lt;/p&gt;&lt;p&gt;----------------------------&lt;/p&gt;&lt;p&gt;8) Make sure it comes up with the system&lt;/p&gt;&lt;p&gt;----------------------------&lt;/p&gt;&lt;p&gt;# chkconfig --level 2345 fail2ban on&lt;/p&gt;&lt;p&gt;----------------------------&lt;/p&gt;&lt;p&gt;9) Test it from a spare ip (if you have one, if not the ban is lifted after the time set in the conf file [600 seconds standard]).&lt;/p&gt;&lt;p&gt;9a) Use screen to &#039;tail -f /var/log/fail2ban.log&#039;&lt;br /&gt;9b) Use bad logins from an untrusted ip to test for actual banning, email output.&lt;br /&gt;9c) If this fails, use the debug option in /etc/fail2ban.conf&lt;/p&gt;&lt;p&gt;10) Enjoy not one, but two less headaches as apache / ssh scanners, spammers and crackers are locked out of your box. With out too much work you could append a script that would either dump the logs and make repeat offenders banned permenantly, or roll some other solution for your own needs up. Enjoy, and please post any corrections.&lt;/p&gt;</description>
   <link>http://www.booservers.com/archivo/32_using_fail2ban_to_ban_abusive_ips_for_ssh_and_apache.html</link>
      <pubDate>Thu, 15 Dec 2005 21:24:21 +0000</pubDate>   
  </item>
    <item>
   <title>Install/Upgrade ProFTPd</title>
   <description>&lt;p&gt;Ensim&lt;br /&gt;I&#039;m not going to handle Ensim again since gpan made a nice Howto on this issue and even created&lt;br /&gt;rpms for your usage all information can be found here.&lt;br /&gt;After installing it you can also do the proftpd.conf tweak but you have todo pico -w /etc/proftpd.conf&lt;br /&gt;note:&lt;br /&gt;1. that i can&#039;t give any support on the rpm made by gpan, so that will have to go through him.&lt;br /&gt;2. Mouse is against upgrading your ProFTPd on Ensim when you run a up to date 3.1.x and 3.5.x&lt;/p&gt;&lt;p&gt;Plesk&lt;br /&gt;Nighthawk just said to me that this is actually a bad idea for Plesk.&lt;br /&gt;Nighthawk has years of experience with Plesk so i fully support what he&#039;s saying about Plesk whatsoever .&lt;br /&gt;So your officially warned by me and NightHawk so dont do this howto on your system.&lt;br /&gt;You will destroy it otherwise but you can do the proftpd.conf tweak without a problem, so just skip most of this how-to and usage pico -w /etc/proftpd.conf instead just like Ensim.&lt;/p&gt;&lt;br/&gt;&lt;center&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-7209259988091090&quot;;
google_ad_width = 300;
google_ad_height = 250;
google_ad_format = &quot;300x250_as&quot;;
google_ad_type = &quot;text_image&quot;;
google_ad_channel =&quot;3498328464&quot;;
google_color_border = &quot;FFFFFF&quot;;
google_color_bg = &quot;FFFFFF&quot;;
google_color_link = &quot;006633&quot;;
google_color_url = &quot;000000&quot;;
google_color_text = &quot;0033CC&quot;;
//--&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
  src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/center&gt;&lt;br&gt;&lt;p&gt;Plain i didn&#039;t test this on cPanel but it needs to be able to run this as well, as far as i know&lt;/p&gt;&lt;p&gt;First we login to the machine through SSH.&lt;br /&gt;We become superuser... we all know su - or sudo su does the trick.&lt;/p&gt;&lt;p&gt;Now we are going todo stuff &lt;/p&gt;&lt;p&gt;&lt;br /&gt;wget &lt;a href=&quot;ftp://ftp.proftpd.org/distrib/sourc...pd-1.2.9.tar.gz&quot;&gt;ftp://ftp.proftpd.org/distrib/sourc...pd-1.2.9.tar.gz&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;Now after recieving the tarball, we will extract it&lt;/p&gt;&lt;p&gt;&lt;br /&gt;tar -zxvf proftpd-1.2.9tar.gz&lt;/p&gt;&lt;p&gt;&lt;br /&gt;Now we move to the folder we just extracted&lt;/p&gt;&lt;p&gt;&lt;br /&gt;cd proftpd1.2.9&lt;/p&gt;&lt;p&gt;&lt;br /&gt;Now we need to configure ProFTPd&lt;/p&gt;&lt;p&gt;&lt;br /&gt;./configure --prefix=/usr/local/proftpd&lt;/p&gt;&lt;p&gt;&lt;br /&gt;Now we make the configure we just made.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;make&lt;/p&gt;&lt;p&gt;&lt;br /&gt;Finally were going to install whatever we just made.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;make install&lt;/p&gt;&lt;p&gt;&lt;br /&gt;-----------------------------------&lt;br /&gt;ProFTPd 1.2.9 is now installed on your system. he four lines below are certain security measures that can be taken to hide the identity of ProFTPd.*These are optional, but recommended*&lt;/p&gt;&lt;p&gt;&lt;br /&gt;Now lets edit proftpd.conf&lt;/p&gt;&lt;p&gt;pico -w /usr/local/proftpd/etc/proftpd.conf&lt;/p&gt;&lt;p&gt;We add a line above ServerName&lt;/p&gt;&lt;p&gt;ServerIdent Off&lt;/p&gt;&lt;p&gt;&lt;br /&gt;Now we want to input a servername&lt;/p&gt;&lt;p&gt;ServerName &amp;quot;FTP Server&amp;quot; or put something else instead whatever you like&lt;br /&gt;-----------------------------------&lt;/p&gt;&lt;p&gt;Stop your old ProFTPd (remember you have 2 proftpds now both old as new)&lt;/p&gt;&lt;p&gt;service proftpd stop or killall -9 proftpd&lt;/p&gt;&lt;p&gt;&lt;br /&gt;Start Your new ProFTPd&lt;/p&gt;&lt;p&gt;/usr/local/proftpd/sbin/proftpd&lt;/p&gt;&lt;p&gt;&lt;br /&gt;------------------------------------------------------------------------------------&lt;/p&gt;&lt;p&gt;All done, you should now have a successfully upgraded/installed proftpd configuration.&lt;/p&gt;&lt;p&gt;Small tip: if you want to loose your old proftpd after upgrade rpm remove it.&lt;/p&gt;</description>
   <link>http://www.booservers.com/archivo/31_installupgrade_proftpd.html</link>
      <pubDate>Thu, 15 Dec 2005 21:22:32 +0000</pubDate>   
  </item>
  </rdf:RDF>
