*BSD News Article 40821


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!Germany.EU.net!news.dfn.de!scsing.switch.ch!swidir.switch.ch!univ-lyon1.fr!ensta!cedre1.ensta.fr!cannarsi
From: cannarsi@ensta.fr (Alessandro Cannarsi)
Newsgroups: comp.os.386bsd.questions
Subject: BSD 4.4 raw sockets
Date: 14 Jan 1995 15:39:01 GMT
Organization: Ecole Nationale Superieure de Techniques Avancees (ENSTA), Paris
Lines: 17
Sender: cannarsi@cedre1.ensta.fr (Alessandro Cannarsi)
Message-ID: <3f8r6l$83f@ici-paris.ensta.fr>
NNTP-Posting-Host: cedre1.ensta.fr

	I am trying to develop a network analyser under BSD4.4. Although, since
raw sockets are not dealt with in the online documentation, I can't figure out
how to open a socket able to peek all IP packets on the net (from any host to 
any other host). The purpose of the program should be to detect connections on
the local network and map possible anomalies.

	Could anyone explain me how to do?

	Thank you in advance


-- 
                                                             Alessandro Cannarsi

                                                           Politecnico di Milano
                               Ecole Nationale Superieure de Techniques Avancees
                                                       E-Mail: cannarsi@ensta.fr