1. Socat test: (Socat crashed or closed afterthis one xml output)
root@Linux-SRV:~# socat UDP4-RECVFROM:3702,ip-add-membership=239.255.255.250:192.168.25.4:2 STDIO
urn:schemas-xmlsoap-org:ws:2005:04:discoveryhttp://schemas.xmlsoap.org/ws/2005/04/discovery/Probeurn:uuid:5950505d-a96b-45cc-bd80-726207edb26fwsdp:Device
2. wsdd -vv (i have only one interface in this VM -> eth0)
- Note: between the linebreaks below, is exactly one Explorer Refresh.
root@Linux-SRV:~# wsdd -vv
2021-02-19 23:36:31,210:wsdd WARNING(pid 10881): no interface given, using all interfaces
2021-02-19 23:36:31,210:wsdd INFO(pid 10881): using pre-defined UUID d0db8b4d-d1f7-52e2-8775-d383f6c4b7d1
2021-02-19 23:36:31,211:wsdd DEBUG(pid 10881): netlink message with 164 bytes
2021-02-19 23:36:31,211:wsdd DEBUG(pid 10881): rt_attr 8 1
2021-02-19 23:36:31,211:wsdd DEBUG(pid 10881): rt_attr 8 2
2021-02-19 23:36:31,211:wsdd DEBUG(pid 10881): rt_attr 7 3
2021-02-19 23:36:31,211:wsdd DEBUG(pid 10881): rt_attr 8 8
2021-02-19 23:36:31,211:wsdd DEBUG(pid 10881): rt_attr 20 6
2021-02-19 23:36:31,211:wsdd DEBUG(pid 10881): new address 127.0.0.1 on lo
2021-02-19 23:36:31,211:wsdd DEBUG(pid 10881): ignoring that address on lo
2021-02-19 23:36:31,211:wsdd DEBUG(pid 10881): rt_attr 8 1
2021-02-19 23:36:31,211:wsdd DEBUG(pid 10881): rt_attr 8 2
2021-02-19 23:36:31,211:wsdd DEBUG(pid 10881): rt_attr 8 4
2021-02-19 23:36:31,211:wsdd DEBUG(pid 10881): rt_attr 9 3
2021-02-19 23:36:31,211:wsdd DEBUG(pid 10881): rt_attr 8 8
2021-02-19 23:36:31,211:wsdd DEBUG(pid 10881): rt_attr 20 6
2021-02-19 23:36:31,211:wsdd DEBUG(pid 10881): new address 192.168.25.4 on eth0
2021-02-19 23:36:31,211:wsdd DEBUG(pid 10881): handling traffic for 192.168.25.4 on eth0
2021-02-19 23:36:31,212:wsdd INFO(pid 10881): joined multicast group ('239.255.255.250', 3702) on 192.168.25.4%eth0
2021-02-19 23:36:31,212:wsdd DEBUG(pid 10881): transport address on eth0 is 192.168.25.4
2021-02-19 23:36:31,212:wsdd DEBUG(pid 10881): will listen for HTTP traffic on address ('192.168.25.4', 5357)
2021-02-19 23:36:31,212:wsdd DEBUG(pid 10881): constructed xml for WSD message: b'urn:schemas-xmlsoap-org:ws:2005:04:discoveryhttp://schemas.xmlsoap.org/ws/2005/04/discovery/Hellourn:uuid:e9a762c2-7302-11eb-938c-f26d0ff3c845urn:uuid:d0db8b4d-d1f7-52e2-8775-d383f6c4b7d1http://192.168.25.4:5357/d0db8b4d-d1f7-52e2-8775-d383f6c4b7d11'
2021-02-19 23:36:31,212:wsdd DEBUG(pid 10881): scheduling Hello message via eth0 to ('239.255.255.250', 3702)
2021-02-19 23:36:31,213:wsdd DEBUG(pid 10881): netlink message with 216 bytes
2021-02-19 23:36:31,213:wsdd DEBUG(pid 10881): rt_attr 20 1
2021-02-19 23:36:31,213:wsdd DEBUG(pid 10881): rt_attr 20 6
2021-02-19 23:36:31,213:wsdd DEBUG(pid 10881): rt_attr 8 8
2021-02-19 23:36:31,213:wsdd DEBUG(pid 10881): new address ::1 on lo
2021-02-19 23:36:31,213:wsdd DEBUG(pid 10881): ignoring that address on lo
2021-02-19 23:36:31,213:wsdd DEBUG(pid 10881): rt_attr 20 1
2021-02-19 23:36:31,213:wsdd DEBUG(pid 10881): rt_attr 20 6
2021-02-19 23:36:31,213:wsdd DEBUG(pid 10881): rt_attr 8 8
2021-02-19 23:36:31,213:wsdd DEBUG(pid 10881): new address 2003:e3:71e:100:f06d:fff:fef3:c845 on eth0
2021-02-19 23:36:31,213:wsdd DEBUG(pid 10881): ignoring that address on eth0
2021-02-19 23:36:31,213:wsdd DEBUG(pid 10881): rt_attr 20 1
2021-02-19 23:36:31,213:wsdd DEBUG(pid 10881): rt_attr 20 6
2021-02-19 23:36:31,213:wsdd DEBUG(pid 10881): rt_attr 8 8
2021-02-19 23:36:31,213:wsdd DEBUG(pid 10881): new address fe80::f06d:fff:fef3:c845 on eth0
2021-02-19 23:36:31,213:wsdd DEBUG(pid 10881): handling traffic for fe80::f06d:fff:fef3:c845 on eth0
2021-02-19 23:36:31,213:wsdd INFO(pid 10881): joined multicast group ('ff02::c', 3702, 22364, 2) on fe80::f06d:fff:fef3:c845%eth0
2021-02-19 23:36:31,213:wsdd DEBUG(pid 10881): transport address on eth0 is [fe80::f06d:fff:fef3:c845]
2021-02-19 23:36:31,213:wsdd DEBUG(pid 10881): will listen for HTTP traffic on address ('fe80::f06d:fff:fef3:c845', 5357, 0, 2)
2021-02-19 23:36:31,214:wsdd DEBUG(pid 10881): constructed xml for WSD message: b'urn:schemas-xmlsoap-org:ws:2005:04:discoveryhttp://schemas.xmlsoap.org/ws/2005/04/discovery/Hellourn:uuid:e9a7ab06-7302-11eb-938c-f26d0ff3c845urn:uuid:d0db8b4d-d1f7-52e2-8775-d383f6c4b7d1http://[fe80::f06d:fff:fef3:c845]:5357/d0db8b4d-d1f7-52e2-8775-d383f6c4b7d11'
2021-02-19 23:36:31,214:wsdd DEBUG(pid 10881): scheduling Hello message via eth0 to ('ff02::c', 3702, 22364, 2)
2021-02-19 23:36:31,214:wsdd DEBUG(pid 10881): netlink message with 20 bytes
2021-02-19 23:36:31,214:wsdd DEBUG(pid 10881): invalid rtm_message type 3
2021-02-19 23:36:42,042:wsdd INFO(pid 10881): 192.168.27.56:57142(eth0) - - "Probe urn:uuid:007316ab-9e42-4855-8e3e-8f29c37037aa UDP" - -
2021-02-19 23:36:42,042:wsdd DEBUG(pid 10881): incoming message content is b'urn:schemas-xmlsoap-org:ws:2005:04:discoveryhttp://schemas.xmlsoap.org/ws/2005/04/discovery/Probeurn:uuid:007316ab-9e42-4855-8e3e-8f29c37037aawsdp:Device'
2021-02-19 23:36:42,043:wsdd DEBUG(pid 10881): constructed xml for WSD message: b'http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymoushttp://schemas.xmlsoap.org/ws/2005/04/discovery/ProbeMatchesurn:uuid:f01c00ea-7302-11eb-938c-f26d0ff3c845urn:uuid:007316ab-9e42-4855-8e3e-8f29c37037aaurn:uuid:d0db8b4d-d1f7-52e2-8775-d383f6c4b7d1wsdp:Device pub:Computer1'
2021-02-19 23:36:42,259:wsdd DEBUG(pid 10881): known message (urn:uuid:007316ab-9e42-4855-8e3e-8f29c37037aa): dropping it
2021-02-19 23:36:42,686:wsdd DEBUG(pid 10881): known message (urn:uuid:007316ab-9e42-4855-8e3e-8f29c37037aa): dropping it
2021-02-19 23:36:43,546:wsdd DEBUG(pid 10881): known message (urn:uuid:007316ab-9e42-4855-8e3e-8f29c37037aa): dropping it
2021-02-19 23:36:43,897:wsdd DEBUG(pid 10881): netlink message with 72 bytes
2021-02-19 23:36:43,897:wsdd DEBUG(pid 10881): rt_attr 20 1
2021-02-19 23:36:43,897:wsdd DEBUG(pid 10881): rt_attr 20 6
2021-02-19 23:36:43,897:wsdd DEBUG(pid 10881): rt_attr 8 8
2021-02-19 23:36:43,897:wsdd DEBUG(pid 10881): new address 2003:e3:71e:100:f06d:fff:fef3:c845 on eth0
2021-02-19 23:36:43,897:wsdd DEBUG(pid 10881): ignoring that address on eth0
2021-02-19 23:36:45,257:wsdd DEBUG(pid 10881): known message (urn:uuid:007316ab-9e42-4855-8e3e-8f29c37037aa): dropping it
2021-02-19 23:36:47,264:wsdd DEBUG(pid 10881): known message (urn:uuid:007316ab-9e42-4855-8e3e-8f29c37037aa): dropping it
2021-02-19 23:36:49,279:wsdd DEBUG(pid 10881): known message (urn:uuid:007316ab-9e42-4855-8e3e-8f29c37037aa): dropping it
^C2021-02-19 23:37:09,104:wsdd DEBUG(pid 10881): got termination signal
2021-02-19 23:37:09,104:wsdd INFO(pid 10881): shutting down gracefully...
2021-02-19 23:37:09,105:wsdd DEBUG(pid 10881): constructed xml for WSD message: b'urn:schemas-xmlsoap-org:ws:2005:04:discoveryhttp://schemas.xmlsoap.org/ws/2005/04/discovery/Byeurn:uuid:003d5b04-7303-11eb-938c-f26d0ff3c845urn:uuid:d0db8b4d-d1f7-52e2-8775-d383f6c4b7d1'
2021-02-19 23:37:09,105:wsdd DEBUG(pid 10881): scheduling Bye message via eth0 to ('239.255.255.250', 3702)
2021-02-19 23:37:09,105:wsdd DEBUG(pid 10881): constructed xml for WSD message: b'urn:schemas-xmlsoap-org:ws:2005:04:discoveryhttp://schemas.xmlsoap.org/ws/2005/04/discovery/Byeurn:uuid:003d6716-7303-11eb-938c-f26d0ff3c845urn:uuid:d0db8b4d-d1f7-52e2-8775-d383f6c4b7d1'
2021-02-19 23:37:09,105:wsdd DEBUG(pid 10881): scheduling Bye message via eth0 to ('ff02::c', 3702, 22364, 2)
2021-02-19 23:37:10,241:wsdd INFO(pid 10881): Done.