OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Bugtraq archives for 4th quarter (Oct-Dec) 1998: Re: Sendmail, lynx, Netscape, sshd, Linux kernel (twice)

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

Nick Andrew (nickZETA.ORG.AU)
Thu, 29 Oct 1998 12:07:35 +1100

In message <Pine.LNX.4.00.9809060047320.1137-100000lcamtuf.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.