Re: pfctl segmentation fault in pfctl_optimize.c

2021-03-16 Thread Patrick Lamaiziere
On Fri, 12 Mar 2021 14:06:22 +0100 "Kristof Provost" wrote: Hello, > On 12 Mar 2021, at 14:00, Patrick Lamaiziere wrote: > > I've read the code of pfctl a bit. If pfctl crashes in > > pfctl_optimize_ruleset, is there a risk to leave pf in a bad state ? > > Looks like the rules are sent to pf vi

Re: pfctl segmentation fault in pfctl_optimize.c

2021-03-12 Thread Kristof Provost
On 12 Mar 2021, at 14:00, Patrick Lamaiziere wrote: I've read the code of pfctl a bit. If pfctl crashes in pfctl_optimize_ruleset, is there a risk to leave pf in a bad state ? Looks like the rules are sent to pf via ioctl after the optimization so a crash before should be harmless (?). That s

Re: pfctl segmentation fault in pfctl_optimize.c

2021-03-12 Thread Patrick Lamaiziere
On Wed, 10 Mar 2021 20:48:15 +0100 "Kristof Provost" wrote: Hello, > > FreeBSD 11.4-RELEASE-p3 / amd64 > > > > Yesterday while loading a ruleset, pfctl core dumped with a > > segmentation fault (see gdb below) > > > > We are recently using some big tables so may be this is what > > triggered the

Re: pfctl segmentation fault in pfctl_optimize.c

2021-03-10 Thread Kristof Provost
On 9 Mar 2021, at 11:05, Patrick Lamaiziere wrote: Hello, FreeBSD 11.4-RELEASE-p3 / amd64 Yesterday while loading a ruleset, pfctl core dumped with a segmentation fault (see gdb below) We are recently using some big tables so may be this is what triggered the problem (?), i can't reproduce th

pfctl segmentation fault in pfctl_optimize.c

2021-03-09 Thread Patrick Lamaiziere
Hello, FreeBSD 11.4-RELEASE-p3 / amd64 Yesterday while loading a ruleset, pfctl core dumped with a segmentation fault (see gdb below) We are recently using some big tables so may be this is what triggered the problem (?), i can't reproduce this. I've found something on t...@openbsd.org that lo