pppd sends packets exceeding MTU
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ppp (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: ppp
When I log on to a certain VPN of type "Microsoft VPN (PPTP)", the connection is always dropped after some time. It turns out that this happens when my computer sends a GRE-encapsulated PPP packet with a payload length of 1417. The MTU of the network interface ppp0 is 1412. I believe the VPN gateway accepts packets with a payload length up to 1416. (How can I verify that?)
I am not sure whether pptp or pppd is the culprit here, but I suspect pppd. This looks like an off-by-one error.
Does anyone know why this might happen? Any pointers where I might look? Is there any information I can provide you with?
I am using Ubuntu 8.04 "hardy heron" with ppp 2.4.4rel-9ubuntu2.
After manually setting the interface MTU to 1411, I found out that the gateway does not accept packets with a payload length of 1416 either.
Also, when pppd receives an ICMP message with message code 4 ("Fragmentation needed"), why doesn't it react by fragmenting and re-sending the offending packet?