firewall rule inflation cost: a group of digital understand why we should clean up.
See first a few digital security inspections conducted last week for a Shenzhen manufacturing company, firewall strategy table showing that 3 has saved the 847 rule for the year, and only 213 was actually hit, with a 25.1% hit rate. Remaining 634 It's all online trash. —— Every one of them is slowing down the utensils. …

Look at the numbers first.
A security check was conducted last week for a Shenzhen manufacturing company, and firewall strategy forms were shown, 3 saved the 847 rule for the year. Only 213 was actually hit, with a 25.1% hit rate. Remaining 634 It's all online trash. —— Every one of them is slowing down the strategizing match engine. 、 Increased risk of misalignment 。 This one. digital It's not an example. , I did it. 20 In many corporate clients. , firewall The rule inflation is a common phenomenon. 。
Several key data:
- Rule 847, Actual hit 213, Hit rate 25.1% -- this is the inventory that was left uncleaned in 3
- Policy Match latency from new timer 0.3ms to 2.1ms - 7 multiplication
- 47 in redundancy rules is any-any release -- equal to opening 47 back door on firewall
- Number of cleanup rules down to 305, match latency back to 0.5ms
What do these numbers mean?
firewall strategy expansion is not a technical issue, but a management issue. For every new need, there is a rule, and no one goes back and cleans it up. After 3 years, departing IT staff had taken the business context with them, leaving rules that nobody dared remove because their effect on services was unclear.
The most extreme case I have ever seen: one enterprise with a 1200 rule is a 380 left by a separated employee, whose business system has been offline long ago, but the rules are still running. We're gonna have to go through every one of these. , Network latency That's why there's so much. 1.8ms。 It doesn't sound like much. , But at the peak of the production network, ,1.8ms Multiply by every second ten thousand Subconnection , It's just something that can be felt in the eyes. stuttering 。
More dangerous is the security risk. Well... 47 Article any-any Release the rules. , It means everything that comes from any objective. Ports Let go! 。 Once the attackers have crossed the border, these rules are the highways that move horizontally within the inner network. The first step I took was to flip the firewall policy sheet to any-any, with a hit rate of almost 100%.
| Indicators | Before cleaning | After cleaning | Improvement |
| Total number of rules | 847 | 305 | -64% |
| The actual hit. | 213 | 198 | -7% |
| Policy Match Delay | 2.1ms | 0.5ms | -76% |
| any-any. Release the rules. | 47 | 2 | -96% |
| Policy audit time-consuming | 4 hours | 40 minutes | -83% |
This is a comparison of the facts I've been cleaning up for the manufacturing company. The rule cuts off 64%, but the actual hit is only missing from the 15 - Description deleted 634 rule, which is not really useful for 3%. The policy match latency dropped 76%, and the any-any rule cut from 47 to 2 (both approved operations and maintenance channels).
What does the company do?
firewall strategy clean-up is not a one-time exercise, it is continuous management. I'm pushing the client three steps:
Step one. : Label the rules. 。Each rule is accompanied by an annotated record of three messages: the applicant, the related business, the date of creation. No comment on the rule, 90% is historical waste. When I labeled the manufacturing company, only 189 had an annotated rule in 847 - an annotated rule with a high hit rate of 78%; Unremarked, only 8% hits. This experience was subsequently validated by a number of clients and was generally common.
Step two. : Sequence of hit rate , Clean-up priority in low-life situations. 。Export a strategic hit count (most firewall is Supported), sorted by the number of hits. The 0 rule was struck, except for observation of 30 days, without business complaints before deletion. redundancy rule of 634 of the enterprise, with 401 rule 0 hit, was disabled from 30 for no complaint for four days and was deleted.
Step three. : Establishment of quarterly clean-up mechanisms 。Quarterly run-off strategy audit: export hit report, mark-up unannotated rule, clean-up of out-of-date rule. I suggest using the CI/CD approach: Write a script regularly to export the strategy and hit count, generate contrast reports, and push to IT head email. After automation, the clean-up cost was reduced from 4 hours to 40 minutes.
FAQ Quick Questions and Answers
How many rules are normal for Q1 firewall?
There is no absolute standard, but in my business, 200-400 rules cover most of the business scene. More than 500 should be vigilant and more than 800 must be cleaned up. The point is not quantity, it's a hit rate -- below 40% -- and Description rules are all over the air.
Q2, is the clean-up code out of business?
Yes, so it must be disabled and then deleted. Disable 30 days to confirm that no business impact will be formally deleted. I've done 20 strategy clean-up, followed this process, and no accidents. The worst thing to do is to come up and delete it — someone did it, and then the business was cut off three days later.
Q3. What tools are used to conduct strategic audits?
firewall self-directional Functions, export it. If the number of rules exceeds the 1000, an automated analysis can be done using a AlgoSec or Tufin-type platform for strategic management. SMEs use Excel + scripts to be sufficient: export policy tables, classified by source address, target address, Ports, hit the mark of 0, and 30 to guide contrast again after days. Python scripts I wrote at the client's site, 50 line code is done, better than commercial tools.
If your firewall rules have been saved for several years, it is recommended that an audit be conducted this month. First, we're going to get a hit report, which is below 40%, and we should do it. Supported needs a strategy to clean up Supported, Contact us and Huanan Tengfei Technology to provide a professional firewall policy audit, service. Shenzhen is available locally.











