lkml.org 
[lkml]   [1998]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Fw: sendpkt: Connection refused
From
Date
mblack@csihq.com (Mike Black) writes:

> Thought I'd forward this from the DHCP list....can't say I've noticed this
> problem but maybe others have...
>
> -----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.

He should either fix his program to do correct error handling
or set the SO_BSDCOMPAT option on the socket.

-Andi

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:44    [W:2.112 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site