Alex 'AdUser' Z
9 years ago
4 changed files with 19 additions and 22 deletions
@ -0,0 +1,10 @@
|
||||
[backend:exec-ipset] |
||||
load = libf2b_backend_exec.so |
||||
start = /sbin/ipset -! create <ID> hash:ip |
||||
start = /sbin/iptables -I INPUT -m set --match-set <ID> src -j DROP |
||||
stop = /sbin/iptables -D INPUT -m set --match-set <ID> src -j DROP |
||||
stop = /sbin/ipset -! destroy <ID> |
||||
ban = /sbin/ipset -! add <ID> <IP> |
||||
check = /sbin/ipset -! test <ID> <IP> |
||||
unban = /sbin/ipset -! del <ID> <IP> |
||||
timeout = 2 |
@ -0,0 +1,5 @@
|
||||
[filter:pcre] |
||||
load = libf2b_filter_pcre.so |
||||
icase = no |
||||
study = yes |
||||
usejit = no |
@ -0,0 +1,3 @@
|
||||
[filter:preg] |
||||
load = libf2b_filter_preg.so |
||||
icase = no |
Loading…
Reference in new issue