Git Product home page Git Product logo

magefirewall's People

Contributors

ilampirai avatar imvrsuresh avatar paimpozhil avatar ramkannanraj avatar rosenmanev avatar sprankhub avatar sureshblazews avatar xgarrettx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

magefirewall's Issues

If i add the firewall to php autoprepend I get this..

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'magento.ncjgb_nf_options' doesn't exist' in /srv/magento/lib/Zend/Db/Statement/Pdo.php:228 Stack trace: #0 /srv/magento/lib/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array) #1 /srv/magento/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array) #2 /srv/magento/app/code/core/Zend/Db/Statement.php(291): Varien_Db_Statement_Pdo_Mysql->_execute(Array) #3 /srv/magento/lib/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array) #4 /srv/magento/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT * FROM n...', Array) #5 /srv/magento/lib/Varien/Db/Adapter/Pdo/Mysql.php(428): Zend_Db_Adapter_Pdo_Abstract->query('SELECT * FROM n...', Array) #6 /srv/magento/lib/Zend/Db/Adapter/Abstract.php(737): Varien_Db_Adapter_Pdo_Mysql->query('SELECT * FROM n...', Array) #7 /srv/magento/lib/firewall/firewall.php(45): Zend_Db_Adapter_Abstract->fetc in /srv/magento/lib/Zend/Db/Statement/Pdo.php on line 234

Dashboard

a) Create a Menu called "Dashboard" under that page show these under different links/areas.

Add a toggle button to Turn the firewall on/off. when it is switched off..// firewall.php must NOT be active entirely...

Check your MageFirewall configuration.. (check if lib/firewall/firewall.php is loaded and say yes /no )

Check your server security overview from MageFirewall servers

Blocking post with rule 0

I have some problem with blocking by your firewall with rule 0. There is not such rule so thats why its not possible to disable or change such rule.
Clipboard01

Our Namespace is bad

I think you have used the namespace as Mage and Wall as the app name

Namespace Mage should be already used by the magento core..

we should just use MageFire as the namespace and use Wall as the app name

Use this kind of code to find the ip address of remote user

Hi All

You should use this and not use the $_SERVER['REMOTE_ADDR'] directly;

Store the $ip_address at one place at lib/firewall.php and it use it at all the code and not get it from the $_SERVER

if(isset($_SERVER['HTTP_X_FORWARDED_FOR']) && $_SERVER['HTTP_X_FORWARDED_FOR'] != '') {
$ip_address = $_SERVER['HTTP_X_FORWARDED_FOR'];
} else {
$ip_address = $_SERVER['REMOTE_ADDR'];
}

rule 0 how to disable

I have a lot of blocked by firewall connections with rule number 0. But there is no such rule. How to stop using rule 0. Other rules i can enable and disable but there it is not possible with rule 0 because this number not exist

Problem using some dutch city names

Some dutch city names start with ' like 's-gravenhage or 's-Hertogenbosch
When a customer uses these names in the checkout the firewall prevents the order from going thru and a error message is displayed.

The firewall logs mentions this a leading quote error.
Problem is that customers from cities starting with 's are unable to place an order thru magento.

Sollution might be to allow 's-

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.