OSCam absichern (Ubuntu 18.04): Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 22: | Zeile 22: | ||
== Fail2Ban == | == Fail2Ban == | ||
<pre> | |||
sudo vi /etc/fail2ban/filter.d/oscam1.conf | |||
</pre> | |||
<pre> | |||
[Definition] | |||
failregex = (.)*(plain|encrypted) (.)*-client rejected \(invalid access\)$ | |||
ignoreregex = | |||
</pre> | |||
=== Links === | === Links === |
Version vom 12. Oktober 2022, 08:04 Uhr
Noch in Bearbeitung
FailBan (Bestandteil von OSCam)
sudo vi /usr/local/etc/oscam.conf
# failban failbancount = 0 # Anzahl der erlaubten Fehlversuche mit falschen Zugangsdaten. failbantime = 1440 # IP Adresse wird für 1440 Minuten (1 Tag) geblockt
Links
https://wiki.streamboard.tv/wiki/OSCam/de/Config/oscam.user#failban
https://wiki.streamboard.tv/wiki/OSCam/de/Config/oscam.conf#failbancount
Fail2Ban
sudo vi /etc/fail2ban/filter.d/oscam1.conf
[Definition] failregex = (.)*(plain|encrypted) (.)*-client rejected \(invalid access\)$ ignoreregex =
Links
https://www.digital-eliteboard.com/threads/oscam-fail2ban-nicht-internes-failban.483625/
Zurück zu OSCam-Konfiguration, Fail2Ban