On 06.03.2019 01:46, Goran Mekić wrote: > Hello, > > I have a audio mixer which is controleable over network via android app. > The discovery is done by sending broadcast UDP message "/info\0\0\0" to > 255.255.255.255 (checked by tcpdump on the router). I thought I can do > the same with: > > printf "/info\0\0\0" | nc -4u -w 0 255.255.255.255 10024 > > But I never get the reply. This is what tcpdump sees: > > tcpdump -nnSX -v 'src 192.168.5.80 or dst 255.255.255.255' > tcpdump: listening on re0, link-type EN10MB (Ethernet), capture size
I think it is because netcat does not send real broadcast, you can add -e flag to tcpdump and compare ethernet destination addresses. -- WBR, Andrey V. Elsukov
signature.asc
Description: OpenPGP digital signature