TCP protocol based OpenStack flow collection method

A traffic collection and protocol technology, applied in digital transmission systems, electrical components, transmission systems, etc., can solve problems such as difficult to distinguish which business or which virtual machine or which virtual network the traffic belongs to

Inactive Publication Date: 2018-05-29
北京科来数据分析有限公司
View PDF6 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Usually, the traffic of OpenStack virtual machines and virtual networks must pass through the vswitch. At present, even if packets are captured on the vswitch on each physical machine, due to the multi-tenant characteristics of OpenStack, it is difficult to distinguish which business or which virtual machine the traffic belongs to after the traffic is aggregated. machine or which virtual network, and there is no visual way for users to select virtual ports for mirroring according to their needs

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • TCP protocol based OpenStack flow collection method
  • TCP protocol based OpenStack flow collection method
  • TCP protocol based OpenStack flow collection method

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment 1

[0031] Such as figure 1 As shown, a TCP protocol-based OpenStack traffic collection method, the specific method is: set the capture probe (Capture Probe), capture management center (Capture Manager) and capture receiver (Capture Receiver); the capture probe is deployed in On the network nodes or computing nodes of OpenStack; the collection management center and the collection receiver are deployed on other physical devices (such as servers) or virtual machines; the collection probe performs image management on the traffic to be collected, and collects The data packet of the virtual port of the machine is repackaged into a result data packet by adding business information and time stamp information, and the result data packet is sent to the corresponding traffic analysis application through the TCP protocol.

[0032] The two functions of the collection probe: (1) Traffic mirroring (realized by using the port mirroring command of openvswich) (2) Traffic collection and sending (r...

specific Embodiment 2

[0034] On the basis of specific embodiment 1, the specific method steps are:

[0035] S1. The collection probe connects to the collection management center, and reports the virtual port information list of the machine where the collection probe is located (an OpenStack computing node or network node) to the collection management center;

[0036] S2. The collection management center sends a traffic collection command to the collection probe at the port where the destination image is located;

[0037] S3. The acquisition probe receives the mirroring command, creates a mirroring port, mirrors the traffic of the source port to the mirroring port, and establishes a TCP connection with the collection receiver at the same time, copies the traffic of the specified source port and adds the service ID and The timestamp information is sent to the destination IP where the traffic analysis application is located through the TCP protocol;

[0038] The virtual port refers to the port on the...

specific Embodiment 3

[0040] On the basis of specific embodiment 2, wherein, the acquisition of the virtual port information in the S1 is by calling the API of OpenStack, first obtaining all port lists of all OpenStack environments, and then filtering out the ports on the local integration bridge.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a TCP protocol based OpenStack flow collection method. The TCP protocol based OpenStack flow collection method specifically comprises the steps of setting a collection probe, acollection management center and a collection receiver; deploying the collection probe at a network node or a computing node of OpenStack; deploying the collection management center and the collectionreceiver on another physical device or a virtual machine; and performing mirror image management on a to-be-collected flow by the collecting probe, packaging the collected data packets of a local virtual port, service information and timestamp information again to form a result data packet and sending the result data package to a corresponding flow analysis application through the TCP protocol. Compared with the prior art, the TCP protocol based OpenStack flow collection method is convenient for distinguishing a vertical machine, a virtual network or a service which the collected flow belongs, and can select the flow of a mirror image virtual machine, the external flow of the virtual network and the flow of the virtual router for a public network freely and conveniently.

Description

technical field [0001] The invention relates to an OpenStack flow collection method based on the TCP protocol, in particular to an OpenStack flow collection method suitable for the TCP protocol. Background technique [0002] Today, OpenStack has evolved into a widely adopted cloud management framework. While OpenStack is growing rapidly, there are more and more requirements for security and network fault analysis of the OpenStack cloud platform. One of the requirements is to be able to monitor data in the OpenStack data center. Discovered traffic based on the virtual network structure. Usually, the traffic of OpenStack virtual machines and virtual networks must pass through the vswitch. At present, even if packets are captured on the vswitch on each physical machine, due to the multi-tenant characteristics of OpenStack, it is difficult to distinguish which business or which virtual machine the traffic belongs to after the traffic is aggregated. machine or which virtual netw...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/26H04L12/24H04L12/931
CPCH04L41/14H04L43/04H04L43/0876H04L49/208
Inventor 林康游浣权谭春海
Owner 北京科来数据分析有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products