From owner-freebsd-net@freebsd.org Sun Oct 16 18:17:20 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 25A2CC149BD for ; Sun, 16 Oct 2016 18:17:20 +0000 (UTC) (envelope-from zarychtam@plan-b.pwste.edu.pl) Received: from plan-b.pwste.edu.pl (unknown [IPv6:2001:6a0:10f:1::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "plan-b.pwste.edu.pl", Issuer "plan-b.pwste.edu.pl" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 97E6D1EFE for ; Sun, 16 Oct 2016 18:17:18 +0000 (UTC) (envelope-from zarychtam@plan-b.pwste.edu.pl) Received: from plan-b.pwste.edu.pl (zarychtam@localhost [127.0.0.1]) by plan-b.pwste.edu.pl (8.15.2/8.15.2) with ESMTPS id u9GIHD9N095444 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sun, 16 Oct 2016 20:17:13 +0200 (CEST) (envelope-from zarychtam@plan-b.pwste.edu.pl) Received: (from zarychtam@localhost) by plan-b.pwste.edu.pl (8.15.2/8.15.2/Submit) id u9GIHDgj095443 for freebsd-net@freebsd.org; Sun, 16 Oct 2016 20:17:13 +0200 (CEST) (envelope-from zarychtam) Date: Sun, 16 Oct 2016 20:17:13 +0200 From: Marek Zarychta To: freebsd-net@freebsd.org Subject: pfr_update_stats: assertion failed. Message-ID: <20161016181713.GA95110@plan-b.pwste.edu.pl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="FCuugMFkClbJLl1L" Content-Disposition: inline User-Agent: Mutt/1.7.0 (2016-08-17) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Oct 2016 18:17:20 -0000 --FCuugMFkClbJLl1L Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable The issue occurred first two years ago, after upgrade from 8 to 9 branch. Now this i386 machine is running 11.0-STABLE and despite it was compiled with "WITHOUT_ASSERT_DEBUG=3Dyes", still from time to time message buffer is fed with: pfr_update_stats: assertion failed. pfr_update_stats: assertion failed. pfr_update_stats: assertion failed. pfr_update_stats: assertion failed. pfr_update_stats: assertion failed. pfr_update_stats: assertion failed. pfr_update_stats: assertion failed. PF rules here are a bit complex, machine acts as a gateway for RFC-1918 networks and just does the job. pfctl -sr | wc -l 498 Any advice how to debug this or find triggering PF rule? =20 Why setting "WITHOUT_ASSERT_DEBUG=3Dyes" is ignored by PF code? --=20 Marek Zarychta --FCuugMFkClbJLl1L Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAABCAAGBQJYA8QlAAoJEHWf7P/9Uo0swawH/13xmfxh4S9NRtD7REdlWbR6 23x00UW0SjBshBG6Ex/Ly78yG5BDctVhxyOTnI6DZJDeczz14oUZrJGe/L0hoOWa orJrrZzekxTc15j4CGyjRFqX1SUVlrnc2FBL2z20gJ2bTl4RiJ35Y4E9lZvaZF6G oEgN5+fBHzaHIaCXje0XloLHXu9+AdnAExKxDjzF+OLivH10MmC7KuzOPnzp9FUf ZzRshy5+gTGB17qgabd5dcofQiG17x2j0icYEaXbe2TZ8twOSXGZ6I5Pu2hZCeoh b0e1gcTovydkQpj2je86Is4XEjj1oo/CcENEQ2QUJ7BZx6s4KdC7t1SGem3yyN0= =N0tI -----END PGP SIGNATURE----- --FCuugMFkClbJLl1L--