HomeFreeBSD

[pf] /etc/rc.d/pf should REQUIRE routing

Description

[pf] /etc/rc.d/pf should REQUIRE routing

When a system with pf_enable="YES" in /etc/rc.conf uses hostnames in
/etc/pf.conf, these hostnames cannot be resolved via external nameservers
because the default route is not yet set. This results in an empty
(all open) ruleset.

Since r195026 already put netif back to REQUIRE, this change does not affect
the issue that the firewall should rather have been setup before any
network traffic can occur.

PR: 211928
Submitted by: Robert Schulze
Reported by: Robert Schulze
Tested by: Mateusz Kwiatkowski
No objections from: kp
MFC after: 3 days

(cherry picked from commit 9ef917591248e35efea846d0d743b74503387099)

Approved by: kp

Details

Provenance
kaktusAuthored on Oct 8 2020, 11:45 AM
0mpCommitted on Jul 26 2022, 2:58 PM
Parents
rG5db2f88fa537: vtfontcvt: improve hex font format validation
Branches
Unknown
Tags
Unknown