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 comments on this page

Leave your feedback or question on this documentation topic below. For technical assistance, contact your hosting service provider or submit a request to Plesk support. Suggest new features for Plesk here. Discuss general questions on the Plesk forum. All offtopic comments will be removed.