kern/82974: RTM_CHANGE incorrectly changes default
Bjoern A. Zeeb
bzeeb+freebsd at zabbadoz.net
Mon Jul 4 14:00:19 GMT 2005
>Number: 82974
>Category: kern
>Synopsis: RTM_CHANGE incorrectly changes default
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Jul 04 14:00:18 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Bjoern A. Zeeb
>Release: FreeBSD 6.0-CURRENT amd64
>Organization:
Zabbadoz.NeT
>Environment:
>Description:
route change of a nonexistent host route changes default route instead
of returning error.
route monitor returns change given but not change done.
I had seen this this problem on a 5.4-PRERELEASE machine from about
Mar 31 and verified that it still exists in HEAD.
>How-To-Repeat:
foo# netstat -rn -f inet | grep default
default 192.168.64.1 UGS 0 27 em0
foo# netstat -rn -f inet | grep 10.1
foo# route change 10.1.2.3 127.0.0.1
change host 10.1.2.3: gateway 127.0.0.1
got message of size 124 on Mon Jul 4 13:42:55 2005
RTM_CHANGE: Change Metrics or flags: len 124, pid: 55414, seq 1, errno 0, flags:<UP,GATEWAY,HOST,DONE,STATIC>
locks: inits:
sockaddrs: <DST,GATEWAY>
10.1.2.3 127.0.0.1
foo# netstat -rn -f inet | grep 10.1
foo# netstat -rn -f inet | grep default
default 127.0.0.1 UGS 0 27 lo0
>Fix:
N/A
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list