Date: Mon, 29 Jan 1996 21:48:36 +0100 (MET) From: guido@gvr.win.tue.nl (Guido van Rooij) To: fenner@parc.xerox.com (Bill Fenner) Cc: marxx@mars.superlink.net, hackers@freebsd.org Subject: Re: User built packet header generation Message-ID: <199601292048.VAA07922@gvr.win.tue.nl> In-Reply-To: <96Jan29.093601pst.177478@crevenia.parc.xerox.com> from "Bill Fenner" at Jan 29, 96 09:35:57 am
next in thread | previous in thread | raw e-mail | index | archive | help
> > Well, you could look at /usr/src/usr.sbin/traceroute/traceroute.c, which > generates its own IP headers. You need to open an IPPROTO_RAW socket, > setsockopt(..., IPPROTO_IP, IP_HDRINCL, ...), and then write() a fully > formed packet. > Look for ipsend in the ip_filter package. I believe you can find it at: http://coombs.anu.edu.au/~avalon/ip-filter.html ftp://coombs.anu.edu.au/pub/net/kernel/ip_fil3.0.1.tar.gz The userinterface is horrible though. -Guido
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601292048.VAA07922>