{"action":"closed","issue":{"url":"https://api.github.com/repos/mholt/caddy/issues/693","repository_url":"https://api.github.com/repos/mholt/caddy","labels_url":"https://api.github.com/repos/mholt/caddy/issues/693/labels{/name}","comments_url":"https://api.github.com/repos/mholt/caddy/issues/693/comments","events_url":"https://api.github.com/repos/mholt/caddy/issues/693/events","html_url":"https://github.com/mholt/caddy/issues/693","id":142967467,"number":693,"title":"IP Filter does not accept single ip's and ranges","user":{"login":"dragon2611","id":6185399,"avatar_url":"https://avatars.githubusercontent.com/u/6185399?v=3","gravatar_id":"","url":"https://api.github.com/users/dragon2611","html_url":"https://github.com/dragon2611","followers_url":"https://api.github.com/users/dragon2611/followers","following_url":"https://api.github.com/users/dragon2611/following{/other_user}","gists_url":"https://api.github.com/users/dragon2611/gists{/gist_id}","starred_url":"https://api.github.com/users/dragon2611/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dragon2611/subscriptions","organizations_url":"https://api.github.com/users/dragon2611/orgs","repos_url":"https://api.github.com/users/dragon2611/repos","events_url":"https://api.github.com/users/dragon2611/events{/privacy}","received_events_url":"https://api.github.com/users/dragon2611/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-23T14:01:53Z","updated_at":"2016-03-23T14:49:35Z","closed_at":"2016-03-23T14:49:35Z","body":"*If you are filing a bug report, please answer these questions. If your issue is not a bug report, you do not need to use this template. Either way, please consider donating if we've helped you. Thanks!*\r\n\r\n#### 1. What version of Caddy are you running (`caddy -version`)?\r\n0.82\r\n\r\n#### 2. What are you trying to do?\r\nAdd both single IP's and ranges to IP filter as per documentation.\r\n\r\n#### 3. What is your entire Caddyfile?\r\nDo not wish to provide.\r\n\r\nHowever to reproduce create an IP filter and list multiple IP's with some ranges e.g\r\n\r\nipfilter /mydirectory {\r\nrule allow\r\nip 192.168.1.1 10.0.0.3 10.0.17.0-254 10.0.24.0-255\r\n}\r\n\r\n\r\n#### 4. How did you run Caddy (give the full command and describe the execution environment)?\r\nN/A\r\n\r\n#### 5. What did you expect to see?\r\nAll traffic from listed IP's allowd\r\n\r\n#### 6. What did you see instead (give full error messages and/or log)?\r\nTraffic sourced from an IP within the defined Ranges appears to be allowed, however traffic sourced from one of the individual IP's listed is NOT allowed, If you remove the Ranges from the config then the single IP's are then granted access."}}