diff options
author | andre <andre@FreeBSD.org> | 2005-08-21 12:29:39 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2005-08-21 12:29:39 +0000 |
commit | cd4fd9f0b72b498036101c6ec06b76b3c424169d (patch) | |
tree | 5fbd6fde492a110cfdb67a2d754b0f85559e8b8d /share | |
parent | ea310447377cd39830eaf591ec9114aef91400b0 (diff) | |
download | FreeBSD-src-cd4fd9f0b72b498036101c6ec06b76b3c424169d.zip FreeBSD-src-cd4fd9f0b72b498036101c6ec06b76b3c424169d.tar.gz |
Add an option to have ICMP replies to non-local packets generated with
the IP address the packet came through in. This is useful for routers
to show in traceroutes the actual path a packet has taken instead of
the possibly different return path.
The new sysctl is named net.inet.icmp.reply_from_interface and defaults
to off.
MFC after: 2 weeks
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man4/icmp.4 | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/share/man/man4/icmp.4 b/share/man/man4/icmp.4 index af5c1df..335ac73 100644 --- a/share/man/man4/icmp.4 +++ b/share/man/man4/icmp.4 @@ -32,7 +32,7 @@ .\" @(#)icmp.4 8.1 (Berkeley) 6/5/93 .\" $FreeBSD$ .\" -.Dd March 21, 2003 +.Dd August 21, 2005 .Dt ICMP 4 .Os .Sh NAME @@ -137,6 +137,15 @@ Defaults to false. An interface name used for the ICMP reply source in response to packets which are not directly addressed to us. By default continue with normal source selection. +.It Va reply_from_interface +.Pq Vt boolean +Use the IP address of the interface the packet came through in for +responses to packets which are not directly addressed to us. +If enabled this rule is processed before all others. +By default continue with normal source selection. +Enabling this option is particularly useful on routers because it +makes external traceroutes show the actual path a packet has taken +instead of the possibly different return path. .El .Sh ERRORS A socket operation may fail with one of the following errors returned: |