diff options
| author | Steve Kemp <steve@steve.org.uk> | 2015-09-05 10:00:13 +0300 |
|---|---|---|
| committer | Steve Kemp <steve@steve.org.uk> | 2015-09-05 10:00:13 +0300 |
| commit | 2a777a970cf5fde01893340d3281214839e622d6 (patch) | |
| tree | 7ae22ce75576cfcacd1b4f945fed9173ce80e028 /go/util/net_timeout.go | |
| parent | 91db227b27d45389e982a945d947bffa6e21812f (diff) | |
| download | seaweedfs-2a777a970cf5fde01893340d3281214839e622d6.tar.xz seaweedfs-2a777a970cf5fde01893340d3281214839e622d6.zip | |
Allow whitelisting by CIDR range, not just literally.
This allows you to write something like this:
/usr/local/bin/weed master -mdir /srv/weed/master -whiteList=192.168.0.0/24,127.0.0.1
This will whitelist all the 192.168.0.XX hosts, as well as localhost.
Diffstat (limited to 'go/util/net_timeout.go')
0 files changed, 0 insertions, 0 deletions
