[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-security
Subject:    FreeBSD listen() again
From:       3APA3A <3APA3A () SECURITY ! NNOV ! RU>
Date:       1999-10-30 13:08:52
[Download RAW message or body]

Hello vulN-DEV@,

 I wasn't right in defining the problem for backlog in listen()

  as it was correctly pointed by Sebastian <scut@nb.in-berlin.de>:

-=-=-=-=-
For some unknown reasons berkeley derived implementations multiply backlog
with 1.5. (backlog = 5 will turn to 8 for example).
-=-=-=-=-

  It seems real queue length is counted as
     backlog + (backlog+1)>>1

  that's  why  listen(sock,  1)  will never work as it should. It will
  allow  to  establish  2 connections. It's for both FreeBSD 2.2.x and
  3.x, so the problem is even deeper.


         /\_/\
        { . . }     |\
+--oQQo->{ ^ }<-----+ \
|  3APA3A  U  3APA3A   }
+-------------o66o--+ /
                    |/
X5O!P@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*




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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic