Mailing List Archive

[Bug 464] New: filter in netlink wrong (new routes added by command not appearing)
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=464

Summary: filter in netlink wrong (new routes added by command not
appearing)
Product: Quagga
Version: CVS
Platform: All
OS/Version: Linux
Status: UNCONFIRMED
Severity: critical
Priority: High
Component: zebra
AssignedTo: maintainers@quagga.net
ReportedBy: sl@nuclearcat.com


I notice that when i am adding route by command:
ip route add 172.16.117.0/24 via 192.168.20.66
it is not appearing in zebra, and for sure not coming into rip.
After debugging i notice, if i add:
ip route add 172.16.117.0/24 via 192.168.20.66 proto kernel
i will see in log:
Jun 26 23:05:29 10.22.22.3 zebra[2813]: netlink_parse_info: netlink-listen type
RTM_NEWROUTE(24), seq=1214510730, pid=2854
Jun 26 23:05:29 10.22.22.3 zebra[2813]: RTM_NEWROUTE ipv4 unicast proto kernel

after deleting in both situations it is notifying netlink.

If i do:
- netlink_install_filter (netlink.sock);
+ //netlink_install_filter (netlink.sock);

zebra works fine, which i think show, that BPF filters is wrong.
Probably this bug introduced by
http://cvs.quagga.net/cgi-bin/viewcvs.cgi/quagga/zebra/rt_netlink.c.diff?r1=1.46&r2=1.47



------- 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