TsgcWebSocketFirewallMethods › ClearBans

ClearBans Method

Removes every active ban from the firewall, immediately allowing previously blocked IPs to reconnect (subject to the other firewall checks).

Syntax

procedure ClearBans;

Remarks

Clears bans produced by manual BanIP calls as well as those created automatically by BruteForce and ThreatScore auto-ban. Tracking data (attempt counts, threat scores, rate-limit windows) is not affected; call ClearTracking to reset that state as well. The operation is thread-safe.

Example

// wipe every active ban at start-up
sgcWebSocketFirewall1.ClearBans;

Back to Methods