main_ipv4.conf.sample,main_ipv6.conf.sample: Fix section Limit Connections - add limit_new_tcp_connections_per_seconds_ports.
This commit is contained in:
@@ -786,13 +786,20 @@ per_IP_connection_limit=$default_per_IP_connection_limit
|
|||||||
# -
|
# -
|
||||||
#limit_rst_packets=false
|
#limit_rst_packets=false
|
||||||
|
|
||||||
|
|
||||||
# - Limit new TCP connections per second per source IP
|
# - Limit new TCP connections per second per source IP
|
||||||
# -
|
# -
|
||||||
limit_new_tcp_connections_per_seconds_per_source_IP=true
|
limit_new_tcp_connections_per_seconds_per_source_IP=true
|
||||||
|
|
||||||
# comma separated list of ports
|
# - limit_new_tcp_connections_per_seconds_ports
|
||||||
|
# -
|
||||||
|
# - comma separated list of ports
|
||||||
|
# -
|
||||||
|
# - Example:
|
||||||
|
# - limit_new_tcp_connections_per_seconds_ports="80,443"
|
||||||
|
# - limit_new_tcp_connections_per_seconds_ports="80,110,143,443,465,995"
|
||||||
#
|
#
|
||||||
#limit_new_tcp_connections_per_seconds_ports="25,80,110,143,443,465,995"
|
limit_new_tcp_connections_per_seconds_ports=""
|
||||||
|
|
||||||
|
|
||||||
# -------------
|
# -------------
|
||||||
|
|||||||
@@ -794,19 +794,27 @@ protection_against_ssh_brute_force_attacks=true
|
|||||||
limit_connections_per_source_IP=true
|
limit_connections_per_source_IP=true
|
||||||
per_IP_connection_limit=$default_per_IP_connection_limit
|
per_IP_connection_limit=$default_per_IP_connection_limit
|
||||||
|
|
||||||
|
|
||||||
# - Limit RST packets
|
# - Limit RST packets
|
||||||
# -
|
# -
|
||||||
# - REMOVED
|
# - REMOVED
|
||||||
# -
|
# -
|
||||||
#limit_rst_packets=false
|
#limit_rst_packets=false
|
||||||
|
|
||||||
|
|
||||||
# - Limit new TCP connections per second per source IP
|
# - Limit new TCP connections per second per source IP
|
||||||
# -
|
# -
|
||||||
limit_new_tcp_connections_per_seconds_per_source_IP=true
|
limit_new_tcp_connections_per_seconds_per_source_IP=true
|
||||||
|
|
||||||
# comma separated list of ports
|
# - limit_new_tcp_connections_per_seconds_ports
|
||||||
|
# -
|
||||||
|
# - comma separated list of ports
|
||||||
|
# -
|
||||||
|
# - Example:
|
||||||
|
# - limit_new_tcp_connections_per_seconds_ports="80,443"
|
||||||
|
# - limit_new_tcp_connections_per_seconds_ports="80,110,143,443,465,995"
|
||||||
#
|
#
|
||||||
#limit_new_tcp_connections_per_seconds_ports="25,80,110,143,443,465,995"
|
limit_new_tcp_connections_per_seconds_ports=""
|
||||||
|
|
||||||
|
|
||||||
# -------------
|
# -------------
|
||||||
|
|||||||
Reference in New Issue
Block a user