Re: Fail2ban no longer working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



El jue, 31-08-2017 a las 21:50 +0200, Roger Grosswiler escribió:
> hi,
> 
> thanks, yes i saw the bug, even if its quite old. i didnt find where
> to change that number.
> 
> i have 7 jails, none of them is starting, just one main thread, which
> does not seem to be a jail.
> 
> the service is running as yours does. but there is no jail at all, i
> think, as i get no mail notification about any jail.
> 
> i use mail notification, do you?
I do get mail notifcations and my jail/s work.

my /etc/fail2ban/jail.local looks like the following

[DEFAULT]
findtime  = 86400
bantime = 86400
banaction = firewallcmd-ipset
backend = systemd
sender = <actual email>
destemail = <actual email>
action = %(action_mwl)s

[sshd]
enabled = true


I also have a few other jails enabled where appropriate. I have the
following packages installed

fail2ban-systemd-0.9.7-2.fc26.noarch
fail2ban-server-0.9.7-2.fc26.noarch
fail2ban-firewalld-0.9.7-2.fc26.noarch
fail2ban-sendmail-0.9.7-2.fc26.noarch

Dennis

> Am 31. August 2017 21:05:50 MESZ schrieb Daniel Laczi <daniell1@t-
> online.de>:
> > Hi,
> > Mine works fine:
> > ● fail2ban.service - Fail2Ban Service
> >    Loaded: loaded (/usr/lib/systemd/system/fail2ban.service;
> > enabled; vendor preset: disabled)
> >    Active: active (running) since Tue 2017-06-27 23:46:09 CEST; 2
> > months 4 days ago
> >      Docs: man:fail2ban(1)
> >   Process: 698 ExecStart=/usr/bin/fail2ban-client -x start
> > (code=exited, status=0/SUCCESS)
> >  Main PID: 977 (fail2ban-server)
> >     Tasks: 3 (limit: 4915)
> >    CGroup: /system.slice/fail2ban.service
> >            └─977 /usr/bin/python3 -s /usr/bin/fail2ban-server -s
> > /var/run/fail2ban/fail2ban.sock -p /var/run/fail2ban/fail2ban.pid
> > -x -b
> > 
> > Jun 27 23:45:50 servername systemd[1]: Starting Fail2Ban Service...
> > Jun 27 23:46:06 servername fail2ban-client[698]: 2017-06-27
> > 23:46:06,491 fail2ban.server         [924]: INFO    Starting
> > Fail2ban v0.9.7
> > Jun 27 23:46:06 servername fail2ban-client[698]: 2017-06-27
> > 23:46:06,508 fail2ban.server         [924]: INFO    Starting in
> > daemon mode
> > Jun 27 23:46:09 servername systemd[1]: Started Fail2Ban Service.
> > Same kernel.
> > However I have only one jail. How many jails do you have? Does it
> > start if you reduce the number of jails? Have you seen this: https:
> > //github.com/fail2ban/fail2ban/issues/969 Unfortunately the bug is
> > still open...
> > Am 31.08.2017 um 07:55 schrieb Roger Grosswiler:
> > > Hello,
> > > Release: Linux stbarth 4.12.8-300.fc26.armv7hl #1 SMP Thu Aug 17
> > > 18:39:25 UTC 2017 armv7l armv7l armv7l GNU/Linux
> > > Fail2ban: fail2ban.noarch  0.9.7-2.fc26
> > > ...and some logs...
> > > 
> > > Aug 31 07:53:55 stbarth systemd[1]: Started Fail2Ban Service.
> > > Aug 31 07:53:55 stbarth fail2ban-client[2887]: ERROR  NOK:
> > > ("can't start new thread",)
> > > Aug 31 07:53:55 stbarth fail2ban-client[2887]: ERROR  NOK:
> > > ("can't start new thread",)
> > > Aug 31 07:53:55 stbarth fail2ban-client[2887]: ERROR  NOK:
> > > ("can't start new thread",)
> > > Aug 31 07:53:55 stbarth fail2ban-client[2887]: ERROR  NOK:
> > > ("can't start new thread",)
> > > Aug 31 07:53:55 stbarth fail2ban-client[2887]: ERROR  NOK:
> > > ("can't start new thread",)
> > > Aug 31 07:53:55 stbarth fail2ban-client[2887]: ERROR  NOK:
> > > ("can't start new thread",)
> > > Aug 31 07:53:55 stbarth fail2ban-client[2887]: ERROR  NOK:
> > > ("can't start new thread",)
> > > Aug 31 07:53:55 stbarth fail2ban-client[2887]: ERROR  NOK:
> > > ("can't start new thread",)
> > > Aug 31 07:53:55 stbarth fail2ban-client[2887]: ERROR  NOK:
> > > ("can't start new thread",)
> > > Aug 31 07:53:55 stbarth fail2ban-client[2887]: ERROR  NOK:
> > > ("can't start new thread",)
> > > Aug 31 07:53:55 stbarth fail2ban-client[2887]: ERROR  NOK:
> > > ("can't start new thread",)
> > > Aug 31 07:53:55 stbarth fail2ban-client[2887]: ERROR  NOK:
> > > ("can't start new thread",)
> > > Aug 31 07:53:51 stbarth fail2ban-client[2887]: 2017-08-31
> > > 07:53:51,542 fail2ban.server         [2888]: INFO    Starting in
> > > daemon mode
> > > Aug 31 07:53:51 stbarth fail2ban-client[2887]: 2017-08-31
> > > 07:53:51,540 fail2ban.server         [2888]: INFO    Starting
> > > Fail2ban v0.9.7
> > > Aug 31 07:53:48 stbarth systemd[1]: Starting Fail2Ban Service...
> > > Thanks!
> > > Roger
> > >  
> > > Am 2017-08-30 16:17, schrieb Peter Robinson:
> > > > On Wed, Aug 30, 2017 at 3:12 PM, Roger Grosswiler <roger@gwch.n
> > > > et> wrote: 
> > > > > Hi,
> > > > > 
> > > > > is someone else experiencing problems? with fail2ban and
> > > > > systemd?
> > > > > 
> > > > > Mine doesn't start the jails, client itself is running. Log
> > > > > says, it cannot
> > > > > create a separate child per jail.
> > > >  
> > > > What release/version?
> > > > _______________________________________________
> > > > arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx
> > > > To unsubscribe send an email to arm-leave@lists.fedoraproject.o
> > > > rg
> > >  
> > > 
> > > _______________________________________________
> > > arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx
> > > To unsubscribe send an email to arm-leave@xxxxxxxxxxxxxxxxxxxxxxx
> >  
> 
> _______________________________________________
> arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to arm-leave@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to arm-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM (Vger)]     [Linux ARM]     [ARM Kernel]     [Fedora User Discussion]     [Older Fedora Users Discussion]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

Powered by Linux