Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Apr 2005 22:27:53 +1000
From:      Matthew Sullivan <matthew@uq.edu.au>
To:        freebsd-current@freebsd.org
Subject:   Re: DF (Don't frag) issues
Message-ID:  <426A3F49.6090203@uq.edu.au>
In-Reply-To: <42663EA1.3020409@uq.edu.au>
References:  <426426AE.2060406@uq.edu.au> <20050420084413.GA27304@walton.maths.tcd.ie> <42663EA1.3020409@uq.edu.au>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Matthew Sullivan wrote:

> I'm going to post this back to the list as Marko was also helping me get
> to the bottom of it...
>
> David Malone wrote:
>
>> On Tue, Apr 19, 2005 at 07:29:18AM +1000, Matthew Sullivan wrote:
>>  
>>
>>> Any reason why FreeBSD 5.2.1+ and 5.3-p9 set DF on all packets?
>>>   
>>
>>
>> It is usual to do this to do path MTU discovery with TCP. I don't
>> know what the situation with the packets that the VPN sends is.
>
Ok well thanks to Andrew @ Supernews and a lot of debugging it appears 
there is a bug....

sys/netinet/ip_icmp.c: line 440
                        if (!mtu)
                                mtu = ip_next_mtu(mtu, 1);

Problem is ip_next_mtu will always return 0 when called with (0, 1) ... 
so following that with:

                        if (mtu >= max(296, (tcp_minmss +
                                        sizeof(struct tcpiphdr))))
                                tcp_hc_updatemtu(&inc, mtu);

and nothing gets changed.... hence why it fails.

Apparently the gateway should be suggesting a MTU value for use.... the 
gateway is also FreeBSD 5.3 so something needs fixing .. :-/

Regards,

-- 
Matthew Sullivan
Specialist Systems Programmer
Information Technology Services
The University of Queensland


[-- Attachment #2 --]
0	*H
010	+0	*H
0r0Z*0
	*H
010	UAU10U
Queensland10UBrisbane1%0#U
The University of Queensland1(0&UInformation Technology Services10UCertificate Server0
040121233621Z
060121233621Z010	UAU1%0#U
The University of Queensland1'0%UInformation Tecnology Services10
	&,dccmatt10UMatthew Sullivan1 0	*H
	matthew@uq.edu.au0\0
	*H
K0HA~?AJ#0z^TY%L~3:ܠDŽoӄ'Zբ,pKh0f0U0	`HB0U#0&2MA{7XT0 U0matthew@its.uq.edu.au0
	*H
]f*fe
7>Că3$K:C%˜pr0(;wP@H$U ҷs;#BdYMz9 Z ȥ-Z=53Fl .jٍ\]W)R+,!6Ampz:3 JFwH2LRD"ױTb^#)/xgBRr{(1&fcv@Jpc4fcy{SaU0r0Z*0
	*H
010	UAU10U
Queensland10UBrisbane1%0#U
The University of Queensland1(0&UInformation Technology Services10UCertificate Server0
040121233621Z
060121233621Z010	UAU1%0#U
The University of Queensland1'0%UInformation Tecnology Services10
	&,dccmatt10UMatthew Sullivan1 0	*H
	matthew@uq.edu.au0\0
	*H
K0HA~?AJ#0z^TY%L~3:ܠDŽoӄ'Zբ,pKh0f0U0	`HB0U#0&2MA{7XT0 U0matthew@its.uq.edu.au0
	*H
]f*fe
7>Că3$K:C%˜pr0(;wP@H$U ҷs;#BdYMz9 Z ȥ-Z=53Fl .jٍ\]W)R+,!6Ampz:3 JFwH2LRD"ױTb^#)/xgBRr{(1&fcv@Jpc4fcy{SaU1@0<0010	UAU10U
Queensland10UBrisbane1%0#U
The University of Queensland1(0&UInformation Technology Services10UCertificate Server*0	+-0	*H
	1	*H
0	*H
	1
050423122753Z0#	*H
	1{S|D)0R	*H
	1E0C0
*H
0*H
0
*H
@0+0
*H
(0	+710010	UAU10U
Queensland10UBrisbane1%0#U
The University of Queensland1(0&UInformation Technology Services10UCertificate Server*0*H
	1010	UAU10U
Queensland10UBrisbane1%0#U
The University of Queensland1(0&UInformation Technology Services10UCertificate Server*0
	*H
@n`Ւ}(sb
?uq]- dK.3)XFo!Q֗\A

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?426A3F49.6090203>