SNAS / openbmp

OpenBMP Server Collector
www.openbmp.org
Eclipse Public License 1.0
232 stars 76 forks source link

Allow bind IPs to be specified #41

Closed DamianZaremba closed 7 years ago

DamianZaremba commented 7 years ago

Currently the logic binds to all interfaces, there are occasions where this is not ideal, such as where there is a dedicated interface to an isolated network.

This adds 2 new base properties:

The default behaviour is still to bind to all interfaces, maintaining compatibility.

Invalid bind addresses result in a throw of either 'ERROR: Cannot bind to IPv4 address and port' or 'ERROR: Cannot bind to IPv6 address and port'.

TimEvens commented 7 years ago

Thanks for adding that. I'll do a quick update to add a comment in the default config file to go over the new config options.