Date: Wed, 6 Mar 2019 15:37:04 +0300 From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: =?UTF-8?Q?Goran_Meki=c4=87?= <meka@tilda.center>, freebsd-net@freebsd.org Subject: Re: UDP broadcast Message-ID: <d4e82410-d79e-e8b7-8ae9-d282691416af@yandex.ru> In-Reply-To: <20190305224610.frw5ov5bn6f3xaqg@hal9000.home.meka.rs> References: <20190305224610.frw5ov5bn6f3xaqg@hal9000.home.meka.rs>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Zb1JoHkvpJ5xXXHf8NjaUNcmA5JPi5SdB Content-Type: multipart/mixed; boundary="tiQj4ZK7NUIZ8jRHohtrsV1FZ5AL7vgNj"; protected-headers="v1" From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: =?UTF-8?Q?Goran_Meki=c4=87?= <meka@tilda.center>, freebsd-net@freebsd.org Message-ID: <d4e82410-d79e-e8b7-8ae9-d282691416af@yandex.ru> Subject: Re: UDP broadcast References: <20190305224610.frw5ov5bn6f3xaqg@hal9000.home.meka.rs> In-Reply-To: <20190305224610.frw5ov5bn6f3xaqg@hal9000.home.meka.rs> --tiQj4ZK7NUIZ8jRHohtrsV1FZ5AL7vgNj Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 06.03.2019 01:46, Goran Meki=C4=87 wrote: > Hello, >=20 > I have a audio mixer which is controleable over network via android app= =2E > 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: >=20 > printf "/info\0\0\0" | nc -4u -w 0 255.255.255.255 10024 >=20 > But I never get the reply. This is what tcpdump sees: >=20 > 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. --=20 WBR, Andrey V. Elsukov --tiQj4ZK7NUIZ8jRHohtrsV1FZ5AL7vgNj-- --Zb1JoHkvpJ5xXXHf8NjaUNcmA5JPi5SdB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAlx/vvQACgkQAcXqBBDI oXphtwgArNk3cSXuGl00FKDrcpfsuNWR4m4TSvGW1j85aRykim56l+wkom9XxwD8 UE5kobYZBT6tnosBh38Pouz1RiauY4F2kgawog7YCiUWNnIwKq2o8OjVDxArHtuN dwdkAWcpxn/nPjGrkyk2I4HwR9Dew3di5bWcAwQg0F79O+86XX/JCajKVoabbTGE ZIx4PCAFMM9hijDH/rrszKe634S92cO8SMcXlC+0eE22/KVt7/dww40VyJzh0TcA iSMrryozqd9btKJ8kPfIZv9I333DyPTJQAI1vZo7ul6o9Q37HWAro/pWUPICGt10 lTbPvQWsqwngEor5SUW3RuxlAqySpg== =6G49 -----END PGP SIGNATURE----- --Zb1JoHkvpJ5xXXHf8NjaUNcmA5JPi5SdB--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d4e82410-d79e-e8b7-8ae9-d282691416af>