summaryrefslogtreecommitdiffstats
path: root/share/man/man4/gif.4
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2004-12-06 19:31:35 +0000
committerglebius <glebius@FreeBSD.org>2004-12-06 19:31:35 +0000
commit83e7e80417809f4f9600e08a588bc1de7f5128b2 (patch)
treeffdd1ca3b94c8b3c5ce20e87eb5f667ce15bd18d /share/man/man4/gif.4
parent8eaa4f53e459fa71fae49ba6fbcc8ddcf23682b0 (diff)
downloadFreeBSD-src-83e7e80417809f4f9600e08a588bc1de7f5128b2.zip
FreeBSD-src-83e7e80417809f4f9600e08a588bc1de7f5128b2.tar.gz
Document route caching, how it can be enabled, and its consequences.
Wording by: cperciva
Diffstat (limited to 'share/man/man4/gif.4')
-rw-r--r--share/man/man4/gif.413
1 files changed, 12 insertions, 1 deletions
diff --git a/share/man/man4/gif.4 b/share/man/man4/gif.4
index 287bc15..19ad835 100644
--- a/share/man/man4/gif.4
+++ b/share/man/man4/gif.4
@@ -150,9 +150,20 @@ performs both martian and ingress filtering against the outer source address
on egress.
Note that martian/ingress filters are in no way complete.
You may want to secure your node by using packet filters.
-Ingress filtering can be turned off by
+Ingress filtering can break tunnel operation in an asymmetrically
+routed network.
+It can be turned off by
.Dv IFF_LINK2
bit.
+.Ss Route caching
+Processing each packet requires two route lookups: first on the
+packet itself, and second on the tunnel destination.
+This second route can be cached, increasing tunnel performance.
+However, in a dynamically routed network, the tunnel will stick
+to the cached route, ignoring routing table updates.
+Route caching can be enabled with the
+.Dv IFF_LINK0
+flag.
.\"
.Ss Miscellaneous
By default,
OpenPOWER on IntegriCloud