smoltcp-rs / smoltcp

a smol tcp/ip stack
BSD Zero Clause License
3.64k stars 404 forks source link

Support listening on multiple ports with a single socket #809

Open chayleaf opened 1 year ago

chayleaf commented 1 year ago

For VPN/proxy-like programs, it's useful to listen to all traffic on all ports. For example, see this library. I'm currently using it, but it would be nice to be able to use smoltcp for this use case as well.

How this would be implemented:

SajjadPourali commented 7 months ago

@chayleaf: I've created a basic TCP/IP stack for Narrowlink, currently in a somewhat unstable state but functioning adequately. I invite you to review it and contribute if you're interested until this issue gets merged. https://github.com/narrowlink/ipstack