From owner-freebsd-bugs@freebsd.org Sat Sep 7 23:11:56 2019 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1D94BE0D75 for ; Sat, 7 Sep 2019 23:11:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 46Qqtz6wWZz4Dyv for ; Sat, 7 Sep 2019 23:11:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id ED808E0D74; Sat, 7 Sep 2019 23:11:55 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id ED40FE0D71 for ; Sat, 7 Sep 2019 23:11:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46Qqtz5q7lz4Dyt for ; Sat, 7 Sep 2019 23:11:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A9C63CF35 for ; Sat, 7 Sep 2019 23:11:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x87NBtjE056243 for ; Sat, 7 Sep 2019 23:11:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x87NBteJ056242 for bugs@FreeBSD.org; Sat, 7 Sep 2019 23:11:55 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 240400] ipnat not working some time after a lot of calls to the "map" or "rdr" rules (drop packets) Date: Sat, 07 Sep 2019 23:11:55 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dym@afalina.od.ua X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Sep 2019 23:11:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240400 Bug ID: 240400 Summary: ipnat not working some time after a lot of calls to the "map" or "rdr" rules (drop packets) Product: Base System Version: 11.2-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: dym@afalina.od.ua #uname -a FreeBSD test 11.2-RELEASE-p14 FreeBSD 11.2-RELEASE-p14 #0 r351966: Sat Sep = 7 01:29:14 CEST 2019 GENERIC amd64 # cat messages | grep "IP Filter" kernel: IP Filter: v5.1.2 initialized. Default =3D pass all, Logging =3D e= nabled=20 # cat ipf.rules pass in quick all pass out quick all # cat ipnat.rules rdr igb0 xxx.xxx.xxx.xxx/32 port 80 -> yyy.yyy.yyy.yyy port 80 rdr igb0 xxx.xxx.xxx.xxx/32 port 443 -> yyy.yyy.yyy.yyy port 443 map igb0 xxx.xxx.xxx.xxx/32 -> xxx.xxx.xxx.xxx/32 proxy port ftp ftp/tcp map igb0 yyy.yyy.yyy.0/24 -> xxx.xxx.xxx.xxx/32 proxy port ftp ftp/tcp map igb0 yyy.yyy.yyy.0/24 -> xxx.xxx.xxx.xxx/32 portmap tcp/udp 40000:50000 map igb0 yyy.yyy.yyy.0/24 -> xxx.xxx.xxx.xxx/32 xxx.xxx.xxx.xxx -- IP on WAN interface igb0 yyy.yyy.yyy.yyy -- IP on LAN machine with http service yyy.yyy.yyy.0/24 -- LAN Some time after a lot of calls to the map rules: # ipfstat | egrep 'NAT failure' 158 input block reason IPv4 NAT failure 0 input block reason IPv6 NAT failure 0 output block reason IPv4 NAT failure 0 output block reason IPv6 NAT failure Some time after a lot of calls to the rdr rules: # ipfstat | egrep 'NAT failure' 159 input block reason IPv4 NAT failure 0 input block reason IPv6 NAT failure 267 output block reason IPv4 NAT failure 0 output block reason IPv6 NAT failure It is present both with the GENERIC kernel and a freshly installed system, = and with a rebuilded kernel and world. --=20 You are receiving this mail because: You are the assignee for the bug.=