Explorar el Código

Create missing FWBAD chain

Edvinas Valatka hace 8 años
padre
commit
9b96ea79a3
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      e-router

+ 1 - 0
e-router

@@ -173,6 +173,7 @@ lan() {
 
 badips() {
     ipset create -! $banset hash:ip hashsize 4096 timeout $banttl  maxelem $badmaxelems
+    ${iptables} -N FWBAD
     if $logbad ; then
         _droplog "BAD"
         ${iptables} -A FWBAD -i ${wan} -p udp -m set --match-set $banset src -m conntrack --ctstate NEW --ctproto UDP -j BADLOGDROP