Hide Forgot
Description of problem: Call from '[^']*' \(<HOST>:\d+\) to extension '\d+' rejected because extension not found in context 'default'\.$ only matches a context of default. It needs to match any context. Version-Release number of selected component (if applicable): fail2ban-0.9.3-1.el7.noarch How reproducible: 100% Steps to Reproduce: 1. Create an Asterisk installation where you have incoming calls coming into a context other than "default" 2. Make an unauthorized call into that context 3. Actual results: fail2ban fails to match the unauthorized call. Expected results: fail2ban should recognize the unauthorized call and act accordingly. Additional info: The regex ought to be: Call from '[^']*' \(<HOST>:\d+\) to extension '\d+' rejected because extension not found in context '.+'\.$
Can you test with https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-e8c048b38b and see if there are any changes there? If not, a better place to file an issue is upstream: https://github.com/fail2ban/fail2ban/issues
Looks like this is indeed fixed upstream in 0.9.4. I will grab the koji build at http://koji.fedoraproject.org/koji/buildinfo?buildID=743504 and try it out.
Yeah, 0.9.4 has a much better RE for that. You can close this now. I would but I don't know if you have another ticket you want to make it duplicate of or not.
fail2ban-0.9.4-2.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-e8c048b38b
There are some other issues with 0.9.4 so we may not push it to stable until those are addressed, but marking this as fixed there.
Hrm. I've already installed it. What kind of issues are there?
Fairly minor, but see https://bugzilla.redhat.com/show_bug.cgi?id=1266512#c17
fail2ban-0.9.5-3.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-73eab6c7c7
fail2ban-0.9.5-3.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.