Method and system for packet transmission in Linux network bridge mode

A technology of message and network bridge, applied in communication network and communication field to achieve the effect of improving system performance and facilitating monitoring

Inactive Publication Date: 2009-01-14
BEIJING XINWANG RUIJIE NETWORK TECH CO LTD
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] The purpose of the present invention is to provide a kind of method that transmits message under linux network bridge mode, is used to solve the deficiency that can not capture

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
  • Method and system for packet transmission in Linux network bridge mode
  • Method and system for packet transmission in Linux network bridge mode
  • Method and system for packet transmission in Linux network bridge mode

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in further detail below in conjunction with the embodiments and accompanying drawings. Here, the exemplary embodiments and descriptions of the present invention are used to explain the present invention, but not to limit the present invention.

[0032] The embodiment of the present invention provides a method and system for transmitting messages in the linux network bridge mode. The present invention will be described in detail below in conjunction with the accompanying drawings. Wherein the protocol parameter is a parameter in the Raw socket in the bridge mode of the Linux system, which represents the protocol type value of the data message to be captured. The protocol type value refers to the protocol type value of the data message, for example, the protocol type value of the ARP message is 0x0800, and the protocol type value of the...

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 relates to network communication field, for solving the problem that prior Linux system can not acquire certain consultative message in a bridge mode, particularly providing a method of transmitting the message under linux bridge mode and a system. Received message is processed on a mount point 3 between the step of processing the mount point 1 and transmitting the received message, comprising: judging whether protocol type value of the received message is a special protocol type value, if true, copying the received message and copying to a Raw socket unit corresponding to the protocol type value, obtaining received message through the Raw socket unit by a supernatant application program; otherwise transmitting the received message. The invention has the advantages in that, the Linux system greatly advances system performance in the bridge mode, thereby reducing system load and increasing monitoring efficiency.

Description

technical field [0001] The invention relates to the field of communication, in particular to the field of communication network, specifically a method for transmitting messages in the linux network bridge mode. Background technique [0002] The bridge works at the data link layer, connects two LANs, and forwards frames according to the MAC address, which can be regarded as a "low-level router" (the router works at the network layer and forwards according to network addresses such as IP addresses). [0003] Socket is a process communication mechanism of UNIX, also commonly called "socket", which is used to describe an IP address and port, and is a handle of a communication chain. The raw socket is one of the sockets. The protocol packet received by the machine can be captured through the Raw socket. In particular, when capturing the packet of the data link layer protocol, the value of protocol can be ETH_P_ALL, or an Ethernet type value. For example, sockfd=socket(AF_INET, ...

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
IPC IPC(8): H04L12/46H04L29/06H04L12/56H04L12/701
Inventor 毛琦
Owner BEIJING XINWANG RUIJIE NETWORK TECH CO LTD
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