I'm trying to detect an IKEA TRADFRI gateway using this library without any success. When inspecting the traffic with Wireshark, I do see a response from that gateway but it seems to be the only one using IPv6 addresses. As a result it doesn't show up in the detected services.
Here's the dissected packet from Wireshark:
Frame 5023: 769 bytes on wire (6152 bits), 769 bytes captured (6152 bits) on interface 0
Ethernet II, Src: MurataMa_25:7a:41 (b0:72:bf:25:7a:41), Dst: IPv6mcast_fb (33:33:00:00:00:fb)
Internet Protocol Version 6, Src: 2003:e6:c3f6:f311:b272:bfff:fe25:7a41, Dst: ff02::fb
User Datagram Protocol, Src Port: 5353, Dst Port: 5353
Multicast Domain Name System (response)
Transaction ID: 0x0000
Flags: 0x8400 Standard query response, No error
Questions: 0
Answer RRs: 8
Authority RRs: 0
Additional RRs: 2
Answers
_services._dns-sd._udp.local: type PTR, class IN, _coap._udp.local
_coap._udp.local: type PTR, class IN, gw-b072bf257a41._coap._udp.local
gw-b072bf257a41._coap._udp.local: type TXT, class IN, cache flush
gw-b072bf257a41._coap._udp.local: type SRV, class IN, cache flush, priority 0, weight 0, port 5684, target TRADFRI-Gateway-b072bf257a41.local
_services._dns-sd._udp.local: type PTR, class IN, _hap._tcp.local
_hap._tcp.local: type PTR, class IN, TRADFRI gateway._hap._tcp.local
TRADFRI gateway._hap._tcp.local: type TXT, class IN, cache flush
TRADFRI gateway._hap._tcp.local: type SRV, class IN, cache flush, priority 0, weight 0, port 80, target TRADFRI-Gateway-b072bf257a41.local
Additional records
TRADFRI-Gateway-b072bf257a41.local: type A, class IN, cache flush, addr 192.168.2.102
TRADFRI-Gateway-b072bf257a41.local: type AAAA, class IN, cache flush, addr fe80::b272:bfff:fe25:7a41
Is there any way to make bonjour listen to the IPv6 addresses too?
I'm trying to detect an IKEA TRADFRI gateway using this library without any success. When inspecting the traffic with Wireshark, I do see a response from that gateway but it seems to be the only one using IPv6 addresses. As a result it doesn't show up in the detected services. Here's the dissected packet from Wireshark:
Is there any way to make bonjour listen to the IPv6 addresses too?