Re: Check for rule existence

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

 



On 06/14/10 13:22, Taylor, Grant wrote:
Depending on how system agnostic you are trying to bee, processing the rule as if it were a command line (looking for individual pieces) will probably be the easiest to do.

Also remember that IPTables(-save) is going to give you the output of what is in kernel. Any host names that you specified in your rule will be translated to IPs and entered in the kernel as such. This could be even more tricky if you have host names that are being translated to dynamic IPs.



Grant. . . .
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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