1- .\" Automatically generated by Pandoc 3.1.12.3
1+ .\" Automatically generated by Pandoc 3.7.0.2
22.\"
3- .TH "wsddn" "8" "" "WS\- Discovery Host Daemon" "System Manager\[ cq ] s Manual"
3+ .TH "wsddn" "8" "" "WS\- Discovery Host Daemon" "System Manager\( cq s Manual"
44.SH NAME
5- \f[B] wsddn \f[ R ] \[ em ] WS\- Discovery Host Daemon
5+ \f[B] wsddn \f[ R ] \( em WS\- Discovery Host Daemon
66.SH SYNOPSIS
77.PP
88\f[CR] wsddn \f[ R ] \f[CR] \-\- help \f[ R ]
@@ -64,7 +64,7 @@ If it exists, the file is read and options specified in it are applied
6464\f[I] if not already specified on command line \f[ R ] .
6565See CONFIG FILE below for information about its syntax and content.
6666Content of the configuration file is re\- read upon SIGHUP signal.
67- By default, if this option isn\[ cq ] t specified, no configuration file is
67+ By default, if this option isn\( cq t specified, no configuration file is
6868read.
6969.SS Daemon behavior options
7070.TP
@@ -79,16 +79,16 @@ The equivalent config file option is \f[CR]log\-level\f[R]
7979The path of the file to write the log output to.
8080If not specified \f[CR] wsddn \f[ R ] outputs the log messages as follows
8181.RS
82- .IP \[ bu ] 2
82+ .IP \( bu 2
8383If invoked without any daemon flags: to standard output
84- .IP \[ bu ] 2
85- If invoked with \[ en ] systemd : to standard output, with systemd severity
84+ .IP \( bu 2
85+ If invoked with \( en systemd : to standard output, with systemd severity
8686prefixes
87- .IP \[bu ] 2
88- If invoked with \[en ] unixd or \[en ] launchd: to /var/log/wsddn.log
87+ .IP \(bu 2
88+ If invoked with \(en launchd: to standard output
89+ .IP \(bu 2
90+ If invoked with \(en unixd: to /dev/null (no logging)
8991.PP
90- If \[en ] user option is used, the directory of the logfile must allow the
91- specified user to create and delete files.
9292The equivalent config file option is \f[CR] log \- file \f[ R ]
9393.RE
9494.TP
@@ -103,7 +103,7 @@ Set the path to PID file.
103103If not specified no PID file is written.
104104Send SIGHUP signal to the process ID in the PID file to reload
105105configuration.
106- If \[ en ] user option is used, the directory of the pidfile must allow the
106+ If \( en user option is used, the directory of the pidfile must allow the
107107specified user to create and delete files.
108108The equivalent config file option is \f[CR] pid \- file \f[ R ]
109109.TP
@@ -114,13 +114,13 @@ If group name is not specified, primary group of the username is used.
114114.RS
115115.PP
116116If this option is not specified then the behavior is as follows:
117- .IP \[ bu ] 2
117+ .IP \( bu 2
118118If wsddn process is run under the root account it tries to use a special
119119unprivileged account name (\f[CR] _wsddn \f[ R ] :\f[CR] _wsddn \f[ R ] on macOS,
120120\f[CR] wsddn \f[ R ] :\f[CR] wsddn \f[ R ] otherwise) The user and group are
121121created if they do not exist.
122122Any failures in these steps stop the process.
123- .IP \[ bu ] 2
123+ .IP \( bu 2
124124Otherwise, wsddn uses the account it is run under.
125125.PP
126126The net effect of these rules is that wsddn under no circumstances will
@@ -134,12 +134,12 @@ communications should chroot into.
134134This further limits any impact of potential network exploits into wsddn.
135135If not specified the behavior is as follows
136136.RS
137- .IP \[ bu ] 2
137+ .IP \( bu 2
138138If wsddn process is run under the root account: use
139139\f[CR] /var/empty \f[ R ] on macOS and \f[CR] /var/run/wsddn \f[ R ] on other
140140platforms.
141141This directory will be created if it does not exist.
142- .IP \[ bu ] 2
142+ .IP \( bu 2
143143Otherwise: do not chroot
144144.PP
145145Note: do not use external methods to chroot wsddn process (e.g.\ using
@@ -192,13 +192,13 @@ WS\-Discovery protocol requires your machine to have a unique identifier
192192that is stable across reboots or changes in networks.
193193By default, \f[CR] wsddn \f[ R ] uses UUID version 5 with private namespace
194194and the host name of the machine.
195- This will remain stable as long as the hostname doesn\[ cq ] t change.
195+ This will remain stable as long as the hostname doesn\( cq t change.
196196If desired, you can override this with a fixed UUID using this option.
197197The equivalent config file option is \f[CR] uuid \f[ R ]
198198.TP
199199\f[CR] \-\- hostname \f[ R ] \f[I] name \f[ R ] , \f[CR] \- H \f[ R ] \f[I] name \f[ R ]
200200Override hostname to be reported to Windows machines.
201- By default the local machine\[ cq ] s hostname (with domain part, if any,
201+ By default the local machine\( cq s hostname (with domain part, if any,
202202removed) is used.
203203If you set the name to \f[CR] :NETBIOS: \f[ R ] then Netbios hostname will
204204be used.
@@ -259,12 +259,12 @@ gracefully stop network communications and exit.
259259.SH FIREWALL SETUP
260260Traffic for the following ports, directions and addresses must be
261261allowed:
262- .IP \[ bu ] 2
262+ .IP \( bu 2
263263Incoming and outgoing traffic to udp/3702 with multicast destination:
264264239.255.255.250 for IPv4 and ff02::c for IPv6
265- .IP \[ bu ] 2
265+ .IP \( bu 2
266266Outgoing unicast traffic from udp/3702
267- .IP \[ bu ] 2
267+ .IP \( bu 2
268268Incoming traffic to tcp/5357
269269.PP
270270You should further restrict the traffic to the (link\- )local subnet,
@@ -283,13 +283,13 @@ Most options are named and behave exactly the same as corresponding
283283command line options.
284284Exceptions are explained in\- depth below.
285285.TP
286- \f[CR] allowed \- address \- family \f[ R ] = \[ lq ] IPv4 \[ rq ] | \[ lq ] IPv6 \[ rq ]
286+ \f[CR] allowed \- address \- family \f[ R ] = \( lq IPv4 \( rq | \( lq IPv6 \( rq
287287Restrict communications to the given address family.
288- Valid values are \[ lq ] IPv4 \[ rq ] or \[ lq ] IPv6 \[ rq ] case\- insensitive.
288+ Valid values are \( lq IPv4 \( rq or \( lq IPv6 \( rq case\- insensitive.
289289The equivalent command line options are \f[CR] \-\- ipv4only \f[ R ] and
290290\f[CR] \-\- ipv6only \f[ R ]
291291.TP
292- \f[CR] chroot \f[ R ] = \[ lq ] path \[ rq ]
292+ \f[CR] chroot \f[ R ] = \( lq path \( rq
293293Same as \f[CR] \-\- chroot \f[ R ] command line option
294294.TP
295295\f[CR] hoplimit \f[ R ] = \f[I] number \f[ R ]
@@ -298,10 +298,10 @@ Same as \f[CR]\-\-hoplimit\f[R] command line option
298298\f[CR] source \- port \f[ R ] = \f[I] number \f[ R ]
299299Same as \f[CR] \-\- source \- port \f[ R ] command line option
300300.TP
301- \f[CR] hostname \f[ R ] = \[ lq ] \f[I] name \f[ R ]\[ rq ]
301+ \f[CR] hostname \f[ R ] = \( lq \f[I] name \f[ R ]\( rq
302302Same as \f[CR] \-\- hostname \f[ R ] command line option
303303.TP
304- \f[CR] interfaces \f[ R ] = [ \[ lq ] \f[I] name \f[ R ]\[ rq ] , \& ... ]
304+ \f[CR] interfaces \f[ R ] = [ \( lq \f[I] name \f[ R ]\( rq , \& ... ]
305305Specify on which interfaces wsddn will be listening on.
306306If no interfaces are specified, or the list is empty all suitable
307307detected interfaces will be used.
@@ -313,19 +313,19 @@ The equivalent command line option is \f[CR]\-\-interface\f[R]
313313\f[CR] log \- level \f[ R ] = \f[I] number \f[ R ]
314314Same as \f[CR] \-\- log \- level \f[ R ] command line option
315315.TP
316- \f[CR] log \- file \f[ R ] = \[ lq ] path \[ rq ]
316+ \f[CR] log \- file \f[ R ] = \( lq path \( rq
317317Same as \f[CR] \-\- log \- file \f[ R ] command line option
318318.TP
319319\f[CR] log \- os \- log \f[ R ] = true/false
320320This setting is only available on macOS.
321321Setting it to \f[CR] true \f[ R ] is the same as \f[CR] \-\- log \- os \- log \f[ R ]
322322command line option
323323.TP
324- \f[CR] member \- of \f[ R ] = \[ lq ] Workgroup /\f[I] name \f[ R ]\[ rq ] | \[ lq ] Domain /\f[I] name \f[ R ]\[ rq ]
324+ \f[CR] member \- of \f[ R ] = \( lq Workgroup /\f[I] name \f[ R ]\( rq | \( lq Domain /\f[I] name \f[ R ]\( rq
325325Report whether the host is a member of a given workgroup or domain.
326- To specify a workgroup use \[ lq ] Workgroup /name\[ rq ] syntax.
327- To specify a domain use \[ lq ] Domain /name\[ rq ] .
328- The \[ lq ] workgroup/ \[ rq ] and \[ lq ] domain/ \[ rq ] prefixes are not case
326+ To specify a workgroup use \( lq Workgroup /name\( rq syntax.
327+ To specify a domain use \( lq Domain /name\( rq .
328+ The \( lq workgroup/ \( rq and \( lq domain/ \( rq prefixes are not case
329329sensitive.
330330If not specified workgroup/domain membership is detected from SMB
331331configuration.
@@ -334,19 +334,19 @@ WORKGROUP.
334334The equivalent command line options are \f[CR] \-\- domain \f[ R ] and
335335\f[CR] \-\- workgroup \f[ R ] .
336336.TP
337- \f[CR] pid \- file \f[ R ] = \[ lq ] path \[ rq ]
337+ \f[CR] pid \- file \f[ R ] = \( lq path \( rq
338338Same as \f[CR] \-\- pid \- file \f[ R ] command line option
339339.TP
340- \f[CR] smb \- conf \f[ R ] = \[ lq ] path \[ rq ]
340+ \f[CR] smb \- conf \f[ R ] = \( lq path \( rq
341341Same as \f[CR] \-\- smb \- conf \f[ R ] command line option
342342.TP
343- \f[CR] metadata \f[ R ] = \[ lq ] path \[ rq ]
343+ \f[CR] metadata \f[ R ] = \( lq path \( rq
344344Same as \f[CR] \-\- metadata \f[ R ] command line option
345345.TP
346- \f[CR] user \f[ R ] = \[ lq ] username[ :groupname]\[ rq ]
346+ \f[CR] user \f[ R ] = \( lq username[ :groupname]\( rq
347347Same as \f[CR] \-\- user \f[ R ] command line option
348348.TP
349- \f[CR] uuid \f[ R ] = \[ lq ] xxxxxxxx \- xxxx\- xxxx\- xxxx\- xxxxxxxxxxxx\[ rq ]
349+ \f[CR] uuid \f[ R ] = \( lq xxxxxxxx \- xxxx\- xxxx\- xxxx\- xxxxxxxxxxxx\( rq
350350Same as \f[CR] \-\- uuid \f[ R ] command line option
351351.SH EXAMPLES
352352.SS Run as a traditional Unix daemon
0 commit comments