From owner-freebsd-security Wed Dec 5 23:35:15 2001 Delivered-To: freebsd-security@freebsd.org Received: from mta01-svc.ntlworld.com (mta01-svc.ntlworld.com [62.253.162.41]) by hub.freebsd.org (Postfix) with ESMTP id 808DE37B419 for ; Wed, 5 Dec 2001 23:35:10 -0800 (PST) Received: from there ([80.4.125.7]) by mta01-svc.ntlworld.com (InterMail vM.4.01.03.23 201-229-121-123-20010418) with SMTP id <20011206073509.QFVP16633.mta01-svc.ntlworld.com@there> for ; Thu, 6 Dec 2001 07:35:09 +0000 Content-Type: text/plain; charset="iso-8859-1" From: Mike D To: freebsd-security@FreeBSD.ORG Subject: Re: ipfw/natd problem? Date: Thu, 6 Dec 2001 07:34:57 +0000 X-Mailer: KMail [version 1.3] References: <20011206071926.QTHW27606.mta05-svc.ntlworld.com@there> <20011205233229.R3061@blossom.cjclark.org> In-Reply-To: <20011205233229.R3061@blossom.cjclark.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20011206073509.QFVP16633.mta01-svc.ntlworld.com@there> Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Anyway I can suppress these / log them instead? Should I be getting them at all - have I forgotten to configure something for natd? On Thursday 06 December 2001 7:32 am, Crist J . Clark wrote: > On Thu, Dec 06, 2001 at 07:19:14AM +0000, Mike D wrote: > > I'm getting this error all the time since I've set up my FreeBSD 4.4 with > > ipfw and natd as part of the kernel. > > > > Dec 6 00:03:09 host4 natd[195]: failed to write packet back (Permission > > denied) > > Dec 6 00:13:53 host4 last message repeated 26 times > > > > This is the rules list I have for ipfw: > > > > 00050 24 1194 allow ip from any to any via lo0 > > 00051 0 0 deny ip from any to 127.0.0.0/8 > > 00052 0 0 deny ip from 127.0.0.0/8 to any > > 00060 1098 282242 divert 8668 ip from any to any via xl1 > > 00100 0 0 allow ip from any to any via lo0 > > 00100 4840 3315967 allow ip from any to any via xl0 > > 00200 0 0 deny ip from any to 127.0.0.0/8 > > 00200 1 540 allow udp from 194.168.8.100 53 to any in recv xl1 > > 00201 37 10088 allow udp from 194.168.4.100 53 to any in recv xl1 > > 00202 1 59 allow udp from any to 194.168.8.100 53 out xmit xl1 > > 00203 37 2429 allow udp from any to 194.168.4.100 53 out xmit xl1 > > 00300 0 0 deny ip from 127.0.0.0/8 to any > > 00400 39 2232 allow tcp from any to any out xmit xl1 setup > > 00401 933 257294 allow tcp from any to any via xl1 established > > 00450 0 0 allow tcp from any to any 22 setup > > 50000 50 9600 unreach host ip from any to any > > There they are. Any of those that went through natd(8) and hit this > rule will cause that. > > > 65535 1 328 deny ip from any to any > > > > Any suggestions as to what it could be? I'm really supmped - any help > > would be appreciated. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message