rjtr
February 4th, 2007, 09:33 AM
Hi All,
I am in need of a code which is a slight modification to the famous exploit datapipe.c In case you don't know what it does, here is the link:
http://www.bovine.net/~jlawson/coding/datapipe/datapipe.c
It is basically used to open a socket in a localhost and then redirect any data to that socket to a remote socket. Now the modification that I need is to allow only a select few IPs to communicate through this socket and block all the rest of the IPs trying to communicate through this socket. I don't know how do I modify the datapipe.c code. I would be glad if anyone of you can kindly do this for me, or can give me another similar code. Remember I need a C/C++ code that will compile in Linux.
Thanks in advance.
I am in need of a code which is a slight modification to the famous exploit datapipe.c In case you don't know what it does, here is the link:
http://www.bovine.net/~jlawson/coding/datapipe/datapipe.c
It is basically used to open a socket in a localhost and then redirect any data to that socket to a remote socket. Now the modification that I need is to allow only a select few IPs to communicate through this socket and block all the rest of the IPs trying to communicate through this socket. I don't know how do I modify the datapipe.c code. I would be glad if anyone of you can kindly do this for me, or can give me another similar code. Remember I need a C/C++ code that will compile in Linux.
Thanks in advance.