zephyr-im / zephyr

An institutional/enterprise-scale distributed real-time messaging and notification system
34 stars 11 forks source link

Choose client ports in a well-known range #134

Open kaduk opened 7 years ago

kaduk commented 7 years ago

Instead of letting the kernel assign us a port number, request a specific port number and increment until one is available. This makes writing firewall rules easier, when a known number of clients will be in use.

kaduk commented 7 years ago

I'm undecided if this should be a configure option (or at least the starting port number) vs. always-on.