{"action":"created","issue":{"url":"https://api.github.com/repos/fail2ban/fail2ban/issues/2269","repository_url":"https://api.github.com/repos/fail2ban/fail2ban","labels_url":"https://api.github.com/repos/fail2ban/fail2ban/issues/2269/labels{/name}","comments_url":"https://api.github.com/repos/fail2ban/fail2ban/issues/2269/comments","events_url":"https://api.github.com/repos/fail2ban/fail2ban/issues/2269/events","html_url":"https://github.com/fail2ban/fail2ban/issues/2269","id":376681520,"node_id":"MDU6SXNzdWUzNzY2ODE1MjA=","number":2269,"title":"IP ignore list does not use regex ?","user":{"login":"HappyUncle","id":20750625,"node_id":"MDQ6VXNlcjIwNzUwNjI1","avatar_url":"https://avatars0.githubusercontent.com/u/20750625?v=4","gravatar_id":"","url":"https://api.github.com/users/HappyUncle","html_url":"https://github.com/HappyUncle","followers_url":"https://api.github.com/users/HappyUncle/followers","following_url":"https://api.github.com/users/HappyUncle/following{/other_user}","gists_url":"https://api.github.com/users/HappyUncle/gists{/gist_id}","starred_url":"https://api.github.com/users/HappyUncle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HappyUncle/subscriptions","organizations_url":"https://api.github.com/users/HappyUncle/orgs","repos_url":"https://api.github.com/users/HappyUncle/repos","events_url":"https://api.github.com/users/HappyUncle/events{/privacy}","received_events_url":"https://api.github.com/users/HappyUncle/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-02T06:08:24Z","updated_at":"2018-11-02T10:05:55Z","closed_at":"2018-11-02T10:05:55Z","author_association":"NONE","body":"when I add ip ignore list , I have found\r\n\r\n```\r\n[root@ai fail2ban]# fail2ban-client get sshd ignoreip\r\nThese IP addresses/networks are ignored:\r\n|- 127.0.0.1/8\r\n|- and\r\n`- 192.168.222.1\r\n```\r\n\r\nis that ok?\r\n\r\nI think add IP regex is better.\r\n"},"comment":{"url":"https://api.github.com/repos/fail2ban/fail2ban/issues/comments/435330393","html_url":"https://github.com/fail2ban/fail2ban/issues/2269#issuecomment-435330393","issue_url":"https://api.github.com/repos/fail2ban/fail2ban/issues/2269","id":435330393,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTMzMDM5Mw==","user":{"login":"sebres","id":3769657,"node_id":"MDQ6VXNlcjM3Njk2NTc=","avatar_url":"https://avatars3.githubusercontent.com/u/3769657?v=4","gravatar_id":"","url":"https://api.github.com/users/sebres","html_url":"https://github.com/sebres","followers_url":"https://api.github.com/users/sebres/followers","following_url":"https://api.github.com/users/sebres/following{/other_user}","gists_url":"https://api.github.com/users/sebres/gists{/gist_id}","starred_url":"https://api.github.com/users/sebres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebres/subscriptions","organizations_url":"https://api.github.com/users/sebres/orgs","repos_url":"https://api.github.com/users/sebres/repos","events_url":"https://api.github.com/users/sebres/events{/privacy}","received_events_url":"https://api.github.com/users/sebres/received_events","type":"User","site_admin":false},"created_at":"2018-11-02T10:05:55Z","updated_at":"2018-11-02T10:05:55Z","author_association":"MEMBER","body":"> is that ok?\r\n\r\nWhat you are expecting?\r\n\r\n> I think add IP regex is better.\r\n\r\nA list of IP address (resp. a subnet mask) is totally enough for ignore purposes.\r\nFor an ignore entry as DNS (FQDN) a regexp or grep match would be possibly interesting, but in this case fail2ban have to do a reverse DNS lookup each time it founds a failure, thus it is simply more expensive.\r\nBut if you have own DNS service locally, you can simply create a zone that have several IPs and simply add this FQDN to ignore list.\r\n\r\nFurthermore fail2ban has still another handling `ignorecommand` for any other purposes you may need.\r\nSee for example https://github.com/fail2ban/fail2ban/issues/2013#issuecomment-426940189\r\n"}}
{"actor":{"display_login":"sebres"}}