try apt-get install fail2ban
Another question: Does "port: ftp" works, if i changed the port from default?
Yes it works because fail2ban looks at the logs for failed logins and then puts the ip in iptables with a drop on all ports.
i have been testing and found a good and reliable way to get fail2ban banning omv failed logins and own cloud logins.
i will put it here in a little while.
It would certainly be nice is we could add and alter filters in the webgui
fail2ban is working now
i have one more feature request: when adding a jail write it to jail.local instead of jail.conf in that way when fail2ban get's updated your jails still work after the upgrade because jail.conf get's overwritten by the upgrade
the plugin can't i believe,
but i think that the nut package can but only from command line.
output of dpkg -l | grep openmediavault
ii openmediavault 1.17 all Open network attached storage solutionii openmediavault-clamav 1.3 all OpenMediaVault ClamAV pluginii openmediavault-fail2ban 1.1.1 all OpenMediaVault Fail2ban pluginii openmediavault-forkeddaapd 1.2 all OpenMediaVault forked-daapd (DAAP server) pluginii openmediavault-keyring 0.3 all GnuPG archive keys of the OpenMediaVault archiveii openmediavault-mysql 1.0.16 all MySQL plugin for OpenMediaVault.ii openmediavault-nginx 1.3 all Nginx plugin for OpenMediaVault.ii openmediavault-omvextrasorg 1.17 all OMV-Extras.org Package Repositories for OpenMediaVaultii openmediavault-plexmediaserver 1.0.10 all OpenMediaVault Plex Media Server pluginii openmediavault-sabnzbd 1.0.5 all OpenMediaVault SABnzbd pluginii openmediavault-sensors 1.0.5 all Provides a cpu temperature monitorii openmediavault-subsonic 1.0.5 all A web-based music streamer, jukebox and Podcast receiverii openmediavault-virtualbox 1.2 all VirtualBox plugin for OpenMediaVault.
output of dpkg -l | grep openmediavault-fail2ban
ii openmediavault-fail2ban 1.1.1 all OpenMediaVault Fail2 ban plugin
output of service fail2ban status
Status of authentication failure monitor:fail2ban is not running ... failed!
reinstall does not work even removing with dpkg -P openmediavault-fail2ban and reinstalling after.
i have confirmed that the files are there when installed. so i don't think i miss any files.
after a few more try's i got it working finally.
one more question, where do i alter or add the filters?
download .deb from subsonic website put it somewhere on your omv machine then in terminal goto dir where you put subsonic and type dpkg -i sub hit tab then enter
I got this error as well, i got around it by installing subsonic by hand after i installed the plugin.
fail2ban won't start this is from my openmediavault web-gui error log.
2015/04/06 20:30:21 [error] 22527#0: *6137 open() "/var/www/openmediavault/js/omv/module/admin/diagnostic/service/plugin/Fail2ban.js" failed (2: No such file or directory), client: ::ffff:192.168.2.6, server: openmediavault-webgui, request: "GET /js/omv/module/admin/diagnostic/service/plugin/Fail2ban.js HTTP/1.1", host: "192.168.2.253:8888", referrer: "http://192.168.2.253:8888/"
2015/04/06 20:30:21 [error] 22527#0: *6141 open() "/var/www/openmediavault/js/omv/module/admin/diagnostic/log/plugin/Fail2ban.js" failed (2: No such file or directory), client: ::ffff:192.168.2.6, server: openmediavault-webgui, request: "GET /js/omv/module/admin/diagnostic/log/plugin/Fail2ban.js HTTP/1.1", host: "192.168.2.253:8888", referrer: "http://192.168.2.253:8888/"
how do i fix this?
how do you add failed login attempts from openmediavault web gui?
Did you set up your nginx plugin correct?
The best way is to do it like tekkb said in his guide,
that's the way i did it and is working like a charme (owncloud 7)
how did you make your ssl cert?
with your local ip or with the full domainname in the cn field?
and did you restart owncloud after the change?
The trusted domains statement in config.php is:
0 => '192.168.1.49','sockmonster.asuscomm.com/owncloud'
your second part after the , needs to be on a new line like this:
0 => '192.168.1.49:90
1 => 'sockmonster.asuscomm.com/owncloud:90'
i think it will work after that.
if you went from 0.5 to 0.6 your database isn't compatible if tou change the location of your database folder it works only then you have to rebuild all your section's in plexserver
on his last install he is just installing virtualbox quote" root@homesrvr:~# apt-get install virtualbox" it must be apt-get install openmediavault-virtualbox
No that is not the error because virtualbox can't start land i can't start phpvirtualbox tot add a machine
i resolved the above error by adding user vbox to vboxusers and give it the right password.
now when i try to enable i get a popup saying in the titlebar error and the message is " an error has occurred"
i reinstalled and cleaned up the leftovers now when i try to enable virtualbox i get the following errorCodeexception 'OMVException' with message 'Failed to execute command 'sudo omv-mkconf virtualbox 2>&1': No passwd entry for user 'vbox'' in /usr/share/openmediavault/engined/module/virtualbox.inc:86#3 /usr/share/php/openmediavault/rpcservice.inc(158): OMVRpcServiceAbstract->callMethod('applyChanges', Array, Array)#4 /usr/share/openmediavault/engined/rpc/config.inc(224): OMVRpcServiceAbstract->callMethodBg('applyChanges', Array, Array)#7 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('applyChangesBg', Array, Array)
this i get when i reinstallCodeUninstalling old VirtualBox DKMS kernel modulesrmdir: failed to remove `': No such file or directory--2014-07-29 19:49:49-- http://download.virtualbox.org/virtualbox/4.3.14/Oracle_VM_VirtualBox_Extension_Pack-4.3.14.vbox-extpackLocation: http://dlc.sun.com.edgesuite.net/virtualbox/4.3.14/Oracle_VM_VirtualBox_Extension_Pack-4.3.14.vbox-extpack [following]--2014-07-29 19:49:51-- http://dlc.sun.com.edgesuite.net/virtualbox/4.3.14/Oracle_VM_VirtualBox_Extension_Pack-4.3.14.vbox-extpackConnecting to dlc.sun.com.edgesuite.net (dlc.sun.com.edgesuite.net)|126.96.36.199|:80... connected.2014-07-29 19:49:52 (9.32 MB/s) - `/tmp/Oracle_VM_VirtualBox_Extension_Pack-4.3.14.vbox-extpack' saved [15890382/15890382]insserv: warning: current start runlevel(s) (empty) of script `openmediavault-virtualbox' overrides LSB defaults (2 3 4 5).insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `openmediavault-virtualbox' overrides LSB defaults (0 1 6).