Method and system for intercepting raw socket input and output
A raw socket, input and output technology, applied in transmission systems, electrical components, etc., can solve problems such as low performance, and achieve the effect of improving interception performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0026] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0027] The embodiment of the invention discloses a method for intercepting raw socket input and output. This method is used in the Linux kernel. Since this method is implemented in the Linux kernel, in order to prevent that other kernel modules may also register the original socket interface, the Linux kernel module needs to be loaded preferentially when the operating system is started. Such as figure 1 As shown in FIG. 2 , it is a flowchart of a method for intercepting raw socket input and output in an embodiment of the present invention. This method specifically comprises the steps as follows:
[0028] Step S101: Find the original socket interface built in the Linux kernel.
[0029] In the Linux kernel, the structure of the ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 