From owner-freebsd-hackers@FreeBSD.ORG Sat Jun 11 12:36:41 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A6B0816A41C for ; Sat, 11 Jun 2005 12:36:41 +0000 (GMT) (envelope-from o@go.local.sib-ecometall.ru) Received: from mail.sib-ecometall.ru (sibekometall.ranetka.ru [80.255.129.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3160643D1F for ; Sat, 11 Jun 2005 12:36:40 +0000 (GMT) (envelope-from o@go.local.sib-ecometall.ru) Received: from go.local.sib-ecometall.ru (unknown [192.168.2.252]) by mail.sib-ecometall.ru (Postfix) with ESMTP id AE7DA39837 for ; Sat, 11 Jun 2005 20:36:38 +0800 (KRAST) Received: by go.local.sib-ecometall.ru (Postfix, from userid 6301) id BA3F94505E; Sat, 11 Jun 2005 20:36:46 +0800 (KRAST) Date: Sat, 11 Jun 2005 20:36:46 +0800 From: Oleg Gritsak To: freebsd-hackers@freebsd.org Message-ID: <20050611123646.GA92781@go.local.sib-ecometall.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.4.2.1i Subject: mio_connect specificity X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Jun 2005 12:36:41 -0000 Greetings! Would you, please, help to understand, what's specific FreeBSD has in a syscall mio_connect? The problem, I've ran into is - the shutting jabber server. In linux this code: out->fd = mio_connect(s2s->mio, pkt->port, pkt->ip, _out_mio_callback, (void *) out); doesn't lead to problems, but on my servers (FreeBSD 4.11/5.4) the daemon dies instantly. It doesn't even write to log, that it is exiting. The author of Jabber (2.0.8, from latest ports) is probably a linux-user and therefor doesn't believe the problem (on FreeBSD) exists. 8-( p.s. Of course, this problem occures only when peer is unreachable (return code 1, Operation not permitted). p.p.s. "Operation not permitted" because of isakmpd. -- системный администратор ООО "Сиб-ЭкоМеталл" т. (3912) 60-99-42 (144)