[8344] in bugtraq

home help back first fref pref prev next nref lref last post

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

daemon@ATHENA.MIT.EDU (Nick Andrew)
Fri Oct 30 14:51:39 1998

Date: 	Thu, 29 Oct 1998 12:07:35 +1100
Reply-To: nick@ZETA.ORG.AU
From: Nick Andrew <nick@ZETA.ORG.AU>
To: BUGTRAQ@NETSPACE.ORG
In-Reply-To:  Your message of "Sun, 06 Sep 1998 00:53:24 +0200." 
              <Pine.LNX.4.00.9809060047320.1137-100000@lcamtuf.ids.pl>

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.

home help back first fref pref prev next nref lref last post