TsgcWebSocketFirewallMethods › UnbanIP

UnbanIP Method

Removes the active ban record for a single IP address so the client can reconnect on its next attempt.

Syntax

procedure UnbanIP(const aIP: string);

Parameters

NameTypeDescription
aIPconst stringIPv4 or IPv6 address whose ban should be lifted. If the IP is not currently banned the call is a no-op.

Remarks

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.

Example

// admin action from the management console
sgcWebSocketFirewall1.UnbanIP('203.0.113.45');

Back to Methods