From dd4b5a1e5e52f2107227b8513fbf87bc4b0df079 Mon Sep 17 00:00:00 2001 From: Kevin Cernekee Date: Sun, 4 Sep 2016 19:39:04 -0700 Subject: conntrackd: cthelper: Add new mdns helper This allows unicast replies to multicast DNS (mDNS / RFC6762) queries. These queries are often used when a full-featured mDNS service (such as avahi-daemon) is not running, or if an mDNS client does not have permission to bind to port 5353. Signed-off-by: Kevin Cernekee Signed-off-by: Pablo Neira Ayuso --- doc/helper/conntrackd.conf | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/helper/conntrackd.conf b/doc/helper/conntrackd.conf index 5c07509..a827b93 100644 --- a/doc/helper/conntrackd.conf +++ b/doc/helper/conntrackd.conf @@ -25,7 +25,9 @@ Helper { QueueLen 10240 # - # Set the Expectation policy for this helper. + # Set the Expectation policy for this helper. This section + # is optional; if left unspecified, the defaults from the + # ctd_helper struct will be used. # Policy ftp { # @@ -70,6 +72,14 @@ Helper { ExpectTimeout 300 } } + Type mdns inet udp { + QueueNum 6 + QueueLen 10240 + Policy mdns { + ExpectMax 8 + ExpectTimeout 30 + } + } Type ssdp inet udp { QueueNum 5 QueueLen 10240 -- cgit v1.2.3