From owner-freebsd-questions Wed Nov 12 18:32:39 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA04540 for questions-outgoing; Wed, 12 Nov 1997 18:32:39 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from cc00ms.unity.ncsu.edu (cc00ms.unity.ncsu.edu [152.1.1.35]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA04535 for ; Wed, 12 Nov 1997 18:32:36 -0800 (PST) (envelope-from fwang2@eos.ncsu.edu) Received: from loki.csc.ncsu.edu (loki.csc.ncsu.edu [152.1.213.138]) by cc00ms.unity.ncsu.edu (8.8.4/US19Dec96) with SMTP id VAA24057; Wed, 12 Nov 1997 21:32:34 -0500 (EST) Message-ID: <346A66B3.20E7@eos.ncsu.edu> Date: Wed, 12 Nov 1997 21:32:19 -0500 From: Feiyi Wang X-Mailer: Mozilla 3.01Gold (X11; I; SunOS 5.4 sun4m) MIME-Version: 1.0 To: Free-BSD Questions CC: brian@awfulhak.org, archie@whistle.com Subject: Re: Divert Socket Problem Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi, thanks very the input, but the problem looks hopeless :( - I am using the newest FreeBSD 2.2.5 - Both DIVERT and FIREWALL have been enable in kernel, or else it won't allow me to create a divert socket. - Return values of all system calls are checked, actually, the divert socket fd is 3, (stdin, stdout, stderr, not it's 3, right?) - The firewall rule (sbin/ipfw divert 50000 89 from any to any) seems correct. I double check the ipfw synopsis. Feiyi