This interface provides the Autoban IP access rule BannedIPs property.
rules = oSite.GetIPAccessRules()
For Each key In rules
If key.type = 0 Then
WScript.echo "AutoBan"
autoban = key.BannedIPs
For Each key2 In autoban
WScript.echo "Address " & CStr(key2.address)
WScript.echo "Banned " & CStr(key2.banned)
WScript.echo "Permanently " & CStr(key2.permanently)
WScript.echo "Expires " & CStr(key2.expires)
WScript.echo "Reason " & CStr(key2.reason)
Next
End if
Next
Members |
How it's used |
Applicable Version |
Property BannedIPs As Variant read-only |
HRESULT BannedIPs( [out, retval] VARIANT* pvarBannedIPs); |
EFT Server v6.3.0 and later |
Property type As IPAccessRuleType read-only |
HRESULT type( [out, retval] IPAccessRuleType* pVal); |
EFT Server v6.3.0 and later |
ICIBannedIP - Represents an entry in an IP address autoban list
AddIPAccessRule - Adds allowed (true) or denied (false) IP mask for the client
GetIPAccessRules - Retrieves an array of client/template IP Access rules
GetLimitAccessByIP - Determines if the IP Access Restriction List is enabled on the Settings Template or user account
IPAccessAllowedDefault - Set or retrieve whether user or Settings Template IP access settings allow or deny access by default (if no rule match)
MoveIPAccessRule - Change allowed IP access rule position
ICIIPAccessRule - The base interface for IP address access rules
ICIManualIPAccessRule - Represents an IP address access rule that was added manually
AddIPAccessRule - Adds allowed or denied IP mask for administration
GetAdminIPs - Retrieve an array of IP addresses for the computer on which the Server is running
GetIPAccessRules - Retrieve an array of administration IP address access rules
GetLocalIP - Given an index, retrieves a Local IP address
IPAccessAllowedDefault - Retrieve or specify the default IP Access restriction list
ListenIP - Retrieve or specify the server's IP address
ListenIPs - Retrieve or specify the IP addresses on which the server listens
MoveIPAccessRule - Change allowed administration IP access rule position.
RemoveIPAccessRule - Remove allowed or denied IP mask for administration
UnbanIP - Remove denied IP mask from Autoban list for administration
AddIPAccessRule - Adds allowed or denied IP mask for the Site
AutoBanIPsPermanently - Retrieve or specify whether to automatically ban IP addresses permanently
BanIPForInvalidLoginAttempts - Retrieve or specify whether to ban an IP address after excessive invalid login attempts with existing username and wrong password.
BanIPForInvalidLoginAttemptsWithExistingUsername - When banning an IP address for invalid login attempts, specify whether to count incorrect username and correct username + incorrect password or only incorrect username attempts.
BanIPOnDOS - Retrieve or specify whether to ban an IP address after excessive invalid commands
GetIP - Retrieves the index of the Site Listen IP
GetIPAccessRules - Retrieves an array of allowed IP masks.
IPAccessAllowedDefault - Retrieve or specify whether IP access is allowed by default
ListenIPs - Retrieve or specify the IP addresses on which the Site listens
MoveIPAccessRule - Change allowed or denied IP mask position for the Site
RemoveIPAccessRule - Remove allowed or denied IP mask for the Site
SetIP - Changes the index of Listen IP
UnbanIP - Removes denied IP mask from the Autoban list for the Site
IPAccessRuleType enum