summaryrefslogtreecommitdiffstats
path: root/share/man/man4/divert.4
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2004-10-22 19:12:01 +0000
committerandre <andre@FreeBSD.org>2004-10-22 19:12:01 +0000
commit7c8480e7f11fad81e536997abda225a00a1c9205 (patch)
tree7af980e647a0f6d61156e19a2aa7d4031fe5894f /share/man/man4/divert.4
parent976462622a7aaec6c473905747b400a314ad76bb (diff)
downloadFreeBSD-src-7c8480e7f11fad81e536997abda225a00a1c9205.zip
FreeBSD-src-7c8480e7f11fad81e536997abda225a00a1c9205.tar.gz
Refuse to unload the ipdivert module unless the 'force' flag is given to kldunload.
Reflect the fact that IPDIVERT is a loadable module in the divert(4) and ipfw(8) man pages.
Diffstat (limited to 'share/man/man4/divert.4')
-rw-r--r--share/man/man4/divert.416
1 files changed, 13 insertions, 3 deletions
diff --git a/share/man/man4/divert.4 b/share/man/man4/divert.4
index d4b39ab..420bcc5 100644
--- a/share/man/man4/divert.4
+++ b/share/man/man4/divert.4
@@ -1,6 +1,6 @@
.\" $FreeBSD$
.\"
-.Dd September 14, 2004
+.Dd October 22, 2004
.Dt DIVERT 4
.Os
.Sh NAME
@@ -115,12 +115,22 @@ to avoid loops, where the same packet is diverted more than once at the
same rule.
.Sh DETAILS
To enable divert sockets, your kernel must be compiled with the option
-.Dv IPDIVERT .
+.Dv IPDIVERT
+or you have to load the
+.Dv IPDIVERT
+module.
+.Pp
+You can load the
+.Dv IPDIVERT
+module at runtime by issuing the following command:
+.Bd -literal -offset indent
+kldload ipdivert
+.Ed
.Pp
If a packet is diverted but no socket is bound to the
port, or if
.Dv IPDIVERT
-is not enabled in the kernel, the packet is dropped.
+is not enabled or loaded in the kernel, the packet is dropped.
.Pp
Incoming packet fragments which get diverted are fully reassembled
before delivery; the diversion of any one fragment causes the entire
OpenPOWER on IntegriCloud