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

mickey...@gmx.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mickey...@gmx.net

--- Comment #7 from mickey...@gmx.net ---
I am on releng 11.2 and am experiencing the same problem. Filter rules
contained within nested inline anchors are ineffective. The following pf.conf
that is similar in structure to the example shown in pf.conf(5) section ANCHORS
should allow ports time and daytime to be accessible, but only time port can be
reached:

anchor "an1" {
    pass in quick proto tcp to port time
    anchor "an2" {
        pass in quick proto tcp to port daytime
    }
}

It works as expected as soon as you turn the inner anchor into a regular
(non-inline) anchor and load it's contents either using pfctl or via load
anchor "an2" from "file"

I also tested whether it makes any difference when the outer anchor is a
regular anchor, but it doesn't. Result is the same. The only place where rules
contained within an inline anchor work as expected is when the inline anchor is
directly attached to the main ruleset.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-pf@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-pf
To unsubscribe, send any mail to "freebsd-pf-unsubscr...@freebsd.org"

Reply via email to