Re: [CentOS] fail2ban problem new installation

2015-12-20 Thread Paul Heinlein
On Sat, 19 Dec 2015, Günther J. Niederwimmer wrote: Hello, I have a big problem with fail2ban and firewalld on my new system. I have a server running (CentOS 7.1) and run a Update to 7.2 on this system all is working ? BUT I install a new system with CentOS 7 1511 on this systems fail2ban

Re: [CentOS] fail2ban problem new installation

2015-12-19 Thread Tony Mountifield
In article <1612557.81lQ3GSSy2@techz>, Günther J. Niederwimmer wrote: > Hello, > > I have a big problem with fail2ban and firewalld on my new system. > > I have a server running (CentOS 7.1) and run a Update to 7.2 on this system > all is working ? > > BUT I install a new

Re: [CentOS] fail2ban problem new installation CentOS 1511

2015-12-19 Thread Günther J . Niederwimmer
Hello, Am Saturday 19 December 2015, 09:37:14 schrieb Tony Mountifield: > In article <1612557.81lQ3GSSy2@techz>, > > Günther J. Niederwimmer wrote: > > Hello, > > > > I have a big problem with fail2ban and firewalld on my new system. > > > > I have a server running (CentOS

[CentOS] fail2ban problem new installation

2015-12-19 Thread Günther J . Niederwimmer
Hello, I have a big problem with fail2ban and firewalld on my new system. I have a server running (CentOS 7.1) and run a Update to 7.2 on this system all is working ? BUT I install a new system with CentOS 7 1511 on this systems fail2ban don't work anymore. I have this error or more, in the

[CentOS] fail2ban problem

2013-04-10 Thread Nikos Gatsis - Qbit
Hello list I'm trying to setup fail2ban specially sasl action but I'm facing problems. I have centos-release-5-9.el5.centos.1 and fail2ban-0.8.7.1-1.el5.rf installed with selinux disabled The errors I get are: INFO Creating new jail 'sasl-iptables' fail2ban.comm : WARNING Invalid command:

Re: [CentOS] fail2ban problem

2013-04-10 Thread Banyan He
Try strace to follow all fork/exec to see which command is invalid. Or, debug log? Banyan He Blog: http://www.rootong.com Email: ban...@rootong.com On 4/10/2013 6:06 PM, Nikos Gatsis - Qbit wrote: Hello list I'm trying to setup fail2ban specially sasl action but I'm facing

Re: [CentOS] fail2ban problem

2013-04-10 Thread Banyan He
This doesn't look enough for tracking. How about strace? Did you find anything interesting? Banyan He Blog: http://www.rootong.com Email: ban...@rootong.com On 4/10/2013 6:52 PM, Nikos Gatsis - Qbit wrote: debug: fail2ban.server : INFO Changed logging target to

Re: [CentOS] fail2ban problem

2013-04-10 Thread Nikos Gatsis - Qbit
yes it doesn't! i have never work with strace. Any suggestions? thank you On 10/4/2013 2:10 μμ, Banyan He wrote: This doesn't look enough for tracking. How about strace? Did you find anything interesting? Banyan He Blog: http://www.rootong.com Email: ban...@rootong.com On

Re: [CentOS] fail2ban problem

2013-04-10 Thread Banyan He
strace -s 512 -f -F -p pid e.g. strace -s 512 -f -F -p 19420 You can use -o output to redirect the output to a file. That would be easier to check later then. Banyan He Blog: http://www.rootong.com Email: ban...@rootong.com On 4/10/2013 7:19 PM, Nikos Gatsis - Qbit wrote: yes it

Re: [CentOS] fail2ban problem

2013-04-10 Thread Nikos Gatsis - Qbit
I run strace -s 512 -f -F -p 9406 9406 is fail2ban-server pid 9406 poll([{fd=3, events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL}], 1, 3) = 0 (Timeout) ... I think that the problem is not in server but the way actions attached to iptables. Python maybe? Thanks again... On 10/4/2013 2:30 μμ,

Re: [CentOS] fail2ban problem

2013-04-10 Thread SilverTip257
On Wed, Apr 10, 2013 at 6:06 AM, Nikos Gatsis - Qbit ngat...@qbit.grwrote: Hello list I'm trying to setup fail2ban specially sasl action but I'm facing problems. I have centos-release-5-9.el5.centos.1 and fail2ban-0.8.7.1-1.el5.rf I'm using fail2ban from EPEL since I didn't have any luck

[CentOS] Fail2ban problem

2012-03-18 Thread Timothy Murphy
If there is a serious power failure, eg during an electric storm, and the internet goes down then my CentOS-6.2 server seems to take an inordinate time, maybe forever, to get past fail2ban. It is as though there is an extremely long - maybe an hour - timeout if fail2ban cannot connect to the

Re: [CentOS] Fail2ban problem

2012-03-18 Thread Patrick Lists
On 03/18/2012 12:17 PM, Timothy Murphy wrote: If there is a serious power failure, eg during an electric storm, and the internet goes down then my CentOS-6.2 server seems to take an inordinate time, maybe forever, to get past fail2ban. It is as though there is an extremely long - maybe an

Re: [CentOS] Fail2ban problem

2012-03-18 Thread Thomas Göttgens
Hi Timothy, fail2ban will go through all defined logfiles during startup. If they are large, it will take some time. You may be able to speed that process up by installing a file alteration monitor like gamut. fail2ban will use it if it finds it. -- Mit freundlichen Grüßen Thomas Göttgens

Re: [CentOS] Fail2ban problem

2012-03-18 Thread Timothy Murphy
Patrick Lists wrote: If there is a serious power failure, eg during an electric storm, and the internet goes down then my CentOS-6.2 server seems to take an inordinate time, maybe forever, to get past fail2ban. It is as though there is an extremely long - maybe an hour - timeout if fail2ban

Re: [CentOS] Fail2ban problem

2012-03-18 Thread Timothy Murphy
Thomas Göttgens wrote: fail2ban will go through all defined logfiles during startup. If they are large, it will take some time. You may be able to speed that process up by installing a file alteration monitor like gamut. fail2ban will use it if it finds it. Thanks very much for your

Re: [CentOS] Fail2ban problem

2012-03-18 Thread Patrick Lists
On 03/18/2012 02:08 PM, Timothy Murphy wrote: Patrick Lists wrote: If there is a serious power failure, eg during an electric storm, and the internet goes down then my CentOS-6.2 server seems to take an inordinate time, maybe forever, to get past fail2ban. It is as though there is an

Re: [CentOS] Fail2ban problem

2012-03-18 Thread Timothy Murphy
Patrick Lists wrote: Just a wild guess but could it be that fail2ban is trying to resolve all the IP addresses in it's database? Iirc there is a config option called use_dns. Try setting it to no or warn. Thanks for the suggestion. But I couldn't find any option like that anywhere below

[CentOS] fail2ban problem on shutdown

2011-05-08 Thread Timothy Murphy
Another post on fail2ban reminded me of a problem I had in Italy, when the ADSL connection kept dropping, and only came back on re-booting. (I solved the problem in the end by getting a Billion modem/router in place of the no-name one supplied by Telecom Italia.) It seems that if there was no