Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    z-push fail2ban zimbrabackend

    Z-Push when using other backends
    2
    4
    1026
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Former User
      A Former User last edited by

      Hi @Manfred

      i have a question. I want to use fail2ban with z-push. With the kopano-backend this worked perfect, However with the zimbra-backend it does not?

      the failregex for fail2ban is not correct i think? it does not ban anything since i use zimbra backend

      failregex = IP: <HOST> failed to authenticate user

      I think we need a regex for this and then filter on the from=ip and httpcode-503

      14/04/2018 11:41:48 [ 2077] [ INFO] [#unknown] User-agent: 'Apple-iPad3C1/1307.36'
      14/04/2018 11:41:48 [ 2077] [FATAL] [#unknown] Exception: (ServiceUnavailableException) - Access denied. Proxy unable to reach user mailbox server
      14/04/2018 11:41:48 [ 2077] [DEBUG] [#unknown] LoopDetection->ProcessLoopDetectionTerminate()
      14/04/2018 11:41:48 [ 2077] [ INFO] [#unknown] cmd='Ping' memory='6.85 MiB/7.25 MiB' time='0.11s' devType='iPad' devId='q8frsj8sep7cb19q8in96f6qes' getUser='marcel' from='212.120.115.56' idle='0s' version='2.4.1+0' method='POST' httpcode='503' ```
      
      How can we do this?
      1 Reply Last reply Reply Quote 0
      • Manfred
        Manfred Kopano last edited by Manfred

        Hi ckruijntjens,

        I don’t have the failregex for the zimbra backend, but there’s a thread on fail2ban with zimbra: https://forum.kopano.io/topic/331/z-push-fail2ban-backend-unavailable. You could ask there what was the solution.
        This might be helpful as well: https://forum.kopano.io/post/517 if you want to try to figure it out yourself.

        Manfred

        1 Reply Last reply Reply Quote 0
        • A Former User
          A Former User last edited by

          @manfred

          Hi manfred thanx but zpush works better with kopano and i returned to kopano nowthat the core is working again!

          1 Reply Last reply Reply Quote 0
          • A Former User
            A Former User last edited by

            @manfred

            Hi manfred thanx but zpush works better with kopano and i returned to kopano nowthat the core is working again!

            1 Reply Last reply Reply Quote 0
            • First post
              Last post