Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Mods & Themes (http://www.bvlist.com/forumdisplay.php?f=117)
-   -   TSSE 5.6 - Firewall (http://www.bvlist.com/showthread.php?t=6456)

smoky28 21st May 2011 11:15

TSSE 5.6 - Firewall
 
1 Attachment(s)
Firewall required PHP PHP 5th
PHP Firewall doesn't use any database, but flatfile system.
Any database does use PHP Firewall, But flatfile system.
It's very small, very simple, really easy to install and fastest.
It's very small, very simple, really easy to install and fastest.
PHP Firewall have is own logs system and email alert.
PHP Firewall also have own logs and email alert system.
No .htaccess file required for betters performances.
No. Htaccess file required for Performances betters.
Security listing
Security listing


  • XSS protection
    XSS protection
  • UNION SQL Injection protection
    UNION SQL Injection Protection
  • Bads bots protection
    Badsig bots protection
  • Bads requests methods protection
    Badsig methods for the protection requests
  • Small DOS protection
    Small DOS protection
  • Inclusion files protection
    Inclusion files protection
  • Santy and others worms protection
    Santy worms and others protection
  • Server Protection
    Server Protection
  • URL Query protection
    URL Query Protection
  • Cookies sanitize
    Sanitize cookies
  • Post vars sanitize
    Post vars sanitize
  • Get vars sanitize
    Get vars sanitize
  • IPs range reserved denied
    IPs range reserved denied
  • IPs range spam denied
    Spam IPs range denied
  • IPs range protected
    IPs range protected
  • PHP globals desctruction
    PHP globals desctruction
  • Upload the folder php-firewall /
  • put the php-firewall/logs.txt in writable chmod
    put in the writable chmod php-firewall/logs.txt
  • Open the main file ( include/globalfuntcions.php for example ) and add these lines juste after the < ?php
    Open the main file (index.php for example) and add lines THESE juste after the
This line of code do globalfunctions.php top

PHP Code:

define ('PHP_FIREWALL_REQUEST_URI'strip_tags ($ _SERVER ['REQUEST_URI']));
define('PHP_FIREWALL_ACTIVATION'true ); define ('PHP_FIREWALL_ACTIVATION'true);
if ( 
is_file( @dirname(__FILE__).'/php-firewall/firewall.php' ) ) if (is_file (@ dirname (__FILE__). '/ php-firewall/firewall.php'))
        include_once( @
dirname(__FILE__).'/php-firewall/firewall.php' ); include_once (@ dirname (__FILE__). '/ php-firewall/firewall.php'); 


DAKz 30th May 2011 20:48

syntax error and fix
 
Quote:

Originally Posted by smoky28 (Post 28035)
Firewall required PHP 5th

Small syntax error....
The code above has an extra space in it...
PHP Code:

define ('PHP_FIREWALL_REQUEST_URI'strip_tags ($ _SERVER ['REQUEST_URI'])); 

Should be....
PHP Code:

define ('PHP_FIREWALL_REQUEST_URI'strip_tags ($_SERVER ['REQUEST_URI'])); 

The extra space between the ($ and the _SERVER)

Great post though!!

smoky28 1st June 2011 09:22

Quote:

Originally Posted by DAKz (Post 28265)
Small syntax error....
The code above has an extra space in it...
PHP Code:

define ('PHP_FIREWALL_REQUEST_URI'strip_tags ($ _SERVER ['REQUEST_URI'])); 

Should be....
PHP Code:

define ('PHP_FIREWALL_REQUEST_URI'strip_tags ($_SERVER ['REQUEST_URI'])); 

The extra space between the ($ and the _SERVER)

Great post though!!

I have not given you an error after inserting the code may be something that the server does not have a license.

DAKz 2nd June 2011 22:36

just a simple extra sace is all....
 
All it was is a simple extra space.

I installed this and had a couple peeps test it out, the hit it with a 3 server ddos and it handled it very well also tried some light injection techniques and were unsuccessful, so this is why worth the little effort and time to add.

Thanks!

David244us 5th August 2012 02:54

Thank m8tey :)

Tones 21st October 2012 14:35

limit
 
After a while you get to use this firewall

"IP Connection Limit Exceeded"

DAKz 8th January 2013 05:25

still working
 
:gum:

I have used this on trackers and web sites, yes there are some that are not trackers. This preforms with no issues and no effort on your part after you install it. I think it should be a part of every tracker to stop the petty little wars.


All times are GMT +2. The time now is 11:26.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.