Ban an IP Address From The Server Published: Mar 17, 2005
  • Rating

    2/5

PHP 4.4.4 and PHP 5.1.5 have been released. We urge anyone using any prior versions to update your PHP versions right away to fix a large number of security issues.

PHP.net has Announced PHP 4.4.4 and PHP 5.1.5

I'm happy to see PHP.net is finally working a little faster at updating security issues with their products. The time it took from 4.4.2 to 4.4.3 was a bit out of line - now they have found more problems and release a PHP 4.4.4 patch just 14 days after the 4.4.3 release addressing a number of critial security issues:

    * Added missing safe_mode/open_basedir checks inside the error_log(), file_exists(), imap_open() and imap_reopen() functions.
    * Fixed overflows inside str_repeat() and wordwrap() functions on 64bit systems.
    * Fixed possible open_basedir/safe_mode bypass in cURL extension and on PHP 5.1.5 with realpath cache.
    * Fixed overflow in GD extension on invalid GIF images.
    * Fixed a buffer overflow inside sscanf() function.
    * Fixed an out of bounds read inside stripos() function.
    * Fixed memory_limit restriction on 64 bit system.

Further details about this release can be found in the release announcements (5.1.5 and 4.4.4), and the full list of changes is available in the ChangeLogs (PHP 4, PHP 5).


How do I update PHP to the latest version?
That depends on the control panel you are using (if any). You can grab the latest release source and compile it or if you're using a Cpanel based system issue the command
/scripts/easyapache and select PHP 4.4.4 in the PHP menu.

Not sure how to update to the latest version or need help?
Hire an Expert and let us do it for you!

How do I know what version of PHP I am using?
You can get your servers PHP version using the following methods:
1)  create a phpinfo.php page and upload it to your web directory, then call it in your browser.
EG: phpinfo.php
<?
phpinfo();
?>

Then http://myserver.com/phpinfo.php

2) If you have shell access type in the following command:
php -v


  • Rating

    2/5

Related Articles

Comments (10)

  • Gravatar - agreseanu vlad
    agreseanu vlad 16:49, October 25, 2005
    how i can ban a intruder? i know his ip<br />
    <br />
  • Gravatar - Dusty
    Dusty 12:49, April 18, 2006
    Do you people really enjoy banning other people,,Is it in your nature to do this.Maybe you should be ban as well to see how it feels.
  • Gravatar - tomofumi
    tomofumi 13:42, September 12, 2006
    Acutally you can save the current iptables entries and keep the setting after reboot by running "service iptables save"
  • Gravatar - jethbrown
    jethbrown 15:14, July 17, 2007
    Is there a way to ban a ip range with APF? Reason I am asking is for banning the Panscient Data Services bot, that seems to hammer my server regularly.<br />
    <br />
    Read about it here: http://web-robot-abuse.blogspot.com/2006/09/panscientdataservices.html<br />
    <br />
    Or is there a way to see the specific IP's they are using to block those?
  • Gravatar - omid
    omid 21:33, October 19, 2007
    how can i delete an ip from the iptables?
  • Gravatar - Jim
    Jim 18:54, September 29, 2008
    When calling IPtables the first argument is the action. So -A is add, so you can guess how deleting is done:<br />
    <br />
    iptales -D <the rest><br />
    <br />
    When i forget <the rest> i always run iptables-save, then you will (save) get a list with all rules in detail with <the rest> info.<br />
    <br />
  • Gravatar - maybe
    maybe 01:31, December 10, 2009
    dfdsfafasfasfsafsadfdfdfdsfdsfds
  • Gravatar - shag
    shag 06:05, December 10, 2009
    I've found that using a .htaccess file is a pretty easy way to handle this. I'm no expert but it seems to work well for me. I created a .htaccess file and placed it above my publicly accessible directories (so it applied to all my sites) and used this...<br />
    # allow all except those indicated here<br />
    <Files *><br />
    order allow,deny<br />
    allow from all<br />
    deny from xxx.xxx.xxx.xxx<br />
    deny from .*blahblah\.com.*<br />
    </Files> <br />
    this is on apache of course and I used vim to create and edit the file while I was logged in as root. Like I said, I'm no expert but it worked on my server.
  • Gravatar - mhineqhoe
    mhineqhoe 03:15, January 21, 2010
    plz. give me some IP ban
  • Gravatar - xander
    xander 01:27, January 31, 2010
    how about banning a mac address in cpanel? Is that possible on the server level? Tnx

Add Your Thoughts

WebHostGear.com is a hosting directory, not a web host.

Copyright © 1998-2015 WebHostGear.com