Re: 6.4 openBGPD Segfault caused by filters referencing undeclared prefix-set

2018-11-18 Thread Tom Smyth
Hello Stuart Thanks for the helpful advice on giving a better crash report i will do that going forward... On Sun 18 Nov 2018, 10:50 Stuart Henderson On 2018/11/18 08:58, Tom Smyth wrote: > > I have attached the coredump > > Generally the coredump by itself isn't that useful to others as it > ne

Re: 6.4 openBGPD Segfault caused by filters referencing undeclared prefix-set

2018-11-18 Thread Stuart Henderson
On 2018/11/18 08:58, Tom Smyth wrote: > I have attached the coredump Generally the coredump by itself isn't that useful to others as it needs the right binary to go with it, a backtrace is usually better: gdb /usr/sbin/bgpd /path/to/bgpd.core bt For reference, in some cases multiple processes wi

Re: 6.4 openBGPD Segfault caused by filters referencing undeclared prefix-set

2018-11-18 Thread Claudio Jeker
On Sun, Nov 18, 2018 at 09:01:06AM +, Tom Smyth wrote: > just to confim > im running 6.4 GENERIC.MP#364 amd64 > On Sun, 18 Nov 2018 at 08:58, Tom Smyth wrote: > > > > Hello, > > I was configuring an openbsd 6.4 bgpd router using the > > /etc/examples/bgpd.conf as a template > > > > If you comm

Re: 6.4 openBGPD Segfault caused by filters referencing undeclared prefix-set

2018-11-18 Thread Claudio Jeker
On Sun, Nov 18, 2018 at 10:30:32AM +0100, Florian Obser wrote: > diff --git parse.y parse.y > index 7b7ce5388c0..1aa2aabc28c 100644 > --- parse.y > +++ parse.y > @@ -879,7 +879,7 @@ network : NETWORK prefix filter_set { > struct network *n; >

Re: 6.4 openBGPD Segfault caused by filters referencing undeclared prefix-set

2018-11-18 Thread Florian Obser
diff --git parse.y parse.y index 7b7ce5388c0..1aa2aabc28c 100644 --- parse.y +++ parse.y @@ -879,7 +879,7 @@ network : NETWORK prefix filter_set { struct network *n; if ((ps = find_prefixset($3, &conf->prefixsets))

Re: 6.4 openBGPD Segfault caused by filters referencing undeclared prefix-set

2018-11-18 Thread Tom Smyth
just to confim im running 6.4 GENERIC.MP#364 amd64 On Sun, 18 Nov 2018 at 08:58, Tom Smyth 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 originate