Date: Fri, 20 Feb 98 15:19:02 +0100 From: Adrian Steinmann <ast@marabu.ch> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: bin/5802: natd on 2.2.5-STABLE does not honor -port option: use natd_1.11 Message-ID: <199802201419.PAA12410@marabu.marabu.ch>
next in thread | raw e-mail | index | archive | help
>Number: 5802 >Category: bin >Synopsis: natd on 2.2.5-stable does not honor -port option: use natd_1.11 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Feb 20 06:40:00 PST 1998 >Last-Modified: >Originator: ast@marabu.ch >Organization: Steinmann Consulting >Release: FreeBSD 2.2.5-STABLE i386 >Environment: 2.2.5-STABLE using ipfw divert/natd for IP address translation >Description: It seems that 2.2.5-STABLE has an old version of natd which does not honor the -port flag correctly. What happens is tat natd chooses the next free port >1024 which is usually not the one specified by the ipfw divert line and so NAT fails. Apparently -CURRENT has a different version (1.8) and the latest and greatest from ftp://ftp.suutari.iki.fi/pub/natd is version 1.11. I have successfully built the latter and simply re-installed it over the -STABLE version. >How-To-Repeat: Start natd and run netstat -an to see which port it is listening on - it will not be on what you have specified! >Fix: Bring -STABLE and -CUURENT in sync with the latest version on ftp://ftp.suutari.iki.fi/pub/natd This bug is actually mentioned in the list of changes ("service port is a short, not a long"). Adrian _________________________________________________________________________ Dr. Adrian Steinmann Steinmann Consulting Apollostrasse 21 8032 Zurich Tel +41 1 380 30 83 Fax +41 1 380 30 85 Mailto:ast@marabu.ch >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802201419.PAA12410>