Intercepting Packets

Robinson, Daniel (drobinso@netplane.com)
Fri, 30 Jun 2000 17:55:09 -0400


How would I go about actually intercepting all IP packets coming in on an
interface from the IP stack in user space??? Using a raw socket would just
create a copy of the incoming packet... and using a "divert" socket would do
the job, but apparently there are only implementations of divert sockets for
the 2.2.x kernal (I'm running 2.3... and want the program to be fairly
portable anyways)... I would greatly appreciate any help or pointers to some
documentation... thanks!

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/