Is there a python library that implements a standalone TCP stack?
I cannot use the usual python socket library, because I get a packet stream through the socket (they are tunneling to me on this socket). When I receive a TCP SYN packet addressed to a specific port, I would like to accept the connection (send syn-ack) and then receive the data sent by the other end (respectively).
I was hoping some kind of TCP stack was already written that I could use. Any ideas? I used lwip in the past for a C project - something along these lines in python would be ideal.
python network-programming network-protocols tcp raw-sockets
David underhill
source share