Re: UDP path MTU discovery

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Glen Turner
Date: Wednesday, March 31, 2010 - 4:43 pm

On Mon, 2010-03-29 at 10:01 -0700, Rick Jones wrote:


We don't need that sort of exotica from the kernel.  The applications
have to be prepared to retransmit lost packets in any case.

What we need is an API for an instant notification that a ICMP Packet
Too Big message has arrived concerning the socket.

Then the application simply retransmits immediately, without adding
to the exponential backoff penalty which the application maintains.
The application maintain a overall packet-transmitted limit to prevent
a DoS.

it can use for UDP Path MTU Discovery (paced at the RTT, so not
contributing to congestion collapse). That stream halts when the
first packet makes it to the end system.

As for David Miller's rant, the applications currently have no choice
but to "do it stupidly" as the kernel doesn't pass enough information
for user space to do it intelligently.  If the kernel passed user space
the same indication as TCP gets, then we could -- and would -- do it
right.

Re-writing the applications to take advantage of the API is no great
shakes -- there aren't many of them, they are written by people with
a good knowledge of networking, but unfortunately they tend to do
important stuff (allocate addresses, serve names, authenticate link
layer access).

It would be nice if the API had some commonality between platforms.
But there's no shortage of #ifdefs already, and one more to make
these applications work well for IPv6 on jumbo frames on the platform
of choice for networking infrastructure would be seen by application
authors as well worthwhile.

Thanks for your consideration,
Glen

-- 
 Glen Turner
 www.gdt.id.au/~gdt

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
UDP path MTU discovery, Glen Turner, (Thu Mar 25, 5:02 pm)
Re: UDP path MTU discovery, Rick Jones, (Thu Mar 25, 5:53 pm)
Re: UDP path MTU discovery, David Miller, (Thu Mar 25, 8:24 pm)
Re: UDP path MTU discovery, David Miller, (Thu Mar 25, 8:26 pm)
Re: UDP path MTU discovery, Rick Jones, (Fri Mar 26, 10:48 am)
Re: UDP path MTU discovery, Andi Kleen, (Sun Mar 28, 1:41 am)
Re: UDP path MTU discovery, Andi Kleen, (Sun Mar 28, 1:50 am)
Re: UDP path MTU discovery, Rick Jones, (Mon Mar 29, 10:01 am)
Re: UDP path MTU discovery, Andi Kleen, (Mon Mar 29, 1:14 pm)
Re: UDP path MTU discovery, Rick Jones, (Mon Mar 29, 1:25 pm)
Re: UDP path MTU discovery, Edgar E. Iglesias, (Mon Mar 29, 1:50 pm)
Re: UDP path MTU discovery, Rick Jones, (Mon Mar 29, 2:01 pm)
Re: UDP path MTU discovery, Eric Dumazet, (Mon Mar 29, 2:29 pm)
RE: UDP path MTU discovery, Templin, Fred L, (Mon Mar 29, 4:38 pm)
Re: UDP path MTU discovery, Andi Kleen, (Mon Mar 29, 10:20 pm)
Re: UDP path MTU discovery, Eric Dumazet, (Mon Mar 29, 11:06 pm)
Re: UDP path MTU discovery, Edgar E. Iglesias, (Mon Mar 29, 11:16 pm)
Re: UDP path MTU discovery, Andi Kleen, (Mon Mar 29, 11:16 pm)
Re: UDP path MTU discovery II, Andi Kleen, (Mon Mar 29, 11:17 pm)
Re: UDP path MTU discovery, Andi Kleen, (Mon Mar 29, 11:19 pm)
Re: UDP path MTU discovery, Edgar E. Iglesias, (Tue Mar 30, 1:20 am)
Re: UDP path MTU discovery, Andi Kleen, (Tue Mar 30, 7:12 am)
RE: UDP path MTU discovery, Templin, Fred L, (Tue Mar 30, 8:58 am)
Re: UDP path MTU discovery, Andi Kleen, (Tue Mar 30, 9:06 am)
Re: UDP path MTU discovery, Edgar E. Iglesias, (Tue Mar 30, 3:04 pm)
Re: UDP path MTU discovery, Glen Turner, (Wed Mar 31, 4:42 pm)
Re: UDP path MTU discovery, Glen Turner, (Wed Mar 31, 4:43 pm)
Re: UDP path MTU discovery, Hagen Paul Pfeifer, (Wed Mar 31, 4:51 pm)
Re: UDP path MTU discovery, Glen Turner, (Wed Mar 31, 4:57 pm)
Re: UDP path MTU discovery, Rick Jones, (Wed Mar 31, 5:06 pm)
Re: UDP path MTU discovery, Andi Kleen, (Wed Mar 31, 5:55 pm)
Re: UDP path MTU discovery, Andi Kleen, (Wed Mar 31, 5:57 pm)
Re: UDP path MTU discovery, Glen Turner, (Thu Apr 1, 10:41 pm)
Re: UDP path MTU discovery, Andi Kleen, (Sun Apr 4, 3:25 am)