Re: Ip _ fw.c

1999-11-21 Thread Julian Elischer
On Sun, 21 Nov 1999, Parthasarathy M. Aji wrote: > Thanks Julian. But we are rewriting Kernel src file ip_fw.c (which > does implement the ipfw system call i guess) to do the redirection > automatically for us, because redirection is faster at the Kernel than at > the user level. > Unfortunate

Re: Ip _ fw.c

1999-11-21 Thread Parthasarathy M. Aji
Thanks Julian. But we are rewriting Kernel src file ip_fw.c (which does implement the ipfw system call i guess) to do the redirection automatically for us, because redirection is faster at the Kernel than at the user level. Unfortunately I am new to writing code at the kernel level. The main prob

Re: Ip _ fw.c

1999-11-16 Thread Julian Elischer
You can use the ipfw "fwd" command (man 8 ipfw) you need to also run ipfw 'fwd' commands on the servers otherwise they will send the packet back to it's original destination. alternatively you could have no real machine with that address but set a loopback interface to the target address on each

Ip _ fw.c

1999-11-16 Thread Parthasarathy M. Aji
Hey, i want to do packet filtering and redirection through the kernel. Specifically, My application will be on an intermediate node, through which, I want to redirect every packet that comes through me to a different server. Would you know what files I might want to look into this( like ip_fw.c fo