VIRTUAL PORT MONITORING METHOD AND APPARATUS
First Claim
1. A virtual port monitoring method, comprising:
- intercepting a packet received and/or sent by at least one mirror source virtual port; and
when the packet is intercepted, mirroring the packet to a mirror destination virtual port, so that a monitoring virtual machine monitors the at least one mirror source virtual port according to the mirrored packet received from the mirror destination virtual port.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments of the present invention provide a virtual port monitoring method and apparatus. The virtual port monitoring method includes: intercepting a packet received and/or sent by at least one mirror source virtual port; and when the packet received and/or sent by the at least one mirror source virtual port is intercepted, mirroring the packet to the mirror destination virtual port, so that a monitoring virtual machine monitors the at least one mirror source virtual port according to the mirrored packet received from the mirror destination virtual port. The virtual port monitoring method and apparatus provided in the embodiments of the present invention implement the monitoring on packets among multiple virtual machines of a same physical server, and improves the reliability and security of a system.
42 Citations
19 Claims
-
1. A virtual port monitoring method, comprising:
-
intercepting a packet received and/or sent by at least one mirror source virtual port; and when the packet is intercepted, mirroring the packet to a mirror destination virtual port, so that a monitoring virtual machine monitors the at least one mirror source virtual port according to the mirrored packet received from the mirror destination virtual port. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A virtual port monitoring method, comprising:
-
receiving a mirrored packet from a mirror destination virtual port; and according to the mirrored packet, monitoring at least one mirror source virtual port, wherein the mirrored packet is received and/or sent by the at least one mirror source virtual port. - View Dependent Claims (7, 8)
-
-
9. A virtual port monitoring apparatus, comprising:
-
an interception unit, configured to intercept a packet received and/or sent by at least one mirror source virtual port; and a mirroring unit, configured to, when the packet is intercepted, mirror the packet to a mirror destination virtual port, so that a monitoring virtual machine monitors the at least one mirror source virtual port according to the mirrored packet received from the mirror destination virtual port. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A server, comprising multiple virtual machines, a network interface card, and further comprising a virtual port monitoring apparatus wherein:
-
the virtual port monitoring apparatus comprises; an interception unit, configured to intercept a packet received and/or sent by at least one mirror source virtual port; and a mirroring unit, configured to, when the packet is intercepted, mirror the packet to a mirror destination virtual port so that a monitoring virtual machine monitors the at least one mirror source virtual port according to the mirrored packet received from the mirror destination virtual port; the network interface card, comprising a physical port, multiple virtual network interface cards and a virtual port corresponding to each virtual network interface card, a multiple virtual port comprises at least one mirror source virtual port and a mirror destination virtual port; each virtual machine is allocated a virtual network interface card, the multiple virtual machines comprise at least one monitoring virtual machine, wherein the virtual network interface card allocated to the monitoring virtual machine provides the mirrored packet received from the mirror destination virtual port of the network interface card to the monitoring virtual machine.
-
Specification