Re: hooks for a module to examine ip traffic

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 22 Dec 1998 13:34:09 +0000 (GMT)


> what hooks do i have to use to pass all incoming ip packets to this
> module? the module will only look at the ip header... no processing will
> be done.

Look at net/core/firewall.c: You want to set up a firewall notifier
then call register_firewall(AF_INET, &my_ops) - and have your firewall
always return yes.

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu