From owner-freebsd-ports Thu Jan 14 09:00:40 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA29591 for freebsd-ports-outgoing; Thu, 14 Jan 1999 09:00:40 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA29577 for ; Thu, 14 Jan 1999 09:00:37 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id JAA29820; Thu, 14 Jan 1999 09:00:02 -0800 (PST) Received: from jeff.datatek.com (a253.datatek.com [205.219.244.253]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA27929 for ; Thu, 14 Jan 1999 08:51:05 -0800 (PST) (envelope-from root@jeff.datatek.com) Received: (from root@localhost) by jeff.datatek.com (8.8.8/8.8.8) id VAA27111; Sun, 10 Jan 1999 21:45:58 -0600 (CST) (envelope-from root) Message-Id: <199901110345.VAA27111@jeff.datatek.com> Date: Sun, 10 Jan 1999 21:45:58 -0600 (CST) From: Tilghman.Lesher@vanderbilt.edu Reply-To: Tilghman.Lesher@vanderbilt.edu To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/9491: Can't mix natd CL option types Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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 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