Hi Olivie, Can you reproduce the issue? Regards,
Lyubo On Sat, 30 Jul 2022 at 10:52, Lyubomir Yotov <[email protected]> wrote: > Hi Olivier, > Thanks for the prompt reply! > Below are excerpts from rc.conf, ipfw.rules, frr.conf, /var/log/messages > Some of the public information like addresses, networks and ASNs are > replaced in the text with "public_address", "public_network", "ASNX", > "ASN-EXTERN_Y" etc for obscurity. Some of the ASNs in the log file are > changed on purpose. > VLAN numbers are randomly generated for the sake of the test. Dummynet is > not enabled by default so far. > I have added to /boot/loader.conf.local: > net.inet.ip.fw.default_to_accept="1" > aesni_load="YES" > > After restart: > > # service frr status > zebra is not running. > bgpd is running as pid 89781. > ospfd is running as pid 90730. > staticd is running as pid 91763. > > # cat /etc/rc.conf > ###### BSD Router Project Base Configuration ######## > > hostname="router.bsdrp.org" > sshd_enable="YES" > > # In case FRR is used, use one config file (frr.conf) > frr_vtysh_boot="YES" > frr_enable="YES" > frr_daemons="zebra bgpd ospfd staticd" > > ifconfig_bce0="up" > ifconfig_bce1="up" > vlans_bce0="1102 1112 4093" > vlans_bce1="1000 1103 1105 1106 1108 1114 1115 1120 1121 1123 1125 1127 > 1129 1131 1134 1138 1145 1147 1153 1154 1155 1156 1159 1162 1163 1164 1165 > 1167 1168 1171 1172 1177 1178 1179 1181 1182 1184 1185 1188 1189 1190 1191 > 1193 1213 1223 1230 2215 2411 2960 2961 3024 3197 3115 3627" > > ifconfig_bce0_1102="up" > ifconfig_bce1_1000="up" > ifconfig_bce1_1103="up" > ifconfig_bce1_1105="up" > ifconfig_bce1_1106="up" > ifconfig_bce1_1108="up" > ifconfig_bce1_1114="up" > ifconfig_bce1_1115="up" > ifconfig_bce1_1120="up" > ifconfig_bce1_1121="up" > ifconfig_bce1_1123="up" > ifconfig_bce1_1125="up" > ifconfig_bce1_1127="up" > ifconfig_bce1_1129="up" > ifconfig_bce1_1131="up" > ifconfig_bce1_1134="up" > ifconfig_bce1_1138="up" > ifconfig_bce1_1145="up" > ifconfig_bce1_1147="up" > ifconfig_bce1_1153="up" > ifconfig_bce1_1154="up" > ifconfig_bce1_1155="up" > ifconfig_bce1_1156="up" > ifconfig_bce1_1159="up" > ifconfig_bce1_1162="up" > ifconfig_bce1_1163="up" > ifconfig_bce1_1164="up" > ifconfig_bce1_1165="up" > ifconfig_bce1_1167="up" > ifconfig_bce1_1168="up" > ifconfig_bce1_1171="up" > ifconfig_bce1_1172="up" > ifconfig_bce1_1177="up" > ifconfig_bce1_1178="up" > ifconfig_bce1_1179="up" > ifconfig_bce1_1181="up" > ifconfig_bce1_1182="up" > ifconfig_bce1_1184="up" > ifconfig_bce1_1185="up" > ifconfig_bce1_1188="up" > ifconfig_bce1_1189="up" > ifconfig_bce1_1190="up" > ifconfig_bce1_1191="up" > ifconfig_bce1_1193="up" > ifconfig_bce1_1213="up" > ifconfig_bce1_1223="up" > ifconfig_bce1_1230="up" > ifconfig_bce1_2215="up" > ifconfig_bce1_2411="up" > ifconfig_bce1_2960="up" > ifconfig_bce1_2961="up" > ifconfig_bce1_3024="up" > ifconfig_bce1_3115="up" > ifconfig_bce1_3197="up" > ifconfig_bce1_3627="up" > > ifconfig_bce0_1112="inet 192.168.1.4/29 up" > ifconfig_lo0_aliases="inet public_address_1/32" > > firewall_enable="YES" > firewall_script="/etc/ipfw.rules" > firewall_quiet="YES" > bsnmpd_enable="YES" > ipsec_enable="YES" > ipsec_file="/etc/ipsec.conf" > ntpd_enable="YES" > ntpd_sync_on_start="YES" > > ==================== > > # cat /etc/ipfw.rules > #!/bin/sh > ipfw -q -f flush > > #shaper 180Mbps > ipfw pipe 100 config bw 180Mbit/s > ipfw pipe 101 config bw 180Mbit/s > #ipfw queue 100 config pipe 100 mask src-ip 0xffffffff > ipfw queue 100 config pipe 100 > ipfw queue 101 config pipe 101 > ipfw add 100 queue 100 ip from any to any xmit bce1.1185 out > ipfw add 101 queue 101 ip from any to any recv bce1.1185 in > > #allow BGP neighbours > ipfw table 7 create > ipfw table 7 flush > #allow SSH access > ipfw table 9 create > ipfw table 9 flush > > #SSH access > ipfw table 9 add 192.168.1.0/29 > > #BGP neighbours > ipfw table 7 add public_address_neighbour > > ipfw add 1000 allow all from any to any via lo0 > ipfw add 25000 allow all from me to any > ipfw add 25100 allow ip from "table(7)" 179 to me > ipfw add 25150 allow ip from "table(7)" to me dst-port 179 > ipfw add 25300 allow ip from "table(9)" to me dst-port 11074 > ipfw add 25300 allow ip from "table(9)" 11074 to me > ipfw add 25400 allow icmp from any to any > > ipfw add 55000 deny all from any to me > =========== > > > # cat /usr/local/etc/frr/frr.conf > frr version 8.2.2 > frr defaults traditional > hostname router.bsdrp.org > log syslog errors > ! > ip route public_network Null0 200 > ! > interface bce0.1102 > ip address public_address_0 > exit > ! > router bgp ASN1 > bgp router-id public_address_1 > bgp graceful-restart > neighbor public_address_neighbour_1 remote-as ASN1 > neighbor public_address_neighbour_2 remote-as ASN1 > neighbor public_address_neighbour_3 remote-as ASN1 > neighbor public_address_neighbour_4 remote-as ASN1 > neighbor public_address_neighbour_5 remote-as ASN1 > ! > address-family ipv4 unicast > network public_network > redistribute connected > redistribute static > neighbor public_address_neighbour_1 next-hop-self > neighbor public_address_neighbour_1 soft-reconfiguration inbound > neighbor public_address_neighbour_2 next-hop-self > neighbor public_address_neighbour_2 soft-reconfiguration inbound > neighbor public_address_neighbour_3 next-hop-self > neighbor public_address_neighbour_3 soft-reconfiguration inbound > neighbor public_address_neighbour_4 next-hop-self > neighbor public_address_neighbour_4 soft-reconfiguration inbound > neighbor public_address_neighbour_5 next-hop-self > neighbor public_address_neighbour_5 soft-reconfiguration inbound > > exit-address-family > exit > ! > ! > exit > ! > > ================ > > /var/log/messages > > Jul 30 06:03:10 router kernel: [fib_algo] inet.0 (bsearch4#249) > rebuild_fd_flm: switching algo to dxr > Jul 30 06:03:12 router zebra[87430]: [X2HR8-VHNZ2][EC 4043309091] routing > socket overrun: No buffer space available > Jul 30 06:03:12 router bgpd[89781]: [YAF85-253AP][EC 100663299] > buffer_write: write error on fd 11: Broken pipe > Jul 30 06:03:12 router bgpd[89781]: [X6B3Y-6W42R][EC 100663302] > zclient_send_message: buffer_write failed to zclient fd 11, closing > Jul 30 06:03:16 router bgpd[89781]: [QNTTW-1CQMV][EC 33554434] > public_address_neigbour_3: AGGREGATOR AS number is 0 for aspath: > ASN-EXTERN_1 3246 > Jul 30 06:03:17 router bgpd[89781]: [QNTTW-1CQMV][EC 33554434] > public_address_neigbour_3: AGGREGATOR AS number is 0 for aspath: > ASN-EXTERN_1 6483 4540 3444 > Jul 30 06:03:17 router bgpd[89781]: [QNTTW-1CQMV][EC 33554434] > public_address_neigbour_3: AGGREGATOR AS number is 0 for aspath: > ASN-EXTERN_1 6342 3269 2746 > Jul 30 06:03:20 router bgpd[89781]: [QNTTW-1CQMV][EC 33554434] > public_address_neigbour_2: AGGREGATOR AS number is 0 for aspath: > ASN-EXTERN_2 6063 2269 2746 > Jul 30 06:03:21 router bgpd[89781]: [QNTTW-1CQMV][EC 33554434] > public_address_neigbour_2: AGGREGATOR AS number is 0 for aspath: > ASN-EXTERN_2 7118 4379 > > ================ > > # kldstat > Id Refs Address Size Name > 1 16 0xffffffff80200000 1f2b298 kernel > 2 1 0xffffffff8212c000 4cc0 dpdk_lpm6.ko > 3 1 0xffffffff826f1000 6a28 fib_dxr.ko > 4 1 0xffffffff826f8000 4b98 dpdk_lpm4.ko > 5 1 0xffffffff82d19000 3540 fdescfs.ko > 6 1 0xffffffff82d1d000 2220 cpuctl.ko > 7 1 0xffffffff82d20000 f638 ipsec.ko > 8 1 0xffffffff82d30000 27190 ipfw.ko > > I see the fib algo changes to dxr. Is this the default algorithm? > > Regards, > > Lyubo > > On Sat, 30 Jul 2022 at 02:09, Olivier Cochard-Labbé <[email protected]> > wrote: > >> On Fri, Jul 29, 2022 at 3:11 PM Lyubomir Yotov <[email protected]> wrote: >> >>> Hi Olivier, >>> I am trying the 1.991 version of BSDRP and zebra crashes after the FRR >>> is started. In the message log I see: >>> Jul 29 22:03:30 balk zebra[66448]: [X2HR8-VHNZ2][EC 4043309091] routing >>> socket overrun: No buffer space available >>> Jul 29 22:03:33 balk zebra[90615]: [X2HR8-VHNZ2][EC 4043309091] routing >>> socket overrun: No buffer space available >>> >>> >> I didn't detect this in my regression tests. >> Do you have a minimal configuration file to reproduce it ? >> Thanks >> _______________________________________________ >> Bsdrp-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/bsdrp-users >> >
_______________________________________________ Bsdrp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bsdrp-users
