Hello,
I have got a problem with the tcp binding and IP4.
I am not able to receive udp data with the udp binding.
i have an string in my items-file:
//String String_Modellbau_Test "Test String[%s]" {udp="<[*:192.168.123.456:*:'REGEX((.*))']"} //String String_Paketfach_Test_V6 "Test String[%s]" {udp="<[*:fe80:0:0:0:1234:5678:90ab:cdef:*:'REGEX((.*))']"}
If i uncomment one of them i get packets. But only if i send it to the IPV6 address of my diskstation.
if i send the udp packets to the IPV4 adress i did not get any packets:
2020-01-25 17:39:00.813 [WARN ] [g.tcp.AbstractDatagramChannelBinding] - Received data Do 23.01.2020 16:20:16 (783): [1] External T=9.44 C Avg(28) T=9.44 C IP6 from an undefined remote end /fe80:0:0:0:1234:5678:90ab:cdef:9999. We will not process it
2020-01-25 17:39:00.813 [WARN ] [g.tcp.AbstractDatagramChannelBinding] - No channel is active or defined for the data we received from /fe80:0:0:0:1234:5678:90ab:cdef%7:9999. It will be discarded.
it does nòt matter with of one i uncomment. i get the same entrys in the openhab.log of my diskstation.
if i uncomment the item with IPV4 address i get the same log with the IPV6 addresses.
If i deselect the “use IPV6 if available” nothing change.
I send the packets with “Paket sender” permanently to the IPV4 and IPV6 adresses.
the diskstation only listen on “udp6” never on “udp” (netstat -ln).
if i deactivate the ipv6 interface of my diskstation i do not get any packet. No IPV6, and no IPV4.
I dont know what could be the problem???