Libnet/libnids library functions about __ functions
Source: Internet
Author: User
In the development of network security Tools on UNIX system platform, the most popular C API library is libnet,
Libpcap, Libnids and libicmp. They provide different function functions from different levels and angles respectively. Make
Network developers can ignore the implementation of the details of the network, so as to focus on the specific functions of the program itself design and development
。 which
* The interface functions provided by libnet mainly implement and encapsulate the construction and sending process of the packet.
* Libpcap provides interface functions that primarily implement and encapsulate the process associated with packet interception.
* The interface function provided by Libnids mainly realizes some necessary structure framework for developing network intrusion monitoring system.
* LIBICMP is relatively simple, it encapsulates the ICMP packet's main processing process (construction, send, receive, etc.
)。
Using the interface of these C function libraries, network security tool developers can easily write the structure of strong,
Strong, portable high characteristics of the procedures, such as scanner, sniffer, firewall, IDs and so on.
The latest version of the Libnet Library is 1.0.0, which is about 7600 lines of C source code, 33 source program files, 12 C header files
, more than 50 custom functions, provided the interface function contains 15 kinds of packet generator and two packet transmitter (IP layer
and data link layer). Only IPV4 is currently supported and IPV6 is not supported. The tested system platforms include:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.