Re: randomly changing IPs from different subnets (Google Mail)

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

 



On Wednesday 2010-06-23 13:52, Lars Nooden wrote:
>
>> If I add ten times the host and it resolves to the same IP, iptables
>> doesn't recognize that, and I have 10 similar rules. Is there any
>> check for duplicates possible?
>
> AFAIK, not inherently in iptables itself, but if you make a separate chain, it
> is easier to work on it via grep and sort.   Use 'iptables -nL' or
> 'iptables-save' 

Do not start grepping in iptables -L. That is what iptables -S and
iptables-save are much better suited for.
--
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