Open n0p opened 7 years ago
Could you please provide a complete dump incl. payloads to analyze?
Here it is
The code is not endian specific, the format of the id's and much else is in a manually generated form. The problem probably lies elsewhere.
So, checked the protocol and pcap dump. It seems that the password authentication fails:
The conversation goes like this:
The same MMDVM.ini file is working perfectly on my laptop and on my raspberry pi. I'll try to get some correct pcap and compare, but it seems that the SHA256 function is endian-dependent.
how can fix "gethostbyname is obsolescent, use getnameinfo() instead" error?
So I ported (well, compiled) the MMDVMHost to lede (OpenWRT) and got it running, but the network protocol fails to talk to the BM Master:
A quick tcpdump check shows the packets are flowing correctly:
I suspect this is an endianness problem because this is a little endian platform, not like x86 or ARM.
Any clues on how to debug this?