Re: Module

From: Igmar Palsenberg (maillist@chello.nl)
Date: Sat Jul 29 2000 - 07:52:44 EST


On Thu, 27 Jul 2000, Sujit Vaidya wrote:

> Hi,
> I have added a code in linux/net/ipv4/ip_input.c
> file. and build a new kernel.
>
> This code sees the SRC IP address of the incomming
> packet and then decides to accept the packet or drop
> the packet.

Use ipchains for this, or a userspace packey filter.

> I was thinking of implementing this functionality of
> the code as a module, so that i need not reboot the
> machine everytime i need to revert to original
> kernel..I am kinda newbie to module programming.. Is
> it possible to implement my code functionality as a
> module.

Not easely I think.
 
> Any suggestions would be highly appreciated
>
> THanks
>
> SUJIT
>

        Regards,

                Igmar

-
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/



This archive was generated by hypermail 2b29 : Mon Jul 31 2000 - 21:00:30 EST