A method for providing network security within a vehicle, the method comprising:
- connecting, by a plurality of external network interfaces of an in-vehicle security appliance in the vehicle, to a communication network or device outside of a vehicle;
- connecting, by a first plurality of internal network interfaces of the in-vehicle security appliance, to a network of a first set of networks within the vehicle;
- connecting, by a second plurality of internal network interfaces of the in-vehicle security appliance, to a network of a second set of networks within the vehicle;
- executing, by a Telematics Control Unit (TCU) processor of the in-vehicle security appliance coupled between the plurality of external network interfaces and the first plurality of internal network interfaces, one or more applications providing network security on the first set of networks and the second set of networks by providing a firewall between the first set of networks and the communication network or device outside of the vehicle and between the first set of networks and the second set of networks;
- executing, by a gateway processor of the in-vehicle security appliance coupled between the TCU processor and the second plurality of internal network interfaces, one or more applications providing network security on the second set of networks within the vehicle by providing a firewall between the second set of networks and the communication network or device outside of the vehicle,
- wherein the first set of networks within the vehicle is separate from the second set of networks within the vehicle,
- wherein the TCU processor is i) coupled between the gateway processor and the plurality of external network interfaces, and ii) coupled between the gateway processor and the first plurality of internal network interfaces, such that the TCU processor is i) in a first communication path between the gateway processor and the plurality of external network interfaces and, ii) in a second communication path between the gateway processor and the first plurality of internal network interfaces,
- wherein executing, by the TCU processor, the one or more applications providing network security on the first set of networks and the second set of networks comprises monitoring incoming traffic from communication networks or devices outside of the vehicle to the first set of networks and the second set of networks and outbound traffic from the first set of networks and the second set of networks to the communication networks or devices outside of the vehicle to provide the firewalls,
- wherein the gateway processor does not execute the one or more applications providing network security on the first set of networks, and
- wherein at least one of the plurality of external network interfaces comprises an Off-Board Diagnostics (OBD) connection;
- and
- continually monitoring, by a vehicle control system, while each of the TCU and gateway processors monitors inbound and outbound traffic on the first set of networks and the second set of networks, respectively, traffic, vehicular, roadway, and/or environmental conditions while operating the vehicle.