Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Intrusion Detection and Prevention
»
Suricata as fail2ban replacement
« previous
next »
Print
Pages: [
1
]
Author
Topic: Suricata as fail2ban replacement (Read 6867 times)
ruggerio
Sr. Member
Posts: 295
Karma: 11
Suricata as fail2ban replacement
«
on:
September 04, 2018, 12:12:39 pm »
Hi,
Fail2ban is tool, which detects e.g. bruteforce attacks to ssh, mailservers or equal.
My question is, if exist rulesets for suricata, which could also block ip's according to the attach pattern (e.g. 5 logins from the same source within 5 minutes or so...it would not be able to differ between successful or unsuccessful)
Thanks,
Roger
Logged
juliocbc
Sr. Member
Posts: 332
Karma: 12
Re: Suricata as fail2ban replacement
«
Reply #1 on:
September 17, 2018, 12:45:48 am »
Hello Ruggerio,
I think that will be done better with some HostIPS like OSSEC, for the bruteforce purpose.
Cheers!
Logged
Cloudfence Open Source Team
ruggerio
Sr. Member
Posts: 295
Karma: 11
Re: Suricata as fail2ban replacement
«
Reply #2 on:
September 18, 2018, 08:52:46 am »
Yes, you are right, but it would be nice to have it centralized.
If it is not possible with Suricata, why not thinking about:
- Having a syslog-server on the opnsense-machine
- sending log-entries to opnsense
- opnsense having kind of fail2ban running and checking for the logs, blocking the offending ip's generally
instead of having each machine having its own IPS.
Logged
juliocbc
Sr. Member
Posts: 332
Karma: 12
Re: Suricata as fail2ban replacement
«
Reply #3 on:
September 18, 2018, 12:32:56 pm »
Seems to be a nice solution!
OSSEC have a agentless deployment too, and the advantage of it, in my point o view, is it can do more things like Filesystem Integrity Monitor, a lot of rulesets for log monitoring, etc.
Logged
Cloudfence Open Source Team
Julien
Hero Member
Posts: 666
Karma: 33
Re: Suricata as fail2ban replacement
«
Reply #4 on:
September 30, 2018, 11:21:21 pm »
i've been looking for this for long time.
is this OSSEC already availble in the packages ?
Logged
OPNsense 23.1.7_3-amd64
FreeBSD 13.1-RELEASE-p7
OpenSSL 1.1.1t 7 Feb 2023
ruggerio
Sr. Member
Posts: 295
Karma: 11
Re: Suricata as fail2ban replacement
«
Reply #5 on:
October 03, 2018, 01:12:34 pm »
I don't think so. I will make a request on github, lets wait on the opinion of the devs.
I will link the request to this thread.
on github:
https://github.com/opnsense/plugins/issues/887
«
Last Edit: October 03, 2018, 01:20:44 pm by ruggerio
»
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Intrusion Detection and Prevention
»
Suricata as fail2ban replacement