[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 2.99.48 smtpserver won't accept()?

In case anyone else runs into this, I'll document the problem:

On Sat, 3 May 1997, I wrote:
> I just updated one of my Linux (2.0.26) systems from zmailer 2.99.38 to
> 2.99.48pl2.
> Now the SMTP server won't accept any connections.  Strace shows it sitting in
> an accept() even after I've attempted to connect to it from a variety of
> machines.  The TCP connection actually never gets established.  It looks to
> me like there's something wrong with the bind() or some ioctl on the socket
> before the accept().

Matti figured it out.  I should have recognized the symptoms.  Prior to the
2.0.27 Linux kernel, large arguments (larger than 8 bits - 255) caused
select() to hang and never return.  The new smtpserver is using
select(2000) to combat denial of service attacks.


Global Auctions