From owner-freebsd-net Thu Dec 7 23:52:49 2000 From owner-freebsd-net@FreeBSD.ORG Thu Dec 7 23:52:47 2000 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 19D5E37B400; Thu, 7 Dec 2000 23:52:43 -0800 (PST) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.0/8.11.0) id eB87qPo69647; Fri, 8 Dec 2000 09:52:25 +0200 (EET) (envelope-from ru) Date: Fri, 8 Dec 2000 09:52:25 +0200 From: Ruslan Ermilov To: Patrick Bihan-Faou Cc: freebsd-net@FreeBSD.ORG, Brian Somers Subject: Re: Problem with PPP, tcpmssd and routing socket messages Message-ID: <20001208095225.A69062@sunbay.com> Mail-Followup-To: Patrick Bihan-Faou , freebsd-net@FreeBSD.ORG, Brian Somers References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from patrick@netzuno.com on Thu, Dec 07, 2000 at 02:39:56PM -0500 Sender: ru@whale.sunbay.crimea.ua Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, Dec 07, 2000 at 02:39:56PM -0500, Patrick Bihan-Faou wrote: > > > > From: Patrick Bihan-Faou [mailto:patrick@netzuno.com] > > > > My workaround for now is to invalidate the MTU information if I > > see any message on the routing socket that are related to the > > interface I am monitoring. Then when I have to modify a packet, I > > refetch the correct MTU at that point. > > > > This is just a workaround for the problem that the RTM_IFINFO is > > never received, which looks like a bug to me. If you give me some > > pointers as to where to look, I can spend some time on it. > > > I am happy to report that this workaround works just fine. I'd be happy to > trace the "lost RTM_IFINFO" message issue if somebody can provide me with a > couple of starting points. > I do not know what happens here, though that's me who originally added the support for MTU change reports through route(4) socket: RCS file: /home/ncvs/src/sys/net/if.c,v Working file: if.c head: 1.95 branch: locks: strict access list: keyword substitution: kv total revisions: 116; selected revisions: 1 description: ---------------------------- revision 1.83 date: 2000/01/24 08:53:39; author: ru; state: Exp; lines: +4 -2 Notify user processes about interface's MTU change. Reviewed by: wollman, freebsd-net ==================================================================== Probably, if_tun.c needs a similar functionality added. Sorry, I can't investigate more at this time... I would suggest you to communicate with Brian Somers. -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 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-net" in the body of the message