diff options
author | Klemens Nanni <kn@cvs.openbsd.org> | 2022-11-18 18:11:11 +0000 |
---|---|---|
committer | Klemens Nanni <kn@cvs.openbsd.org> | 2022-11-18 18:11:11 +0000 |
commit | 79ade108987b141aacd34c950aa1ba3925b6185c (patch) | |
tree | 78ff54d05aea45bdde2cb0343e69b8beedf9db66 /share | |
parent | bf913fc16e4aa3c1e720d5bb5a4610dae3c6beff (diff) |
Improve "once" bits
- use imperative tense in the pf.conf(5) "once" part
- leave printing implementation details to pfctl(8)'s "-s rules" part
- use more markup
- debug mode also prints expired rules
OK jmc sashan
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man5/pf.conf.5 | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/share/man/man5/pf.conf.5 b/share/man/man5/pf.conf.5 index 157db72588f..1115b51bcfd 100644 --- a/share/man/man5/pf.conf.5 +++ b/share/man/man5/pf.conf.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pf.conf.5,v 1.599 2022/11/10 19:07:21 jmc Exp $ +.\" $OpenBSD: pf.conf.5,v 1.600 2022/11/18 18:11:10 kn Exp $ .\" .\" Copyright (c) 2002, Daniel Hartmeier .\" Copyright (c) 2003 - 2013 Henning Brauer <henning@openbsd.org> @@ -28,7 +28,7 @@ .\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: November 10 2022 $ +.Dd $Mdocdate: November 18 2022 $ .Dt PF.CONF 5 .Os .Sh NAME @@ -661,12 +661,11 @@ When the rate is exceeded, all ICMP is blocked until the rate falls below 100 per 10 seconds again. .Pp .It Cm once -Creates a one shot rule. -The first matching packet marks the rule as expired; -any expired rules are no longer evaluated. -Expired rules are only shown in verbose mode (-vv): +Create a one shot rule. +The first matching packet marks the rule as expired. +Expired rules are skipped and hidden, unless .Xr pfctl 8 -will append '# expired' to note any once rules which have already been hit. +is used in debug or verbose mode. .Pp .It Cm probability Ar number Ns % A probability attribute can be attached to a rule, |