From owner-freebsd-bugs Sun Oct 28 20:20: 6 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id CB6A937B405 for ; Sun, 28 Oct 2001 20:20:00 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9T4K0H66195; Sun, 28 Oct 2001 20:20:00 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1CA7537B403 for ; Sun, 28 Oct 2001 20:10:25 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9T4APo65440; Sun, 28 Oct 2001 20:10:25 -0800 (PST) (envelope-from nobody) Message-Id: <200110290410.f9T4APo65440@freefall.freebsd.org> Date: Sun, 28 Oct 2001 20:10:25 -0800 (PST) From: Igor M Podlesny To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/31575: wrong src ip address for some ICMPs Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 31575 >Category: misc >Synopsis: wrong src ip address for some ICMPs >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Oct 28 20:20:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: Igor M Podlesny >Release: 4.4 >Organization: Morning Network Ltd >Environment: doesn't matter. it works the same way even on 3.5 and, I suspect, all releases before and after that. >Description: You might observe this bug doing traceroute while standing behind a GW's interface with several IP-addresses (aliases). In this case you always got ICMP.TIMXCEED (time exceeded) coming from IP-address which is usually the first on the interface, even if your box is not using this IP-address as its next-hop. Despite of the code selecting right IP-address for this purpose is working well it's being confused by wrong argument it is being given. This patch (http://www.morning.ru/~poige/patchzone/ip_icmp.c.diff) fixes namely this problem. >How-To-Repeat: You should have several ip-address on interface of NEXT-HOP router running FreeBSD, then invoke traceroute some.where. >Fix: http://www.morning.ru/~poige/patchzone/ip_icmp.c.diff >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message