Date: Sat, 1 Jun 1996 11:34:15 -0400 From: dennis@etinc.com (Dennis) To: hackers@freebsd.org Cc: freebsd-isp@freebsd.org Subject: Nasty Routing BUG in 2.1R Message-ID: <199606011534.LAA00235@etinc.com>
next in thread | raw e-mail | index | archive | help
I've encountered a nasty, easily reproducable bug in 2.1R that causes
a panic. The following sequence:
route add 200.11.1.17 200.11.1.3
/* where 200.11.1.17 is inactive or doesnt exist and 200.11.1.3 is
another FreeBSD router/host on the network. It creates a route entry
Dest=200.11.1.17 GW=200.11.1.3 */
ping -c 1 200.11.1.17
/* This generates a re-direct which changes the route entry to
Dest=200.11.1.17 GW=200.11.1.17. This seems quite wrong....
the entry should be either deleted or resolved */
route delete 200.11.1.17
/* This causes a panic in the function rtfree(). If you dont delete the route
then the host address is unreachable (you get an arpresolve error).
*/
Dennis
----------------------------------------------------------------------------
Emerging Technologies, Inc. http://www.etinc.com
Synchronous Communications Cards and Routers For
Discriminating Tastes. 56k to T1 and beyond. Frame
Relay, PPP, HDLC, and X.25 for BSD/OS, FreeBSD
and LINUX
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606011534.LAA00235>
