Beiträge von pr_bond

    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 ?

    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

    Hi all,


    I add a disk, disk added
    But i can't mount :




    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 :

    Code
    502 Bad Gateway


    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



    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 ... :thumbdown:


    sorry for the inconvenience LOL

    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:/#

    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'