You only need the systemd for fail2ban if that is how Centos is set up.
Systemd is a replacement for SysV,. It also has some basic security and
a replacement for syslog built in. I don't know if it is better but that
is what came out of the box for Fedora so that is what I use. The log
files are stored in a binary format in journal files and are accessed
with the journalctl application. The use dydtemd backend in fail2ban
uses a python package to access the journal. since the error is "access
denied " the usually means the file you are looking for is there but the
account you are using does not have read access for it. If Selinux is
causing the access denied, the quick way to test is use setenforce 0. If
after that if you still can not access the files then the problem is
either with you group assignment for file permissions.
On Sun, 2015-07-12 at 02:37 -0700, E.B. wrote:
> >Are you running SElinux?
>
> For me installed on CentOS 7 without special attention to SELinux.
> Saw only one strange AVC for iptables to read http logs, maybe for
> email notify. But basic operation fine out of the box.
> But I didn't try the fail2ban-systemd package. Does it change the
> default polling method? is it better in some way?
>
> OP post your AVCs or other log. Try with SElinux disable to know
> if thats your troulbe.
>
> >On Sat, 2015-07-11 at 22:09 -0400, Ryan Milton wrote:
> >> I am very new to fail2ban, even newer to Centos 7.
> >>
> >>
> >> I understand that there are some bugs in getting fail2ban working.
> >> However, some of the work arounds have not worked for me.
> >>
> >>
> >> EG:
> >>
> >>
> >> http://blog.iopsl.com/fail2ban-on-centos-7-to-protect-ssh/#comment-28
>
>
> ------------------------------------------------------------------------------
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
> _______________________________________________
> Fail2ban-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fail2ban-users
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Fail2ban-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fail2ban-users