From owner-freebsd-stable@FreeBSD.ORG Sat May 1 09:06:58 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1CEC816A4CE for ; Sat, 1 May 2004 09:06:58 -0700 (PDT) Received: from 153-bem-1.acn.waw.pl (153-bem-1.acn.waw.pl [62.121.80.153]) by mx1.FreeBSD.org (Postfix) with SMTP id 17F9F43D1F for ; Sat, 1 May 2004 09:06:57 -0700 (PDT) (envelope-from lukasz.stelmach@k.telmark.waw.pl) Received: (qmail 519 invoked by uid 1000); 1 May 2004 16:06:55 -0000 Date: Sat, 1 May 2004 18:06:55 +0200 From: Lukasz Stelmach To: freebsd-stable@freebsd.org Message-ID: <20040501160655.GA505@tygrys.k.telmark.waw.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Mutt/1.4.1i X-Mail-Editor: nvi X-GPG-Fingerprint: 68B8 6D4F 0C5E 291F C4E0 BBF4 35DC D8F2 C9BD 2BDC X-GPG-Key: http://www.ee.pw.edu.pl/~stelmacl/gpg_key.txt Subject: if_stf bug/feature X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 May 2004 16:06:58 -0000 Greetings. stf interface has one very inconvinient for me feature. As far as i could read the source it returns ENETDOWN if the inet4 address of the machine's net interface (primary or the one would be used) does not match proper part of stf's address. This is ok if one has public, routable ip4 address. Since my machine is behind a firewall that forwards and nats all proto 41 ip packets I'd rather stf didn't complain about it. Now what would you suggest? I may comment out the "if" in if_stf.c:348. However this check should be done in general but there also should be some at-runtime method to overide it. Best regards, --=20 |/ |_, _ .- --, Ju=BF z ka=BFdej strony pe=B3zn=B1, potworne =BF= =B1dze |__ |_|. | \ |_|. ._' /_. B=EAd=EA uprawia=B3 nierz=B1d, za pieni= =B1ze