Currently Noray assumes that it has free reign over all the ports on the host its running on. However, in a production environment, it is useful to have exact control over the ports being used, for example for firewall configs.
Done criteria
Used port ranges are configurable ( i.e. 9660-12280, 13660, 14520-49520 )
On startup, iterate list of ports and create a socket over each of them
Failed binds emit a warning but don't break startup sequence
Socket pool updated to use a prepopulated socket list
Background
Currently Noray assumes that it has free reign over all the ports on the host its running on. However, in a production environment, it is useful to have exact control over the ports being used, for example for firewall configs.
Done criteria