Key firewall metrics-concurrent connections

Source: Internet
Author: User
Tags ftp file
Key firewall indicators - Concurrent connectionsThe number of concurrent connections refers to the ability of the firewall or proxy server to process the business information flow. It is the maximum number of point-to-point connections that the firewall can simultaneously process, it reflects the access control and connection status tracking capabilities of firewall devices for multiple connections. The size of this parameter directly affects the maximum number of information points supported by the firewall. The number of concurrent connections is an important indicator of firewall performance. From the descriptions of common firewall devices on the market, we can see that from 500 and 1000 concurrent connections of low-end devices to tens of thousands and hundreds of thousands of concurrent connections of high-end devices, there are several orders of magnitude differences. So what is the concept of concurrent connections? What is the impact of its size on users' daily use? To understand the number of concurrent connections, you must first understand the concept of "session ". This "session" is not our usual conversation, but it can be understood in our usual conversation. When two people are talking, you say, I say, answer, we call it a conversation or a session. Similarly, when we work on a computer, we can call a window or web page a "session" and extend it to a LAN, all users need to access the Internet through the firewall and open many windows or web pages (that is, sessions). Then, the maximum number of sessions that the firewall can process is "concurrent connections ". Like a router's route table that stores route information, the firewall also has such a table. We call it a concurrent connection table, where the firewall stores concurrent connection information, after the firewall system is started, it can dynamically allocate the memory space of the process, which is the maximum number of concurrent connections supported by the firewall. The large concurrent connection table can increase the maximum number of concurrent connections of the firewall and allow the firewall to support more client terminals. Although it seems that the larger the number of concurrent connections of similar products such as firewalls, the better. But at the same time, too large concurrent connection tables will also have a negative impact:   1. The increase in the number of concurrent connections means the consumption of system memory resources.1000 concurrent connections occupy 1000 B of memory, 10000 concurrent connections occupy B x 8 bit/B ≈ MB of memory, and concurrent connections occupy 23 MB of memory, 100000 concurrent connections will occupy 1000000 MB of memory space. If you try to implement concurrent connections, this product requires GB of memory space! 2. CPU usage should be fully considered for the increase in the number of concurrent connections Processing capability  The main task of the CPU is to transfer the network traffic from one CIDR block to another CIDR block as quickly as possible, in addition, during the forwarding process, the traffic is checked based on a certain access control policy, traffic statistics, and Access Audit, this requires the firewall to constantly update the read/write operations on the corresponding table items in the concurrent connection table. If you increase the system's concurrent connection table regardless of the actual processing capacity of the CPU, it will inevitably affect the firewall's delay in processing connection requests, resulting in some connection times out and re-sending more connection packets, in this case, more connections are timed out, and an avalanche effect is formed, causing the entire firewall system to crash. 3. The actual Carrying Capacity of physical links will seriously affect the firewall's ability to process massive concurrent connections.Although many firewalls currently provide 10/100/Mbit/s network interfaces, the firewalls are usually deployed at the Internet egress and are located in the path between the client PC and the target resource, there is always a bottleneck link-the bottleneck link may be a 2 Mbps leased line, or a 512kbps or even 64 Kbps low speed link. These crowded low-speed links cannot carry too many concurrent connections at all, so even if the firewall can support large-scale concurrent access connections, it cannot exert its original performance. In view of this, we should select a suitable number of concurrent connection tables based on the specific circumstances of the network environment and different Internet surfing habits of individuals. Because different networks of different sizes will produce different concurrent connections, and users will also have different requirements for concurrent connections as to what kind of network services are used to and how to use these services. Firewall devices with high concurrent connections usually require customers to invest in more devices, because the increase in the number of concurrent connections involves data structures, CPU, memory, system bus, network interfaces, and other factors. Finding a golden balance between reasonable equipment investment and actually providing performance is an important task for users to choose products. It is recommended to judge the rationality of the scheme based on the number of concurrent connections. It is calculated that each user requires 10.5 concurrent connections. A small and medium-sized enterprise network (less than 1000 information points, which can accommodate 4 class C address spaces) requires about 10.5 × 1000 = 10500 concurrent connections, therefore, 20000 ~ 30000 of the maximum number of concurrent connections to firewall devices can meet the needs; large enterprises and institutions (such as the number of information points in 1000 ~ 10000) it will require 105000 concurrent connections, so 100000 to connections are supported ~ The firewall with a maximum of 120000 concurrent connections can meet the actual needs of enterprises. For large telecom operators and ISPs, the gateway-level gigabit firewall (supporting 120000 ~ 200000 concurrent connections) is the right choice. The adoption of high-end firewall devices for a lower demand will result in a waste of user investment. The adoption of low-end devices for Higher customer needs will not be able to meet the expected performance indicators. Selecting appropriate firewall products based on the overall concurrent connection requirements of the network can help users quickly and accurately locate the desired products, avoid the blind pursuit of a single parameter "bigger and better", shorten the design and construction cycle, and save the company's expenses. So as to implement the most reasonable security protection solutions for enterprises. When using the concurrent connection count indicator to select a firewall product, the comprehensive performance of the product, the R & D strength of the manufacturer, the capital strength, the business reputation and business risks of the enterprise, as well as the technical support of the product line and the after-sales service system should be included in the purchaser's vision, by combining various factors for comprehensive consideration, we must not blindly listen to the promotion of large concurrent connections in advertisement promotion of some manufacturers, you must consider your business system, enterprise scale, development space, and strength based on various factors. Key firewall indicators - ThroughputData in the network is composed of data packets, and the firewall processes each data packet, which consumes resources. Throughput refers to the number of packets that pass through the firewall per unit of time without packet loss. With the increasing popularity of the Internet, the demand for Intranet users to access the Internet is increasing. Some enterprises also need to provide services such as WWW page browsing, FTP file transmission, and DNS domain name resolution, these factors will cause a sharp increase in network traffic. As the only data channel between the Intranet and the Internet, the firewall will become a network bottleneck if the throughput is too small, it has a negative impact on the transmission efficiency of the entire network. Therefore, the test of the firewall's throughput can help us better evaluate its performance. This is also an important indicator for measuring firewall performance. The throughput is mainly determined by the efficiency of the network card in the firewall and the program algorithm, especially the program algorithm, which will make the firewall system perform a lot of operations and reduce the communication volume. Therefore, although most firewalls claim to be 100 m firewalls, their algorithms rely on software implementation, the traffic is far from M, but actually only 10 m-20 m. Hardware-only firewalls use hardware for computing, so the throughput can reach a linear value of 90-95 m, which is a real M firewall. For small and medium enterprises, a firewall with a throughput of MB can meet their needs. For large enterprises such as telecommunications, finance, and insurance, a firewall with a throughput of GB is required.

 

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.