From owner-freebsd-current Tue Apr 9 13:51:38 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA12695 for current-outgoing; Tue, 9 Apr 1996 13:51:38 -0700 (PDT) Received: from sovcom.kiae.su (sovcom.kiae.su [144.206.136.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id NAA12680 for ; Tue, 9 Apr 1996 13:51:25 -0700 (PDT) Received: by sovcom.kiae.su id AA17391 (5.65.kiae-1 ); Tue, 9 Apr 1996 23:45:01 +0300 Received: by sovcom.KIAE.su (UUMAIL/2.0); Tue, 9 Apr 96 23:45:01 +0300 Received: (from ache@localhost) by astral.msk.su (8.7.5/8.7.3) id AAA01084; Wed, 10 Apr 1996 00:43:47 +0400 (MSD) Message-Id: <199604092043.AAA01084@astral.msk.su> Subject: Re: routed delete my PPP default: how to fight it? (THE REASON FOUND!) To: nate@sri.MT.net (Nate Williams) Date: Wed, 10 Apr 1996 00:43:47 +0400 (MSD) Cc: msmith@atrad.adelaide.edu.au, current@freebsd.org, joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199604081452.IAA24889@rocky.sri.MT.net> from "Nate Williams" at "Apr 8, 96 08:52:43 am" From: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (aka Andrey A. Chernov, Black Mage) X-Class: Fast X-Mailer: ELM [version 2.4ME+ PL15 (25)] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > > It was what I do. It seems that PPP send routed brodcasts. > > > > Well, having checked the sources, I have to say that unless it cons' code > > up out of nowhere when it runs, there doesn't appear to be _any_ UDP > > code, routed-aware or not in iijppp. > > Umm, I know there is some IP code being sent out in iijppp, but it's not > necessary. It might be interpreted as 'UDP' code. > > if ((routes = socket(PF_ROUTE, SOCK_RAW, AF_INET)) < 0) { > logprintf("sifproxyarp: opening routing socket: \n"); > return 0; > } It seems that I found the reason: when I comment out this line in my ppp.conf # add 0 0 194.58.227.1 I don't have those 'router' service messages anymore! So, it is DEFINITELY iij-ppp who produce this UDP router requests. But... I forced to manually enter 'route add default ...' in this case. :-( I don't understand well socket code, is there any chance to fix PPP? Any ideas? -- Andrey A. Chernov : And I rest so composedly, /Now, in my bed, ache@astral.msk.su : That any beholder /Might fancy me dead - http://dt.demos.su/~ache : Might start at beholding me, /Thinking me dead. RELCOM Team,FreeBSD Team : E.A.Poe From "For Annie" 1849