WSDD2(8) | System Administration tools | WSDD2(8) |
wsdd2 - server to provide WSDD/LLMNR services to clients
wsddd2 [-h] [-d] [-4] [-6] [-u] [-t] [-l] [-w] [-L] [-W] [-i <intrerface>] [-H <hostname>] [-N <netbiosname>] [-G <workgroup>] [-b <kvlist>]
wsdd2 is the server daemon that provides WSDD (Web Services Dynamic Discovery) as well as LLMNR (Link-Local Multicast Name Resolution) services primarily for Windows clients on both IPv4 and IPv6.
wsdd2's WSDD protocol handler multicasts Hello and Bye messages by itself over UDP, responds with ProbeMatch and ResolveMatch messages in response to Probe and Resolve queries respectively over UDP, and sends HTTP reponse messages to HTTP property query POST messages over TCP.
wsdd2's LLMNR protocol handler responds to LLMNR multicast query messages over UDP and to LLMNR unicast query messages over TCP.
wsdd2 uses and listens on the following ports:
3702 UDP
3702 TCP
5355 UDP
5355 TCP
-h
-d
-4 -6
-u -t
-l -w
-L
-W
-i <interface>
-H <hostname>
-N <nebiosname>
-G <workgroup>
-b "key1:val1,key2:val2,..."
wsdd2 responds to property queries using the following values over HTTP. If a value may be set with multiple methods, the latter in the method list has precedence.
Vendor
Model
Serial
SKU
ModelURL
VendorURL
PresentationURL
/etc/samba/smb.conf
/etc/machine-id
/proc/sys/dev/boot/info
Sending the wsdd2 a SIGHUP will cause it to restart. Restarting will bind daemon to new interfaces but will not reparse testparm(1)'s output and other parameters, nor re-evaluate command line options - stop and start the daemon again for this. Address change, addition, or deletion on a network interface will restart wsdd2 as well.
SIGTERM and SIGINT will terminate wsdd2 gracefully with WSDD "Bye" messages.
The WSDD protocol is described in detail in "Web Services
Dynamic Discovery (WS-Discovery) Version 1.1" OASYS Standard, 1 July
2009
http://docs.oasis-open.org/ws-dd/discovery/1.1/os/wsdd-discovery-1.1-spec-os.html
LLMNR complies with RFC4795.
Hiro Sugawara at NETGEAR authored the code. wsdd2 was inspired by and uses some code from the wsdd/llmnr extension for smbd created by Tobias Waldvogel, Jose M. Prieto, and possibly other contributors.
02/05/2021 | WSDD |