TsgcWebSocketFirewall › Properties

TsgcWebSocketFirewall Properties

Published properties grouped by purpose, followed by the full alphabetical list.

Core

NameDescription
EnabledMaster on/off switch for the whole firewall; when False every check is bypassed and all connections/messages are allowed.

Rules

NameDescription
BlacklistDeny list of IP addresses and CIDR ranges whose connections are rejected before any other check.
WhitelistAllow list of trusted IP addresses and CIDR ranges; whitelisted IPs bypass all other firewall checks.
CustomRulesUser-defined rule engine that combines IP, country, message and violation-count conditions with a configurable action.

Attack protection

NameDescription
BruteForceTracks failed authentication attempts per IP and bans addresses that exceed a configurable threshold within a time window.
SQLInjectionScans inbound messages for SQL injection patterns and denies, allows or logs them according to Action.
XSSScans inbound messages for cross-site scripting patterns and denies, allows or logs them according to Action.
PathTraversalScans inbound messages for directory traversal patterns and denies, allows or logs them according to Action.
CommandInjectionScans inbound messages for shell command injection patterns and denies, allows or logs them according to Action.
PayloadLimitRejects inbound messages whose size exceeds MaxSizeBytes to protect against oversized payload attacks.
WebSocketProtectionWebSocket-specific validation for allowed origins, maximum frame size and allowed subprotocols.

Rate limiting

NameDescription
RateLimitCaps the number of concurrent connections a single IP may open within a sliding time window.
FloodProtectionCaps the number of messages per second a single IP may send to protect against message-flood attacks.

Threat system

NameDescription
ThreatScorePer-IP cumulative risk score that auto-bans addresses once they cross AutoBanThreshold.
BanEscalationProgressive ban duration that grows per repeated offence by stepping through the Levels list.

Geo-location

NameDescription
GeoIPCountry-based filter that accepts or rejects connections using ISO country codes resolved from a GeoIP database.

All Properties (alphabetical)

NameDescription
BanEscalationProgressive ban duration that grows per repeated offence by stepping through the Levels list.
BlacklistDeny list of IP addresses and CIDR ranges whose connections are rejected before any other check.
BruteForceTracks failed authentication attempts per IP and bans addresses that exceed a configurable threshold within a time window.
CommandInjectionScans inbound messages for shell command injection patterns and denies, allows or logs them according to Action.
CustomRulesUser-defined rule engine that combines IP, country, message and violation-count conditions with a configurable action.
EnabledMaster on/off switch for the whole firewall; when False every check is bypassed and all connections/messages are allowed.
FloodProtectionCaps the number of messages per second a single IP may send to protect against message-flood attacks.
GeoIPCountry-based filter that accepts or rejects connections using ISO country codes resolved from a GeoIP database.
PathTraversalScans inbound messages for directory traversal patterns and denies, allows or logs them according to Action.
PayloadLimitRejects inbound messages whose size exceeds MaxSizeBytes to protect against oversized payload attacks.
RateLimitCaps the number of concurrent connections a single IP may open within a sliding time window.
SQLInjectionScans inbound messages for SQL injection patterns and denies, allows or logs them according to Action.
ThreatScorePer-IP cumulative risk score that auto-bans addresses once they cross AutoBanThreshold.
WebSocketProtectionWebSocket-specific validation for allowed origins, maximum frame size and allowed subprotocols.
WhitelistAllow list of trusted IP addresses and CIDR ranges; whitelisted IPs bypass all other firewall checks.
XSSScans inbound messages for cross-site scripting patterns and denies, allows or logs them according to Action.