summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authordannyboy <dannyboy@FreeBSD.org>2003-07-08 13:24:42 +0000
committerdannyboy <dannyboy@FreeBSD.org>2003-07-08 13:24:42 +0000
commit63315d41e1f565621b288ce693a6e855c460f821 (patch)
treefe391934efc3eb39f57db8cf5b7eccea7eca887b /sbin
parent8104ded441c9e7786d10bbbf408fe78882903b95 (diff)
downloadFreeBSD-src-63315d41e1f565621b288ce693a6e855c460f821.zip
FreeBSD-src-63315d41e1f565621b288ce693a6e855c460f821.tar.gz
Correct to match reality regarding interface names.
PR: 51006 Submitted by: "Dmitry Pryanishnikov" <dmitry@atlantis.dp.ua> mdoc clue by: "Simon L. Nielsen" <simon@nitro.dk> MFC after: 10 days
Diffstat (limited to 'sbin')
-rw-r--r--sbin/ipfw/ipfw.810
1 files changed, 7 insertions, 3 deletions
diff --git a/sbin/ipfw/ipfw.8 b/sbin/ipfw/ipfw.8
index 4c4fd5f..2cc2a69 100644
--- a/sbin/ipfw/ipfw.8
+++ b/sbin/ipfw/ipfw.8
@@ -2119,9 +2119,13 @@ going through the rule list.
This may be fixed in a later version.
.Pp
Packets diverted to userland, and then reinserted by a userland process
-(such as
-.Xr natd 8 )
-will lose various packet attributes, including their source interface.
+may lose various packet attributes.
+The packet source interface name
+will be preserved if it is shorter than 8 bytes and the userland process
+saves and reuses the sockaddr_in
+(as does
+.Xr natd 8 ) ;
+otherwise, it may be lost.
If a packet is reinserted in this manner, later rules may be incorrectly
applied, making the order of
.Cm divert
OpenPOWER on IntegriCloud