mirror_frr/bgpd/rfapi
Renato Westphal 313605cb92 *: fix a bunch of segfaults detected by a CLI fuzzer
This patch fixes the following segfaults:
zebra aborted: vtysh -c "show ipv6 mroute"
zebra aborted: vtysh -c "configure terminal" -c "debug zebra kernel msgdump"
zebra aborted: vtysh -c "configure terminal" -c "interface eth99" -c "link-params" -c "no packet-loss"
zebra aborted: vtysh -c "configure terminal" -c "interface eth99" -c "link-params" -c "no metric"
zebra aborted: vtysh -c "configure terminal" -c "interface eth99" -c "link-params" -c "no ava-bw"
zebra aborted: vtysh -c "configure terminal" -c "interface eth99" -c "link-params" -c "no res-bw"
zebra aborted: vtysh -c "configure terminal" -c "interface eth99" -c "link-params" -c "no use-bw"
ospfd aborted: vtysh -c "configure terminal" -c "router ospf" -c "area 1.1.1.1 nssa"
ospfd aborted: vtysh -c "configure terminal" -c "router ospf" -c "area 4294967295 nssa"
pimd aborted: vtysh -c "show ip msdp sa 1.1.1.1"
pimd aborted: vtysh -c "configure terminal" -c "ip ssmpingd"
pimd aborted: vtysh -c "configure terminal" -c "no ip ssmpingd"
pimd aborted: vtysh -c "configure terminal" -c "no ip msdp mesh-group WORD source"
pimd aborted: vtysh -c "configure terminal" -c "interface eth99" -c "ip pim hello 180"
bgpd aborted: vtysh -c "show bgp l2vpn evpn rd 1:1"
bgpd aborted: vtysh -c "clear vnc nve un *"
bgpd aborted: vtysh -c "clear vnc nve un 1.1.1.1"
bgpd aborted: vtysh -c "clear vnc nve un 2001:db8::1"
bgpd aborted: vtysh -c "add vnc mac 11:11:11:11:11:11 virtual-network-identifier 4294967295 vn 1.1.1.1 un 1.1.1.1 lifetime 4294967295"
bgpd aborted: vtysh -c "add vnc mac 11:11:11:11:11:11 virtual-network-identifier 4294967295 vn 1.1.1.1 un 1.1.1.1 cost 255 lifetime 4294967295"
bgpd aborted: vtysh -c "add vnc mac 11:11:11:11:11:11 virtual-network-identifier 4294967295 vn 1.1.1.1 un 1.1.1.1 cost 255"
bgpd aborted: vtysh -c "add vnc mac 11:11:11:11:11:11 virtual-network-identifier 4294967295 vn 1.1.1.1 un 1.1.1.1"
bgpd aborted: vtysh -c "add vnc mac 11:11:11:11:11:11 virtual-network-identifier 4294967295 vn 1.1.1.1 un 2001:db8::1 lifetime 4294967295"
bgpd aborted: vtysh -c "add vnc mac 11:11:11:11:11:11 virtual-network-identifier 4294967295 vn 1.1.1.1 un 2001:db8::1 cost 255 lifetime 4294967295"
bgpd aborted: vtysh -c "add vnc mac 11:11:11:11:11:11 virtual-network-identifier 4294967295 vn 1.1.1.1 un 2001:db8::1 cost 255"
bgpd aborted: vtysh -c "add vnc mac 11:11:11:11:11:11 virtual-network-identifier 4294967295 vn 1.1.1.1 un 2001:db8::1"
bgpd aborted: vtysh -c "add vnc mac 11:11:11:11:11:11 virtual-network-identifier 4294967295 vn 2001:db8::1 un 1.1.1.1 lifetime 4294967295"
bgpd aborted: vtysh -c "add vnc mac 11:11:11:11:11:11 virtual-network-identifier 4294967295 vn 2001:db8::1 un 1.1.1.1 cost 255 lifetime 4294967295"
bgpd aborted: vtysh -c "add vnc mac 11:11:11:11:11:11 virtual-network-identifier 4294967295 vn 2001:db8::1 un 1.1.1.1 cost 255"
bgpd aborted: vtysh -c "add vnc mac 11:11:11:11:11:11 virtual-network-identifier 4294967295 vn 2001:db8::1 un 1.1.1.1"
bgpd aborted: vtysh -c "add vnc mac 11:11:11:11:11:11 virtual-network-identifier 4294967295 vn 2001:db8::1 un 2001:db8::1 lifetime 4294967295"
bgpd aborted: vtysh -c "add vnc mac 11:11:11:11:11:11 virtual-network-identifier 4294967295 vn 2001:db8::1 un 2001:db8::1 cost 255 lifetime 4294967295"
bgpd aborted: vtysh -c "add vnc mac 11:11:11:11:11:11 virtual-network-identifier 4294967295 vn 2001:db8::1 un 2001:db8::1 cost 255"
bgpd aborted: vtysh -c "add vnc mac 11:11:11:11:11:11 virtual-network-identifier 4294967295 vn 2001:db8::1 un 2001:db8::1"
bgpd aborted: vtysh -c "configure terminal" -c "router bgp 1" -c "no vnc export bgp ipv4 prefix-list NAME"
bgpd aborted: vtysh -c "configure terminal" -c "router bgp 1" -c "no vnc export bgp ipv6 prefix-list NAME"
bgpd aborted: vtysh -c "configure terminal" -c "router bgp 1" -c "no vnc export bgp route-map NAME"
bgpd aborted: vtysh -c "configure terminal" -c "router bgp 1" -c "no vnc export zebra ipv4 prefix-list NAME"
bgpd aborted: vtysh -c "configure terminal" -c "router bgp 1" -c "no vnc export zebra ipv6 prefix-list NAME"
bgpd aborted: vtysh -c "configure terminal" -c "router bgp 1" -c "no vnc export zebra route-map NAME"
bgpd aborted: vtysh -c "configure terminal" -c "route-map RMAP permit 1" -c "no set ipv6 vpn next-hop"
bgpd aborted: vtysh -c "configure terminal" -c "route-map RMAP permit 1" -c "set vpnv4 next-hop"
bgpd aborted: vtysh -c "configure terminal" -c "route-map RMAP permit 1" -c "set vpnv6 next-hop"
bgpd aborted: vtysh -c "configure terminal" -c "router bgp" -c "address-family ipv6 vpn" -c "network 2001:db8::1/128 rd 1:1 tag WORD"
bgpd aborted: vtysh -c "configure terminal" -c "router bgp" -c "address-family vpnv6 unicast" -c "network 2001:db8::1/128 rd 1:1 tag WORD"
bgpd aborted: vtysh -c "configure terminal" -c "router bgp" -c "no neighbor WORD shutdown message MSG..."
bgpd aborted: vtysh -c "configure terminal" -c "router bgp" -c "neighbor WORD shutdown message MSG..."

More to come later.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
2017-05-04 14:39:58 -03:00
..
.gitignore some rfapi compile fixes 2016-10-05 20:54:55 +00:00
bgp_rfapi_cfg.c *: fix a bunch of segfaults detected by a CLI fuzzer 2017-05-04 14:39:58 -03:00
bgp_rfapi_cfg.h bgpd: add vrf-policy config using existing vnc code 2017-01-22 20:54:57 -05:00
rfapi_ap.c bgpd: Fix passage of uninitialized value to skiplist_next 2017-02-07 14:48:45 -05:00
rfapi_ap.h bgpd rfapi: fix issue where advertised prefixes were not being disambiguated 2017-01-24 13:40:12 -05:00
rfapi_backend.h bgpd rfapi: add NVE/VRF name to show vnc registrations 2017-01-22 20:55:08 -05:00
rfapi_descriptor_rfp_utils.c bgpd vnc: Add 'debug bgp vnc verbose' target 2016-12-08 12:51:26 +01:00
rfapi_descriptor_rfp_utils.h bgpd: add L3/L2VPN Virtual Network Control feature 2016-10-03 08:17:02 -04:00
rfapi_encap_tlv.c bgpd rfapi: use VN as nexthop for MPLS tunnels too 2017-01-18 18:26:52 -05:00
rfapi_encap_tlv.h bgpd: add L3/L2VPN Virtual Network Control feature 2016-10-03 08:17:02 -04:00
rfapi_import.c bgpd: revert some RT ecom filtering to fix valgrind id'ed error and 2017-02-17 08:57:37 +01:00
rfapi_import.h bgpd rfapi: add NVE/VRF name to show vnc registrations 2017-01-22 20:55:08 -05:00
rfapi_monitor.c bgpd: replace AFI_ETHER reference with AFI_L2VPN ref 2017-02-14 13:59:00 +01:00
rfapi_monitor.h vnc: use directories in includes (request from Martin W.) 2016-10-03 08:17:13 -04:00
rfapi_nve_addr.c bgpd vnc: Add 'debug bgp vnc verbose' target 2016-12-08 12:51:26 +01:00
rfapi_nve_addr.h bgpd: add L3/L2VPN Virtual Network Control feature 2016-10-03 08:17:02 -04:00
rfapi_private.h bgpd: replace AFI_ETHER reference with AFI_L2VPN ref 2017-02-14 13:59:00 +01:00
rfapi_rib.c bgpd: replace AFI_ETHER reference with AFI_L2VPN ref 2017-02-14 13:59:00 +01:00
rfapi_rib.h bgpd rfapi: fix issue where advertised prefixes were not being disambiguated 2017-01-24 13:40:12 -05:00
rfapi_vty.c *: fix a bunch of segfaults detected by a CLI fuzzer 2017-05-04 14:39:58 -03:00
rfapi_vty.h vnc: use directories in includes (request from Martin W.) 2016-10-03 08:17:13 -04:00
rfapi.c bgpd: revert some RT ecom filtering to fix valgrind id'ed error and 2017-02-17 08:57:37 +01:00
rfapi.h rfapi: pickup recent changes 2017-01-02 15:04:47 -05:00
vnc_debug.c bgpd: Some more cleanup of commands found by vtysh 2017-01-09 15:59:17 -05:00
vnc_debug.h bgpd vnc: Add 'debug bgp vnc verbose' target 2016-12-08 12:51:26 +01:00
vnc_export_bgp_p.h vnc: use directories in includes (request from Martin W.) 2016-10-03 08:17:13 -04:00
vnc_export_bgp.c bgpd: handling EVPN Route Type 5 NLRI message 2017-02-14 13:58:57 +01:00
vnc_export_bgp.h vnc: use directories in includes (request from Martin W.) 2016-10-03 08:17:13 -04:00
vnc_export_table.c bgpd vnc: Add 'debug bgp vnc verbose' target 2016-12-08 12:51:26 +01:00
vnc_export_table.h vnc: use directories in includes (request from Martin W.) 2016-10-03 08:17:13 -04:00
vnc_import_bgp_p.h vnc: use directories in includes (request from Martin W.) 2016-10-03 08:17:13 -04:00
vnc_import_bgp.c bgpd rfapi: advertise encap attribute when TT is valid and not MPLS. 2017-02-07 09:30:35 -05:00
vnc_import_bgp.h vnc: use directories in includes (request from Martin W.) 2016-10-03 08:17:13 -04:00
vnc_zebra.c bgpd: Cleanup grabbag of coverity scan issues found 2017-03-01 08:40:50 -05:00
vnc_zebra.h vnc: use directories in includes (request from Martin W.) 2016-10-03 08:17:13 -04:00