NLnetLabs/unbound

outgoing-port-avoid errors

markster1700 opened this issue · 1 comments

Issue:
Explicitly listing port number in "outgoing-port-avoid" will error out the unbound will not start. It is expecting port range instead.

Port rage works. I had to replace my config with the rage rather than using port listing separated by commas.

Unbound version 1.21rc1

The notation for a port listing separated by commas is not supported. It is possible to repeat individual port numbers with new lines with outgoing-port-avoid: 13234 and outgoing-port-avoid: 13235 for example. It is also possible to list new lines of outgoing-port-avoid and use a port range "low-high" and with that set several ranges.

Statements of outgoing-port-permit: "low-high" can be mixed in, the lines apply in order, removing and adding port numbers to the total.