All of lore.kernel.org
 help / color / mirror / Atom feed
* PMTU-D and conntrack
@ 2006-02-06  5:47 John A. Sullivan III
  2006-02-06  6:43 ` Philip Craig
  0 siblings, 1 reply; 2+ messages in thread
From: John A. Sullivan III @ 2006-02-06  5:47 UTC (permalink / raw)
  To: Netfilter users list

Are the ICMP Destination Unreachable-Fragmentation Needed and DF Set
(type 3, code 4) packets sent in response to a TCP packet doing PMTU
discovery considered RELATED or does one need to allow NEW connections
for such packets?

By the way, is there a way to specify code number in the --icmp-type
match? I think one can do -p 1 --icmp-type fragmentation-needed but I
usually use the numbers to avoid lookups, e.g., -p 1 --icmp-type 8.
Thanks - John
-- 
John A. Sullivan III
Open Source Development Corporation
+1 207-985-7880
jsullivan@opensourcedevel.com

If you would like to participate in the development of an open source
enterprise class network security management system, please visit
http://iscs.sourceforge.net



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: PMTU-D and conntrack
  2006-02-06  5:47 PMTU-D and conntrack John A. Sullivan III
@ 2006-02-06  6:43 ` Philip Craig
  0 siblings, 0 replies; 2+ messages in thread
From: Philip Craig @ 2006-02-06  6:43 UTC (permalink / raw)
  To: John A. Sullivan III; +Cc: Netfilter users list

On 02/06/2006 03:47 PM, John A. Sullivan III wrote:
> Are the ICMP Destination Unreachable-Fragmentation Needed and DF Set
> (type 3, code 4) packets sent in response to a TCP packet doing PMTU
> discovery considered RELATED or does one need to allow NEW connections
> for such packets?

The man page says that ICMP errors are RELATED, but I seem to recall
them showing up as ESTABLISHED instead.  In any case, fragmentation
needed errors are treated the same as other ICMP errors, and so an
accept ESTABLISHED/RELATED rule is enough.

> By the way, is there a way to specify code number in the --icmp-type
> match? I think one can do -p 1 --icmp-type fragmentation-needed but I
> usually use the numbers to avoid lookups, e.g., -p 1 --icmp-type 8.
> Thanks - John

The man page doesn't mention this, but if you run iptables -p icmp -h
then it says you can use type/code, eg -p 1 --icmp-type 3/4


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-02-06  6:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-06  5:47 PMTU-D and conntrack John A. Sullivan III
2006-02-06  6:43 ` Philip Craig

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.