fail2ban@server.localdomain isn't a good email address ! ?
Change email address
fail2ban@server.localdomain isn't a good email address ! ?
Change email address
Hi
I can port fail2ban to OMV3 but OMV3 is only for testing, no ?
What should he do to be compliant omv3 ?
fail2ban plugin aren't created on omv3 only, i think ?
I cast a glance of the forum sometimes
Hello
Your fail2ban service is not started or you don't activate it.
Activate it -> Fail2ban -> parameters -> Activer
In shell do :
# service fail2ban status
or
fail2ban-client status
What's the result ?
@cypour
Your Filter LoginFailureLogger don't exist ...
But i cant add a default subsonic Jail, add to todo list
see http://www.sublimigeek.fr/prot…es-auto-heberges-fail2ban
@marc_al
For a default openvpn Jail, i'am ok, add to todo list
see https://blogs.fsfe.org/stefan.…-openvpn-logins-fail2ban/
A lot of work ...
Add to todo list ...
Hi
For help, give more informations !!!
Fail2ban plugin worked for a while and now it no longer works, it's good ?
OR it never work ?
You need to active one or more jail.
In Diagnoctics -> Services -> Fail2ban Status
Bye
@Reed
>Has anyone configured a jail for login failures for the main OMV GUI?
No, OMV already has its own system (pam /etc/pam.d/openmediavault-webgui)
>I see the failure attempts appear in the auth.log, but no jails are configured to look for these by default.
I think you need to add pam jails (but it is not needed)
[pam-generic]
enabled = true
filter = pam-generic
port = all
banaction = iptables-allports
port = anyport
logpath = /var/log/auth.log
maxretry = 6
>Also, separate question. eXtplorer doesn't have a log that I can find. I'm assuming this means it would be impossible to for it to be used with fail2ban?
There are no log (i don't found it) and it's not possible to be used with fail2ban.
No log, no fail2ban
@Michelle_Br You need carry on, you 're nearly there.
php5-proctitle need to be compiled and installed see Howto
The link for proftpd-mod-vroot appear dead, sorry
The good : http://debian.asis.io/debian/p…ot_0.9.2-2%2bb2_amd64.deb
Howto updated
Hi all,
I add a disk, disk added
But i can't mount :
Erreur #6000:
exception 'OMVException' with message 'Failed to mount '046fb393-507c-43ba-b242-4969a10843c2': mount: can't find /media/046fb393-507c-43ba-b242-4969a10843c2 in /etc/fstab' in /usr/share/openmediavault/engined/module/fstab.inc:90
Stack trace:
#0 /usr/share/openmediavault/engined/rpc/config.inc(206): OMVModuleFsTab->startService()
#1 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
#2 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
#3 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('applyChanges', Array, Array)
#4 /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc(899): OMVRpc::exec('Config', 'applyChanges', Array, Array)
#5 [internal function]: OMVRpcServiceFileSystemMgmt->mount(Array, Array)
#6 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
#7 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('mount', Array, Array)
#8 /usr/sbin/omv-engined(500): OMVRpc::exec('FileSystemMgmt', 'mount', Array, Array, 1)
#9 {main}
Alles anzeigen
My /etc/fstab and /etc/openmediavaul/config.xml have no trace of disk
How omv find my disk ? I see it on storage -> filesystem
have you ever had this error ?
i see : Filesystem fstab mount problem
omv-mkconf fstab don't resolve the error
@Bambuleee
> Is it possible to unban IPs?
Yes manualy like : iptables -D fail2ban-XXXX -s IP -j DROP
Change XXX and IP
You need to clean your log file, if you don't want to be reban ...
To see iptables rules :
iptables -L -n
>It is possible to cinfigure fail2ban, that I only get an email at actually an IP is banned and not when server is started (I get mails like "The jail nginx-404 has been started successfully.")
"server" is started in same time as your host, and when your host run a lot of time, you don't receice email server is started beacause it is ever started ....
You can check your inbox mail where you restart fail2ban service :
Root# service fail2ban restart
I have just install OMV into VM with openmediavault-docker and i have an error :
after search
DockerUI container not exist
docker pull dockerui/dockerui:latest
docker run --restart=always -d -p 9200:9000 -v /var/run/docker.sock:/docker.sock --name dockerui dockerui/dockerui:latest -e="/docker.sock"
It's works now
ZitatAlles anzeigenlog on your omv system
go in to the config.php from owncloud like so:
Source Code
nano /media/UUID from the disk/owncloud/config/config.php
add code for example in Germany:
Source Code
'logtimezone' => 'Europe/Berlin',
'log_type' => 'owncloud' ,
'log_authfailip' => true,
save and go out from the config.php
make a filter for fail2ban:
Source Code
nano /etc/fail2ban/filter.d/owncloud.conf
copy for owncloud 8.1 the lines in the owncloud.conf:
Source Code
[Definition]
failregex = {"reqId":".*","remoteAddr":"<HOST>","app":"core","message":"Login failed: .*","level":2,"time":".*"}
The owncloud jail is included now for you
No fail2ban is not only for owncloud ..
Fail2ban is for ftp, ssh, apache, nginx ... a lot services
You should change ban time for jail you want.
900 / 60 = 15 min is right, you save and apply modification.
It Is strange, could you deactivate fail2ban and reactivate it.
See Status in : Diagnostic->services->Fail2ban
An old HP Workstation wx 4200 with :
root@prbond:/# lscpu
Architecture: i686
CPU op-mode(s): 32-bit
Byte Order: Little Endian
CPU(s): 1
On-line CPU(s) list: 0
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s): 1
Vendor ID: GenuineIntel
CPU family: 15
Model: 4
Stepping: 1
CPU MHz: 3199.905
BogoMIPS: 6399.81
L1d cache: 16K
L2 cache: 1024K
root@prbond:/#
it's too bad ...
sorry for the inconvenience LOL
Yes, see that...
Backports kernel installed, thanks for the fix,
But i can't install docker-engine :
root@prbond:/# uname -a
Linux prbond 3.16.0-0.bpo.4-586 #1 Debian 3.16.7-ckt11-1+deb8u3~bpo70+1 (2015-08-08) i686 GNU/Linux
root@prbond:/# apt-get install docker-engine
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Aucune version du paquet docker-engine n'est disponible, mais il existe dans la base
de données. Cela signifie en général que le paquet est manquant, qu'il est devenu obsolète
ou qu'il n'est disponible que sur une autre source
E: Le paquet « docker-engine » n'a pas de version susceptible d'être installée
root@prbond:/#
No problem, I can wait,
I can't install backports kernel :
Updating...
Install backports 3.16 kernel and headers
Reading package lists...
Building dependency tree...
Reading state information...
linux-base is already the newest version.
initramfs-tools is already the newest version.
initramfs-tools set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 73 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package linux-image-3.16.0-0.bpo.4-486
E: Couldn't find any package by regex 'linux-image-3.16.0-0.bpo.4-486'
E: Unable to locate package linux-headers-3.16.0-0.bpo.4-486
E: Couldn't find any package by regex 'linux-headers-3.16.0-0.bpo.4-486'