https://bugs.contribs.org/show_bug.cgi?id=10551

            Bug ID: 10551
           Summary: fail2ban doesn't work : No such file or directory:
                    '/var/log/httpd/error_log'
    Classification: Contribs
           Product: SME Contribs
           Version: 9.2
          Hardware: x86_64
                OS: ---
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: smeserver-fail2ban
          Assignee: dan...@firewall-services.com
          Reporter: cont...@cdninfo.fr
        QA Contact: contribteam@lists.contribs.org
  Target Milestone: ---

Created attachment 6048
  --> https://bugs.contribs.org/attachment.cgi?id=6048&action=edit
config report + fail2ban daemon log

Hello,

I've installed this contrib on a fresh sme-server 9.2 install, no customization
(just the script to list fail2ban activity).
After some days and check my iptables log, I notice that some ip should be
banned but it doesn't ; to test, I've put my "Orange LiveBox modem" in dmz mode
(same as bridge mode) and sme-server in "gateway-public" but fail2ban does
nothing.

File "default jail.conf" was empty (just [DEFAULT] line) then I expand template
(not custom) to fill it as shown on contrib web page but this does not solve
the issue.

There are many log from /var/log/fail2ban/daemon.log which is attached with
these lines :
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/fail2ban/server/filter.py", line 696,
in getFailures
    has_content = log.open()
  File "/usr/lib/python2.6/site-packages/fail2ban/server/filter.py", line 802,
in open
    self.__handler = open(self.__filename, 'rb')
IOError: [Errno 2] No such file or directory: '/var/log/secure'

Thank you for help

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to