Hikvision device discover via SADP over SSH

Hikvision SADP is a useful tool which allows to control and active NVR devices within a local network. Unfortunately it is not so useful when dealing with remote devices.

Although there is a small trick. SADP uses a multicast address 239.255.255.230 and a UDP port 37020 for sending and receiving control packets to/from Hikvision devices. This info can be used to create a listening socket on a device within the same network as a host running SADP that will forward these packets to remote networks without setting up multicast routing. Continue reading “Hikvision device discover via SADP over SSH”