Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Mar 2000 02:18:15 +0000
From:      Brian Somers <brian@Awfulhak.org>
To:        Dermot McNally <dermo@mcnally.de>
Cc:        Brian Somers <brian@awfulhak.org>, Dermot McNally <dermot@mcnally.de>, freebsd-net@FreeBSD.org, peter@FreeBSD.org, jkh@FreeBSD.org, joe@FreeBSD.org
Subject:   Re: NAT issues with ppp  - a fix
Message-ID:  <200003040218.CAA02929@hak.lan.Awfulhak.org>
In-Reply-To: Message from Dermot McNally <dermo@mcnally.de>  of "Thu, 17 Feb 2000 01:40:52 PST." <Pine.BSF.4.21.0002170138460.7777-100000@shell20.ba.best.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
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 <brian@Awfulhak.org>                        <brian@[uk.]FreeBSD.org>
      <http://www.Awfulhak.org>;                   <brian@[uk.]OpenBSD.org>
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




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