From owner-freebsd-hackers Fri Dec 1 15:11: 4 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from post.webmailer.de (natmail2.webmailer.de [192.67.198.65]) by hub.freebsd.org (Postfix) with ESMTP id E324137B69B for ; Fri, 1 Dec 2000 15:11:00 -0800 (PST) Received: from server.wes.mee.com (pC19EB3B1.dip.t-dialin.net [193.158.179.177]) by post.webmailer.de (8.9.3/8.8.7) with ESMTP id AAA06184 for ; Sat, 2 Dec 2000 00:11:03 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by server.wes.mee.com (8.11.0/8.11.0) with ESMTP id eAUJPFt20517 for ; Thu, 30 Nov 2000 20:25:15 +0100 (CET) (envelope-from frederik@freddym.org) Date: Thu, 30 Nov 2000 20:25:15 +0100 (CET) From: Frederik Meerwaldt X-Sender: frederik@server.wes.mee.com To: freebsd-hackers@freebsd.org Subject: natd bug Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi there! I was just looking why my natd doesnt work, when I discovered the following bug (?): I compiled my kernel with IPDIVERT IPFIREWALL and IPFIREWALL_DEFAULT_TO_ACCEPT and I set up only one rule: ipfw add divert natd all from any to any via isp0 Then I started natd (at boot time): natd -unregistered_only -dynamic -n isp0 But when a package arrives (doesn't matter from localhost or another host), natd gives out a kernel message: Nov 30 15:03:06 server natd[195]: failed to write packet back (Permission denied) What does that mean? I started natd from my rc.local, so it runs as root and it should have all permissions. Thanks in advance! Best Regards, Freddy -- Geek Code 3.1: GCS s+: a--- C+++ UBOU+++ P-- E--- W++ N w--- V++ PGP- t? 5? tv ===================================================================== Frederik Meerwaldt ICQ: 83045387 Homepage: http://www.freddym.org Bavaria/Germany OpenVMS and Unix Howtos and much more FreeBSD, NetBSD, OpenBSD, Tru64, OpenVMS, Ultrix, BeOS, Linux To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message