[Click] Capturing outgoing packets in kernel mode

Cezary Krzyżanowski cezary.krzyzanowski at put.poznan.pl
Fri Dec 12 07:27:24 EST 2008


Hello again.

I'm wondering -- is there a way to catch outgoing packets from a given
device (i.e. those sent by local programs) similar to FromDevice.u
OUTBOUND yes method? I've found only having a FromHost device being in
the same network (thus proper route statement) as the outgoing interface
and with lower metric then the original device effective. I find it
difficult to rewrite all packets from the virtual tun device and hand
them back to the outgoing interface just to be able to mangle those
packets.

Cezary Krzyzanowski



More information about the click mailing list