NTP timeprotokoll support also TCP/4460
This commit is contained in:
@@ -23,7 +23,8 @@ standard_munin_port=4949
|
||||
standard_mysql_port=3306
|
||||
standard_ms_sql_s_port=1433
|
||||
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_print_port=9100
|
||||
standard_print_raw_port=515
|
||||
|
||||
@@ -861,11 +861,14 @@ done
|
||||
# ---
|
||||
if $allow_ntp_request_out ; then
|
||||
|
||||
if containsElement "${standard_ntp_port}" "${out_udp_port_arr[@]}" ; then
|
||||
continue
|
||||
if containsElement "${standard_ntp_udp_port}" "${out_udp_port_arr[@]}" ; then
|
||||
out_udp_port_arr+=("$standard_ntp_udp_port")
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user