From f9531f38a77a00d1c2ac95df93b1f8c89200eab7 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Tue, 15 Sep 2015 20:45:30 +0200 Subject: avahi - expose many more config options in GUI Resubmit of PR #1030. --- config/avahi/avahi.xml | 211 +++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 196 insertions(+), 15 deletions(-) diff --git a/config/avahi/avahi.xml b/config/avahi/avahi.xml index 0b49fea3..0c18e097 100644 --- a/config/avahi/avahi.xml +++ b/config/avahi/avahi.xml @@ -51,7 +51,7 @@ Avahi Modify avahi settings.
Services
- pkg_edit.php?xml=avahi.xml&id=0 + pkg_edit.php?xml=avahi.xml avahi @@ -72,6 +72,10 @@ https://packages.pfsense.org/packages/config/avahi/services/sftp-ssh.service + + Server Options + listtopic + Enable enable @@ -79,55 +83,232 @@ checkbox - Browse domains (comma separated) + Browse Domains browsedomains - (Example: local, pfsense.org, mydomain.com) + Enter the (comma separated) list of domains that you would like proxied. (Example: local, pfsense.org, mydomain.com)
+ (Default: local) ]]>
input + local
Deny interfaces denyinterfaces NOTE: WAN is always disabled (so it is not shown here). + Interfaces that you do NOT want Avahi to listen on.
+ Note: WAN is always disabled (so it is not shown here). ]]>
interfaces_selection - wan + (wan|loopback) true
- Disable IPv6 - disable_ipv6 - Disable IPv6 support in Avahi. + Enable IPv4 + enable_ipv4 + Enable IPv4 support in Avahi. (Default: enabled) checkbox + on + publish_aaaa_on_ipv4 - Disable IPv4 - disable_ipv4 - Disable IPv4 support in Avahi. + Enable IPv6 + enable_ipv6 + Enable IPv6 support in Avahi. (Default: enabled) checkbox + on + publish_a_on_ipv6 - Disable D-BUS + Disable D-Bus disable_dbus - Disable D-BUS client API support in Avahi. + Disable D-Bus client API support in Avahi. (Default: no) + checkbox + + + Wide Area + listtopic + + + Enable Wide-Area DNS-SD + enable_wide_area + + + If you want to maintain multiple different multicast DNS domains even with this option enabled, + use subdomains of .local, such as "kitchen.local".
+ (Default: enabled) + ]]> +
+ checkbox + on +
+ + Publishing Options + listtopic + + + Disable Publishing + disable_publishing + + + You can use this is a security measure. Warning: Do NOT disable publishing unless you know what you are doing!
+ (Default: no) + ]]> +
+ checkbox + off +
+ + Disable User Service Publishing + disable_user_service_publishing + + + (Default: no) + ]]> + + checkbox + off + + + Add Service Cookie + add_service_cookie + + + (Default: disabled) + ]]> + + checkbox + off + + + Publish Addresses + publish_addresses + + + (Default: enabled) + ]]> + + checkbox + on + + + Publish HINFO + publish_hinfo + + + This is recommended by the mDNS specification but not required. For the sake of privacy you might choose to disable this feature.
+ (Default: enabled) + ]]> +
+ checkbox + on +
+ + Publish Workstation + publish_workstation + + + (Default: enabled) + ]]> + + checkbox + on + + + Publish DNS Servers + publish_resolv_conf_dns_servers + + + When used in conjunction with avahi-dnsconfd on the client side this allows DHCP-like configuration of unicast DNS servers.
+ (Default: disabled) + ]]> +
+ checkbox + off +
+ + Publish AAAA records on IPv4 + publish_aaaa_on_ipv4 + + + (Default: enabled) + ]]> + + checkbox + on + + + Publish A records on IPv6 + publish_a_on_ipv6 + + + (Default: disabled) + ]]> + + checkbox + off + + + Reflector Options + listtopic + + + Enable Reflector + enable_reflector + + + (Default: enabled) + ]]> + + checkbox + on + + + Reflect IPv + reflect_ipv + + + (Default: disabled) + ]]> + checkbox + off
avahi_sync(); + avahi_upgrade_config(); avahi_install(); avahi_deinstall(); + + avahi_validate_input($_POST, $input_errors); + -- cgit v1.2.3