Date: Sat, 30 Oct 1999 17:08:52 +0400 From: 3APA3A <3APA3A@SECURITY.NNOV.RU> To: vulN-DEV@SECURITYFOCUS.COM, bugtraq@securityfocus.com Cc: security@freebsd.org Subject: FreeBSD listen() again Message-ID: <19714.991030@SECURITY.NNOV.RU>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19714.991030>