Retrieving Fail2Ban Settings

Use the get-settings operation to retrieve information about Fail2Ban settings.

In this chapter:

Samples

 

Samples

Request package looks like:

<packet>
<ip-ban>
  <get-settings/>
</ip-ban>
</packet>

Response:

<packet version="1.6.7.0">
  <ip-ban>
    <get-settings>
      <result>
        <status>ok</status>
        <settings>
          <ban-period>101</ban-period>
          <ban-time-window>120</ban-time-window>
          <max-retries>1</max-retries>
        </settings>
      </result>
    </get-settings>
  </ip-ban>
</packet>
 

Leave your feedback on this topic here

If you have questions or need support, please visit the Plesk forum or contact your hosting provider.
The comments below are for feedback on the documentation only. No timely answers or help will be provided.