WSDD2(8)
π WSDD2(8) β NAME π
hii bestie welcome to section 8 of the manual (System Administration tools, the daemon zone, very main character π ) β the page is literally called WSDD2 and the star of it is:
wsdd2β server to provide WSDD/LLMNR services to clients
that's the whole NAME section. short, sweet, ate π
β¨ SYNOPSIS β¨
wsddd2 [-h] [-d] [-4] [-6] [-u] [-t] [-l] [-w] [-L] [-W] [-i <intrerface>] [-H <hostname>] [-N <netbiosname>] [-G <workgroup>] [-b <kvlist>]
π DESCRIPTION π
okay so wsdd2 is the server daemon that provides WSDD (Web Services Dynamic Discovery) and also LLMNR (Link-Local Multicast Name Resolution) services, primarily for Windows clients, on both IPv4 and IPv6. both. at the same time. no cap π«Ά
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 response messages to HTTP property query POST messages over TCP. like, it just does all that. unprompted. queen behavior π
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β WSDD multicast group addresses239.255.255.250andff02::c.3702 TCPβ WSDD property query over HTTP.5355 UDPβ LLMNR query multicast group addresses224.0.0.252andff02::1:3.5355 TCPβ LLMNR query unicast.
π OPTIONS π
-hβ display a simple help message to stdout, including the values of the parameters that are currently in effect.-dβ fork off a child process to become daemon.-4-6β respond only to IPv4 and IPv6 respectively. the default is equivalent to-4 -6.-u-tβ respond only to UDP and TCP respectively. the default is equivalent to-u -t.-l-wβ respond only to LLMNR and WSDD respectively. the default is equivalent to-l -w.-Lβ print out LLMNR debug messages to stdout. stack multiple-L's to increment the debug level. yes, more L's = more lore π-Wβ print out WSDD debug messages to stdout. multiple-W's to increment the debug level.-i <interface>β use only the specified interface to reply to incoming requests. specifying"any"or leaving the option out causeswsdd2to listen on every IPv4 or IPv6 capable interface, excluding those that have names matchingLeafNets,docker*,veth*,tun*,ppp*,zt*.-H <hostname>β use the specified string as host name instead of the first label before.of the system host name retrieved withgethostname(3)oruname(3)functions.-N <nebiosname>β use the specified string as NETBIOS machine name instead of the value returned by thetestparm -s --parameter-name="netbios name"command or the system host name.-G <workgroup>β use the specified string as workgroup name instead of the value returned by thetestparm -s --parameter-name="workgroup"command or the"WORKGROUP"default value.-b "key1:val1,key2:val2,..."β set WSDD query over HTTP response values in a comma-delimited list. the valid/necessary keys are:vendor,model,serial,sku,vendorurl,modelurl,presentationurl. this option overrides/proc/sys/dev/boot/inforeadouts.
π WSDD PROPERTY QUERY RESPONSE π
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. (read that twice, bestie, order matters fr fr)
- Vendor β value retrieved from
/proc/sys/dev/boot/infoor set with the-boption. - Model β value retrieved from
/proc/sys/dev/boot/infoor set with the-boption. - Serial β value retrieved from
/proc/sys/dev/boot/infoor set with the-boption or0. - SKU β value retrieved from
/proc/sys/dev/boot/infoor set with the-boption. - ModelURL β value set with the
-boption. - VendorURL β value set with the
-boption. - PresentationURL β value set with the
-boption.
π FILES π
/etc/samba/smb.confβ this is the default location of the Samba configuration file./etc/machine-idβ a single line text file containing a host-unique UUID in the form of 32 lowercase hex digits used bysystemd-id128(1). seemachine-id(5)./proc/sys/dev/boot/infoβ a list ofkey:valueentries for WSDD query over HTTP response values.
π¨ SIGNALS π¨
sending the wsdd2 a SIGHUP will cause it to restart. restarting will bind the 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 that, okay? π€ an 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. so polite. so demure. π¦
π¦ SEE ALSO π¦
testparm(1), systemd-id128(1).
β STANDARDS β
the WSDD protocol is described in detail in "Web Services Dynamic Discovery (WS-Discovery) Version 1.1" OASYS Standard, 1 July 2009 at
http://docs.oasis-open.org/ws-dd/discovery/1.1/os/wsdd-discovery-1.1-spec-os.html
LLMNR complies with RFC4795.
πΈ AUTHOR πΈ
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. legends only, honestly π
and that's the page bestie, we're done π«Ά this one's source/version is WSDD, dated 02/05/2021, and it lives at WSDD2(8) β go forth and be discovered β¨ππ
π¦ where this page comes from
- debian bookworm: wsdd2 1.8.7+dfsg-1.1 Β· GPL-3.0-or-later
- debian trixie: wsdd2 1.8.7+dfsg-1.2 Β· GPL-3.0-or-later
- ubuntu jammy: wsdd2 1.8.6+dfsg-3 Β· GPL-3.0-or-later
- ubuntu noble: wsdd2 1.8.7+dfsg-1.1 Β· GPL-3.0-or-later
- ubuntu questing: wsdd2 1.8.7+dfsg-1.2
- ubuntu resolute: wsdd2 1.8.7+dfsg-1.2build1 Β· GPL-3.0-or-later
- ubuntu stonking: wsdd2 1.8.7+dfsg-1.2build1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms