On Sun, Nov 18, 2018 at 09:01:06AM +0000, Tom Smyth wrote: > just to confim > im running 6.4 GENERIC.MP#364 amd64 > On Sun, 18 Nov 2018 at 08:58, Tom Smyth <[email protected]> wrote: > > > > Hello, > > I was configuring an openbsd 6.4 bgpd router using the > > /etc/examples/bgpd.conf as a template > > > > If you comment out the prefix-set mynetworks > > # list of networks that may be originated by our ASN > > #prefix-set mynetworks { \ > > # 192.0.2.0/24 \ > > # 2001:db8:abcd::/48 \ > > #} > > > > and leave filters that depend on the prefix-set > > in the bgpd.conf file > > > > bgpd segfaults on startup as shown below > > > > corertfw2# bgpd -dv > > startup > > rereading config > > session engine ready > > ASN = "62129" > > peer closed imsg connection > > Segmentation fault (core dumped) > > SE: Lost connection to parent > > session engine exiting > > corertfw2# route decision engine ready > > peer closed imsg connection > > fatal in RDE: Lost connection to parent > > > > > > I have attached the coredump > > > > Removing filters that reference undeclared prefix-set mynetworks > > resolved the issue ... > > > > -- > > Kindest regards, > > Tom Smyth >
Thanks for the report. Fixed in parse.y rev 1.363. The problem is not the filter referencing the non existing prefix-set. It is the network statement a bit higher up. -- :wq Claudio
