Announcement

Collapse
No announcement yet.

MDK9 - Using IPTables causes Open Office to Lock up

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Hey bern, what exactly does the -c in this statement do.

    $IPTABLES -A INPUT -i $EXT_IF -j TRAF-IN -c $X1

    Because, for some reason now when I try to start the firewall it says...iptables v1.2.6a: Unknown arg `-c'...just wondering if you could help any.

    Thanks.

    Comment


    • #17
      The "-c" parameter is telling IPtables how many packets to process..in your case the number contained in the variable X1.

      The whole line is appending (-A) an IPtables rule for INPUT packets received from the source EXT_IF and telling it to jump (-j) to the rule called TRAF-IN.

      For example if the input source in EXT_IF is say a modem and the rule in TRAF-IN is to discard the packet and the variable X1 is 5 then the line is telling the kernel to take 5 packets received from the modem and drop them.

      Roughly speaking that is.....without the rest if the script the above is an interpretation only of what the line is doing. Very crude interpretation and maybe one of the better informed fellas can help a bit more.

      Comment

      Working...
      X