[Bug 244514] "reply-to" function in pf breaks RFC 1122 section 3.3.1.1 Local/Remote Decision

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Mar 4 16:52:08 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244514

--- Comment #7 from Kristof Provost <kp at freebsd.org> ---
(In reply to ctminime from comment #6)
There is no one place to look for this. Rules are parsed (at configuration
time) by the code in sbin/pfctl, then passed to the kernel. The code in
sys/netpfil/pf parses packets and decides what actions to take based on those
rules.

Relevant functions are pf_test() and pf_route(), PF_REPLYTO is a useful
constant to look at. This is nontrivial code with subtle edge cases.

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


More information about the freebsd-bugs mailing list