Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for identifying p2p protocol in linux kernel

A protocol and kernel technology, which is applied in the field of p2p protocol identification in the Linux kernel, can solve the problems affecting the user's online experience and the inconvenience of intelligent traffic control, etc., so as to improve the user's online experience, help network management, and increase the effect of rapid identification

Pending Publication Date: 2021-11-26
合肥大洲智创技术有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Aiming at the deficiencies of the prior art, the present invention provides a method for identifying the p2p protocol in the linux kernel, which has the advantages of being able to dynamically identify the p2p protocol, and solves the problem of inconvenient intelligent traffic control and affecting the user's online experience in the current technology question

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 for identifying p2p protocol in linux kernel

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The technical solutions in the embodiments of the present invention will be described clearly and completely below. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0027] see figure 1 , a method for identifying the p2p protocol in the linux kernel, including the following steps:

[0028] A: The network card receives the data packet;

[0029] B: The data packet enters the netfilter framework for processing. The netfilter framework is the network filtering subsystem of the Linux operating system, and only analyzes and processes the newly-connected packets, and the connection tracking state is the new state;

[0030] C: Parse the source port number of the data packet, and query 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 the technical field of computer network security, and discloses a method for identifying a p2p protocol in a linux kernel, which comprises the following steps of: A, receiving a data message by a network card; B, the data message entering a netfilter framework to be processed; C, analyzing a source port number of the data message, and querying the source port; D, judging whether a source port exists or not, if so, updating the counting of the source port, otherwise, creating a new hash node, and then sending a data message; and E, judging whether a threshold value of a p2p port is reached or not, if so, adding into a p2p port list, marking that the p2p protocol is identified, and otherwise, directly sending a data message. According to the methodb the p2p protocol flow can be dynamically identified through the feature statistics of the p2p port, a basis is provided for intelligent flow control, and the internet surfing experience of a user is improved.

Description

technical field [0001] The invention relates to the technical field of computer network security, in particular to a method for identifying a p2p protocol in a linux kernel. Background technique [0002] The p2p protocol, or Peer-to-peer, is a type of network that allows a group of users to connect to each other and get files directly from the user's hard drive. p2p is a distributed network where the participants of the network share a portion of the hardware resources they own (processing power, storage capacity, network connection capacity, printers, etc.), these shared resources need to be served and content provided by the network, and can be directly accessed by other peer nodes without going through intermediate entities. The negative impact of P2P applications on the network cannot be ignored. For example, a large amount of network bandwidth is seized, sometimes 60%-80% of the bandwidth, and only a small amount of the remaining bandwidth is reserved for non-P2P traffi...

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/26H04L29/06H04L29/08
CPCH04L69/22H04L67/104H04L43/18
Inventor 杜晓天罗文亮
Owner 合肥大洲智创技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products