| CPC H04L 63/0218 (2013.01) [G06F 9/45558 (2013.01); H04L 67/63 (2022.05); G06F 2009/45595 (2013.01)] | 18 Claims |

|
1. For a virtual machine executing on a host computer, a method for providing firewall services on the host computer, the method comprising:
for a network connection, receiving a record associating a set of header values of packets sent from the virtual machine with an identifier associated with a process associated with the network connection;
associating a packet received from the virtual machine with the identifier by comparing the packet's set of header values with the set of header values of the record;
using the identifier to identify a firewall rule from a plurality of firewall rules that have rule identifiers defined by reference to a plurality of identifiers;
performing a firewall operation on the received packet based on the identified firewall rule by forwarding the packet to a virtual switch executing on the host computer for distribution to a destination of the packet, the virtual switch being configured to apply routing policies based on a user identity and a group membership.
|