{"action":"created","comment":{"url":"https://api.github.com/repos/fail2ban/fail2ban/pulls/comments/43697294","id":43697294,"diff_hunk":"@@ -161,6 +163,43 @@ def getIgnoreRegex(self):\n \t\treturn ignoreRegex\n \n \t##\n+\t# Add a regular expression which matches the reset.\n+\t#\n+\t# The regular expression can also match any other pattern than reets\n+\t# and thus can be used for many purporse.\n+\t# @param value the regular expression\n+\n+\tdef addResetRegex(self, value):\n+\t\ttry:\n+\t\t\tregex = ResetRegex(value)\n+\t\t\tself.__resetRegex.append(regex)\n+\t\t\tif \"\\n\" in regex.getRegex() and not self.getMaxLines() > 1:\n+\t\t\t\tlogSys.warning(\n+\t\t\t\t\t\"Mutliline regex set for jail '%s' \"","path":"fail2ban/server/filter.py","position":34,"original_position":34,"commit_id":"a40d506e1531728463e3543b14dd6a0411ad47db","original_commit_id":"a40d506e1531728463e3543b14dd6a0411ad47db","user":{"login":"yarikoptic","id":39889,"avatar_url":"https://avatars.githubusercontent.com/u/39889?v=3","gravatar_id":"","url":"https://api.github.com/users/yarikoptic","html_url":"https://github.com/yarikoptic","followers_url":"https://api.github.com/users/yarikoptic/followers","following_url":"https://api.github.com/users/yarikoptic/following{/other_user}","gists_url":"https://api.github.com/users/yarikoptic/gists{/gist_id}","starred_url":"https://api.github.com/users/yarikoptic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yarikoptic/subscriptions","organizations_url":"https://api.github.com/users/yarikoptic/orgs","repos_url":"https://api.github.com/users/yarikoptic/repos","events_url":"https://api.github.com/users/yarikoptic/events{/privacy}","received_events_url":"https://api.github.com/users/yarikoptic/received_events","type":"User","site_admin":false},"body":"just spotted a little typo in \"Multiline\"","created_at":"2015-11-02T23:08:38Z","updated_at":"2015-11-02T23:08:38Z","html_url":"https://github.com/fail2ban/fail2ban/pull/1243#discussion_r43697294","pull_request_url":"https://api.github.com/repos/fail2ban/fail2ban/pulls/1243","_links":{"self":{"href":"https://api.github.com/repos/fail2ban/fail2ban/pulls/comments/43697294"},"html":{"href":"https://github.com/fail2ban/fail2ban/pull/1243#discussion_r43697294"},"pull_request":{"href":"https://api.github.com/repos/fail2ban/fail2ban/pulls/1243"}}},"pull_request":{"url":"https://api.github.com/repos/fail2ban/fail2ban/pulls/1243","id":49493593,"html_url":"https://github.com/fail2ban/fail2ban/pull/1243","diff_url":"https://github.com/fail2ban/fail2ban/pull/1243.diff","patch_url":"https://github.com/fail2ban/fail2ban/pull/1243.patch","issue_url":"https://api.github.com/repos/fail2ban/fail2ban/issues/1243","number":1243,"state":"open","locked":false,"title":"Regex to reset counter for IP","user":{"login":"tomgreen66","id":2301394,"avatar_url":"https://avatars.githubusercontent.com/u/2301394?v=3","gravatar_id":"","url":"https://api.github.com/users/tomgreen66","html_url":"https://github.com/tomgreen66","followers_url":"https://api.github.com/users/tomgreen66/followers","following_url":"https://api.github.com/users/tomgreen66/following{/other_user}","gists_url":"https://api.github.com/users/tomgreen66/gists{/gist_id}","starred_url":"https://api.github.com/users/tomgreen66/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomgreen66/subscriptions","organizations_url":"https://api.github.com/users/tomgreen66/orgs","repos_url":"https://api.github.com/users/tomgreen66/repos","events_url":"https://api.github.com/users/tomgreen66/events{/privacy}","received_events_url":"https://api.github.com/users/tomgreen66/received_events","type":"User","site_admin":false},"body":"A little branch to reset IP counter as discussed in #1055 - hopefully fairly sensible approach.","created_at":"2015-11-02T22:14:22Z","updated_at":"2015-11-02T23:08:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e5024373990469d4fca353020339fb6ea69cf6c6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fail2ban/fail2ban/pulls/1243/commits","review_comments_url":"https://api.github.com/repos/fail2ban/fail2ban/pulls/1243/comments","review_comment_url":"https://api.github.com/repos/fail2ban/fail2ban/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fail2ban/fail2ban/issues/1243/comments","statuses_url":"https://api.github.com/repos/fail2ban/fail2ban/statuses/a40d506e1531728463e3543b14dd6a0411ad47db","head":{"label":"tomgreen66:successregex","ref":"successregex","sha":"a40d506e1531728463e3543b14dd6a0411ad47db","user":{"login":"tomgreen66","id":2301394,"avatar_url":"https://avatars.githubusercontent.com/u/2301394?v=3","gravatar_id":"","url":"https://api.github.com/users/tomgreen66","html_url":"https://github.com/tomgreen66","followers_url":"https://api.github.com/users/tomgreen66/followers","following_url":"https://api.github.com/users/tomgreen66/following{/other_user}","gists_url":"https://api.github.com/users/tomgreen66/gists{/gist_id}","starred_url":"https://api.github.com/users/tomgreen66/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomgreen66/subscriptions","organizations_url":"https://api.github.com/users/tomgreen66/orgs","repos_url":"https://api.github.com/users/tomgreen66/repos","events_url":"https://api.github.com/users/tomgreen66/events{/privacy}","received_events_url":"https://api.github.com/users/tomgreen66/received_events","type":"User","site_admin":false},"repo":{"id":45252832,"name":"fail2ban","full_name":"tomgreen66/fail2ban","owner":{"login":"tomgreen66","id":2301394,"avatar_url":"https://avatars.githubusercontent.com/u/2301394?v=3","gravatar_id":"","url":"https://api.github.com/users/tomgreen66","html_url":"https://github.com/tomgreen66","followers_url":"https://api.github.com/users/tomgreen66/followers","following_url":"https://api.github.com/users/tomgreen66/following{/other_user}","gists_url":"https://api.github.com/users/tomgreen66/gists{/gist_id}","starred_url":"https://api.github.com/users/tomgreen66/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomgreen66/subscriptions","organizations_url":"https://api.github.com/users/tomgreen66/orgs","repos_url":"https://api.github.com/users/tomgreen66/repos","events_url":"https://api.github.com/users/tomgreen66/events{/privacy}","received_events_url":"https://api.github.com/users/tomgreen66/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tomgreen66/fail2ban","description":"Daemon to ban hosts that cause multiple authentication errors","fork":true,"url":"https://api.github.com/repos/tomgreen66/fail2ban","forks_url":"https://api.github.com/repos/tomgreen66/fail2ban/forks","keys_url":"https://api.github.com/repos/tomgreen66/fail2ban/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tomgreen66/fail2ban/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tomgreen66/fail2ban/teams","hooks_url":"https://api.github.com/repos/tomgreen66/fail2ban/hooks","issue_events_url":"https://api.github.com/repos/tomgreen66/fail2ban/issues/events{/number}","events_url":"https://api.github.com/repos/tomgreen66/fail2ban/events","assignees_url":"https://api.github.com/repos/tomgreen66/fail2ban/assignees{/user}","branches_url":"https://api.github.com/repos/tomgreen66/fail2ban/branches{/branch}","tags_url":"https://api.github.com/repos/tomgreen66/fail2ban/tags","blobs_url":"https://api.github.com/repos/tomgreen66/fail2ban/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tomgreen66/fail2ban/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tomgreen66/fail2ban/git/refs{/sha}","trees_url":"https://api.github.com/repos/tomgreen66/fail2ban/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tomgreen66/fail2ban/statuses/{sha}","languages_url":"https://api.github.com/repos/tomgreen66/fail2ban/languages","stargazers_url":"https://api.github.com/repos/tomgreen66/fail2ban/stargazers","contributors_url":"https://api.github.com/repos/tomgreen66/fail2ban/contributors","subscribers_url":"https://api.github.com/repos/tomgreen66/fail2ban/subscribers","subscription_url":"https://api.github.com/repos/tomgreen66/fail2ban/subscription","commits_url":"https://api.github.com/repos/tomgreen66/fail2ban/commits{/sha}","git_commits_url":"https://api.github.com/repos/tomgreen66/fail2ban/git/commits{/sha}","comments_url":"https://api.github.com/repos/tomgreen66/fail2ban/comments{/number}","issue_comment_url":"https://api.github.com/repos/tomgreen66/fail2ban/issues/comments{/number}","contents_url":"https://api.github.com/repos/tomgreen66/fail2ban/contents/{+path}","compare_url":"https://api.github.com/repos/tomgreen66/fail2ban/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tomgreen66/fail2ban/merges","archive_url":"https://api.github.com/repos/tomgreen66/fail2ban/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tomgreen66/fail2ban/downloads","issues_url":"https://api.github.com/repos/tomgreen66/fail2ban/issues{/number}","pulls_url":"https://api.github.com/repos/tomgreen66/fail2ban/pulls{/number}","milestones_url":"https://api.github.com/repos/tomgreen66/fail2ban/milestones{/number}","notifications_url":"https://api.github.com/repos/tomgreen66/fail2ban/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tomgreen66/fail2ban/labels{/name}","releases_url":"https://api.github.com/repos/tomgreen66/fail2ban/releases{/id}","created_at":"2015-10-30T13:34:31Z","updated_at":"2015-10-30T13:34:33Z","pushed_at":"2015-11-02T22:01:04Z","git_url":"git://github.com/tomgreen66/fail2ban.git","ssh_url":"git@github.com:tomgreen66/fail2ban.git","clone_url":"https://github.com/tomgreen66/fail2ban.git","svn_url":"https://github.com/tomgreen66/fail2ban","homepage":"http://www.fail2ban.org","size":8443,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"fail2ban:master","ref":"master","sha":"576719198805063c1c3b30a7cb31f7beedd7c2f8","user":{"login":"fail2ban","id":1087378,"avatar_url":"https://avatars.githubusercontent.com/u/1087378?v=3","gravatar_id":"","url":"https://api.github.com/users/fail2ban","html_url":"https://github.com/fail2ban","followers_url":"https://api.github.com/users/fail2ban/followers","following_url":"https://api.github.com/users/fail2ban/following{/other_user}","gists_url":"https://api.github.com/users/fail2ban/gists{/gist_id}","starred_url":"https://api.github.com/users/fail2ban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fail2ban/subscriptions","organizations_url":"https://api.github.com/users/fail2ban/orgs","repos_url":"https://api.github.com/users/fail2ban/repos","events_url":"https://api.github.com/users/fail2ban/events{/privacy}","received_events_url":"https://api.github.com/users/fail2ban/received_events","type":"Organization","site_admin":false},"repo":{"id":2476162,"name":"fail2ban","full_name":"fail2ban/fail2ban","owner":{"login":"fail2ban","id":1087378,"avatar_url":"https://avatars.githubusercontent.com/u/1087378?v=3","gravatar_id":"","url":"https://api.github.com/users/fail2ban","html_url":"https://github.com/fail2ban","followers_url":"https://api.github.com/users/fail2ban/followers","following_url":"https://api.github.com/users/fail2ban/following{/other_user}","gists_url":"https://api.github.com/users/fail2ban/gists{/gist_id}","starred_url":"https://api.github.com/users/fail2ban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fail2ban/subscriptions","organizations_url":"https://api.github.com/users/fail2ban/orgs","repos_url":"https://api.github.com/users/fail2ban/repos","events_url":"https://api.github.com/users/fail2ban/events{/privacy}","received_events_url":"https://api.github.com/users/fail2ban/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fail2ban/fail2ban","description":"Daemon to ban hosts that cause multiple authentication errors","fork":false,"url":"https://api.github.com/repos/fail2ban/fail2ban","forks_url":"https://api.github.com/repos/fail2ban/fail2ban/forks","keys_url":"https://api.github.com/repos/fail2ban/fail2ban/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fail2ban/fail2ban/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fail2ban/fail2ban/teams","hooks_url":"https://api.github.com/repos/fail2ban/fail2ban/hooks","issue_events_url":"https://api.github.com/repos/fail2ban/fail2ban/issues/events{/number}","events_url":"https://api.github.com/repos/fail2ban/fail2ban/events","assignees_url":"https://api.github.com/repos/fail2ban/fail2ban/assignees{/user}","branches_url":"https://api.github.com/repos/fail2ban/fail2ban/branches{/branch}","tags_url":"https://api.github.com/repos/fail2ban/fail2ban/tags","blobs_url":"https://api.github.com/repos/fail2ban/fail2ban/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fail2ban/fail2ban/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fail2ban/fail2ban/git/refs{/sha}","trees_url":"https://api.github.com/repos/fail2ban/fail2ban/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fail2ban/fail2ban/statuses/{sha}","languages_url":"https://api.github.com/repos/fail2ban/fail2ban/languages","stargazers_url":"https://api.github.com/repos/fail2ban/fail2ban/stargazers","contributors_url":"https://api.github.com/repos/fail2ban/fail2ban/contributors","subscribers_url":"https://api.github.com/repos/fail2ban/fail2ban/subscribers","subscription_url":"https://api.github.com/repos/fail2ban/fail2ban/subscription","commits_url":"https://api.github.com/repos/fail2ban/fail2ban/commits{/sha}","git_commits_url":"https://api.github.com/repos/fail2ban/fail2ban/git/commits{/sha}","comments_url":"https://api.github.com/repos/fail2ban/fail2ban/comments{/number}","issue_comment_url":"https://api.github.com/repos/fail2ban/fail2ban/issues/comments{/number}","contents_url":"https://api.github.com/repos/fail2ban/fail2ban/contents/{+path}","compare_url":"https://api.github.com/repos/fail2ban/fail2ban/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fail2ban/fail2ban/merges","archive_url":"https://api.github.com/repos/fail2ban/fail2ban/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fail2ban/fail2ban/downloads","issues_url":"https://api.github.com/repos/fail2ban/fail2ban/issues{/number}","pulls_url":"https://api.github.com/repos/fail2ban/fail2ban/pulls{/number}","milestones_url":"https://api.github.com/repos/fail2ban/fail2ban/milestones{/number}","notifications_url":"https://api.github.com/repos/fail2ban/fail2ban/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fail2ban/fail2ban/labels{/name}","releases_url":"https://api.github.com/repos/fail2ban/fail2ban/releases{/id}","created_at":"2011-09-28T16:24:20Z","updated_at":"2015-11-02T15:28:06Z","pushed_at":"2015-11-02T22:55:31Z","git_url":"git://github.com/fail2ban/fail2ban.git","ssh_url":"git@github.com:fail2ban/fail2ban.git","clone_url":"https://github.com/fail2ban/fail2ban.git","svn_url":"https://github.com/fail2ban/fail2ban","homepage":"http://www.fail2ban.org","size":15447,"stargazers_count":1156,"watchers_count":1156,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":293,"mirror_url":null,"open_issues_count":169,"forks":293,"open_issues":169,"watchers":1156,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fail2ban/fail2ban/pulls/1243"},"html":{"href":"https://github.com/fail2ban/fail2ban/pull/1243"},"issue":{"href":"https://api.github.com/repos/fail2ban/fail2ban/issues/1243"},"comments":{"href":"https://api.github.com/repos/fail2ban/fail2ban/issues/1243/comments"},"review_comments":{"href":"https://api.github.com/repos/fail2ban/fail2ban/pulls/1243/comments"},"review_comment":{"href":"https://api.github.com/repos/fail2ban/fail2ban/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fail2ban/fail2ban/pulls/1243/commits"},"statuses":{"href":"https://api.github.com/repos/fail2ban/fail2ban/statuses/a40d506e1531728463e3543b14dd6a0411ad47db"}}}}