Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug
report.
http://bugzilla.quagga.net/show_bug.cgi?id=202 ------- Additional Comments From Hoemig@gmx.de 2007-04-03 09:16 -------
Test quagga-0.99.6-20070403 with Patch "reject PtP adresses on...)
pppd is running. Starting Zebra (without any patch):
----------------------------------------------------
root@iags01:~# ./zebra -A 127.0.0.1
2000/01/03 17:56:46 ZEBRA: rib_link: rn 0x10091ce8, rib 0x10091d28
2000/01/03 17:56:46 ZEBRA: Zebra 0.99.6 starting: vty@2601
2000/01/03 17:56:46 ZEBRA: rib_process: Adding route, select 0x1008ecc0
2000/01/03 17:56:46 ZEBRA: rib_process: Adding route, select 0x1008ef50
2000/01/03 17:56:46 ZEBRA: rib_process: Adding route, select 0x1008f148
2000/01/03 17:56:46 ZEBRA: rib_process: Adding route, select 0x1008f380
2000/01/03 17:56:46 ZEBRA: rib_process: Adding route, select 0x1008f578
2000/01/03 17:56:46 ZEBRA: rib_process: Adding route, select 0x1008f770
2000/01/03 17:56:46 ZEBRA: rib_process: Adding route, select 0x10091d28
2000/01/03 17:56:46 ZEBRA: netlink_route_multipath() (single hop): RTM_NEWROUTE
10.11.12.0/24, type IPv4 nexthop
2000/01/03 17:56:46 ZEBRA: netlink_route_multipath() (single hop): nexthop via
10.53.61.107 if 4000
2000/01/03 17:56:46 ZEBRA: netlink_talk: netlink-cmd type RTM_NEWROUTE(24), seq=6
10.11.12.0/24 via 10.53.61.107 dev ppp0 proto zebra
2000/01/03 17:56:46 ZEBRA: netlink_parse_info: netlink-cmd ACK:
type=RTM_NEWROUTE(24), seq=6, pid=0
2000/01/03 17:56:46 ZEBRA: netlink_parse_info: netlink-listen type
RTM_NEWROUTE(24), seq=6, pid=4294963191
2000/01/03 17:56:46 ZEBRA: netlink_parse_info: netlink-cmd packet comes from
netlink-listen
Now I remove the ppp cable:
---------------------------
2000/01/03 17:57:17 ZEBRA: netlink_parse_info: netlink-listen type
RTM_NEWLINK(16), seq=0, pid=0
2000/01/03 17:57:17 ZEBRA: MESSAGE: ZEBRA_INTERFACE_DOWN ppp0
2000/01/03 17:57:17 ZEBRA: rib_delnode: rn 0x1008f730, rib 0x1008f770, removing
2000/01/03 17:57:17 ZEBRA: netlink_parse_info: netlink-listen type
RTM_NEWLINK(16), seq=0, pid=0
2000/01/03 17:57:17 ZEBRA: netlink_parse_info: netlink-listen type
RTM_DELADDR(21), seq=0, pid=0
2000/01/03 17:57:17 ZEBRA: netlink_interface_addr RTM_DELADDR ppp0:
2000/01/03 17:57:17 ZEBRA: IFA_LOCAL 10.53.61.108/32
2000/01/03 17:57:17 ZEBRA: IFA_ADDRESS 10.53.61.107/32
2000/01/03 17:57:17 ZEBRA: MESSAGE: ZEBRA_INTERFACE_ADDRESS_DELETE
10.53.61.108/32 on ppp0
2000/01/03 17:57:17 ZEBRA: route 10.53.61.107/32 ifindex 4000 type 2 doesn't
exist in rib
4000: ppp0: <POINTOPOINT,MULTICAST,NOARP> mtu 1500 qdisc pfifo_fast
link/ppp
4000: ppp0: <POINTOPOINT,MULTICAST,NOARP> mtu 1500 qdisc pfifo_fast
link/ppp
Deleted 4000: ppp0 inet 10.53.61.108 peer 10.53.61.107/32 scope global ppp0
Deleted local 10.53.61.108 dev ppp0 table local proto kernel scope host src
10.53.61.108
2000/01/03 17:57:17 ZEBRA: netlink_parse_info: netlink-listen type
RTM_DELROUTE(25), seq=0, pid=0
2000/01/03 17:57:17 ZEBRA: RTM_DELROUTE ipv4 multicast proto kernel
2000/01/03 17:57:17 ZEBRA: netlink_parse_info: netlink-listen type
RTM_DELLINK(17), seq=0, pid=0
2000/01/03 17:57:17 ZEBRA: interface ppp0 index 4000 is now inactive.
2000/01/03 17:57:17 ZEBRA: MESSAGE: ZEBRA_INTERFACE_DELETE ppp0
Deleted 4000: ppp0: <POINTOPOINT,MULTICAST,NOARP> mtu 1500 qdisc noop
link/ppp
2000/01/03 17:57:17 ZEBRA: rib_process: Removing existing route, fib 0x1008f770
2000/01/03 17:57:17 ZEBRA: rib_process: Deleting fib 0x1008f770, rn 0x1008f730
2000/01/03 17:57:17 ZEBRA: rib_unlink: rn 0x1008f730, rib 0x1008f770
2000/01/03 17:57:17 ZEBRA: rib_process: Removing existing route, fib 0x10091d28
2000/01/03 17:57:17 ZEBRA: netlink_route_multipath() (multihop): RTM_DELROUTE
10.11.12.0/24, type IPv4 nexthop
2000/01/03 17:57:17 ZEBRA: netlink_route_multipath() (multihop): nexthop via
10.53.61.107 if 0
2000/01/03 17:57:17 ZEBRA: netlink_talk: netlink-cmd type RTM_DELROUTE(25), seq=7
2000/01/03 17:57:17 ZEBRA: netlink-cmd error: No such process,
type=RTM_DELROUTE(25), seq=7, pid=0
2000/01/03 17:57:17 ZEBRA: rib_process: Updating existing route, select
0x1008f148, fib 0x1008f148
2000/01/03 17:57:17 ZEBRA: rib_process: Updating existing route, select
0x1008ecc0, fib 0x1008ecc0
2000/01/03 17:57:17 ZEBRA: rib_process: Updating existing route, select
0x1008ef50, fib 0x1008ef50
2000/01/03 17:57:17 ZEBRA: rib_process: Updating existing route, select
0x1008f380, fib 0x1008f380
2000/01/03 17:57:17 ZEBRA: rib_process: Updating existing route, select
0x1008f578, fib 0x1008f578
Now I put in the ppp cable:
---------------------------
2000/01/03 17:57:42 ZEBRA: netlink_parse_info: netlink-listen type
RTM_NEWLINK(16), seq=0, pid=0
2000/01/03 17:57:42 ZEBRA: MESSAGE: ZEBRA_INTERFACE_ADD ppp0
2000/01/03 17:57:42 ZEBRA: interface ppp0 index 4000 becomes active.
4000: ppp0: <POINTOPOINT,MULTICAST,NOARP> mtu 1500 qdisc noop
link/ppp
2000/01/03 17:57:42 ZEBRA: netlink_parse_info: netlink-listen type
RTM_NEWADDR(20), seq=0, pid=0
2000/01/03 17:57:42 ZEBRA: netlink_interface_addr RTM_NEWADDR ppp0:
2000/01/03 17:57:42 ZEBRA: IFA_LOCAL 10.53.61.108/32
2000/01/03 17:57:42 ZEBRA: IFA_ADDRESS 10.53.61.108/32
2000/01/03 17:57:42 ZEBRA: error: PtP interface ppp0 with addr 10.53.61.108/32
needs a peer address
2000/01/03 17:57:42 ZEBRA: netlink_parse_info: netlink-listen type
RTM_NEWROUTE(24), seq=0, pid=0
2000/01/03 17:57:42 ZEBRA: RTM_NEWROUTE ipv4 multicast proto kernel
2000/01/03 17:57:42 ZEBRA: netlink_parse_info: netlink-listen type
RTM_DELADDR(21), seq=0, pid=0
2000/01/03 17:57:42 ZEBRA: netlink_interface_addr RTM_DELADDR ppp0:
2000/01/03 17:57:42 ZEBRA: IFA_LOCAL 10.53.61.108/32
2000/01/03 17:57:42 ZEBRA: IFA_ADDRESS 10.53.61.108/32
2000/01/03 17:57:42 ZEBRA: netlink_parse_info: netlink-listen type
RTM_DELROUTE(25), seq=0, pid=0
2000/01/03 17:57:42 ZEBRA: RTM_DELROUTE ipv4 multicast proto kernel
2000/01/03 17:57:42 ZEBRA: netlink_parse_info: netlink-listen type
RTM_NEWADDR(20), seq=0, pid=0
2000/01/03 17:57:42 ZEBRA: netlink_interface_addr RTM_NEWADDR ppp0:
2000/01/03 17:57:42 ZEBRA: IFA_LOCAL 10.53.61.108/32
2000/01/03 17:57:42 ZEBRA: IFA_ADDRESS 10.53.61.107/32
2000/01/03 17:57:42 ZEBRA: MESSAGE: ZEBRA_INTERFACE_ADDRESS_ADD 10.53.61.108/32
on ppp0
2000/01/03 17:57:42 ZEBRA: netlink_parse_info: netlink-listen type
RTM_NEWROUTE(24), seq=0, pid=0
2000/01/03 17:57:42 ZEBRA: RTM_NEWROUTE ipv4 multicast proto kernel
2000/01/03 17:57:42 ZEBRA: netlink_parse_info: netlink-listen type
RTM_NEWLINK(16), seq=0, pid=0
2000/01/03 17:57:42 ZEBRA: MESSAGE: ZEBRA_INTERFACE_UP ppp0
2000/01/03 17:57:42 ZEBRA: rib_link: rn 0x1008f678, rib 0x1008f770
2000/01/03 17:57:42 ZEBRA: netlink_parse_info: netlink-listen type
RTM_NEWROUTE(24), seq=0, pid=0
2000/01/03 17:57:42 ZEBRA: RTM_NEWROUTE ipv4 unicast proto kernel
2000/01/03 17:57:42 ZEBRA: netlink_parse_info: netlink-listen type
RTM_NEWLINK(16), seq=0, pid=0
2000/01/03 17:57:42 ZEBRA: MESSAGE: ZEBRA_INTERFACE_UP ppp0
4000: ppp0 inet 10.53.61.108/32 scope global ppp0
local 10.53.61.108 dev ppp0 table local proto kernel scope host src 10.53.61.108
Deleted 4000: ppp0 inet 10.53.61.108/32 scope global ppp0
Deleted local 10.53.61.108 dev ppp0 table local proto kernel scope host src
10.53.61.108
4000: ppp0 inet 10.53.61.108 peer 10.53.61.107/32 scope global ppp0
local 10.53.61.108 dev ppp0 table local proto kernel scope host src 10.53.61.108
4000: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP,10000> mtu 1500 qdisc pfifo_fast
link/ppp
10.53.61.107 dev ppp0 proto kernel scope link src 10.53.61.108
4000: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP,10000> mtu 1500 qdisc pfifo_fast
link/ppp
2000/01/03 17:57:42 ZEBRA: rib_process: Adding route, select 0x1008f770
2000/01/03 17:57:42 ZEBRA: rib_process: Adding route, select 0x10091d28
2000/01/03 17:57:42 ZEBRA: netlink_route_multipath() (single hop): RTM_NEWROUTE
10.11.12.0/24, type IPv4 nexthop
2000/01/03 17:57:42 ZEBRA: netlink_route_multipath() (single hop): nexthop via
10.53.61.107 if 4000
2000/01/03 17:57:42 ZEBRA: netlink_talk: netlink-cmd type RTM_NEWROUTE(24), seq=8
2000/01/03 17:57:42 ZEBRA: netlink_parse_info: netlink-cmd ACK:
type=RTM_NEWROUTE(24), seq=8, pid=0
2000/01/03 17:57:42 ZEBRA: rib_process: Updating existing route, select
0x1008f148, fib 0x1008f148
2000/01/03 17:57:42 ZEBRA: rib_process: Updating existing route, select
0x1008ecc0, fib 0x1008ecc0
2000/01/03 17:57:42 ZEBRA: rib_process: Updating existing route, select
0x1008ef50, fib 0x1008ef50
2000/01/03 17:57:42 ZEBRA: rib_process: Updating existing route, select
0x1008f380, fib 0x1008f380
2000/01/03 17:57:42 ZEBRA: rib_process: Updating existing route, select
0x1008f578, fib 0x1008f578
10.11.12.0/24 via 10.53.61.107 dev ppp0 proto zebra
2000/01/03 17:57:42 ZEBRA: netlink_parse_info: netlink-listen type
RTM_NEWROUTE(24), seq=8, pid=4294963191
2000/01/03 17:57:42 ZEBRA: netlink_parse_info: netlink-cmd packet comes from
netlink-listen
Result: OK after restart. Patch is OK
-------------------------------------
zebra> sh ip route
Codes: K - kernel route, C - connected, S - static, R - RIP, O - OSPF,
I - ISIS, B - BGP, > - selected route, * - FIB route
...
S>* 10.11.12.0/24 [1/0] via 10.53.61.107, ppp0
C>* 10.53.61.107/32 is directly connected, ppp0
C>* 127.0.0.0/8 is directly connected, lo
...
zebra>
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
Quagga-bugs mailing list
Quagga-bugs@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-bugs