NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/40455: route can't change reject to blackhole



>Number:         40455
>Category:       bin
>Synopsis:       route can't change reject to blackhole
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 22 21:25:00 +0000 2009
>Originator:     reed%reedmedia.net@localhost
>Release:        NetBSD
>Organization:
  Jeremy C. Reed
>Environment:
        
        
>Description:
Saw this on i386 and amd64 with 4.0 and 5.0_BETA and old 4.99.

here is on 5.0_BETA from few weeks ago:

$ sudo route add 207.46.197.32 127.0.0.1 -reject
add host 207.46.197.32: gateway 127.0.0.1
$ route -n show -inet | grep ^207.46
207.46.197.32      127.0.0.1          UGHR   
$ sudo route change 207.46.197.32 127.0.0.1 -blackhole   
change host 207.46.197.32: gateway 127.0.0.1
$ route -n show -inet | grep ^207.46                   
207.46.197.32      127.0.0.1          UGHR   
$ netstat -rn -f inet | grep ^207.46
207.46.197.32      127.0.0.1          UGHRS       0        0  33648  lo0

So it still shows "R" for reject.

Also same problem if create blackhole first and try to change to reject.
>How-To-Repeat:
        
>Fix:

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index