Home | History | Annotate | Download | only in extensions
      1 :INPUT,FORWARD,OUTPUT
      2 -m ttl --ttl-eq 0;=;OK
      3 -m ttl --ttl-eq 255;=;OK
      4 -m ttl ! --ttl-eq 0;=;OK
      5 -m ttl ! --ttl-eq 255;=;OK
      6 -m ttl --ttl-gt 0;=;OK
      7 # not possible have anything greater than 255, TTL is 8-bit long
      8 # ERROR: should fail: iptables -A INPUT -m ttl --ttl-gt 255
      9 ## -m ttl --ttl-gt 255;;FAIL
     10 # not possible have anything below 0
     11 # ERROR: should fail: iptables -A INPUT -m ttl --ttl-lt 0
     12 ## -m ttl --ttl-lt 0;;FAIL
     13 -m ttl --ttl-eq 256;;FAIL
     14 -m ttl --ttl-eq -1;;FAIL
     15 -m ttl;;FAIL
     16