- Code: Select all
20200812.19073.bin
Runs OK. I have a few devices that need to post simple messages to it. I use UDP. To test it I first fired a Linux laptop and connected to the VoCore (wireless).
Looks OK, ping is good.
I now start this on the vc
- Code: Select all
# netcat -l -n -u -p 21883 -v -v
Listening on any address 21883
So far so good. I now do this from a client (Linux):
- Code: Select all
$ nc -u 192.168.3.60 21883
aaa
And now the vc says:
- Code: Select all
Received packet from 192.168.3.247:55760 -> 192.168.3.60:21883 (local)
Trace/breakpoint trap
Then aborts. This is reproducible. Stopping the firewall has no effect.
strace does not help me, it ends with
- Code: Select all
_newselect(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvmsg(3, {msg_name={sa_family=AF_INET, sin_port=htons(40405), sin_addr=inet_addr("192.168.3.247")}
, msg_namelen=16, msg_iov=[{iov_base="aaa\n", iov_len=1024}], msg_iovlen=1, msg_control=[{cmsg_len=2
4, cmsg_level=SOL_IP, cmsg_type=IP_PKTINFO, cmsg_data={ipi_ifindex=if_nametoindex("br-lan"), ipi_spe
c_dst=inet_addr("192.168.3.60"), ipi_addr=inet_addr("192.168.3.60")}}], msg_controllen=24, msg_flags
=0}, MSG_PEEK) = 4
writev(2, [{iov_base="Received packet from 192.168.3.2"..., iov_len=71}, {iov_base=NULL, iov_len=0}]
, 2Received packet from 192.168.3.247:40405 -> 192.168.3.60:21883 (local)
) = 71
--- SIGTRAP {si_signo=SIGTRAP, si_code=TRAP_BRKPT} ---
+++ killed by SIGTRAP +++
Is this a netcat issue? OpenWRT issue? vocore fw issue? Can someone please try this simple test.
TIA