From 04526787b5f6613d1f1ad78434e1dd24ab88dd76 Mon Sep 17 00:00:00 2001 From: amadeuszpawlik Date: Thu, 27 May 2021 14:07:35 +0200 Subject: Validate `port` options Check `port` options for invalid values (ports are parsed as uint16, so in practice values >65535 are invalid; port 0 is undefined and therefore considered invalid too). This allows for an early rejection of faulty values and an supplying an informative message to the user. Splits tests in `feature_proxy.py` to cover both invalid `hostname` and `port` values. Adds a release-note as previously valid `-port` and `-rpcport` values can now result in errors. --- doc/release-notes-22087.md | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 doc/release-notes-22087.md (limited to 'doc') diff --git a/doc/release-notes-22087.md b/doc/release-notes-22087.md new file mode 100644 index 0000000000..8d7fd242b2 --- /dev/null +++ b/doc/release-notes-22087.md @@ -0,0 +1,4 @@ +Updated settings +---------------- + +- Ports specified in `-port` and `-rpcport` options are now validated at startup. Values that previously worked and were considered valid can now result in errors. (#22087) -- cgit v1.2.3