From nobody@FreeBSD.org  Tue Jan 30 07:57:09 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id E56FE37B67D
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 30 Jan 2001 07:57:08 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.1/8.11.1) id f0UFv8i91390;
	Tue, 30 Jan 2001 07:57:08 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200101301557.f0UFv8i91390@freefall.freebsd.org>
Date: Tue, 30 Jan 2001 07:57:08 -0800 (PST)
From: nikolayg@simplernetworks.com
To: freebsd-gnats-submit@FreeBSD.org
Subject: Socks5 clients die with leaving zombie processes on the server.
X-Send-Pr-Version: www-1.0

>Number:         24737
>Category:       i386
>Synopsis:       Socks5 clients die with leaving zombie processes on the server.
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 30 08:00:01 PST 2001
>Closed-Date:    Mon Aug 12 13:10:49 PDT 2002
>Last-Modified:  Mon Aug 12 13:10:49 PDT 2002
>Originator:     Nikolay
>Release:        4.2 RELEASE
>Organization:
Simpler Networks
>Environment:
FreeBSD ns.simplernetworks.com 4.2-RELEASE FreeBSD 4.2-RELEASE #1: Fri Jan 26 16:54:33 EST 2001     root@ns.simplernetworks.com:/usr/src/sys/compile/SIMPLERNET  i386

>Description:
After starting the socks5 server in daemon mode and then you start a socks5 client say ICQ, a zombie process appears on the server. When you quit the application 2 more zombies appears. The same applies to MSN messenger. It starts without zombie but dies with leaving one.
When the quantity reaches 64 zombies no clients can connect to the socks5 server.
The socks5 server was compiled with --with-srvconffile and --with-srvpidfile. The version of the socks5 server is socks5 v1.0 release 11. The software was downloaded from www.socks.nec.com.
The kernel for FreeBSD was compiled without touching any options regarding the processes.
>How-To-Repeat:
Just start socks5 server as socks5 -b 1080. Then start ICQ client. You'll see immediatly one zombie process. Quit ICQ and 2 more zombies appears.
>Fix:
Not known yet.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: iedowse 
State-Changed-When: Mon Aug 12 13:00:06 PDT 2002 
State-Changed-Why:  

The socks5 program is not part of the FreeBSD base system, and from 
your description, it sounds like FreeBSD is not at fault. Try using 
the socks5 port (/usr/ports/net/socks5) instead of compiling it 
manually. If the problem persists, maybe try filing a ports PR in 
case there are some additional FreeBSD-specific patches necessary. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=24737 
>Unformatted:
