Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jan 1999 21:45:58 -0600 (CST)
From:      Tilghman.Lesher@vanderbilt.edu
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/9491: Can't mix natd CL option types
Message-ID:  <199901110345.VAA27111@jeff.datatek.com>

next in thread | raw e-mail | index | archive | help

>Number:         9491
>Category:       ports
>Synopsis:       Can't mix natd CL option types
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 14 09:00:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Tilghman Lesher
>Release:        FreeBSD 2.2.8-RELEASE i386
>Organization:
n/a
>Environment:

	Previous environment under which natd worked was 3.0-RELEASE

	New environment changed to 2.2.8-RELEASE and long options were
used at this time.

	Hardware consists of a ISDN connected to a K6/233 32M machine.
Additionally a 3Com (ep0) interface connected through a router to an
iMac/A.  Hardware configuration was not altered between 3.0R and 2.2.8R
on either machine.  No hardware or software changes made to either machine,
other than moving from 3.0 to 2.2.8.  Hardware failure possibility
eliminated, since files were successfully transferred via netatalk+asun in
both directions.

>Description:

	The current version of natd does not seem to allow the mixing
of different forms of options on the command line.  The reason why this
is confusing (and why it may not have been caught before) is that the
manpage encourages users to use the long form of the command line option,
but the primary use of natd is in the rc.conf file.  When it is invoked
via /etc/rc, the -n <interface> form is used.  If the user specifies
the long form of additional options in rc.conf, natd does not correctly
route packets.

	Additional options were:
	-log -use_sockets -same_ports -unregistered_only -dynamic

>How-To-Repeat:

	Combine long form of options with -n ep0

>Fix:
	
	Change of source code to allow combinations of different forms of
options.
	OR
	Document behavior on manpage.


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



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