Linux operating system firewall packet capture module packet filtering
Source: Internet
Author: User
For more information, see <G id = "1"> Linux Enterprise Application> Linux server application </G>. 1. Firewall Overview
Network Firewall is a technology used to enhance access control between networks and prevent external network users from illegally accessing internal networks and network resources through external networks, A special network interconnection device that protects the operating environment of the internal network. It checks data packets transmitted between two or more networks according to certain security policies to determine whether communications between networks are allowed and monitor the network running status.
According to the different technologies used by the firewall, there are four basic types of firewall: Packet Filter Type and network address translation? NAT, proxy, and monitoring. Packet Filter is a basic firewall product. Its technical basis is packet transfer technology in the network. The advantage of the packet filtering technology is that it is simple and practical, and the implementation cost is low. When the application environment is relatively simple, the system security can be guaranteed to a certain extent at a small cost. Network Address Translation is a standard for converting IP addresses into temporary, external, and registered IP addresses. It allows internal networks with private IP addresses to access the Internet.
A proxy firewall can also be called a proxy server. It is more secure than a packet-filtering product and has begun to develop at the application layer. The advantage of proxy firewall is its high security. It can detect and scan the application layer to deal with intrusion and viruses Based on the application layer. Its disadvantage is that it has a great impact on the integrity of the system, and the proxy server must be set one by one for all application types that may be generated by the client, greatly increasing the complexity of system management.
The monitoring Firewall is a new generation product that can actively and in real time monitor the data at all layers. Based on the analysis of the data, the monitoring firewall can effectively detect illegal intrusion at each layer. At the same time, such detection firewall products generally carry distributed detectors, which are placed on various application servers and nodes on other networks, not only to detect attacks from outside the network, at the same time, it also has a strong preventive effect on internal malicious damages. The security of the monitoring firewall has exceeded the packet filter type and the proxy server type firewall, but its implementation cost is high. Based on the comprehensive consideration of system cost and security technical cost, users can choose to use some monitoring technology.
Ii. Overall Design of Linux-based Personal Firewall
This article studies the software and hardware environment of the firewall system, the development steps and functions of the firewall, and finally describes the hardware and software platform principles required by the firewall system. Although all Linux systems have built-in firewall kernel programs, user configuration is required to protect network security.
1. Overall Firewall System Design
In Linux, implementing the design and application of software firewalls is essentially a host-based network security solution. Therefore, we can choose an appropriate software and hardware platform and the corresponding firewall design principles, and develop a firewall system that can meet the requirements.
To sum up, the firewall to be implemented must meet two major requirements: first, it must be able to provide security protection for hosts, that is, to implement security protection during data transmission between hosts and hosts outside the LAN; second, it is necessary to provide a good man-machine interface with the advantages of easy operation and easy management.
Considering the limitations of existing hardware devices, the experiment environment is simplified as much as possible to ensure that the experiment requirements are met. Because the firewall system is designed based on hosts, you only need a networked host for verification. In Linux, the system uses C language to implement the design and application of the packet filtering software firewall, and uses Kylix development tools for interface design and database connection.
The Linux-based personal firewall system provides the following functions:
(1) full-process dynamic packet filtering this firewall should implement full-process dynamic packet filtering in Linux, and control access to the current status of any network connection by analyzing the IP address, protocol, and port of the data packet, this improves system performance and security.
(2) provide log auditing. This firewall is equipped with a logging system and a query tool to record system management, system access, and network access to security policies.
(3) Firewall Database Backup This Firewall creates a firewall to filter databases, and the administrator can actively set the database.
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service