Explorar o código

Create missing FWBAD chain

Edvinas Valatka %!s(int64=8) %!d(string=hai) anos
pai
achega
9b96ea79a3
Modificáronse 1 ficheiros con 1 adicións e 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