iptables-save file syntax

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Yogini Parkhi" <yparkhi@bivio.net>

> Hi Nicolas,
> Those are packet and byte counters. But I think they are ignored while
doing a restore.
> These lines are setting default policies for the default chains.
> [0:0] means packet and byte counters are zeros.

nope, those actually do get restored ;).. and thats why they are saved for..

if you want to do packet/byte counting via netfilter you would be busted
once you reboot the machine, since they'd be lost, if you save/restore the
ruleset they will still be instact.. this doesnt mean that netfilter is the
sollution for such couting problems (there are actually other tools that are
meant for that purpose). but its a nice goodie





[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux