From nobody Wed Nov 1 14:07:24 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SL8305lbHz4rvKX for ; Wed, 1 Nov 2023 14:07:24 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SL8302RClz4S9B for ; Wed, 1 Nov 2023 14:07:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698847644; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=AvVk4KI0WRGD9H3/jPriAF9tdoPaFku9eZW8jfQDvw4=; b=uL+/MVVD+xTfWlkU0RgsQ3RCOV/qRIA+A+AAPuVAStZLc59sho31KGg28QPSmPmszDNF8a osC9e7t8QRAm20zUH3V0h2YNKfedwG7CPdo8PHy2uc9RxjUf0H8ph8kOrYfFCg3ZDXzk+c WhzVcX7ANQrdhqM8VwLtr6YorUt9WDgwzL0QkL3F5aIAZXBzQioD1W9rGXoU8AQI+sIVUF FnJR2DI34X/qeqICsS2mEG3AWhgDBR/4Ja6noXHWAMkLKlXNhmzVw7cHkHj0BcnuLYnuyy THbcssavj5fhr33wvSoVeRzCLT/sEsT9zmLV2Z0hxG251SuU+V3Pvo/MCw1dZQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698847644; a=rsa-sha256; cv=none; b=tBvS1bF6SKk3Xxf2uiaKpkGoomrs/1lGYsj3eNa6dFo94r/X33r8LPn/eO7LNcEo7pg9bW szqVsTSxOb9ui/+d+q14wsikm8Nz6+e7KsIY4b8NL1pXk072UdzkFBn7puHhA/PcCahUzp bjPV6u2ckGhcGhAQCRx7DzmutVIAnr3L8lATaNEtg4T4N/NCvemra5cBhPvS02SlXDY8NT MPjaUl1F71L+7luX8ak8GXbn8cSrqSMDxTvAQbC4a0G+plidTTVsK4NF565MseBLiXht0b GJo01Um2s9PFsD3Fm4k7D1FShRn3ec33ZiozXlYO7KWekNq9+ZBA1WuDgGkD3A== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SL8301VCJzpVC for ; Wed, 1 Nov 2023 14:07:24 +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 3A1E7Ogr036718 for ; Wed, 1 Nov 2023 14:07:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3A1E7O5N036717 for bugs@FreeBSD.org; Wed, 1 Nov 2023 14:07:24 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 274850] Packets are disappearing when both PF "divert-to" and "Dnpipe" rules are activated simultaneously Date: Wed, 01 Nov 2023 14:07:24 +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: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: burak.sn@outlook.com 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 cc 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 List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274850 Bug ID: 274850 Summary: Packets are disappearing when both PF "divert-to" and "Dnpipe" rules are activated simultaneously Product: Base System Version: 14.0-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: burak.sn@outlook.com CC: pf@FreeBSD.org I am in the process of transitioning from IPFW's 'divert-to' to PF's 'divert-to.' Initially, I encountered a 'divert-to' loop problem, bug #2727= 70, which has recently been resolved by @igor.ostapenko and @kp. Thanks for your work. I manually applied your 'fix pf divert-to' loop patch to FreeBSD 14.0 RC2, = as shown below: https://reviews.freebsd.org/rGfabf705f4b5aff2fa2dc997c2d0afd62a6927e68 https://reviews.freebsd.org/rGc1146e6ad67fb866c2472a1cbe5609fd939fd5ef When I loaded only the 'divert' rules shown below, everything worked as expected, and traffic flowed smoothly without any issues: # divert rules pass in log quick proto udp from any to port { 53 } divert-to 127.0.0.1 port 1234 pass in log quick proto tcp from any to port { 80 443 } divert-to 127.0.0.1 port 1234 However, when I added the 'dnpipe' rules below and reloaded the pf.conf usi= ng 'pfctl -e -f /etc/pf.conf,' all traffic related to ports 53, 80, and 443 disappeared. Subsequently, when I removed 'dnpipe 1001' and 'dnpipe 1' from= the 'dnpipe' rules and reloaded the pf.conf, traffic began to flow as expected. Thanks for your assistance in this matter. # dnpipe limiter rules ether pass in quick from ac:bc:aa:9c:32:09 l3 all tag captiveportal_auth_ig= b3 dnpipe 1001 ether pass out quick to ac:bc:aa:9c:32:09 l3 all tag captiveportal_auth_igb3 dnpipe 1 --=20 You are receiving this mail because: You are the assignee for the bug.=