TsgcWebSocketFirewall › Methods › UnbanIP
Removes the active ban record for a single IP address so the client can reconnect on its next attempt.
procedure UnbanIP(const aIP: string);
| Name | Type | Description |
|---|---|---|
aIP | const string | IPv4 or IPv6 address whose ban should be lifted. If the IP is not currently banned the call is a no-op. |
UnbanIP removes both manual (BanIP) and automatic (BruteForce / ThreatScore auto-ban) entries. It does not reset the threat score or the BruteForce attempt counter; follow with ResetThreatScore or ClearTracking to forgive the history too. The call is thread-safe and safe to invoke from UI threads for admin dashboards.
// admin action from the management console
sgcWebSocketFirewall1.UnbanIP('203.0.113.45');