Your IP : 10.1.73.149


Current Path : /opt/cpguard/cpglfd/configs/jails.available/
Upload File :
Current File : //opt/cpguard/cpglfd/configs/jails.available/webuzo.yaml

jails:
  - name: "webuzo-auth"
    enabled: true
    log_paths:
      - "/usr/local/emps/var/log/web.access.log" # Access Logs (Standard path)

    rules:
      # Matches: Webuzo / Control Panel login submissions
      # Example: 103.161.144.143 ... "POST /.../index.php?act=login HTTP/1.1" 200
      - regexp: "^(?P<ip>\\d+\\.\\d+\\.\\d+\\.\\d+) - - .* \"POST .*/index\\.php\\?act=login.* HTTP/\\d\\.\\d\" 200 "

    max_retries: 5
    find_time: "1m"
    ban_time: "1h"

    actions:
      - name: "cpgblock-webuzo"
        ban_command: '/usr/bin/cpgcli ip --temp-block {{.IP}} --reason "Blocked by {{.JailName}} due to more than {{.MaxRetry}} abusive access within {{.FindTime}} seconds" --extra " LogFile: {{.LogPath}} | Reason: {{.LogLine}}"'
        unban_command: "/usr/bin/cpgcli ip --temp-block {{.IP}} --remove"