Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This adds a mechanism to determine a list of addresses that servers should listen to, based off those defined for the machine. If BackendServerIP or BackendServerIP6 are defined for that host, only those and localhost addresses are selected. If otherwise, any link-local addresses are filtered out, and IPv4 is limited to only RFC1918 private ranges. If users wish to listen on an internet accessible address, they will need to force that with those settings. Also added is a GetBackendServerIP convenience function, replacing the existing GetSettingOnHost calls, and returning an IPv4 or IPv6 address as is available.
- Loading branch information
Showing
2 changed files
with
125 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters