RE: [libdnet-devel] could I alter packet with help of libdnetfunctionality
Status: Abandoned
Brought to you by:
dugsong
|
From: Tatyana I. <ar...@sw...> - 2006-05-02 08:09:33
|
Thank you for your help!
May be you could give me one more advice. Could I read outgoing packets with
libpcap and then drop these packets.
-----Original Message-----
From: du...@gm... [mailto:du...@gm...] On Behalf Of Dug Song
Sent: Friday, April 28, 2006 6:01 AM
To: Tatyana Ivanova
Cc: lib...@li...
Subject: Re: [libdnet-devel] could I alter packet with help of
libdnetfunctionality
actually, libdnet also supports this on systems with a tunnel
interface. basically, you set up a tunnel for a given destination
(which can be a network prefix) to intercept; packets sent to the
destination are available via tun.read(), and can be rewritten
manually.
check out the python fragroute code for example:
http://monkey.org/~dugsong/tmp/fragroute-2.0b1.tar.gz
-d.
---
http://monkey.org/~dugsong/
|