VDCCM


From SynCE-Wiki

VDCCM is actually capable in supporting PocketPC 2002/2003 and WM5 devices. For WM5 devices it acts as a rapi2-call proxy to connected devices.

VDCCM has to be installed suid-root (chmod 4755 /usr/bin/vdccm), as it has to open a socket with port-number 990, what is below 1024. Having created this port, VDCCM drops it's root-privileges to be not potentialy vulnerable.

After a WM5 device has successful connected to VDCCM an PF_LOCAL socket is created in the ~/.synce/rapi2/ directory of that user who has started VDCCM. This socket is labeld after the ip-address of the connected device (this may change in the future).

An application on the host, which need to perform rapi2-calls on the device will connect to the ~/.synce/rapi2/<ip-address-of-the-device> socket. All bytes send over this connected socket are transparently forwarded to the device. Also, the response from the device is transparently forwarded back to the application.

Image:Rapi_rapi2.png

VDCCM-Archirecture

Networking Framework

Sequence Diagramm