Subject: Re: RAW sockets problems: RFC
To: Bryan J. Phillippe \(spamblock\) <bryan@darkforest.org>
From: Andrew Brown <atatat@atatdot.net>
List: tech-net
Date: 11/13/2002 16:41:38
>1.) If I _want_ an IP ID of 0...
>
>2.) If I _want_ a source address of 0.0.0.0...
>
>3.) The ip header checksum...
>
>4.) I can't set a bogus value for ip_len.
>...
>Is there another socket type I can use to accomplish these goals, or should
>I experiment with adding another socket option which means "use the header
>as-is"?

use a bpf, with the caveat that you will also need to construct the l2
header.

-- 
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org             * "ah!  i see you have the internet
twofsonet@graffiti.com (Andrew Brown)                that goes *ping*!"
werdna@squooshy.com       * "information is power -- share the wealth."