Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jan 2001 00:49:27 +0100 (CET)
From:      Janko van Roosmalen <acs.van.roosmalen@hccnet.nl>
To:        Bill Moran <wmoran@mail.iowna.com>
Cc:        questions@freebsd.org
Subject:   Re: natd & failed to write packet back
Message-ID:  <Pine.BSF.4.10.10101162357460.464-100000@parmenides.utp.xnet>
In-Reply-To: <3A63C754.AEA088A@mail.iowna.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 15 Jan 2001, Bill Moran wrote:

> A proxy/firewall/nat box I recently set up is constantly spewing out an
> error from natd:
> failed to write packet back [host is down]
> 
> What exactly is happening here? This is pretty ambiguous, I mean - what
> host? It seems to indicate that a machine that was using natd went
> offline before the communication completed, but it's occurring
> constantly (I see the message a few times a minute at times)
> 
> Is this indicative of any type of problem, misconfig?

On a FreeBSD 3.2 box with ISDN4BSD I had a lot of similar messages
but then the reason was "cannot assign requested address".
In my case it was the isdn daemon that broke off the connection
after a few minutes of inactivity, while there was still something going
on.

I gathered more info by having the natd daemon log its messages to a
file in /var/log. On a 3.2 box I added these 2 lines to /etc/syslog.conf:

!natd
*.*			/var/log/natd.log

Created an empty natd.log:

  touch /var/log/natd.log

And sent a -HUP signal to the natd daemon. 


From the natd.log (with date and hostname removed):

07:21:21 natd[120]: Aliasing to 0.0.0.0, mtu 1500 bytes
07:21:51 natd[120]: Aliasing to 193.173.123.59, mtu 1500 bytes
07:34:21 natd[120]: Aliasing to 0.0.0.0, mtu 1500 bytes
07:34:21 natd[120]: failed to write packet back (Can't assign requested address)
07:34:21 natd[120]: failed to write packet back (Can't assign requested address)
07:34:24 natd[120]: Aliasing to 193.173.123.54, mtu 1500 bytes

20:11:27 natd[120]: Aliasing to 193.173.123.181, mtu 1500 bytes
20:17:11 natd[120]: Aliasing to 0.0.0.0, mtu 1500 bytes
20:17:11 natd[120]: failed to write packet back (Can't assign requested address)
20:17:15 natd[120]: Aliasing to 193.173.123.15, mtu 1500 bytes
20:19:44 natd[120]: Aliasing to 0.0.0.0, mtu 1500 bytes
20:19:44 natd[120]: failed to write packet back (Can't assign requested 
address)
20:20:17 last message repeated 6 times
20:20:44 natd[120]: Aliasing to 193.173.123.175, mtu 1500 bytes

===Janko van Roosmalen - Vught - Netherlands===




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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10101162357460.464-100000>