diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-04-28 13:48:26 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-05-09 16:45:57 +0200 |
| commit | ee21912510275c7a0ebeafd2ff553c1db4a4f460 (patch) | |
| tree | d9144f4ca37cac29da5e957e6fae647729396df1 /src/test/util_tests.cpp | |
| parent | net: Add CSubNet class for subnet matching (diff) | |
| download | discoin-ee21912510275c7a0ebeafd2ff553c1db4a4f460.tar.xz discoin-ee21912510275c7a0ebeafd2ff553c1db4a4f460.zip | |
rpc: Use netmasks instead of wildcards for IP address matching
`-rpcallowip` currently has a wacky wildcard-based format. After this
commit it will accept the more standard format, for example:
- Ranges with netmask 127.0.0.0/255.255.255.0, ::/0
- Ranges with cidr 12.3.4.5/24, 12:34:56:78:9a:bc:de:00/112
- Loose IPs ::1, 127.0.0.1
Trying to use the old *?-based format will result in an error message at
launch.
Diffstat (limited to 'src/test/util_tests.cpp')
0 files changed, 0 insertions, 0 deletions