Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Oct 1996 08:00:05 +0300 (AST)
From:      ShadowS <shadows@whitefang.com>
To:        questions@freebsd.org
Subject:   SOCK_RAW & IPPROTO_TCP semantics
Message-ID:  <Pine.NEB.3.95.961002075730.6175B-100000@broken.whitefang.com>

Next in thread | Raw E-Mail | Index | Archive | Help

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.
-------------------------------------------------------------------------------




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.95.961002075730.6175B-100000>