Hi Falk,
I had tried ipchains..
But What i am triying is I look the SRC IP address of
the incomming paket and depending upon whether it is
odd or even,I decide to accept it or reject it.
Now I did not find a way to specify such a rule in
ipchains. So I went with implementing it in the
kernel.
Is there a way u know of specifying this in ipchains.
I would appreciate Your suggestions
SUJIT
--- Falk Stern <falk@comunit.de> wrote:
> 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.
> >
> > 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.
> >
> > Any suggestions would be highly appreciated
>
> Why aren't you just using ipchains/netfilter? It
> does the same thing, but
> is runtime configurable.
>
>
> so far
>
> Falk
>
> --
> Falk Stern <falk@comunit.de>
> Space is big / space is dark / it's hard to find / a
> place to park.
>
__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/
-
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:27 EST