Re: Fw: sendpkt: Connection refused

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 12 Oct 1998 18:03:14 +0100 (BST)


> Thought I'd forward this from the DHCP list....can't say I've noticed this
> problem but maybe others have...

Yes. We follow RFC1122 and the dhcp folks dont like it. Tough. There's
even a linux option to say "Im a stupid application who cant cope with RFC
compliance". They should use it

#ifdef SO_BSDCOMPAT
setsockopt(sock_fd, SOL_SOCKET, SO_BSDCOMPAT, &one, sizeof(one))
#endif

>
> -----Original Message-----
> From: Ted Lemon <mellon@hoffman.vix.com>
> To: breu@cfu.net <breu@cfu.net>
> Cc: dhcp-server@fugue.com <dhcp-server@fugue.com>
> Date: Sunday, October 11, 1998 5:12 PM
> Subject: Re: sendpkt: Connection refused
>
>
> > *** From dhcp-server -- To unsubscribe, see the end of this message.
> ***
> >
> >> Why exactly would I get this error?
> >>
> >> Oct 10 06:27:18 defiant dhcpd: sendpkt: Connection refused
> >
> >Because Linux stupidly reports ICMP errors it receives for a given UDP
> >port the next time you try to send on a socket bound to that port,
> >even though the error has nothing to do with the packet you're trying
> >to send. The error is essentially informational at this point - when
> >send_packet gets it while transmitting a packet, it just retransmits
> >the packet. Utterly bogus, but harmless to you.
> >
> >> server is rh5.1 with kernel 2.1.122
> >> no special routes set up - do we still need these in the newest kernel?
> >
> >Dunno.
> >
> > _MelloN_
> >
> >
> >
> >---------------------------------------------------------------------------
> ---
> >To unsubscribe from this list, please visit http://www.fugue.com/dhcp/lists
> >If you are without web access, or if you are having trouble with the web
> page,
> >please send mail to dhcp-request@fugue.com. Please try to use the web
> >page first - it will take a long time for your request to be processed by
> hand.
> >---------------------------------------------------------------------------
> ---
> >
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/