From owner-freebsd-hackers Thu Jan 6 6:32:21 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from lily.ezo.net (lily.ezo.net [206.102.130.13]) by hub.freebsd.org (Postfix) with ESMTP id AA20115648; Thu, 6 Jan 2000 06:32:16 -0800 (PST) (envelope-from jflowers@ezo.net) Received: from lily.ezo.net (jflowers@localhost.ezo.net [127.0.0.1]) by lily.ezo.net (8.8.7/8.8.7) with SMTP id JAA00713; Thu, 6 Jan 2000 09:31:28 -0500 (EST) Date: Thu, 6 Jan 2000 09:31:27 -0500 (EST) From: Jim Flowers To: Ruslan Ermilov Cc: hackers@FreeBSD.ORG Subject: Re: Natd with Pmtu Discovery In-Reply-To: <20000106143722.A2080@relay.ucb.crimea.ua> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG OK. I followed this a little further. The problem is that the natd read of the interface mtu precedes the skip routine that modifies it. Unfortunately, when the skip routine modifies the interface mtu it does not send a message to the socket as it does when the address is changed so the -dynamic flag doesn't help. Currently, I moved the the initiation of natd to rc.local to follow the skip change to the interface mtu but this is less than ideal. A better approach would be to notify the natd module of any interface mtu change via the socket, similar to when the address is changed with the -dynamic flag set. This would also pick of manual changes. Jim Flowers #4 ISP on C|NET, #1 in Ohio On Thu, 6 Jan 2000, Ruslan Ermilov wrote: > On Sat, Dec 18, 1999 at 05:19:28PM -0500, Jim Flowers wrote: > > Natd does not handle pmtu discovery well when the mtu for the interface > > it is using is changed, either manually or under program control, after > > natd is started. The following provides details of why, and a work-around. > > > Thanks for the info, I'm working on a patch at the moment. > Please track PR 15494 for this issue. > > http://www.freebsd.org/cgi/query-pr.cgi?15494 > > -- > Ruslan Ermilov Sysadmin and DBA of the > ru@ucb.crimea.ua United Commercial Bank, > ru@FreeBSD.org FreeBSD committer, > +380.652.247.647 Simferopol, Ukraine > > http://www.FreeBSD.org The Power To Serve > http://www.oracle.com Enabling The Information Age > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message