diff options
author | 2002-09-26 08:30:36 +0000 | |
---|---|---|
committer | 2002-09-26 08:30:36 +0000 | |
commit | a184110eda0bef88a481ab320c49e8916fe5955f (patch) | |
tree | 1efdd7e58e1e4e0fd9131ddd1258d630d98fd3b8 | |
parent | Incomplete section 4 mi manual page cleanup. (diff) | |
download | wireguard-openbsd-a184110eda0bef88a481ab320c49e8916fe5955f.tar.xz wireguard-openbsd-a184110eda0bef88a481ab320c49e8916fe5955f.zip |
document extended antispoof
some help nick@ and frantzen@
ok theo
-rw-r--r-- | share/man/man5/pf.conf.5 | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/share/man/man5/pf.conf.5 b/share/man/man5/pf.conf.5 index c5be96e95f3..868cab855fe 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.86 2002/09/18 16:28:47 henning Exp $ +.\" $OpenBSD: pf.conf.5,v 1.87 2002/09/26 08:30:36 henning Exp $ .\" .\" Copyright (c) 2002, Daniel Hartmeier .\" All rights reserved. @@ -728,6 +728,21 @@ expands to block in on ! lo0 inet from 127.0.0.1/8 to any block in on ! lo0 inet6 from ::1 to any .Ed +.Pp +For non-loopback interfaces, there are additional rules to block incoming +packets with a source IP address identical to the interface's IP(s). +For example, assuming the interface wi0 had an IP address of 10.0.0.1 and a +netmask of 255.255.255.0, +the line +.Bd -literal + antispoof for wi0 inet +.Ed +.Pp +expands to +.Bd -literal + block in on ! wi0 inet from 10.0.0.1/24 to any + block in inet from 10.0.0.1 to any +.Ed .Sh FRAGMENT HANDLING IP datagrams (packets) can have a size of up to 65535 bytes. Most network links, however, have a maximum transmission unit (MTU) |