netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* DF Bit set on UDP traffic -- bug or feature?
@ 2009-08-19 23:22 Glen Turner
  2009-08-20  4:16 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Glen Turner @ 2009-08-19 23:22 UTC (permalink / raw)
  To: netdev

Hi folks,

Is it a bug that the DF bit is set on UDP traffic when TCP Path
MTU Discovery is active, but yet when a returning ICMP DF Set But
Fragmentation Required response is received the kernel does not
attempt fragmentation of the outgoing UDP-carrying IP packets?

This has practical consequences for large RADIUS packets, such
as in the RADIUS/TLS/UDP protocol "DTLS".  They are not fragmented
by the network and they are not fragmented by the kernel, and thus
the packets fail to pass from the application to the end-user.

Can I humbly suggest that when the kernel does not implement
its own fragmentation strategy (as it does with TCP Path MTU
Discovery) that the DF bit not be set by the kernel?

Thanks very much, Glen

-- 
  Glen Turner, Network Engineer, Australia's Academic & Research Network
  www.aarnet.edu.au
  +61 8 8303 3936

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

* Re: DF Bit set on UDP traffic -- bug or feature?
  2009-08-19 23:22 DF Bit set on UDP traffic -- bug or feature? Glen Turner
@ 2009-08-20  4:16 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2009-08-20  4:16 UTC (permalink / raw)
  To: gdt; +Cc: netdev

From: Glen Turner <gdt@gdt.id.au>
Date: Thu, 20 Aug 2009 09:22:45 +1000

> Can I humbly suggest that when the kernel does not implement
> its own fragmentation strategy (as it does with TCP Path MTU
> Discovery) that the DF bit not be set by the kernel?

It's UDP path MTU discovery, it's legal, and Linux has been
doing it for almost 10 years.

I don't think it's changing, sorry.


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

end of thread, other threads:[~2009-08-20  4:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-19 23:22 DF Bit set on UDP traffic -- bug or feature? Glen Turner
2009-08-20  4:16 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).