server icon indicating copy to clipboard operation
server copied to clipboard

Add a port pool manager to restrict client ports

Open micoli opened this issue 5 years ago • 8 comments

this PR to avoid the dynamic attribution of port by net.createServer() but rather by a range specified on the server command line. An internal pool is maintained to distribute ports

micoli avatar Sep 30 '20 20:09 micoli

hi @defunctzombie Merging this will be amazing!

fbricker avatar Dec 27 '20 13:12 fbricker

@defunctzombie could you please merge this one? We can configure firewall after that #143

salemgolemugoo avatar Jan 25 '21 21:01 salemgolemugoo

I don't actively work on this project anymore. @theboroer does some upkeep so its up to him.

defunctzombie avatar Jan 27 '21 03:01 defunctzombie

this is very important

iamkhalidbashir avatar Jul 30 '21 07:07 iamkhalidbashir

I don't actively work on this project anymore. @TheBoroer does some upkeep so its up to him.

so please say int on front readme to avoid people thinking this project is not dead anymore....

MkLHX avatar Aug 05 '21 13:08 MkLHX

Sorry I've been mia, imma check this out early next week. If its good to go, I'll ping @defunctzombie to give me access to merge it in and push a new version to npm

TheBoroer avatar Mar 05 '22 04:03 TheBoroer

Hope to see this feature in soon, it would save from opening a huge amount of ports in the firewall

dluc avatar Mar 13 '22 10:03 dluc

I'm using this on my server and something unique happened. I can't say how to recreate this because I'm not able to reproduce myself, but sometimes one URL gives me another client. Let's say I have client1 and client2; sometimes, when I access client1 I'm actually accessing client2, and only normalizes when I restart the server and make the connection again. Do you think this port manager may be the cause?

luanpontes100 avatar Jan 05 '24 13:01 luanpontes100