Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jun 2005 18:50:08 GMT
From:      Matteo Riondato <rionda@gufi.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/81611: natd runs with -same_ports by default
Message-ID:  <200506071850.j57Io8CO039317@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/81611; it has been noted by GNATS.

From: Matteo Riondato <rionda@gufi.org>
To: bug-followup@FreeBSD.org, melkov@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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506071850.j57Io8CO039317>