Bugtraq mailing list archives

Re: Sendmail, lynx, Netscape, sshd, Linux kernel (twice)


From: nick () ZETA ORG AU (Nick Andrew)
Date: Thu, 29 Oct 1998 12:07:35 +1100


In message <Pine.LNX.4.00.9809060047320.1137-100000 () lcamtuf ids pl>, Michal Zal
ewski writes:
Sendmail x.x.x DoS
------------------

Take a look at this piece of code (src/daemon.c):

                       t = accept(DaemonSocket,
                           (struct sockaddr *)&RealHostAddr, &lotherend);
                       if (t >= 0 || errno != EINTR)
                               break;

Err, yeah. When I fixed that bug, I used:

                        if (t >= 0 || (errno != EINTR && errno != ENETUNREACH &&
 errno != EHOSTUNREACH))

That cured the intermittent unavailability which I was experiencing (due to
lusers, not Skript |<iddies).

Nick.



Current thread: