aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-04-28 13:48:26 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-05-09 16:45:57 +0200
commitee21912510275c7a0ebeafd2ff553c1db4a4f460 (patch)
treed9144f4ca37cac29da5e957e6fae647729396df1 /src/util.h
parente16be73753d870c5ce77094d3a402bbe8e3bf542 (diff)
downloadbitcoin-ee21912510275c7a0ebeafd2ff553c1db4a4f460.tar.xz
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/util.h')
0 files changed, 0 insertions, 0 deletions