TDSQL
TMA-TDSQL-11.5
Ensure Gateway Connection Limits Are Configured
MediumLevel 1Manual reviewtdsql
Description
The TDSQL Gateway connection limit (gateway.security.conn.conn_limit) prevents a single client or attacker from exhausting all connection resources. Assessed manually here: the benchmark check is environment-specific and cannot be evaluated reliably by a single command.
How it is checked
Audit method: Manual review
This recommendation cannot be checked automatically. A scan lists it with these instructions when you pass --include-manual.
In the OSS management platform (or the Gateway proxy.json) check gateway.security.conn.conn_limit for every instance: it must be greater than 0 and sized to the instance specification; 0 (the default, unlimited) is a finding.
How it is fixed
Fix method: Guidance or infrastructure patch
Set a reasonable connection limit according to the instance specification and business needs: { "Name": "gateway.security.conn.conn_limit", "value": "5000" }
Properties
- Operating systems
- Any
- Tags
- tdsqlgatewayavailability
- Reference
- CIS Tencent TDSQL 10.3.22 Benchmark v1.0.0 - 11.5 Ensure Gateway Connection Limits Are Configured