{"action":"created","issue":{"url":"https://api.github.com/repos/fail2ban/fail2ban/issues/1192","labels_url":"https://api.github.com/repos/fail2ban/fail2ban/issues/1192/labels{/name}","comments_url":"https://api.github.com/repos/fail2ban/fail2ban/issues/1192/comments","events_url":"https://api.github.com/repos/fail2ban/fail2ban/issues/1192/events","html_url":"https://github.com/fail2ban/fail2ban/issues/1192","id":106998191,"number":1192,"title":"Fail2Ban & BadIPs Configuration?","user":{"login":"MichaelCropper","id":14022292,"avatar_url":"https://avatars.githubusercontent.com/u/14022292?v=3","gravatar_id":"","url":"https://api.github.com/users/MichaelCropper","html_url":"https://github.com/MichaelCropper","followers_url":"https://api.github.com/users/MichaelCropper/followers","following_url":"https://api.github.com/users/MichaelCropper/following{/other_user}","gists_url":"https://api.github.com/users/MichaelCropper/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelCropper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelCropper/subscriptions","organizations_url":"https://api.github.com/users/MichaelCropper/orgs","repos_url":"https://api.github.com/users/MichaelCropper/repos","events_url":"https://api.github.com/users/MichaelCropper/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelCropper/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-17T14:32:45Z","updated_at":"2015-09-17T15:08:32Z","closed_at":null,"body":"Implemented Fail2Ban successfully (I think..) and want to see data using BadIPs as outlined here, https://www.netmess.org/examine-your-attackers/, recommended from, http://www.fail2ban.org/wiki/index.php/HOWTOs which states that you simply need to add the following code;\r\n\r\nwget -q -O /dev/null www.badips.com/add/<name>/<ip>\r\n\r\nto the \"/etc/fail2ban/action.d/iptables-multiport.conf\" file as outlined here, https://www.badips.com/snippets\r\n\r\nProblem being that when doing this on Fail2Ban V. 0.9.3, an error message appears when using the command \"fail2ban-client reload\" of \"Error in action definition iptables-multiport[name=sshd...... etc\"\r\n\r\nIs there something not configured correctly which would cause this problem? Or is this a genuine error on the latest version when wanting to graph data with BadIPs? "},"comment":{"url":"https://api.github.com/repos/fail2ban/fail2ban/issues/comments/141116619","html_url":"https://github.com/fail2ban/fail2ban/issues/1192#issuecomment-141116619","issue_url":"https://api.github.com/repos/fail2ban/fail2ban/issues/1192","id":141116619,"user":{"login":"sebres","id":3769657,"avatar_url":"https://avatars.githubusercontent.com/u/3769657?v=3","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":"2015-09-17T15:08:32Z","updated_at":"2015-09-17T15:08:32Z","body":"`Error in action definition iptables-multiport[name=sshd......` etc?\r\nJust that \"etc\" is interesting...\r\n\r\nSince fail2ban supported multiple actions, it is not necessary to modify any action configuration.\r\nAdditionally, a default action to work with badips.com already exists, so you should be able to configure it without customizing of any action configuration. See https://github.com/fail2ban/fail2ban/blob/master/config/jail.conf#L191\r\n\r\nJust add badips action to your `jail.local` for needed jails or even for `DEFAULT` and it should work out of the box."}}