Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Template Shares > Mods & Themes
Reply
Thread Tools
  #1  
Old 21st May 2011, 11:15
smoky28's Avatar
smoky28 smoky28 is offline
Senior Member
 
Join Date: Aug 2010
Hungary
Posts: 82
Smile TSSE 5.6 - Firewall
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 <? Php
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'); 
Attached Files
File Type: gz PHP_Firewall_103.tar.gz (9.5 KB, 224 views)
__________________
Sky-Tech Developer Team Hungary

Reply With Quote
The Following 6 Users Say Thank You to smoky28 For This Useful Post:
DAKz (29th May 2011), DARCK (28th May 2011), Daz (6th December 2012), DOPE (26th July 2011), EMPEREUR1 (17th June 2012), mmisu120000 (6th August 2012)
  #2  
Old 30th May 2011, 20:48
DAKz's Avatar
DAKz DAKz is offline
Senior Member
 
Join Date: Jul 2009
P2P
Posts: 380
Exclamation syntax error and fix
Quote:
Originally Posted by smoky28 View Post
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!!
Reply With Quote
  #3  
Old 1st June 2011, 09:22
smoky28's Avatar
smoky28 smoky28 is offline
Senior Member
 
Join Date: Aug 2010
Hungary
Posts: 82
Default
Quote:
Originally Posted by DAKz View Post
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.
__________________
Sky-Tech Developer Team Hungary

Reply With Quote
The Following User Says Thank You to smoky28 For This Useful Post:
turktiger (3rd June 2011)
  #4  
Old 2nd June 2011, 22:36
DAKz's Avatar
DAKz DAKz is offline
Senior Member
 
Join Date: Jul 2009
P2P
Posts: 380
Wink 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!
Reply With Quote
  #5  
Old 5th August 2012, 02:54
David244us David244us is offline
Banned
 
Join Date: Aug 2011
Mozambique
Posts: 43
Default
Thank m8tey :)
Reply With Quote
  #6  
Old 21st October 2012, 14:35
Tones Tones is offline
Banned
 
Join Date: Sep 2011
Cuba
Posts: 154
Default limit
After a while you get to use this firewall

"IP Connection Limit Exceeded"
Reply With Quote
  #7  
Old 8th January 2013, 05:25
DAKz's Avatar
DAKz DAKz is offline
Senior Member
 
Join Date: Jul 2009
P2P
Posts: 380
Wink still working


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.
__________________
Reply With Quote
Reply

Tags
56 , firewall , tsse


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 15:52. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.