While analyzing security of iMiniCam app, I learned some part of UDP protocol used to communicate with the camera. Here is quick bunch of facts.
UDP layer
Port 32100 (Proto_Hello, to external server) and port 32108 (others, to camera).
Type-length layer
Following structure represents first header that is always found in datagram.
struct header { uint8_t magic; enum proto_type type; uint16_t length; }
In this structure magic
is always set to 0xf1
, type
is one of the below values, packed on single byte and length
count data that follows this packet, so if it is equal to zero, only those four bytes are transmitted. Continue reading “PPPP API: what I know”