From owner-freebsd-net@FreeBSD.ORG Thu Jul 17 12:52:32 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1275E37B401 for ; Thu, 17 Jul 2003 12:52:32 -0700 (PDT) Received: from jawa.at (jawa.at [213.229.17.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id C614343F3F for ; Thu, 17 Jul 2003 12:52:30 -0700 (PDT) (envelope-from mbretter@jawa.at) Received: from worf (worf.jawa.at [192.168.201.12]) by jawa.at (8.12.8p1/8.12.8) with ESMTP id h6HJqPvB019873; Thu, 17 Jul 2003 21:52:25 +0200 (CEST) (envelope-from mbretter@jawa.at) Date: Thu, 17 Jul 2003 21:52:27 +0200 (CEST) From: Michael Bretterklieber To: Matthew Grooms In-Reply-To: <200307171950.h6HJoCOW063062@hole.shrew.net> Message-ID: <20030717215004.L365@worf.jawa.at> References: <200307171950.h6HJoCOW063062@hole.shrew.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-milter (http://amavis.org/) X-Spam-Status: No, hits=-26.4 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES autolearn=ham version=2.53 X-Spam-Checker-Version: SpamAssassin 2.53 (1.174.2.15-2003-03-30-exp) cc: freebsd-net@freebsd.org Subject: Re: Divert Socket Ported to Windows X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2003 19:52:32 -0000 Hi, On Thu, 17 Jul 2003, Matthew Grooms wrote: > >Dear All > >Is there any package like divert socket available or ported on windows ? > >Thanx > >Soheil Hassas Yeganeh > > Soheil, > > Data is funneled to divert sockets by IPFW ( anyone, please correct > me if Im wrong ) or a similar mechanism which are nonexistant on win32. > The closest open-source thingy ( to my knowledge ) would be winpcap > which is a port of libpcap. ( I believe on *nix this sits on top of BPF > or LPF ) You can do raw netowrk data capture with it but not diversion. > > Win32 uses a layered protocol stack for network services. Its AFAIK, there exists a device-driver-kit from Microsoft, or something like this, where you have the possibility to hook your app into the IP-stream. Usualy Personal-Firewall are using this. bye, -- ------------------------------- ---------------------------------- Michael Bretterklieber - http://www.bretterklieber.com JAWA Management Software GmbH - http://www.jawa.at Tel: ++43-(0)316-403274-12 - GSM: ++43-(0)676-84 03 15 712 ------------------------------- ---------------------------------- "...the number of UNIX installations has grown to 10, with more expected..." - Dennis Ritchie and Ken Thompson, June 1972