TCP & UDP Binding listen for multicast packets

Hi,

I’m try’ing to listen a packet that is sent to a multicast address. Through tcpdump command I see the packet:

tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on any, link-type LINUX_SLL (Linux cooked), capture size 65535 bytes
18:09:24.557609 IP 192.168.1.65.22600 > 224.192.32.19.22600: UDP, length 363

But in the tcp/udp binding log I don’t see anything.

If force to send a packet to the server and port (not to a multicast address), I see the log in the binding:

nc -u 192.168.1.1 22600
teste
2018-09-19 18:07:21.875 [DEBUG] [g.tcp.AbstractDatagramChannelBinding] - Received teste
 on the listener port from /192.168.1.1:53228
2018-09-19 18:07:21.876 [WARN ] [g.tcp.AbstractDatagramChannelBinding] - Received data teste
 from an undefined remote end /192.168.1.1:53228. We will not process it
2018-09-19 18:07:21.877 [WARN ] [g.tcp.AbstractDatagramChannelBinding] - No channel is active or defined for the data we received from /192.168.1.1:53228. It will be discarded.

The tcp/udp binding does not receive multicast packets?

Best Regards,
Fernando Gomes

I would be surprised if it did. There is no mention of support for it in the README and the configuration for handling multicast would be pretty different.

You known any binding/workaround to capture multicast packets?

Best Regards,
Fernando Gomes

I do not. You might need to write something external to OH that reports the contents to OH using the REST API or MQTT or the like.