Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Oct 2001 11:16:54 +0700
From:      Igor Podlesny <poige@morning.ru>
To:        freebsd-hackers@FreeBSD.ORG
Subject:   ip_icmp.c's ancient bug-feature (fixed)
Message-ID:  <136143454376.20011029111654@morning.ru>

next in thread | raw e-mail | index | archive | help

Hello!

Really  micro  patch :-) fixing odd behavior (well, in fact, I deem an
error)  of  FreeBSD'  ip_icmp.c.  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 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.

P.S. It seems the same problem belongs to OpenBSD and, may be, for all
*BSD derivatives.

P.P.S. the PR is already sent, now waiting...

-- 
Best regards,
 Igor.                         http://morning.ru/~poige


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?136143454376.20011029111654>