On Tue, Feb 22, 2005 at 10:58:05PM -0800, Guy Harris wrote:

> >Do you have any clue how I can interact directly with normal flow.
> 
> No, I don't.  There might be some kind of tunnel mechanism available in 
> Linux that would let you insert your own code into the normal flow of 
> packets inside the networking stack.

see the new tun(3) interface in libdnet. it uses the tunnel driver
available in *BSD and Linux, and the vtun project's Solaris driver
(and in the next release, the OpenVPN project's Windows driver):

        http://libdnet.sourceforge.net/

> then, no - it uses the same mechanism(s) that libpcap does for sending 
> packets, but it doesn't have any code that uses any mechanisms that are 
> in the *middle* of the normal networking stack.

incidentally, libdnet also supports sending on a few more platforms
than libpcap, i can try to provide diffs at some point.

-d.

---
http://monkey.org/~dugsong/
-
This is the tcpdump-workers list.
Visit https://lists.sandelman.ca/ to unsubscribe.

Reply via email to