NTP timeprotokoll support also TCP/4460

This commit is contained in:
root
2026-09-09 14:40:34 +02:00
parent 1ca7a6bf43
commit cafa99d944
2 changed files with 8 additions and 4 deletions
+2 -1
View File
@@ -23,7 +23,8 @@ standard_munin_port=4949
standard_mysql_port=3306 standard_mysql_port=3306
standard_ms_sql_s_port=1433 standard_ms_sql_s_port=1433
standard_ms_sql_m_port=1434 standard_ms_sql_m_port=1434
standard_ntp_port=123 standard_ntp_udp_port=123
standard_ntp_tcp_port=4460
standard_pgp_keyserver_port=11371 standard_pgp_keyserver_port=11371
standard_print_port=9100 standard_print_port=9100
standard_print_raw_port=515 standard_print_raw_port=515
+6 -3
View File
@@ -861,11 +861,14 @@ done
# --- # ---
if $allow_ntp_request_out ; then if $allow_ntp_request_out ; then
if containsElement "${standard_ntp_port}" "${out_udp_port_arr[@]}" ; then if containsElement "${standard_ntp_udp_port}" "${out_udp_port_arr[@]}" ; then
continue out_udp_port_arr+=("$standard_ntp_udp_port")
fi fi
out_udp_port_arr+=("$standard_ntp_port") if containsElement "${standard_ntp_tcp_port}" "${out_tcp_port_arr[@]}" ; then
out_tcp_port_arr+=("$standard_ntp_tcp_port")
fi
fi fi