最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

python - Forwarding multiple ports through one channel - Stack Overflow

programmeradmin2浏览0评论

I have a simple python channel ( socket on Asyncio Streams ) and client-server software that uses several TCP ports for connection. Is it possible to forward this connection through this socket channel so that the software does not notice it?

I have a simple python channel ( socket on Asyncio Streams ) and client-server software that uses several TCP ports for connection. Is it possible to forward this connection through this socket channel so that the software does not notice it?

Share Improve this question asked Feb 15 at 12:56 BdfyBdfy 24.7k58 gold badges135 silver badges180 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

Agree with the comment above, multiplexing is necessary to forward multiple TCP connections over a single socket stream. Additionally we can try using existing protocols like SSH-style multiplexing SOCKS5 or QUIC-based tunneling to avoid reinventing the wheel.. a TUN/TAP interface could be an option as well.

发布评论

评论列表(0)

  1. 暂无评论