diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-04-28 13:48:26 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-05-09 16:45:57 +0200 |
commit | ee21912510275c7a0ebeafd2ff553c1db4a4f460 (patch) | |
tree | d9144f4ca37cac29da5e957e6fae647729396df1 /src/version.h | |
parent | e16be73753d870c5ce77094d3a402bbe8e3bf542 (diff) |
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/version.h')
0 files changed, 0 insertions, 0 deletions