Re: track bandwith used

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

 



On Wednesday 30 June 2004 3:07 pm, Peter Marshall wrote:

> ya, that was great.  I guess there was one thing that you said that worried
> me ... you said almost all packets will match the ESTABLISHED,RELATED check
> on the forwared chain ... would that not be a bad thing ... is it dangerous
> to have RELATED as an option on the FORWARD CHAIN. ???

No, in fact it is essential for many purposes.

1. The FTP data channel will be matched as RELATED to the initial control 
channel, so RELATED in FORWARD is needed if you are going to allow FTP.

2. ICMP error responses (usually seen in reply to UDP packets which fail for 
some reason) match as RELATED, and (as is already being discussed on another 
thread on this list), it is not a good idea to stop all ICMP packets from 
getting through your firewall.

There are other examples of why RELATED packets are necessary, but these are 
the most common and obvious ones.

You will generally find that all tutorials and netfilter examples match 
ESTABLISHED and RELATED in the FORWARD chain.

What makes you think that RELATED is dangerous?

Regards,

Antony.

-- 
The words "e pluribus unum" on the Great Seal of the United States are from a 
poem by Virgil entitled "Moretum", which is about cheese and garlic salad 
dressing.

                                                     Please reply to the list;
                                                           please don't CC me.



[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