From owner-freebsd-questions Wed Oct 2 01:01:11 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA18604 for questions-outgoing; Wed, 2 Oct 1996 01:01:11 -0700 (PDT) Received: from broken.whitefang.com (broken.whitefang.com [199.173.153.182]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id BAA18580 for ; Wed, 2 Oct 1996 01:00:51 -0700 (PDT) Received: from localhost (shadows@localhost) by broken.whitefang.com (8.7.5/8.7.3) with SMTP id IAA06353 for ; Wed, 2 Oct 1996 08:00:06 +0300 (AST) X-Authentication-Warning: broken.whitefang.com: shadows owned process doing -bs Date: Wed, 2 Oct 1996 08:00:05 +0300 (AST) From: ShadowS Reply-To: shadows@whitefang.com To: questions@freebsd.org Subject: SOCK_RAW & IPPROTO_TCP semantics Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk AFAIK IPPROTO_TCP and SOCK_RAW should pass a copy of all tcp packets received to any proccess with an open socket of this kind. I _know_ this works fine under SOCK_RAW IPPROTO_ICMP, but it isnt under IPPROTO_TCP. Now forgive my ignorance.. but do I need a socketoption I simply kind find in the man pages to have a RAW socket of IPPROTO_TCP get a copy of all tcp packets received by the kernel? or does FreeBSD _not_ do this with IPPROTO_TCP raw sockets? (forgive the caps there.. but im a technical kinda guy) ------------------------------------------------------------------------------- ShadowS WhiteFang Unix Software Development Thamer Al-Herbish And Consultancy. shadows@whitefang.com shadows@kuwait.net Specialising in Custom Network Applications for Unix Systems. -------------------------------------------------------------------------------