From owner-freebsd-net Fri Mar 3 18:23: 4 2000 Delivered-To: freebsd-net@freebsd.org Received: from awfulhak.org (tun.AwfulHak.org [194.242.139.173]) by hub.freebsd.org (Postfix) with ESMTP id 4016137B715; Fri, 3 Mar 2000 18:22:54 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@hak.lan.awfulhak.org [172.16.0.12]) by awfulhak.org (8.9.3/8.9.3) with ESMTP id CAA89118; Sat, 4 Mar 2000 02:18:17 GMT (envelope-from brian@hak.lan.Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id CAA02929; Sat, 4 Mar 2000 02:18:15 GMT (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200003040218.CAA02929@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: Dermot McNally Cc: Brian Somers , Dermot McNally , freebsd-net@FreeBSD.org, peter@FreeBSD.org, jkh@FreeBSD.org, joe@FreeBSD.org Subject: Re: NAT issues with ppp - a fix In-Reply-To: Message from Dermot McNally of "Thu, 17 Feb 2000 01:40:52 PST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 04 Mar 2000 02:18:15 +0000 From: Brian Somers Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, Because of a recent change in the way I connect to the net (PPPoUDPoPPPoISDN), I'm now seeing this problem ! Can you try the attached patch ? I believe this fixes the problem ! For those that have forgotten this thread, the issue is with fragmented packets going through ppps NAT implementation. Peter was the first to point out an occasional error message saying ``Problem with IP header length''. It turns out that the bug is a couple of lines above (see the patch), and was worsened (made consistent enough to make a given tcp/udp session freeze) by my recent mbuf memory allocation optimisations !!! Thanks for any confirmations. Jordan (cc'd) is in Holland at the moment, so I suspect nobody's going to approve this for 4.0 and it'll have to stay as queued-patch-#16 here on my laptop - unless I can collar him as he passes through the UK on Sunday !!!! Any news Joe (cc'd) ? > On Thu, 17 Feb 2000, Brian Somers wrote: > > > If it still happens with the latest verison, can you also try > > decreasing your network MTU to 1492 (or maybe even 1400 for kicks). > > This would stop IP fragmentation - it shouldn't make a difference, > > but, well.... > > I've just realised that you're talking about my inside MTU - I haven't > even touched that yet. I'll try it. > > Cheers, > Dermot -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message