/[base]
ViewVC logotype

Revision 335798


Jump to revision: Previous Next
Author: kp
Date: Fri Jun 29 16:46:19 2018 UTC (6 years ago)
Changed paths: 4
Log Message:
MFC r335569:

pf: Support "return" statements in passing rules when they fail.

Normally pf rules are expected to do one of two things: pass the traffic or
block it. Blocking can be silent - "drop", or loud - "return", "return-rst",
"return-icmp". Yet there is a 3rd category of traffic passing through pf:
Packets matching a "pass" rule but when applying the rule fails. This happens
when redirection table is empty or when src node or state creation fails. Such
rules always fail silently without notifying the sender.

Allow users to configure this behaviour too, so that pf returns an error packet
in these cases.

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


Changed paths

Path Details
Directorystable/11/ modified , props changed
Directorystable/11/sbin/pfctl/parse.y modified , text changed
Directorystable/11/share/man/man5/pf.conf.5 modified , text changed
Directorystable/11/sys/netpfil/pf/pf.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27