[plug] Re:Kernel programming

Bernard Blackham bernard at blackham.com.au
Mon Mar 29 19:10:29 WST 2004


On Mon, Mar 29, 2004 at 02:28:13AM -0800, Parag Nemade wrote:
> how can i acheive a pakets header modification and
> adding in the data part of packet a 8 byte of my own
> checksum and rebuild it and send to network device
> driver?

Use the iptables QUEUE target and a program that uses libipq. There
are perl bindings for libipq - see (for example)
http://search.cpan.org/~jmorris/perlipq-1.25/IPQueue.pm

Bernard.

-- 
 Bernard Blackham <bernard at blackham dot com dot au>



More information about the plug mailing list