What is a raw socket?

The network socket is the end point for data exchange throughout the network. Think of a socket like a physical address: Information passing through a computer network is directed to a specific outlet on the computer itself. The raw socket is the type of network socket that allows the software application to send and obtain packets from the network without using the computer operating system as an intermediary. In other words, it allows direct communication between the program and the external source without intervention of the primary computer operating system.

The primary advantage for using the RAW socket network is to cut the mediator. Because the operating system does not process data specifically, it reduces network overhead and stores central processing cycles (CPU) and reduces the voltage on the hardware of the system. The raw socket provides an express tunnel between the application and the external source. Neither the operating system nor any other program on the computer has the ability to interfere with a raw connection. although. Hackers commonly use attacks on the drawer nPoJester of raw socket on attacks on transmission control (transmission procedure) on the network. During the TCP Hacker attack, he sends a forged piece of data through a raw plug -in. This counterfeit data contains a TCP connection signal, which then interrupts and collapses the current network connection on the computer.

For this reason, some operating systems have withdrawn support for raw sockets. This is because it can help ensure network security. Software companies can limit the ability of users to use raw sockets using what is called "hotfix", permanent upgrading to the operating system. These upgrades did not have a significant negative impact on user experience, as the benefits of raw sockets decreased when technology improved.

For modern computers, the amount of special processing required to process conventional connections to the socket as opposed to raw sockets and minesImal that it is largely irrelevant. Given that modern processors come in double, quadrilateral and even six -core varieties, there are chances of regular connection to the network outlet lagging behind negligible. For this reason, unless there is a specific justification for using a raw socket connection via a standard network socket, the risk representing hackers and TCP attacks on the network outweigh any advantages.

IN OTHER LANGUAGES

Was this article helpful? Thanks for the feedback Thanks for the feedback

How can we help? How can we help?