Esp-homekit-devices: nc -kulnw0 45678 (UDP Logger)

Created on 31 May 2020  路  3Comments  路  Source: RavenSystem/esp-homekit-devices

Does anybody has _netcat_ UDP logger working on MacOS Catalina?

Although my Wireshark sees all UDP:45678 Broadcast packets sent by HAAs around, embeded _netcat_ on Mac somehow doesn't listen to broadcast, only direct single cast is displayed:

echo "test" | nc -u 127.0.0.1 45678  -> received
echo "broadtest" | nc -u 255.255.255.255 45678 -> not received

sudo nc -kulnw0 45678
test
socat -u udp-recv:45678,reuseaddr -
test

I even tried _socat_ utility and sudo (running as root), with no luck.

Issue is relevant to previous versions and latest OTA 3.1.5/HAA 2.4.3
So, that's not a HAA issue, but a MacOS one.. Nevertheless, any ideas?

Most helpful comment

I use nc -kulnw0 45678 from macOS Catalina (now 10.15.5) without any issue (running as normal user).

All 3 comments

I use nc -kulnw0 45678 from macOS Catalina (now 10.15.5) without any issue (running as normal user).

Have you any firewall or something similar that blocks unknown multicast network traffic? Maybe a recent update of your router?

Thank you for involvement. Your assurance of _netcat_ working fine is enough.

I believe I know a VPN tool, messing with my MacOS connectivity.
I鈥榣l post the result when I fix it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

xrust83 picture xrust83  路  4Comments

RavenSystem picture RavenSystem  路  5Comments

macjl picture macjl  路  5Comments

richardlimaa picture richardlimaa  路  4Comments

Codi878 picture Codi878  路  4Comments