---- Changes since 1.420 ----
First version of this module, for configuring IP access control for a range of servers.
+---- Changes since 1.510 ----
+Added a Module Config option to control if possible services are taken from inetd/xinetd, or always manually entered.
hosts_allow=/etc/hosts.allow
hosts_deny=/etc/hosts.deny
+inetd_services=0
hosts_allow=TCP wrappers allow file,0
hosts_deny=TCP wrappers deny file,0
+inetd_services=Fetch possible services from inetd?,1,1-Yes,0-No
print &ui_table_start($text{'edit_header'}, "", 2);
# Services
-if (@xservices) {
+if (@xservices && $config{'inetd_services'}) {
# listed from (x)inetd
print &ui_table_row($text{'edit_service'},
&ui_select("service", \@services, \@xservices, 5, 1));