[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 2.99.48 smtpserver won't accept()?
On Tue, 6 May 1997, Matti Aarnio wrote:
> > 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.
> Sorry, Andy mixed things. It is listen(sock, LIMIT) where
> the limit value has traditionally been limited to 5, and on those
> systems that have it fixed, no matter how high the parameter is,
> it will be 5. (Or lower, minimum is 1, I think.)
> With newer systems the LIMIT value can be higher, and I did reason
> that as my Linux 2.0.27 works just fine with 2000 (and is SYN-attack
> resilient), and Solaris 2.5.1 and DEC/UNIX work too, I should be
> "home free" with it.
I guess Configure needs another test or two (and Andy needs a little more
Tim DiLauro Milton S. Eisenhower Library
Library Systems Jack Johns Hopkins University
(410) 516-5263 3400 N. Charles Street
email@example.com Baltimore, MD 21218