Enhanced DoS Prevention for Port Scanning
Zyxel Employee
USG FLEX H Series Firewall has enhanced the DoS (Denial of Service) Prevention feature in its latest firmware, specifically improving the way the firewall handles port scanning attacks. These adjustments help reduce CPU load.
What Is DoS Port Scanning Protection?
Port scanning is a technique often used by attackers to discover open ports on a firewall or device for potential exploitation.
The DoS Port Scanning Protection feature detects and blocks these scanning attempts, preventing excessive traffic from overloading your firewall
Old vs. New Behavior
Previous Behavior (Before Firmware Update)
- Traffic targeting the firewall itself (e.g., port scan attempts) was first evaluated by the Policy Control rules, then by DoS Prevention.
- As a result:
- Most scan attempts were dropped by default deny rules.
- All traffic still entered the kernel, creating CPU overhead.
- Logs were unnecessarily generated, causing additional CPU overhead.
New Behavior (After Firmware Update)
- Revised traffic flow for inbound port scan traffic:
- Traffic targeting the firewall itself is now evaluated by DoS Prevention first, before Policy Control.
- If flagged as a scan, the source IP is blacklisted immediately.
- Traffic is blocked before reaching the kernel, saving CPU cycles.
- No unnecessary logs are generated from default deny rules.
Why LAN to ANY Traffic Is Not Affected
Traffic from LAN to Any has same order and behavior
- Traffic targeting the any zone (e.g., LAN1 to LAN2) was first evaluated by the Policy Control rules, then by DoS Prevention
- Most traffic from LAN to any IP address generally hits the allow LAN Outgoing rule which does not generate logs by default
How to Monitor DoS Blocked IPs
You can now check and manage blacklisted IPs with new CLI commands:
Show Blocked IPs
usgflex200hp> show dos-prevention-block-list
Clear a Specific IP
usgflex200hp> cmd dos-prevention-block-list clear ip 192.168.169.33
Clear All Blocked IPs
usgflex200hp> cmd dos-prevention-block-list clear all
Categories
- All Categories
- 439 Beta Program
- 2.8K Nebula
- 202 Nebula Ideas
- 127 Nebula Status and Incidents
- 6.3K Security
- 515 USG FLEX H Series
- 328 Security Ideas
- 1.7K Switch
- 84 Switch Ideas
- 1.3K Wireless
- 49 Wireless Ideas
- 6.9K Consumer Product
- 288 Service & License
- 458 News and Release
- 90 Security Advisories
- 31 Education Center
- 10 [Campaign] Zyxel Network Detective
- 4.3K FAQ
- 34 Documents
- 85 About Community
- 97 Security Highlight


