From owner-freebsd-net@FreeBSD.ORG Mon Sep 17 12:37:47 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F99216A468; Mon, 17 Sep 2007 12:37:47 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id B407B13C48A; Mon, 17 Sep 2007 12:37:46 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from kobe.laptop (dialup167.ach.sch.gr [81.186.70.167]) (authenticated bits=128) by igloo.linux.gr (8.14.1/8.14.1/Debian-9) with ESMTP id l8HCbKMa000895 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 17 Sep 2007 15:37:35 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.1/8.14.1) with ESMTP id l8HCbItA002873; Mon, 17 Sep 2007 15:37:19 +0300 (EEST) (envelope-from keramida@freebsd.org) Received: (from keramida@localhost) by kobe.laptop (8.14.1/8.14.1/Submit) id l8HCbG9Y002872; Mon, 17 Sep 2007 15:37:16 +0300 (EEST) (envelope-from keramida@freebsd.org) Date: Mon, 17 Sep 2007 15:37:16 +0300 From: Giorgos Keramidas To: Tom Judge , Nuno Antunes Message-ID: <20070917123715.GB2648@kobe.laptop> References: <20070910115636.GA8326@kobe.laptop> <46EE4CC8.4000906@tomjudge.com> <262949390709170313t649a40d2n5b0598a8bcc034a7@mail.gmail.com> <46E11515.8090007@tomjudge.com> <46E174DB.8070004@FreeBSD.org> <20070907185757.GA25624@kobe.laptop> <262949390709091803s507265e6mf3929c4dd26ecc56@mail.gmail.com> <20070910110528.GB2476@kobe.laptop> <20070910115636.GA8326@kobe.laptop> <46EE4CC8.4000906@tomjudge.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <262949390709170313t649a40d2n5b0598a8bcc034a7@mail.gmail.com> <46EE4CC8.4000906@tomjudge.com> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.094, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.30, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@freebsd.org X-Spam-Status: No Cc: freebsd-net@freebsd.org, "Bruce M. Simpson" Subject: Re: Strange behaviour of route command X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Sep 2007 12:37:47 -0000 On 2007-09-17 10:45, Tom Judge wrote: >Giorgos Keramidas wrote: >>On 2007-09-10 14:05, Giorgos Keramidas wrote: >>>On 2007-09-10 02:03, Nuno Antunes wrote: >>>>>> Tom Judge wrote: >>>>>>> Hi, >>>>>>> While making some changes to the routing table on one of our routers >>>>>>> today I noticed that "route add" was showing some strange >>>>>>> behaviour. When adding a route for 128/8 to the table rather than >>>>>>> adding 128.0.0.0/8 it would add 0.0.0.0/8, however adding 10/9 works >>>>>>> correctly. >>>>>>> >>>>>>> Is this a bug in route or the routing table? >>>> >>>> Hi, >>>> Can you take a look at this patch, please? >>>> >>>> http://leaf.dragonflybsd.org/mailarchive/submit/2007-09/msg00000.html >>> >>> Fantastic, thanks for the pointer! :-) > > Is there any chance of getting this commited, or should I raise a PR > about this? I'm not an src-committer, so we have to get an approval from Bruce first, but the patch is saved in my online patch queue: http://hg.hellug.gr/freebsd/src-keramida/file/08d313afdc9a/ The patch is the file called 'route'. On 2007-09-17 11:13, Nuno Antunes wrote: > BTW, there's also a fix for netstat to print CIDR network addresses correctly: > http://leaf.dragonflybsd.org/mailarchive/submit/2007-09/msg00005.html Neat, yeah I noticed that too, while looking at the threads about route/netstat. I just came back from a trip and I will have some time to see how much of it applies to FreeBSD's netstat too. Thanks once more :)