Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Oct 2021 23:06:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 259183] pf_route drops packets for traffic not matching a rule
Message-ID:  <bug-259183-227-3IuoJtPut5@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-259183-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-259183-227@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=3D259183

--- Comment #1 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3D076b3a50fd71d84f47bca71758e7fff3c=
02582e9

commit 076b3a50fd71d84f47bca71758e7fff3c02582e9
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2021-10-16 16:53:39 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2021-10-16 21:02:26 +0000

    pf: don't drop packets when redirection information comes from a state

    For some traffic there might be no matching rule in the current ruleset,
    for example when a state was imported via pfsync from a sytem with a
    different ruleset checksum. In this case pf_route uses s->rt_addr for
    routing target instead of r->rpool.cur but r->rpool is checked anyway,
    resulting in dropped packets.

    PR:             259183
    Submitted by:   Kajetan Staszkiewicz <vegeta tuxpowered.net>
    Sponsored by:   InnoGames GmbH

 sys/netpfil/pf/pf.c | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-259183-227-3IuoJtPut5>