TMAegisBeta
更多 cassandra 规则

Apache Cassandra

TMA-CASSANDRA-3.5

Ensure that Cassandra only listens for network connections on authorized interfaces

中级别 1人工审核cassandra

说明

When listen_address is blank and listen_interface is commented out, this will be set automatically by InetAddress.getLocalHost(). Presuming the node is configured correctly, e.g. hostname, name resolution, etc., this will configure the node to use the address associated with the hostname. The listen_address must not be set to 0.0.0.0.

检查方式

审计方法: 人工审核

此项建议无法自动检查。当您传入 --include-manual 时,扫描结果会列出该项并附带这些说明。

Run grep -nE "^(listen_address|listen_interface|rpc_address|rpc_interface):" /etc/cassandra/cassandra.yaml. Only one of listen_address/listen_interface may be set, it must name an authorised address or interface, and listen_address must not be 0.0.0.0. Any other value is a finding.

修复方式

修复方法: 操作指南或基础设施补丁

Set the listen_address or listen_interface, not both, in the cassandra.yaml to an authorized address or interface.

属性

操作系统
任意
标签
cassandranetwork
参考
CIS Apache Cassandra 5.0 Benchmark v1.1.0 - 3.5 Ensure that Cassandra only listens for network connections on authorized interfaces