Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Dec 2001 23:32:29 -0800
From:      "Crist J . Clark" <cjc@FreeBSD.ORG>
To:        Mike D <d01f1n@yahoo.com>
Cc:        freebsd-security@FreeBSD.ORG
Subject:   Re: ipfw/natd problem?
Message-ID:  <20011205233229.R3061@blossom.cjclark.org>
In-Reply-To: <20011206071926.QTHW27606.mta05-svc.ntlworld.com@there>; from d01f1n@yahoo.com on Thu, Dec 06, 2001 at 07:19:14AM %2B0000
References:  <20011206071926.QTHW27606.mta05-svc.ntlworld.com@there>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

-- 
"It's always funny until someone gets hurt. Then it's hilarious."

Crist J. Clark                     |     cjclark@alum.mit.edu
                                   |     cjclark@jhu.edu
http://people.freebsd.org/~cjc/    |     cjc@freebsd.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011205233229.R3061>