Skip to content

T-baby/ICEWall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ICEWall

a lightweight application firewall

  • Support defense sql injection attacks

  • Supports defense against xxs attacks

  • Support for defense MongoDB injection attacks

  • Support Gzip

  • White list support

  • No need to modify the original code, no invasion

Load in maven:

    <dependency>
        <groupId>com.cybermkd</groupId>
        <artifactId>ICEWall</artifactId>
        <version>1.0.0.0</version>
    </dependency>

How to use it (configured on web.xml):

    <filter>
        <filter-name>ICEWall</filter-name>
        <filter-class>com.cybermkd.icewall.ICEWallFilter</filter-class>
        <init-param>
            <param-name>whitelists</param-name>
            <param-value>/test/a.html;</param-value>
        </init-param>
        <init-param>
            <param-name>xss</param-name>
            <param-value>true</param-value>
        </init-param>
        <init-param>
            <param-name>sql</param-name>
            <param-value>true</param-value>
        </init-param>
        <init-param>
            <param-name>mongo</param-name>
            <param-value>true</param-value>
        </init-param>
        <init-param>
            <param-name>gzip</param-name>
            <param-value>true</param-value>
        </init-param>
    </filter>


    <filter-mapping>
        <filter-name>ICEWall</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>

About

a lightweight application firewall

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages