PHPIDS

Gos77 - July 10, 2007 - 22:26

!!! Attention please !!!

Please use currently max. PHP-IDS package 0.6.2. Newer versions currently doesn't work with drupal phpids module. Will be fixed with 6.x-1.10.

HTML / JSON / excluded fields introduced with 6.x-1.9 doesn't work with more than one inserted field/variable. In current dev-snapshot the bug is fixed. I'll release 6.x-1.10 next days.

PHPIDS module adds a security layer based on http://www.php-ids.org and is interesting if you want to know how and when (anonymous) users try to break your site by logging their attacks. It can send a mail, redirect the (anonymous) user or (not yet implemented) automatically block user/ip access after a certain level of impact has been reached. On the settings page you can choose what you want to do with anonymous and authenticated users (ignore, log, log & action).

Installation instructions are in the README.txt included in all releases. Please check phpids settings and status report after installing or upgrading phpids module

Warning: PHP5 5.1.6 or better. 5.2.x is recommended.

Example to reduce false positives (since 6.x-1.9)

To reduce false positives from PHPIDS which flood your logs, sends warning mails or block unsuspicious user activities, follow these steps to configure your PHPIDS correct.

  1. Pickup a false positive log-entry from Administer->Reports->Recent log entries by filtering for phpids
  2. Select the variable name which includes possible false values like html or json from this log entry
  3. Enter this variable name coma seperated into html and/or json included fields in PHPIDS admin form (Administer->Site Configuration->Logging and alerts->PHPIDS settings)
  4. Save your new PHPIDS settings
  5. Now the total impact value should be lower than before

Tested PHPIDS versions:

  • PHPIDS 0.6.2
  • PHPIDS 0.6.1.1
  • PHPIDS 0.6
  • PHPIDS 0.5.4 (very old)

Releases

Official releasesDateSizeLinksStatus
6.x-1.92009-Sep-2110.66 KBRecommended for 6.xThis is currently the recommended release for 6.x.
5.x-2.02008-Mar-229.3 KBRecommended for 5.xThis is currently the recommended release for 5.x.
Development snapshotsDateSizeLinksStatus
6.x-1.x-dev2009-Oct-1310.7 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.


 
 

Drupal is a registered trademark of Dries Buytaert.