Jump to:navigation, search
Wiki





































Syntax for the CLI command spf2bd (FailToBan)

Last adaption: 06.2024

New:
  • Layout adjustments
notempty
This article refers to a Beta version
Access: UTM-IP:Port or UTM-URL:Port
Port as configured at Network / Appliance Settings / Webserver
Default-Port: 11115
i.e.: https://utm.ttt-point.de:11115
Default: https://192.168.175.1:11115
Extras CLI

Command Parameter Description Example

spf2bd

spf2bd get
spf2bd get
Shows the services that are protected by FailToBan spf2bd get
spf2bd set
spf2bd set
Changes parameters for monitoring services spf2bd set service "sshd" ban_time "3600"
service Service to which the monitoring applies
Parameter Description
sshd Access via SSH
admin-ui Access to the Admin Interface (Default: https://192.168.175.1:11115)
user-ui Access to the user interface (Default: https://192.168.175.1:443)
smtp Access for the smtp server (Default: Port 25)
ban_time Duration of blocking for an IP address
max_try Number of attempts before access is blocked for an IP address
try_time Time period within which the trials are counted
spf2bd new
spf2bd new
Adds a service for monitoring spf2bd new service "sshd" ban_time "3600" max_try "3" try_time "86400"
service Service to which the monitoring applies
Parameter Description
sshd Access via SSH
admin-ui Access to the Admin Interface (Default: https://192.168.175.1:11115)
user-ui Access to the user interface (Default: https://192.168.175.1:443)
smtp Access for the smtp server (Default: Port 25)
ban_time Duration of blocking for an IP address
max_try Number of attempts before access is blocked for an IP address
try_time Time period within which the trials are counted
spf2bd del
spf2bd del
Removes the protection of a service spf2bd del service "sshd"
service Service to which the monitoring applies
Parameter Description
sshd Access via SSH
admin-ui Access to the Admin Interface (Default: https://192.168.175.1:11115)
user-ui Access to the user interface (Default: https://192.168.175.1:443)
smtp Access for the smtp server (Default: Port 25)

spf2bd ip

spf2bd ip get
spf2bd ip get
Shows IP addresses for which access to certain services is blocked and the duration of the remaining block spf2bd ip get
spf2bd ip remove
spf2bd ip remove
Cancels the ban on an IP or service. spf2bd ip remove service "user-ui" ip "192.168.175.86"
service Service to which the monitoring applies
Parameter Description
sshd Access via SSH
admin-ui Access to the Admin Interface (Default: https://192.168.175.1:11115)
user-ui Access to the user interface (Default: https://192.168.175.1:443)
smtp Access for the smtp server (Default: Port 25)
ip IP address to be released