Hi, I would like to ask You if there exist a demo similar to redirect-udp-recv but for SOCK_STREAM sockets. I was trying to write it in nearly the same way as the redirect-tcp-recv, but it doesn't work correctly. Also my attempts to find the part of code in Zorp GPL wasn't succesfull becouse it's mostly written in Python. I'm using kernel 2.4.20 with netstaff patched to 2.4.23 and all the demos distributed with TPROXY-patch are running fine. Thank You for Your help. Jakub Bednar
On Tue, 2006-07-18 at 12:30 +0200, Jakub Bednář wrote:
Hi, I would like to ask You if there exist a demo similar to redirect-udp-recv but for SOCK_STREAM sockets. I was trying to write it in nearly the same way as the redirect-tcp-recv, but it doesn't work correctly. Also my attempts to find the part of code in Zorp GPL wasn't succesfull becouse it's mostly written in Python.
Just one correction. Zorp is not mostly written in Python, it uses Python as glue, but the code you were looking for is in zorp-core/lib/tpsocket.c and in libzorpll/src/socket.c -- Bazsi
participants (2)
-
Balazs Scheidler
-
Jakub Bednář