Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Feb 2016 09:41:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-amd64@FreeBSD.org
Subject:   [Bug 207080] pfctl crash when load pf.conf, libc/resolv problem ?
Message-ID:  <bug-207080-6-gmOOressHh@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-207080-6@https.bugs.freebsd.org/bugzilla/>
References:  <bug-207080-6@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207080

--- Comment #4 from Kristof Provost <kp@freebsd.org> ---
Yeah, so this:
=3D=3D17184=3D=3D    by 0x404B46: pfctl_rules (pfctl.c:1486)
=3D=3D17184=3D=3D    by 0x406DA7: main (pfctl.c:2378)
=3D=3D17184=3D=3D  Address 0x6aa8a08 is 56 bytes inside a block of size 64 =
free'd
=3D=3D17184=3D=3D    at 0x4C1E2DC: free (in
/usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so)
=3D=3D17184=3D=3D    by 0x4210A0: superblock_free (pfctl_optimize.c:1640)
=3D=3D17184=3D=3D    by 0x4233BE: pfctl_optimize_ruleset (pfctl_optimize.c:=
357)
=3D=3D17184=3D=3D    by 0x40453B: pfctl_load_ruleset (pfctl.c:1297)
=3D=3D17184=3D=3D    by 0x404B46: pfctl_rules (pfctl.c:1486)
=3D=3D17184=3D=3D    by 0x406DA7: main (pfctl.c:2378)

Is likely the reason your pfctl segfaults. There's a use after free. It's n=
ot
the direct cause though, that's the kernel rejecting your rules.

Would it be possible to upgrade the machine to stable/10? It looks like the
problem is fixed there.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207080-6-gmOOressHh>