GaloisInc / BESSPIN-Tool-Suite

The core tool of the BESSPIN Framework.
Other
5 stars 2 forks source link

Hacked Infotainment Server #1163

Closed dmzimmerman closed 3 years ago

dmzimmerman commented 3 years ago

This branch is the hacked infotainment server. It is mostly the same as the original infotainment server, but modified to listen for packets on two different ports, ignoring all but GPS and heartbeat packets on the main CAN network port and ignoring all but button presses on the special hacker kiosk command and control port. It also broadcasts GPS position updates to the hacker kiosk command and control port in addition to the main CAN network.

Note that the hacker kiosk is meant to communicate with the hacked infotainment server on port 5811 (H = 8, K = 11 in the alphabet), and should be listening on that same port for GPS updates, at least the way the constants are currently defined in the headers.

I have not tested this in the actual environment, but I have tested it listening to thin clients on two different ports and it behaves as I expect it to. So I think it can be merged in, pending the possible need to add functionality as I proposed in #1168.

Closes #1160