*BSD News Article 96443


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!cam-news-hub1.bbnplanet.com!news.bbnplanet.com!hermes.sovam.com!sovam!demos!news.uni-stuttgart.de!rz.uni-karlsruhe.de!not-for-mail
From: uk1o@rzstud2.rz.uni-karlsruhe.de (Felix Schroeter)
Newsgroups: comp.unix.bsd.misc
Subject: Re: How can I use Sockets at the IP level (SOCK_RAW) ??
Date: 28 May 1997 21:15:06 +0200
Organization: University of Karlsruhe, Germany
Lines: 15
Message-ID: <5mi07q$jlu@rzstud2.rz.uni-karlsruhe.de>
References: <338283DE.41C67EA6@ee.bilkent.edu.tr> <5m18nj$aq7@ui-gate.utell.co.uk>
NNTP-Posting-Host: rzstud2.rz.uni-karlsruhe.de
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
NNTP-Posting-User: uk1o
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.misc:3442

Hello!

In article <5m18nj$aq7@ui-gate.utell.co.uk>,
Brian Somers <brian@awfulhak.org, brian@utell.co.uk> wrote:
>In article <338283DE.41C67EA6@ee.bilkent.edu.tr>,
>	Khaled Benfatma <khaled@ee.bilkent.edu.tr> writes:
>[...]

>You're going to have to write a valid IP packet into a SOCK_RAW.
>Have a browse through the /usr/include/net*/*.h, starting with
>struct ip.

And he should probably read RFC 791 too.

Regards, Felix.