From owner-freebsd-ports@FreeBSD.ORG Mon May 16 04:36:48 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4461E16A4CE; Mon, 16 May 2005 04:36:48 +0000 (GMT) Received: from main.globtel.ru (main.globtel.ru [62.33.182.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA38743D6B; Mon, 16 May 2005 04:36:46 +0000 (GMT) (envelope-from alex@globtel.ru) Received: from [192.168.223.100] (localhost.globtel.ru [127.0.0.1]) by main.globtel.ru (8.13.3/8.13.4) with ESMTP id j4G4ahuh020377; Mon, 16 May 2005 12:36:44 +0800 (KRAST) (envelope-from alex@globtel.ru) Message-ID: <42882360.3070606@globtel.ru> Date: Mon, 16 May 2005 12:36:48 +0800 From: "Alex V. Petrov" Organization: Global Telecom User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: ru-ru, ru MIME-Version: 1.0 To: roam@FreeBSD.org Content-Type: multipart/mixed; boundary="------------090107080800070103050604" X-Virus-Scanned: ClamAV 0.85/879/Sun May 15 21:43:45 2005 on main.globtel.ru X-Virus-Status: Clean X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: ports@FreeBSD.org Subject: FreeBSD Port: stunnel-4.10 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2005 04:36:48 -0000 This is a multi-part message in MIME format. --------------090107080800070103050604 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Hi! After update FreeBSD 5.3 -> 5.4 and stunnel and openssl to current stunnel-4.10 = up-to-date with port openssl-0.9.7g = up-to-date with port After 2-3 connections stunnel daemon close pid and ended job. File: stunnel.conf : cert = /usr/local/etc/stunnel.pem chroot = /usr/local/var/stunnel/ setuid = stunnel setgid = stunnel pid = /stunnel.pid socket = l:TCP_NODELAY=1 socket = r:TCP_NODELAY=1 [pop3s] accept = 995 connect = 110 [ssmtp] accept = 465 connect = 25 File: stunnel.sh: #!/bin/sh . /etc/rc.subr name="stunnel" rcvar=`set_rcvar` stunnel_config="/usr/local/etc/stunnel/${name}.conf" stunnel_pidfile="/usr/local/var/${name}/${name}.pid" command="/usr/local/sbin/stunnel" [ -z "$stunnel_enable" ] && stunnel_enable="NO" load_rc_config $name command_args=${stunnel_config} pidfile=${stunnel_pidfile} required_files="${stunnel_config}" run_rc_command "$1" End of log: 2005.05.14 14:03:34 LOG7[14721:3]: SSL write shutdown 2005.05.14 14:03:34 LOG7[14721:0]: Waiting 60 second(s) for 4 file descriptor(s) 2005.05.14 14:03:34 LOG7[14721:0]: CONTEXT 1, FD=4, (IN)->() 2005.05.14 14:03:34 LOG7[14721:0]: CONTEXT 1, FD=6, (IN)->() 2005.05.14 14:03:34 LOG7[14721:0]: CONTEXT 1, FD=7, (IN)->() 2005.05.14 14:03:34 LOG7[14721:0]: CONTEXT 3, FD=8, (INOUT)->(OUT) 2005.05.14 14:03:34 LOG7[14721:3]: SSL alert (write): warning: close notify 2005.05.14 14:03:34 LOG7[14721:3]: SSL_shutdown retrying 2005.05.14 14:03:34 LOG7[14721:3]: SSL doesn't need to read or write 2005.05.14 14:03:34 LOG7[14721:0]: Waiting 60 second(s) for 4 file descriptor(s) 2005.05.14 14:03:34 LOG7[14721:0]: CONTEXT 1, FD=4, (IN)->() 2005.05.14 14:03:34 LOG7[14721:0]: CONTEXT 1, FD=6, (IN)->() 2005.05.14 14:03:34 LOG7[14721:0]: CONTEXT 1, FD=7, (IN)->() 2005.05.14 14:03:34 LOG7[14721:0]: CONTEXT 3, FD=8, (IN)->(IN) 2005.05.14 14:03:34 LOG7[14721:3]: SSL socket closed on SSL_read 2005.05.14 14:03:34 LOG7[14721:3]: Socket write shutdown 2005.05.14 14:03:34 LOG5[14721:3]: Connection closed: 1621 bytes sent to SSL, 72 bytes sent to socket 2005.05.14 14:03:34 LOG7[14721:3]: pop3s finished (0 left) 2005.05.14 14:03:34 LOG7[14721:3]: removing pid file /stunnel.pid Can You help me? Sorry fo bad english. :-) -- Alex V. Petrov ICQ#: 145630370 --------------090107080800070103050604--