something of that sort we replaced the function
pointers of default  functions ( many TCP / IP
specific functions like tcp_accept , tcp_connect )with
the function pointers to our functions and built a
module and when inserted it'd work by calling our
funcs instead of TCP's default ( more like TSR in

How will it capture UDP packets ?

with these there are 2 dinctinct advantages 1 u don't have to compile kernel everytime you do
something even very small

Kernel does not have to be recompiled for either netfilter or raw sockets.

   TCP's default function which gets the socket out of
the queue is ( get_sock... something ) so in here you
can do some alterations and write code to check
whatever you want to check or validate etc don't write
the whole func just copy paste it in your file ( of
which you'll build a module later ) and above or below
or inbetween the main default code within the func
type in your code to validate or call the functions
which do this

Internal kernel functions may use functions/macros that may not be exported. Copying them in your module will not help in that case.

--Swapnil
--
______________________________________________________________________
Pune GNU/Linux Users Group Mailing List:      ([email protected])
List Information:  http://plug.org.in/mailing-list/listinfo/plug-mail
Send 'help' to [EMAIL PROTECTED] for mailing instructions.

Reply via email to