bin/81611: natd runs with -same_ports by default
Matteo Riondato
rionda at gufi.org
Tue Jun 7 18:50:08 GMT 2005
The following reply was made to PR bin/81611; it has been noted by GNATS.
From: Matteo Riondato <rionda at gufi.org>
To: bug-followup at FreeBSD.org, melkov at comptek.ru
Cc:
Subject: Re: bin/81611: natd runs with -same_ports by default
Date: Tue, 7 Jun 2005 20:42:07 +0200
I can confirm this.
IMHO it's not a bug but a feature so it's the man page that should be
fixed.
Please note that this is a probably a doc bug.
A patch for it follows:
--- natd.8.old Tue Jun 7 20:12:22 2005
+++ natd.8 Tue Jun 7 20:13:07 2005
@@ -65,8 +65,6 @@
IP address is that of the current machine.
For each packet changed in this manner, an internal table entry
created to record this fact.
-The source port number is also changed to indicate the table ent
-applying to the packet.
Packets that are received with a target IP of the current host a
checked against this internal table.
If an entry is found, it is used to determine the correct target
@@ -110,8 +108,9 @@
Try to keep the same port number when altering outgoing packets.
With this option, protocols such as RPC will have a better chanc
of working.
+Please note that this is the default behaviour.
If it is not possible to maintain the port number, it will be si
-changed as per normal.
+changed.
.It Fl verbose | v
Do not call
.Xr daemon 3
Best Regards
--
Rionda aka Matteo Riondato
G.U.F.I. Staff Member (http://www.gufi.org)
FreeSBIE Developer (http://www.freesbie.org)
More information about the freebsd-bugs
mailing list