From owner-freebsd-bugs@FreeBSD.ORG Mon Feb 7 10:51:09 2005 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 88E6516A4CE for ; Mon, 7 Feb 2005 10:51:09 +0000 (GMT) Received: from main.galati.rdsnet.ro (main.galati.rdsnet.ro [212.93.152.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id E14DB43D54 for ; Mon, 7 Feb 2005 10:51:08 +0000 (GMT) (envelope-from emil.cazamir@galati.rdsnet.ro) From: "Emil Cazamir" To: "'David Malone'" , Date: Mon, 7 Feb 2005 12:54:47 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: <200502061750.j16HoHgA008948@freefall.freebsd.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 Thread-Index: AcUMdFpCLgqNyxAcTnaKjA31qFwOuAAjv3Tw Message-Id: <20050207105106.5D610B538F@main.galati.rdsnet.ro> Subject: RE: kern/76966: udp/520 reply packets when routed is not running X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Feb 2005 10:51:09 -0000 -----Original Message----- From: owner-freebsd-bugs@freebsd.org [mailto:owner-freebsd-bugs@freebsd.org] On Behalf Of David Malone Sent: 6 februarie 2005 19:50 To: freebsd-bugs@FreeBSD.org Subject: Re: kern/76966: udp/520 reply packets when routed is not running The following reply was made to PR kern/76966; it has been noted by GNATS. From: David Malone To: Emil Cazamir Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: kern/76966: udp/520 reply packets when routed is not running Date: Sun, 6 Feb 2005 17:41:15 +0000 On Tue, Feb 01, 2005 at 05:35:28PM +0200, Emil Cazamir wrote: > >Description: > The FreeBSD kernel seems to respond to udp/520 packets even when > there is no such daemon running. There's no code in the FreeBSD kernel for doing this, however I think I know what is going on... > 17:03:32.185977 0:f:3d:47:8b:de ff:ff:ff:ff:ff:ff 0800 60: 192.168.0.10.520 > > 192.168.0.255.520: RIPv1-resp [items 0]: (DF) > 17:03:32.186153 0:0:0:0:0:2 0:0:0:0:0:1 0800 60: 192.168.1.33.520 > > 192.168.0.255.520: RIPv1-resp [items 0]: (DF) Your FreeBSD maching gets a packet for 192.168.0.255 - I suspect you have the netmask on your FreeBSD machine set incorrectly so it does not consider this a broadcast address. Consequently, it probably considers this a misdirected packet and so sends an ICMP redirect and then forwards the packet, in this case to the default router. I'm not sure why the source address on the packet has changed - that bit seems a bit odd. David. _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org" There is no problem with the netmask, there are several subnets sharing the same wire. I lokked into few kernel config files and I didn't found anything specific. I think that the cause of what's happening is somewhere in natd/libalias, all the machines which respond to [or forward] udp/520 packets are running natd. I will make available kernel config files, process listings, etc if it is required. Best regards, Emil Cazamir