Fortiddos 5 0 0 Handbook PDF
Fortiddos 5 0 0 Handbook PDF
Fortiddos 5 0 0 Handbook PDF
VERSION 5.0.0
FORTINET DOCUMENT LIBRARY
http://docs.fortinet.com
FORTINET VIDEO GUIDE
http://video.fortinet.com
FORTINET BLOG
https://blog.fortinet.com
CUSTOMER SERVICE & SUPPORT
https://support.fortinet.com
http://cookbook.fortinet.com/how-to-work-with-fortinet-support/
FORTIGATE COOKBOOK
http://cookbook.fortinet.com
FORTINET TRAINING SERVICES
http://www.fortinet.com/training
FORTIGUARD CENTER
http://www.fortiguard.com
FEEDBACK
Email: techdocs@fortinet.com
FortiDDoS Handbook
Version 5.0.0
TABLE OF CONTENTS
Change Log 14
Introduction 15
Product features 16
Purpose-built for low latency and rapid response 16
Massive-scale SYN and DNS flood mitigation 16
Initial learning period 16
Continuous learning 16
Zero Day attack prevention 16
Granular attack detection thresholds 16
Deep packet inspection 17
Slow connection detection 17
Known IP address matching 17
Source tracking 17
Service Protection Profiles (SPPs) 17
Cloud signaling 17
Intuitive analysis tools and reports 17
Viewing traffic monitor graphs 17
Configurable event monitoring 18
Deployment topology 19
Document Scope 20
FortiDDoS Manuals 20
FortiDDoS Drop Precedence 20
What’s New 23
What's new in FortiDDoS 5.x 24
5.0.0 24
What's new in FortiDDoS 4.7.x 25
4.7.0 25
What's new in FortiDDoS 4.6.x 26
4.6.0 26
What's new in FortiDDoS 4.5.x 28
4.5.0 28
What's new in FortiDDoS 4.4.x 31
4.4.2 31
4.4.1 31
4.4.0 31
What's new in FortiDDoS 4.3.x 33
4.3.1 33
Change Log
Introduction
FortiDDoS is a network behavior anomaly (NBA) prevention system that detects and blocks attacks that intend to
disrupt network service by overutilizing server resources. These attacks are commonly referred to as distributed
denial of service (DDoS) attacks.
FortiDDoS uses a variety of schemes, including anomaly detection and statistical techniques, to provide nonstop
protection, even against attacks that cannot yet be recognized by an attack signature. When FortiDDoS detects
an attack, it immediately drops traffic from the offending source, thus protecting the systems it defends from
floods.
Product features
At the end of the initial learning period, you can adopt system-recommended thresholds (usually lower than the
factory default) and continue to use Detection Mode to review logs for false positives and false negatives. As
needed, you repeat the tuning: adjust thresholds and monitor the results.
When you are satisfied with the system settings, change to Prevention Mode. In Prevention Mode, the appliance
drops packets and blocks sources that violate ACL rules and DDoS attack detection thresholds.
Continuous learning
FortiDDoS begins learning traffic patterns as soon as it begins monitoring traffic, and it never stops learning. It
continuously analyzes traffic rates and dynamically adjusts the thresholds that differentiate between legitimate
traffic volume and attacks.
Source tracking
FortiDDoS tracks connection and rate behavior per source IP address, so it can identify the source of attacks and
apply more stringent limits to the traffic they send to your servers.
Cloud signaling
REST API and configuration that enables small/medium businesses and enterprises to work with participating
service providers and cloud providers to route traffic through a "scrubbing station" in the service provider network
(SPN) before it is forwarded through the WAN link to the customer premises network (CPN).
Deployment topology
The FortiDDoS appliance is deployed inline between the Internet and the local network to protect the local
network servers from volume-based attacks like floods and attacks that send anomalous packets to exploit known
vulnerabilities.
l Deployment Topologies
l High Availability Deployments
Document Scope
FortiDDoS Manuals
l FortiDDoS Online Help/Handbook describes how to get started with the system, how to modify and manage
configurations, how to monitor traffic, and how to troubleshoot system issues.
l FortiDDoS QuickStart Guide for your appliance has details about the hardware components, ports, and LEDs.
l FortiDDoS Datasheet has detailed specifications. The product datasheet also lists throughput per model. Please
use those resources to size your deployment, select the appropriate hardware models, and install the hardware into
an appropriate location and machine environment.
1. Global ACL Deny—You can configure rules that deny traffic to/from local addresses geolocations to prevent
spoofing, and from IPv4 address spaces and geolocations known to have no business requesting resources from
any of the protected subnets. You can also block addresses maintained by the FortiGuard IP Reputation service.
Packets that match deny rules are dropped. Packets that do not match the deny rules continue for further
processing.
2. Protocol Anomalies—Drop packets identified by built-in protocol anomaly detection methods. No configuration
is required. Layer 3 protocol anomaly detection is performed first. If none found, the traffic continues to Layer 4
protocol anomaly detection. If none found, the packets continue for further processing.
3. Global ACL Deny IP netmask—Rules configured to match an IPv4 netmask are consulted next. Packets that
match deny rules are dropped. Otherwise, processing continues.
4. SPP ACL—Use SPP allow/deny rules to enforce nuanced policy decisions based on Layer 3, Layer 4, and Layer 7
parameters. An SPP administrator can create granular rules based on his or her knowledge of the IP addresses
and services that have reason or no reason to travel inbound or outbound in its network. Layer 3 rules are
processed first. Packets not dropped continue to Layer 4 rule processing. Packets not dropped continue to Layer 7
processing. Packets that are not dropped continue.
5. TCP State Anomalies—You can enable rules to drop packets identified by TCP state anomaly detection
methods. Packets that have TCP state anomalies are either harmful or useless, so we recommend you use the
TCP state anomalies detection options to drop these. Packets that are not dropped continue.
6. Source SPP Thresholds—Packets are evaluated against the source table. Packets from source IP addresses
subject to a FortiDDoS blocking period are dropped. Packets that exceed per-source thresholds are dropped.
Packets that are not dropped continue.
7. Destination SPP Thresholds—Packets are evaluated against the destination table. Packets that exceed per-
destination thresholds are dropped. Packets that are not dropped continue.
8. Port rules—Packets are evaluated against the SPP ACL and SPP thresholds. Packets that are not dropped
continue.
9. SPP Thresholds—Packets are evaluated against SPP rate limits. Layer 3 thresholds are processed first, then
Layer 4, then Layer 7.
l If a maximum rate limit is reached, such as packet rate for a specified protocol, FortiDDoS drops the packets.
l If a slow connection threshold is reached, FortiDDoS sends a TCP reset to the server.
l If a SYN flood threshold is reached, FortiDDoS challenges the client using the configured SYN Flood
Mitigation Mode method.
l Otherwise, processing continues.
14. HTTP Header rules—Packets are evaluated against the SPP ACL and SPP thresholds. Packets that are not
dropped are forwarded toward their destination.
What’s New
This section provides a summary of the new features and enhancements in FortiDDoS.
5.0.0
FortiDDoS 5.0.0 release includes the following new features:
l Effective Release 4.7.0, FortiDDoS is integrated into Fortinet Security Fabric. FortiGate and other Security
Fabric products will be able to poll tabular and graphical data to create high-level single-pane-of-glass views
of interconnected appliances in the Fabric. All configuration of the Security Fabric displays will be done from
the higher-level appliance or management package. The only information required are administrative login
credentials for the appliance you wish to appear on the Security Fabric GUI. There are no setting
requirements for FortiDDoS. Note that FortiOS and other Fortinet products may not support FortiDDoS until
later releases of firmware.
l FortiDDoS now supports LDAPS and Bind types.
For more information, see Configuring LDAP authentication.
l FortiDDoS GUI now offers a search box on the left panel to find any menu items, settings and applicable
keywords.
l FortiDDoS can now export the SPP Policy list as a CSV spreadsheet to allow offline analysis and easier
searching for specific subnet information.
For more information, see Configuring an SPP policy.
l All Outbound Scalar Thresholds are set to system Maximum to prevent virtual outbound drops than can
result in real inbound drops. Thresholds can be modified by the customer.
l Traffic Statistics algorithm has been modified to account for more 'spiky' traffic. This will be largely
transparent to users.
l More descriptive information is added in syslog messages.
For more information, see Configuring remote log server settings for DDoS attack log.
l Offline Analysis download button is available under System > Maintenance. This creates a zip file with the
following files:
l System configuration
l CSV Traffic Statistics for every SPP and every Period used
l CSV List of SPP Policies / Subnets
l CSV of up to 20k Attack Log entries.
These files can be used for offline analysis of attacks and system settings.
For more information, see Backing up and restoring the configuration.
4.7.0
l Effective Release 4.7.0, FortiDDoS is integrated into Fortinet Security Fabric. FortiGate and other Security Fabric
products will be able to poll tabular and graphical data to create high-level single-pane-of-glass views of
interconnected appliances in the Fabric. All configuration of the Security Fabric displays will be done from the
higher-level appliance or management package. The only information required are administrative login credentials
for the appliance you wish to appear on the Security Fabric GUI. There are no setting requirements for FortiDDoS.
Note that FortiOS and other Fortinet products may not support FortiDDoS until later releases of firmware.
l FortiDDoS now supports LDAPS and Bind types.
For more information, see Configuring LDAP authentication.
l FortiDDoS GUI now offers a search box on the left panel to find any menu items, settings and applicable keywords.
l FortiDDoS can now export the SPP Policy list as a CSV spreadsheet to allow offline analysis and easier searching
for specific subnet information.
For more information, see Configuring an SPP policy.
l All Outbound Scalar Thresholds are set to system maximums by default.
l Appliance support for FortiDDoS Central Manager.
For more information, see Configuring FortiDDoS Central Manager.
l Traffic Statistics algorithm has been modified to account for more 'spiky' traffic. This will be largely transparent to
users.
l More descriptive information is added in syslog messages.
For more information, see Configuring remote log server settings for DDoS attack log.
l Offline Analysis download button is available under System > Maintenance. This creates a zip file with the
following files:
l System configuration
l CSV Traffic Statistics for every SPP and every Period used
l CSV List of SPP Policies / Subnets
l CSV of up to 20k Attack Log entries.
These files can be used for offline analysis of attacks and system settings.
For more information, see Backing up and restoring the configuration.
Refer to FortiDDoS 4.7.0 Release Notes for more details about Resolved and Known issues in this release.
4.6.0
FortiDDoS 4.6.0 release includes the following new features and enhancements:
l FortiDDoS now supports TACACS+ Authentication.
For more details about the configuration, see here.
l An option is added to enable SPP Switching Threshold (and third-party Attack Signaling) on Inbound traffic only.
This should be the normal usage for DDoS attacks.
For more details about SPP Switching, see here.
l An over-threshold timer is added to SPP Switching Threshold to 'de-bounce' over-threshold events. The Threshold
must be exceeded for the time entered before SPP Switching/Attack Signaling takes place. The under-threshold
timer remains in operation to de-bounce the end of SPP Switching.
l A new Graph is added for Monitor > SPP Policy Group Statistics (Packers/Bits) which is the aggregate rate of all
SPP Policies in the SPP Policy Group.
For more details about these graphs, see here.
l FortiDDoS enforces strict adherence to RFC for Layer 3 and Layer 4 header anomalies. Network and end-point
devices are often less strict in their acceptance of anomalous packets. Some customers are finding that network
conditions result in these anomalies blocking legitimate traffic. While the anomalies are undesirable, in many
cases they are out of the customer's control. An option is added to disable all the L3 and L4 anomalies if desired.
l High Availability configuration synchronization items have been improved in 4.6.0.
For more details, see here.
l Configuration items that are not synchronized between Master and Slave systems in HA pairs can now be
independently edited on the Slave system without changing that system to Standalone mode.
For more details, see here.
l The Dashboard includes a new table, 'Data Path Resources', which records Capacity and Usage of the following
internal system tables:
- Connections
- Sources
- Destinations
- Non-Spoofed IPs
- HTTP Hosts
- HTTP Referers
- HTTP Cookies
- HTTP User Agents
- DNS QRM
- DNS LQ
- DNS Cache
- DNS TTL
This table displays TP2 data plane 'memory' capacity while the 'System Resources' widget displays management
plane information only.
For more details about Dashboard, see here.
l DNS Feature Controls have been improved to allow Query Flood and Duplicate Query Check to operate with
other features off, improving use with asymmetric traffic.
For more details about DNS Feature Controls, see here.
l Added an 'All' (SPP) drop-down option to the FortiView Threat Map display page.
For more details, see here.
l REST commands are added to download user-uploaded files of Blacklisted IPs and Domains. These commands
will not download IP Reputation, Domain Reputation or IP address ACLs entered in Global nor SPP settings.
For more details about these APIs, see the REST API Reference guide here.
l Via CLI, a 10-minute Traffic Statistics Report can be generated. This is intended only for Training and Testing. It
is not seen in the GUI and not intended for general use.
l SNMP Traps for FRPS-100 Fortinet Redundant Power Supply health have been added for models 200B-800B.
l When systems are used on two different legs of an asymmetric traffic network, a new feature allows the use of
link monitors to mirror traffic to the opposite FortiDDoS. This is not required for TCP but may be useful for
asymmetric DNS deployments. For expert user and Fortinet support advised.
l Third Party Attack Signaling has been enhanced with more attack event and threshold information as well as
more explanatory system event logs.
l For clarity, CLI entry opcodes-per-source is changed to methods-per-source.
l Allowable entry range indicator is added to Log & Report > Report Configuration > On Threshold Violation > Drop
Threshold field.
For more details, see here.
l Column Sorting is added to:
Global Settings:
- Service Protection Profiles > SPP Policy: Name, Subnet ID, IPv4/Netmask, IPv6/Prefix, SPP
- Address > Address Config (IPv4): Name, IP Netmask, IP Address, Geo Location
- Address > Address Config IPv6: Address Config IPv6: Name, IPv6/Prefix, IPv6 address
- Access Control List > Access Control List (IPv4 and IPv6): Name, Source Address
Protection Profiles:
- Address > Address Config (IPv4): Name, Address, IP/ Netmask
- Address > Address Config IPv6: Name, IPv6 address, IPv6/Prefix
- Service Config: Name, Type
- Access Control List: Name, Source Address (IPv4/IPv6), Service
Log & Report:
- Log Configuration > SNMP Trap Receivers: Name, SPP, IP Address
- Report Configuration: Name, Title
- Report Browse: Report File, Create Time
Refer to FortiDDoS 4.6.0 Release Notes for more details about Resolved and Known issues in this release.
4.5.0
FortiDDoS 4.5.0 release includes the following new features and enhancements:
l DNS Resource Record Type is added to Protection Profiles > Service Config, to allow creation of ACLs on any
Resource Record Type. Service Config ACLs for DNS MX count, DNS ALL and DNS Zone Transfer are removed
from the Service ACL configuration since they can be added via the Resource Record Type ACL. Two RR Types are
also included in DNS Anomalies:
- DNS Info Anomaly (Type ALL/Any Used)
- DNS Exploit Anomaly > Zone transfer (RR Type * or 255).
These anomaly options will be kept to ensure upgrade compatibility. They can be replaced with RR Type ACLs.
l Up to 32 UDP ports >9999 can be assigned as UDP Service Ports. Traffic to and from these ports will be assigned to
the Service Port and not the Source or Destination ephemeral ports. This reduces graphing, provides a better
understanding of the protected port traffic and allows other ephemeral port Thresholds to be set lower to improve
port flood mitigation.
See 'Configuring UDP service port settings' for further details.
l System configuration can be backed-up to TFTP or FTP server daily.
See 'Setting configuration auto-backup' for further details.
l On reboot, the system can take as long as 6 minutes to configure background tasks. Originally, the GUI displayed a
login screen but login attempts would be rejected with a "500-Internal Error" message, since the browser code could
not communicate with the FortiDDoS web server. Repeated login attempts could result in admin lockout. In 4.5.0, a
"rotating" GIF of several icons will display until the system is ready to accept login.
See 'Rebooting, shutting down, and resetting the system' for further details.
l A command is added to backup the system SSD via USB port. This should be used only under the supervision of
Fortinet personnel.
See 'Backing up and restoring to/from external SSD ' for further details.
l Added additional partner for 3rd-Party Cloud Mitigation Attack Signaling.
l Domain Blacklist act on DNS Responses as well as Queries. This is useful when FortiDDoS only sees the inbound
traffic of asymmetrical links when FortiDDoS does not see the original Query. Note that Domain Reputation only
monitors Queries.
l On System > Network > Interface page, a new "Logical Name" column has been added. Enter any 15-character
string to help identify this port. Entries here will also show on Dashboard tool-tip if cursor is placed over Port icons.
l FortiDDoS GUI allows text to be copied for use in reports and other documents.
l TCP and UDP Service ports will be defined as ports from 0-9999. Any traffic from ephemeral ports higher than 9999
will be associated in both directions with the service port. This will result in less graphing, lower ephemeral port
Thresholds and better protection from attacks that use a large number of Destination ports.
l Polling of UDP/TCP port traffic information is optimized to improve reporting.
l Attack Log now shows "Protected Port" instead of "Destination Port". For Service Ports, the "Protected Port" is the
Inbound Destination Port but the Outbound Source Port. This aligns with the Protected IP which is always the IP
included in SPP Policies.
l Adding SPP Policy (subnet) Traffic Graphs. All configured SPP Policies will have a graph showing Ingress and
Egress traffic.
l The default value for event log "remote facility" is changed to "local0", wider compatibility with syslog receivers.
Options exist to change the "remote facility" as required.
l FortiDDoS 4.5.0 adds an optional Drop Count Threshold to any configured Report. If the drop count in the SPP or
SPP Policy or SPP Policy Group configured in the report exceeds the Drop Threshold in any 5-minute period the
report will automatically be generated/sent with information for that 5-minute period. This can be done with normal
Reports or custom "Attack Reports" can be created.
l CSV exports of Traffic Statistics and Thresholds now include both the creation date of the original information and
the export date.
l User does not need to enter new SPP Policy ID numbers. The next available number will be selected automatically.
l When SPP System Recommendations GUI page values are changed, they remain that way and will not return to
default values.
l PDF Attack Log Exports will show the filters used to generate the Report.
l For all emailed reports, the subject line will now show:
- Subject, as entered by user in Report configuration.
- Hostname of FortiDDoS (default is Serial Number).
- Report title, as entered by user in Report Configuration.
For emailed Reports caused by Attack Threshold violation:
- DDoS Attack Threshold Crossed
- Subject, as entered by user in Report configuration
- Hostname of FortiDDoS (default is Serial Number).
- Report Title, as entered by user in Report Configuration.
For emailed Event reports:
- Hostname (default is Serial Number).
l PDF Report template cover page format is updated.
Refer to FortiDDoS 4.5.0 Release Notes for more details about Resolved and Known issues in this release.
4.4.2
l SNMP Traps 'fnTrapPowerSupplyFailure' and 'fnTrapIpChange' (for the Management port only) are added. Trap on
reboot is changed from 'coldStart' to 'warmStart'.
Refer to FortiDDoS 4.4.2 Release Notes for more details about Resolved and Known issues in this release.
4.4.1
l FortiDDoS will now drop DNS Query TYPE 10 (NULL) as Extraneous Data Anomaly. This TYPE is not used.
Refer to FortiDDoS 4.4.1 Release Notes for more details about Resolved and Known issues in this release.
4.4.0
l FortiGuard Domain Reputation is a subscription-based service that periodically (daily/weekly) and automatically
downloads a list of about 1 Million known-malicious domain names based on FortiGuard's continuous research. The
Domain Reputation ACL is entered in FortiDDoS' hardware mitigation TP2s resulting in no performance
degradation despite the size of the list. Users can also continue to add up to approximately 200,000 Blacklisted
Domain ACLs which are also entered in the TP2s for maximum performance.
l All traffic and drop-related graphs can now be displayed with the former linear Y-axis or a logarithmic Y-axis. The
logarithm axis allows better views of widely diverse graphs.
l The default TCP Session timeout of eight minutes is now configurable from 1 second to 1023 hours. This allows
FortiDDoS to:
l match firewall timeouts.
l create specific SPPs for authenticating servers like SSL VPN where long periods of idle traffic can happen
after authentication. SPPs with authenticating servers should have Slow Connection tracking turned off.
l Specific Source and Destination IPs (Extended Timeout Policy) can use the Extended TCP Session timeout that
overrides the standard SPP TCP Session timeout and Slow Connection Tracking. This could be used by Hosting
providers to allow specific customers to log on to their servers via SSH or FTP, for example, for long periods,
without being timed-out, while the web servers are protected from Slow Connection attacks from other clients.
l TCP Slow Connections settings are now configured per SPP.
l Proxy IP Policy is added. Users can now:
l add specific IP addresses (not subnets) to the Proxy IP in addition to the IPs found algorithmically.
l prevent specific IP addresses (not subnets) from being used in the Proxy IP list, even if found
algorithmically.
l SPP names (as well as ID #) are added to Executive Summary, Summary and Detail Log screens.
l Tunneling (for use of a web proxy) on the IP Reputation configuration page, now works for System Registration, IP
Reputation, Domain Reputation and (Cloud) Signaling.
l Pagination has been added to all pages where long lists might be created, to ease navigation and improve
response.
l Latin American Spanish and Portuguese is now supported in the FortiDDoS GUI.
l Dashboard improvements:
l System Status widget has been organized for better readability.
l SPP Operating Mode - Inbound and Outbound 'LEDs' in the System Status Widget can now be used to
Switch the SPP and direction between Detection and Prevention by clicking on the LED.
l A new graph has been added. Graph displays aggregated (all) SPP traffic inbound or outbound, showing
ingress and egress traffic. This is a quick display of traffic and attacks (if egress is lower than ingress) for the
entire appliance.
l Graph can be linear or logarithmic Y-axis and is continuously refreshed.
l Attack Log is now filterable by Time as well as Date via date filter.
l CLI command get system ha now shows 'effective mode' as Master, Slave or Fail.
l Remote log settings can be configured to suppress low-drop-count logs by defining a minimum drop threshold
value. At this threshold or higher, the drops will be sent to Syslog and SNMP trap receivers. All the log information
can still be viewed under Attack Log, Reports and Executive Summary.
l SNMP v3 support is added for Event Traps (CPU, Memory, Disk Usage). See System > SNMP > User.
l Applying Domain Blacklists to the hardware from user files can take several minutes. This is done in the background
and the user can leave the page while this is processed. A progress message and 'spinner' have been added to the
page to indicate if the process is not complete.
l Configured Reports now show the system Host Name in place of the system Serial Number. The default Host
Name is the system Serial Number so Report information will not change unless the Host Name is changed.
l SPP thresholds as set by System Recommendations or manually can now be exported as CSV.
l To improve user understanding the following items have been renamed:
l 'Aggressive aging due to slow connection' is renamed 'Foreign Packets (Aggressive Aging and Slow
Connections)'.
l 'Foreign packets" is renamed 'Foreign Packets (Out-of-State)'.
l DDoS Attack Log event is renamed from:
l 'Slow connection: Aggressive aging' to 'Foreign Packets (Aggressive Aging and Slow Connections)'.
l TCP and UDP Port 0 traffic is now reported as Port Denied Drops.
l Improvements are made in field entry validation throughout the GUI/CLI/REST entries. In general, special
characters that should not be allowed are no longer allowed. Previous entries that include special characters will not
be affected on upgrade. String length validation is checked in all fields. Some labels were modified for clarity.
Some special characters which are not recommended in various system fields for security purposes were previously
allowed via GUI or CLI. The following characters will no longer be allowed except in some L7 fields like URLs,
Referers and Hosts; and authentication fields like LDAP Distinguished Name. Previously entered special characters
will not be invalidated. < > % ` ~ ^ & ( ) [ ] { } =
l Multiple subnets can be saved in Trusted Hosts field for Radius/LDAP Default access strategy.
l Global ACL options for 'Accept' and 'Deny' are now context-sensitive.
l The pre-populated "admin" text in the user field of the login dialog box has been removed.
l NTP operation is improved. System ensures all network connections are ready before attempting to access NTP
server. Unsuccessful access to NTP server generates an event log.
l Added column headings for event log CSV exports, for readability.
l An Event log item is added to confirm successful or failed SPP Factory Reset.
l SPP Policy validation is improved to prevent entry of broadcast addresses.
l Exported/downloaded Blacklisted IPv4 Addresses and Blacklisted Domains' file name includes the system Serial
Number, Date and Time for easier identification.
l Additional information (Type All/Any) has been added to the DNS Info Anomaly label.
4.3.1
l Cloud Monitoring feature is removed from FortiDDoS 4.3.1 Release. Cloud Monitoring option is removed from
Global Settings > Settings. Refer to FortiDDoS 4.3.1 Release notes for the more information about the resolved
issues in this release.
4.3.0
l Larger Console: A new console window that’s larger than earlier versions allows the administrator to use the
command line interface in a better way.
l Color scheme of the GUI is different compared to 4.2.x version.
l Cloud Monitoring: Users with paid subscription to FortiDDoS cloud monitoring can now visualize traffic statistics of
FortiDDoS along with data statistics of access to protected resources from multiple vantage points on the Internet.
l Better looking reports: You will now see reports which are very similar to existing GUI display of tables and charts.
Text based reports are not available now. Event Subtype for reports is limited to successful and failed logins.
l FortiDDoS 4.3 allows you to generate Certificate Signing Requests that you can send to a CA to give you a signed
certificate. Generate and Import tabs are added under Certificate for this feature.
l Configured status and Linked status columns are available under System > Network > Interface table.
l Dashboard updates:
l Dashboard is available as a separate tab aligned with System, Global Settings, Protection Profiles, Monitor,
and Log & Report.
l Host name can be more conveniently changed in System Information window by entering the new name
and clicking Update.
l Shortcut to change system time is removed from system information window. System time and Time zone
is moved to separate tabs under System>Maintenance.
l SPP type and time period is generalize on top right and not included separately in each graphs.
l Restrict DNS Queries to Specific Subnets is a new option under Protection Profile > SPP Settings which allows
you to restrict DNS queries from unwanted sources from the Internet, if enabled.
l Blacklisted Domains and Blacklisted IPv4 Addresses options are available under Global settings which helps
you to deny a large set of blacklist Domains/IPv4 Addresses.
l Mbps unit is available as a new option along with PPS under Global Settings > Settings > Settings > General tab >
SPP Switching Threshold Measurement Unit.
l Monitor graphs show ingress and egress max packet rates for Layer 3, Layer 4 and Layer 7 graphs. Traffic Statistics
uses the egress packet rates. Hence, the system recommendation is also be based on egress rates.
l Save As CSV option is available under the following tabs that exports information in a format that is suitable for
printing and sharing:
l Protection Profiles > Traffic Statistics > Generate
l Log & Report > Log Access > Logs > DDoS Attack log/Event Log
l Save As PDF option is available for all graphs under Monitor.
l HTTP partial request per source per second threshold and HTTP partial request to response
observation period options are removed from Global Settings > Settings > Settings > Slow Connection.
4.2.0
l DNS attack mitigation—Massive-scale DNS attack mitigation using ACLs, anomaly detection, and patented
DNS flood mitigation methods to enable your business to continue to serve legitimate client purposes during floods.
Start with Understanding FortiDDoS DNS attack mitigation.
l DNS monitor graphs—New graphs to monitor DNS traffic and DNS attack mitigation mechanisms. See Monitor
Graphs.
l DNS reports—New reports to monitor DNS attacks. See Logs and Reports.
l LDAP—Support for administrator authentication against LDAP servers. See Configuring LDAP authentication.
l RADIUS—Changes to the RADIUS configuration to match the LDAP implementation. See Configuring RADIUS
authentication.
l Cloud Signaling—REST API and configuration that enables small/medium businesses and enterprises to work with
participating service providers and cloud providers to route traffic through a "scrubbing station" in the service
provider network (SPN) before it is forwarded through the WAN link to the customer premises network (CPN). See
Service Provider Signaling Deployments.
l Global distress ACL—Configuration has been added to the Web UI. See Configuring a global distress ACL.
l New Monitor graphs—New SPP Statistics graph shows throughput per SPP, and the Layer 4 Flood graph shows
drops due to Slow Connection detection (slow TCP or HTTP). See Monitor Graphs.
l Monitor graph enhancements—Links from aggregate graphs to detailed graphs. See Monitor Graphs.
l HA sync changes—Refined HA sync so that network configurations are not synchronized. See HA synchronization.
l Web UI changes—The Global Settings and SPP Settings pages use tab groups to make it easier to navigate to the
options you want to configure. See Configuring global settings and Configuring SPP settings .
4.1.8
l Source blocking for slow connection attacks was removed from Global Settings in 4.1.7. In 4.1.8, it has been added
to the SPP settings configuration.
4.1.7
New features:
4.1.6
Key bug fixes:
l New anti-spoofing ACL that drops traffic that matches local addresses when the addresses appear to be spoofed.
l New table to track up to 2^32 IPv4 ACLs. The table includes rules from the Local Address Anti-Spoofing, IP
address, Geolocation, and IP Reputation lists. You can use a new Monitor graph called Address Denied to monitor
drops.
l New HTTP header options for detecting proxy IP addresses: X-Real-IP, X-True-Client-IP.
l New option to drop sessions when packets contain the HTTP Range header.
l Asymmetric mode configurable through the web UI. New configuration options are available to ease setup in
networks with asymmetric traffic.
l Tap Mode. System now supports Tap Mode as a Beta feature. Tap Mode is designed to work with FortiBridge-
300xS/L in Bypass/Tap mode to allow continuous offline monitoring of network traffic.
l FortiDDoS now supports attack logging to FortiAnalyzer.
l The dashboard System Status portlet now displays LAN/WAN port labels.
l On the dashboard System Status portlet, unconfigured SPPs are now represented by a gray circle.
l Improved Monitor graph workflow. New Aggregate Drops graph showing Flood, ACL, Anomaly, Hash, and Memory
Drops all on one graph. Organization of the graphs below this is more logical.
l Tooltips on all graphs now show more granular time information.
l Syslog and SNMP traps now contain subnet ID.
l Added an event log and SNMP trap to notify when a link goes up or down.
l Added an event log for FortiGuard IP Reputation updates.
l Added a CLI command to back up Event logs and other diagnostic data.
l Added the diagnose debug RRD commands to verify the integrity of RRD (reporting) files.
Changed features:
l The SPP ACL Drops portlet is now called Top SPPs with Denied Packets; and the SPP Attacks portlet is now called
Top Attacked SPPs.
l Source penalty factor is now called Source multiplier; and Application penalty factor is now called Layer 7 multiplier.
l The Aggressive Aging TCP Feature Control URL-Flood option was mislabelled. It is now the layer7-flood option.
l The system recommended threshold values for TCP/UDP ports and ICMP types/codes are based on a new and
improved heuristic algorithm.
l Separate Subnet attack logs and reports have been removed and subnet information integrated into the DDoS
Attack Log.
l Syslog format changes to better interoperate with FortiAnalyzer.
Removed features:
l The DDoS Attack Log no longer includes the frequent Most Active Source and Most Active Destination notifications
that were sent when the Most Active Source / Destination data points were recorded. These logs had been sent to
give details on the recorded data point even when the effective rate limit was not met, causing confusion. When
these thresholds are exceeded, however, the events are logged as a Source Flood and a Destination Flood,
respectively.
l Syslog and SNMP traps also no longer include the Most Active Source and Most Active Destination notifications.
l Destination penalty factors have been removed to prevent rate-limiting of all users to a specific destination.
l Thresholds, logs, and graph plots for URL Scan events have been removed. URL Scan events included the HTTP
request anomalies related to sequential requests and HTTP mandatory header counts.
l MyList and MyGraph functionality has been removed.
4.1.5
l Bug fixes only.
4.1.4
l Support for administrator authentication against an external RADIUS server.
4.1.3
l Bug fixes only.
4.1.2
l Asymmetric Mode — We recommend that you enable Asymmetric Mode if the FortiDDoS appliance is deployed
in a network path where asymmetric routes are possible. An example of an asymmetric route is one in which the
client request traverses the FortiDDoS system, but the server response takes a route that does not.
4.1.1
l Enhanced IPv6 support — FortiDDoS now supports both Internet Protocol version 4 (IPv4) and Internet Protocol
version 6 (IPv6) by default.
If your appliance is deployed on a network with IPv6 traffic, specify the IPv6 prefix settings before you
configure SPPs that monitor and protect IPv6 subnets.
SPPs can now monitor and protect IPv4 and IPv6 traffic simultaneously. Use either IPv4 or IPv6 address
formats to specify the subnet in an SPP policy, and then apply policies that use either format to the same SPP
l Enhanced slow connection configuration — To simplify configuration, FortiDDoS now provides a global
setting that allows you to switch from moderate to aggressive slow connection attack protection, as well as settings
you apply to individual SPPs.
l FortiDDoS 200B— Support for this new hardware model.
4.1.0
l Logging & report enhancements
l SNMP traps & MIBs for attack logs — You can now configure FortiDDoS to send attack log information to
SNMP managers.
l DDoS Subnet Attack Log — The new DDoS Subnet Attack Log displays events associated with a specific
SPP policy, with counts updated every five minutes.
l Subnet Executive Summary dashboard — The new Subnet Executive Summary dashboard displays all
attacks in the Top Attacked Subnet and Top ACL Subnet Drops report categories.
l Destination tracking — For all attack log event categories, FortiDDoS now provides the IP address of the first
destination it identifies as the target of the attack activity. Information that is organized by this destination is
available as a report type and widgets on the Executive Summary and Attack Graphs dashboards.
l Filter report information by SPP or subnet — When you create a report configuration, you can now restrict the
information in the report to a specific SPP or subnet.
l Enhanced blocking by geolocation — The Geo Location Policy setting allows you to either permit traffic from
all geographic locations and add exceptions or deny access to all locations with exceptions.
l Access dropped packet and other statistics via API — You can now use the FortiDDoS REST API to access
dropped and blocked traffic statistics and traffic graph information. See FortiDDoS REST API Reference.
l MySQL access to DDoS attack log — You can now access the DDoS attack log with read-only permission using
a third-party tool such as the MySQL command-line tool or MySQL Workbench.
l Alert email message for SPP switching — You can now configure FortiDDoS to generate a system event log
and send a corresponding email message whenever the appliance switches a subnet to its alternative SPP. (If you
want FortiDDoS to notify you that the traffic level has exceeded the SPP switching threshold without switching the
SPP, in the SPP policy settings, specify the same SPP for both Service Protection Profile and Alternate Service
Protection Profile.)
l Improved dual-stack IPv6 support — Additional settings and functionality that make it easier to deploy
FortiDDoS in networks with IPv6 traffic.
l Double VLAN (DVLAN) detection — FortiDDoS now tracks traffic with an additional 802.1Q tag (for example,
VLAN Q-in-Q).
4.0.1
l No new features. Bug fixes only.
4.0.0
l Additional data ports — 16 physical LAN and WAN ports are configured as linked pairs. Odd-numbered ports are
LAN connections that have a corresponding even-numbered port, which is the associated WAN connection. That is,
Port 1/Port 2 behaves as LAN 1/WAN 1, Port 3/Port 4 as LAN 2/WAN 2, Port 5/Port 6 as LAN 3/WAN 3, and so on.
These port pairs enable you to protect up to 8 links with a single appliance.
l Increased throughput—Increased throughput on all hardware models. For details on throughput rates, see the
product datasheet.
l Configuration synchronization — High Availability (HA) configuration allows you to synchronize configuration
information between two FortiDDoS appliances to create a secondary appliance that always has an up-to-date
configuration.
l Automatic bypass for copper links — For Ethernet links (copper, RJ-45), the FortiDDoS appliance
automatically passes traffic through when the appliance is not powered up, its FortiASIC processor or integrated
switch fabric fail, or it is booting up and all services are not yet available.
l Link down synchronization — The appliance has two options for Link Down Synchronization: Wire and Hub.
When Wire is selected, FortiDDoS monitors the link state of both ports in a port pair. If the link goes down on either
port, it disables the other port. The appliance re-enables the port when it detects that the link for other port in the
pair is up again. When Hub is selected, FortiDDoS does not disable both ports in a port pair if the link goes down on
one of the ports.
l Redesigned web UI— The graphical user interface is organized by component and tasks. Many of its system
settings and options are shared with other Fortinet products.
l Management via command-line interface — You can perform all appliance configuration from a Secure Shell
(SSH) or Telnet terminal or from the JavaScript CLI Console widget in the web UI.
l RESTful web API configuration — Use a web API that uses HTTP and REST principles to perform tasks such as
allowing or denying sources, setting thresholds and changing SPP (formerly VIDs) configuration.
l For more information, contact Fortinet Technical Support.
l BIOS-based signed appliance certificate — The validation mechanism for the appliance’s identity is built into
its hardware.
l Faster threshold report generation — FortiDDoS now takes less time to generate the traffic statistics it uses to
calculate system-recommended thresholds.
l Save reports as PDF — Many FortiDDoS system events and attack activity reports and graphs have a Save as
PDF option that exports information in a format that is suitable for printing and sharing.
l Attack activity at a glance dashboard — Access the most popular attack activity reports information on a single
web page and in table format using Log & Report > Report Browse > Executive Summary. Use Log &
Report > Attack Graphs > Attack Graphs to access the most popular attack activity graphs on a single web
page.
l Context-sensitive help — Click Help to open the HTML help information for the current content pane.
l Filter and sort log information — For system event and DDoS attack logs, you can use the column headers to
sort log information or arrange the columns. The filter feature allows you to select items to include or exclude based
on date, category, or other criteria.
l Enhanced reports — New features include the ability to generate reports as HTML, text, PDF and customize
reports with a logo.
l Built-in DoS control — FortiDDoS blocks packets with a pre-defined set of anomalies before they reach the
appliance's processor. Traffic graphs and reports do not report the packets that this feature drops.
l Block protocols on subnets (Distress ACL) — The distress ACL feature helps to block brute force protocol
attacks on a specified subnet or IP address. It allows you to block packets that can flood the pipe before they reach
the appliance's processor. Traffic graphs and reports do not report the packets that this feature drops.
l Bypass fiber ports for 2000B model — Two physical port pairs on the FortiDDoS 2000B have built-in bypass
capability. Built-in bypass works during a power failure, critical component failure and during startup and shutdown.
l IP Reputation update using file upload — You can update the addresses in the IP Reputation Service list by
uploading a .pkg file.
Key Concepts
This section describes FortiDDoS concepts, terms, and features. If you are new to FortiDDoS, or distributed
denial of service (DDoS), this section helps you to understand the problem and mitigation techniques. This
section includes the following:
Computer network security is a challenge as old as the Internet itself. The sophistication and infamy of network-
based system attacks has kept pace with the security technology and hackers only feel more challenged by the
latest heuristics designed to foil their efforts.
Some attackers exploit system weaknesses for political purposes, disgruntled about the state of software or
hardware in the market today. Others target specific systems out of spite or a grudge against a specific company.
Yet others are simply in search of the infamy of bringing a high-traffic site to its knees with a denial of service
(DoS) attack. In such an attack, the hacker attempts to consume all the resources of a networked system so that
no other users can be served. The implications for victims range from a nuisance to millions of dollars in lost
revenue.
In distributed denial of service (DDoS) attacks, attackers write a program that will covertly send itself to dozens,
hundreds, or even thousands of other computers. These computers are known as 'bots', 'agents' or 'zombies',
because they act on behalf of the hackers to launch an attack against target systems. A network of these
computers is called a botnet. An administrator of such a botnet is called a botmaster.
At a predetermined time, the botmaster will cause all of these bots to attempt repeated connections to a target
site. If the attack is successful, it will deplete all system or network resources, thereby denying service to
legitimate users or customers.
Control of such bots is automated now-a-days with bot-control-panels which are accessible via payment to the
bot-master. Thus other users can choose to pay and attack a site of their own choice.
E-commerce sites, domain name servers, web servers, and email servers are all vulnerable to these types of
attacks. IT managers must take steps to protect their systems—and their businesses—from irreparable damage.
Any computer can be infected, and the consequences can range from a nuisance popup ad to thousands of
dollars in costs for replacement or repair. For this reason, antivirus software for all PCs should be a mandatory
element of any network security strategy. But whether you measure cost in terms of lost revenue, lost
productivity, or actual repair/restore expenses, the cost of losing a server to an attack is far more severe than
losing a laptop or desktop.
Servers that host hundreds or thousands of internal users, partners, and revenue-bearing services are usually the
targets of hackers, because this is where the pain is felt most. Protecting these valuable assets appropriately is
paramount.
A massive DDoS attack against Dyn.com was launched in October 2016. This was done using Internet of Things
(IoT) attack using an attack called Mirai.
Mirai spreads by compromising vulnerable IoT devices such as DVRs. Many IoT manufacturers failed to secure
these devices properly, and they don't include the memory and processing necessary to be updated. They are
also usually not in control of the destination of their outbound traffic, so if that information is changed or
compromised there is nothing they can do.
As a result, the attack cannot be stopped at the egress point on the devices themselves. Instead, network
segmentation is absolutely critical for protection against outbound attacks. The responsibility for protection from
IoT-based DDoS attacks, however, lies at the ingress point of the attack.
To circumvent detection, attackers are either increasingly mimicking the behavior of a large number of clients or
actually using a large number of IoT clients like in case of Mirai attack. The resulting attacks are hard to defend
against with standard techniques, as the malicious requests differ from the legitimate ones in intent but not in
content. Because each attacking system looks innocent, advanced techniques are required to separate the 'bad'
traffic from the 'good' traffic.
If you are new to FortiDDoS, you must first understand the tools available in your tool chest for Distributed Denial
of Service (DDoS) attack mitigation. Since DDoS attacks can be of various types, FortiDDoS has a wide spectrum
of capabilities for different attack types.
a. Administrative
b. Preventive
c. Detective
d. Reactive
Administrative Countermeasures
Security policies, general procedures, accepted safety guidelines and so on are considered as Administrative
Countermeasures. These depend on the organizations that use FortiDDoS. Examples of Administrative
countermeasures are restricting IP addresses for managing FortiDDoS and restricting access authorization to
different users based on their roles. This should be the first set of decisions made while designing a FortiDDoS
deployment.
Preventive Countermeasures
Proactive measures fall under prevention category. These include stringent security policies that can protect the
system from unwanted activities. Examples of these include IP Reputation Service, Domain Reputation Service,
Geo-location ACLs, BCP-38 anti-spoofing, maintaining network hygiene by blocking unwanted protocols, ports
and IP ranges and so on. These should be designed and used as the second step in the deployment.
Service Protection Profile (SPP) This is a fundamental architectural component of FortiDDoS which
ensures isolation. Every SPP, which is configured using a set of sub-
nets/prefixes, has its own set of policies. This ensures that an attack on
one SPP doesn’t impact the others.
For more information about configuring SPPs, see here.
Directional Protection Attack mitigation in FortiDDoS is directional. Thus, an attack in one dir-
ection doesn’t impact the other.
Domain Reputation Service The FortiGuard Domain Reputation Service provides a regularly
updated list of known malicious fully qualified domain names (FQDNs).
This service is used to prevent DNS servers from reaching known mali-
cious sites and helps prevent attacks that obfuscate source IPs using
hijacked domain names.
For more information about configuring Domain Reputation Service,
see here.
Blacklisted IP addresses This feature helps you to deny a large set of blacklisted IPv4
Addresses.
For more information about configuring Blacklisted IP addresses, see
here.
Blacklisted DNS domains This feature helps you to deny a large set of blacklisted Domains.
For more information about configuring Blacklisted DNS domains, see
here.
Geo-location access control list The geolocation policy feature enables you to block traffic from the
countries you specify, as well as anonymous proxies and satellite pro-
viders, whose geolocation is unknown.
For more information about configuring Geo-location access control
list, see here.
Access control list for addresses This feature allows you to block addresses, subnets, prefixes reaching
a protected address.
For more information about configuring Access control list for
addresses, see here.
Access control list for services This feature allows you to block services (such as protocols, ports, net-
work parameters such as fragmentation, URLs, user-agents, etc.).
For more information about configuring Access control list for services,
see here.
Proxy IP settings Enabling proxy IP settings avoids false detection of attacks for certain
IPs.
For more information about configuring Proxy IP settings, see here.
Local address anti-spoofing These rules can be used to prevent attacks that spoof your internal
addresses.
For more information about Local address anti-spoofing, see here.
Enable one or more anti-spoofing rules that consult the local address
configuration:
l Inbound source must not be local address - blocks inbound
packets that have a source address inside the network. The
source address is definitely spoofed.
l Inbound destination must be local address - blocks inbound
packets that do not have a destination in your network. The
destination address is illegitimate.
l Outbound source must be local address - blocks outbound
packets with a spoofed address. Reduces the risk of your
network being used in spoof attacks.
l Outbound destination must not be local-address - blocks
outbound packets with a destination inside your local network.
Detective countermeasures
A DDoS attack must be detected within the shortest time possible as accurate as it can be. A DDoS attack
mitigation system must be able to separate legitimate packets from attack packets. This ensures that legitimate
clients are served during attack. Examples of detective countermeasures include anomalies such as header,
state, rate and so on. Other reactive countermeasures include similarity detection such as packet-length
statistics.
Rate anomaly detection using con- This is the most well-known feature of FortiDDoS. This ensures that a
tinuously adaptive threshold viol- single packet type (say SYN, or packet for a certain protocol or port)
ation cannot exceed previously observed thresholds.
Slow attack detection Apart from detecting fast attacks, FortiDDoS can also monitor attacks
that are too slow but dangerous for servers via connection table over-
load.
Protocol header anomaly detection This is done for 3, 4 and 7 protocols. Mitigation includes IPv4/v6, TCP,
UDP, ICMP, DNS and HTTP header anomalies.
State anomaly detection FortiDDoS maintains multiple state tables to ensure that protocol state
transitions are not violated. These include:
l TCP state table - This can identify attacks such as foreign
packets, ACK flood, RST flood, FIN flood etc.
l DNS query response matching table
l DNS TTL table
Similarity detection using packet The packet size of legitimate traffic has huge fluctuations and varies
length with the protocols and user data in the real daily Internet scenario.
Legitimate traffic, which includes communication-protocol packets and
user-data packets, has a predictable packet size in normal situations.
Generally, the key feature of DDoS attacks is the resource battle
between the victims’ servers and attackers’ botnets. A successful
DDoS attack occurs when the packets of the attacker are more than the
victim can handle. Therefore, with the aim of sending as many mali-
cious packets as possible, attackers generate few types of packets,
such as SYN packets and ICMP packets, and more importantly, these
packets are similar in size because of the low cost of computing
resources. The probability distributions of the packet size of the con-
stant attack and the pulsing attack are quite different compared with
that of legitimate traffic.
Reactive countermeasures
After detecting an attack, the system need to take necessary actions to mitigate the attack. Examples of reactive
mechanisms in FortiDDoS include rate limiting, selective packet dropping, aggressive aging, anti-spoofing,
source tracking and so on. These are mostly event-driven countermeasures.
Aggressive Aging FortiDDoS can detect slow connection attacks and combat them by
“aggressively aging” idle connections. In addition to the slow connection
detection, you can use the SPP aggressive aging TCP connection fea-
ture control options to reset the connection (instead of just dropping the
packets) when the following rate anomalies are detected:
l high-concurrent-connection-per-source
l layer7-flood
FortiDDoS maintains its own massive TCP connection table and to
reserve space in this table for active traffic, FortiDDoS periodically uses
aggressive aging to reset inactive connections.
Source tracking Source tracking isolates an offending source IP specifically via a dif-
ferential punishment scheme.
Caching In case of DNS, under-flood, this technique is used to respond to the cli-
ent using data from the cache.
Mitigation Strategies
FortiDDoS supports the following mitigation strategies:
l Standalone mitigation
l The appliance acts standalone and mitigates DDoS attacks up to the bandwidth of the pipe.
l Hybrid mitigation
l With another FortiDDoS in the cloud - If your service provider allows another high-end FortiDDoS ahead of
the pipe, FortiDDoS in the data center can communicate with the FortiDDoS in the service provider network
and mitigate higher bandwidth attacks.
l With a cloud scrubbing service in the cloud - FortiDDoS in the data center can also signal third-party
scrubbing services and mitigate bandwidth attacks collaboratively. While the cloud scrubbing center can
mitigate layer 3 and layer 4 attacks, FortiDDoS in the data center can mitigate residual attacks such as
application layer, slow attacks which cannot be mitigated in the cloud.
The best security strategies encompass people, operations, and technology. The first two typically fall within an
autonomous domain, e.g. within a company or IT department that can enforce procedures among employees,
contractors, or partners. But since the Internet is a public resource, such policies cannot be applied to all potential
users of a public website or email server. Thankfully, technology offers a range of security products to address the
various vulnerabilities.
Firewalls
Firewalls can go a long way to solving some problems by restricting access to authorized users and blocking
unwanted protocols. As such, they are a valuable part of a security strategy. But public websites and eCommerce
servers cannot know in advance who will access them and cannot 'prescreen' users via an access list. Certain
protocols can be blocked by firewalls, but most DoS attacks utilize authorized ports (e.g. TCP port 80 for a web
server) that cannot be blocked by a firewall without effectively blocking all legitimate HTTP traffic to the site,
thereby accomplishing the hacker’s objective.
Firewalls offer some security against a single user DoS attack by denying access to the offending connection
(once it is known), but most DoS attacks today are distributed among hundreds or thousands of zombies, each of
which could be sending legal packets that would pass firewall scrutiny. Firewalls perform a valuable service in an
integrated security strategy, but firewalls alone are not enough.
In addition, complex access lists can cause processing bottlenecks in routers, whose main function is to route IP
packets. Performing packet inspections at Layers 3, 4, and 7 taxes the resources of the router and can limit
network throughput.
Antivirus software
End systems cannot be considered secure without antivirus software. Such software scans all inputs to the
system for known viruses and worms, which can cause damage to the end system and any others they may
infect. Even after a virus is known and characterized, instances of it are still circulating on the Internet, through
email, on CDs and floppy disks. A good antivirus subscription that is frequently updated for the latest protection is
invaluable to any corporate or individual computer user.
But even antivirus software is not enough to catch certain attacks that have been cleverly disguised. Once a
system is infected with a new strain, the damage can be done before the virus or worm is detected and the
system is disinfected.
Application protection
Such packages include software that watches for email anomalies, database access queries, or other behavior
that may exploit vulnerability in the application. Because it must be very specific—and very close—to the
application it is protecting, application protection is typically implemented as software on the host. Dedicated
servers would benefit from well-designed application security software that will maintain the integrity of the code
and detect anomalous behavior that could indicate an attack. Certain malicious code can attempt to overwrite
registers on the end-system and thereby hijack the hardware for destructive purposes.
Host-based intrusion detection systems are designed as software running on general purpose computing
platforms. Not to be confused with application security software (mentioned above), which runs on the end
system and focuses primarily on Layers 5-7, software based intrusion systems must also focus on Layers 3 and 4
of the protocol stack. These packages rely on the CPU power of the host system to analyze traffic as it comes into
the server. General purpose computers often lack the performance required to monitor real-time network traffic
and perform their primary functions. Creating a bottleneck in the network or on the server actually helps the
hacker accomplish his goal by restricting access to valuable resources.
End-systems provide the best environment for signature recognition because packets are fully reassembled and
any necessary decryption has been performed. However, signature-based intrusion detection has its limitations,
as described below.
The next step in the evolution of intrusion security was content-based Intrusion Prevention Systems (IPS). Unlike
IDS, which require manual intervention from an administrator to stop an attack, a content-based IPS
automatically takes action to prevent an attack once it is recognized. This can cut down response time to near
zero, which is the ultimate goal of intrusion security.
IPS must be intelligent, however, or the remedy might actually accomplish the hacker's goal: denying resources
to legitimate users.
Prevention mechanisms can also be harmful if detection is subject to false positives, or incorrect identification of
intrusion. If the prevention action is to disable a port, protocol, or address, a false positive could result in denial of
service to one or more legitimate users.
listening intervals, such as Christmas vacation week, unusually high traffic due to external events (press releases,
sales promotions, Super Bowl halftime shows, and so on).
Once a baseline is established, rate-based systems watch for deviations from the known traffic patterns to detect
anomalies. Good systems will allow an administrator to override the baseline parameters if events causing traffic
surges are foreseen, for example, a server backup scheduled overnight.
While signature-based systems are scrutinized for false-negatives, or failing to identify an attack, rate-based
systems should be scrutinized for false positives, or misidentifying legitimate changes in traffic patterns as
attacks. Whether setting alarms or taking preventative action, rate-based systems must be well-designed to avoid
unnecessary overhead.
Equally important for rate-based systems are their analysis tools. Administrators should be able to view their
traffic patterns on a variety of levels, and use this information to tune their network resources.
Conventional stateful firewalls drop packets or stateful connections, but they cannot correlate packets to a
source. FortiDDoS has a unique feature that allows it to promptly correlate attacks and verify if they are initiated
by a single host. If it can do that (in case it is a non-spoofed attack), it blocks the offending source for a longer
period of time.
It is important to understand the differences between a stateful firewall and a stateful NBA system such as
FortiDDoS. Here are the key differences: Conventional stateful firewalls have rules that allow or deny packets or
individual connections based on their individual characteristics. They do not remember packets in an aggregate
way.
FortiDDoS operates on an aggregate basis. It looks at packet rates—typically within one second, over a period of
time. It measures packet rates for various Layer 3, 4, and 7 parameters and compares against thresholds set for
them. If the rate exceeds the threshold, it blocks them for a configured period.
In a firewall, the administrator can set a rule that allows the UDP destination port 1434 regardless of the rate. A
FortiDDoS administrator, on the other hand, can set a rule that allows UDP 1434 only if the rate is within 10
packets per second. Beyond this rate, the UDP packets destined to that port are dropped.
There are some features in FortiDDoS that are similar to a firewall. Like a firewall, FortiDDoS allows you to
configure Layer 3, 4, and 7 blocking conditions. It is therefore important to learn how to migrate a firewall security
policy to a FortiDDoS security policy.
FortiDDoS is a rate-based IPS device that detects and blocks network attacks which are characterized by
excessive use of network resources. It uses a variety of schemes, including anomaly detection and statistical
techniques, to detect and block malicious network traffic. When it detects an intrusion, the FortiDDoS blocks
traffic immediately, thus protecting the systems it is defending from being overwhelmed.
Unlike conventional content-based IPS, an NBA system does not rely on a predefined attack “signature” to
recognize malicious traffic. An IPS is vulnerable to “zero-day” attacks, or attacks that cannot be recognized
because no signature has been identified to match the attack traffic. In addition, attack traffic that is compressed,
encrypted, or effectively fragmented can escape many pattern-matching algorithms in content-based IPS. And
many rate-based attacks are based on genuine and compliant traffic being sent at high rates, effectively evading
the IPS.
An NBA provides a network with unique protection capabilities. It delivers security services not available from
traditional firewalls, IPS, or antivirus/spam detectors. The detection, prevention, and reporting of network attacks
is based on traffic patterns rather than individual transaction or packet-based detection, which enables the
FortiDDoS to serve a vital role in an effective security infrastructure. Rather than replacing these elements, an
NBA complements their presence to form a defense-in-depth network security architecture.
FortiDDoS is a hardware-based NBA solution. Unlike software-based solutions, it maintains normal levels of
processing and data throughput during denial of service attacks.
FortiDDoS appliances are powered by one or more purpose-built FortiASIC-TP2 traffic processors that maintain
massive connection tables and still perform with the lowest latency in the industry. Each FortiASIC-TP2 processor
maintains the following resources:
l Source table with 1,000,000 rows. This table tracks the packet rate for every source IP address and is used for “per-
source” thresholds.
l Destination table with 1,000,000 rows. This table tracks the packet rate for every destination IP address and is used
for “per-destination” thresholds.
l Connection (session) table with 1,000,000 rows. This table tracks the status of every active TCP session.
Connections are identified using the 4-tuple of Source IP Address, Source Port, Protected IP Address, and
Associated Port. It is used for connection count and connection rate thresholds.
l Legitimate IP address table with 2,000,000 rows. This table tracks every IP address that has successfully created
the TCP three-way handshake. Entries are timed-out in order to maintain the table as a source of recently validated
source IP addresses.
l DNS query response match table with 1,900,000 rows. This table stores DNS queries so that it can match DNS
responses. DNS responses that do not have a corresponding query are considered unsolicited response and are
dropped. An entry is cleared when the matching response is received. Stale entries are periodically cleaned up.
l DNS TTL table with 1,500,000 rows. This table stores DNS query details correlated with the client IP address.
During a flood, the system drops queries that have an entry in the table. It is not expected that a client would send
the same query before the TTL expires.
l DNS legitimate query table that can store 128k unique queries. This table stores DNS query details for queries that
have successful responses. An entry is cleared when the TTL expires. During a flood, the system drops queries that
do not have an entry in the table.
l DNS cache that can store 64k responses. During a flood, the DNS response to valid queries can be served from the
cache, reducing the load on the protected DNS server.
The figure below illustrates the number of FortiASIC-TP2 traffic processors for each FortiDDoS appliance model.
Note the following:
algorithm. For TCP/UDP traffic, the hash includes Source IP / Source Port / Protected IP / Destination Port /
Protocol. For non-TCP/non-UDP traffic, the hash includes Source IP / Protected IP / Protocol.
With its massive computing power, the FortiDDoS system maintains the magnitude of bidirectional traffic data
that security administrators need to prevent DDoS attacks. The system uses counters, historical data, and
predictive models to enforce intelligent rate limits based on granular Layer 3, Layer 4, and Layer 7 parameters
and aggregations.
The result is excellent security, fewer false positives, and visibility into key trends.
FortiDDoS 600B and 900B are not designed to support DNS ACLs, DNS anomaly
detection, or DNS flood mitigation.
In contrast, FortiDDoS uses a combination of Layer 3, 4, and 7 counters and continuously adapts expected
inbound and outbound rates for each of these traffic parameters.
Granular analytics also enable targeted mitigation responses. For example, if a few TCP connections are
exceeding bandwidth, the system blocks those connections rather than all connections. If a single destination is
under attack, FortiDDoS drops packets to that destination while others continue. During fragmented flood
attacks, all non-fragmented packets continue as usual. During a port flood to a non-service port, the packets to
other ports continue.
Granularity helps to increase the goodput (the throughput of useful data) of the system.
The table below lists the counters that FortiDDoS uses to detect subtle changes in the behavior of network traffic.
Type Counters
Layer 3
Layer 4
Type Counters
ICMP type/code flood 256 types and 256 codes per SPP per direction
Layer 7
The source tracking table enables FortiDDoS to correlate sources with attack events and apply a more stringent
blocking period to the sources that exceeded maximum rate limits. The source tracking table also enables the
special “per-source” thresholds described in the table below.
Counter Description
most-active-source This counter establishes a maximum packet rate for any IP packet
from a single source. A rate that exceeds the adjusted baseline is
anomalous and treated as a Source Flood attack event. In conjunction
with the Source Multiplier, the most-active-source threshold is useful
in tracking and blocking non-spoofed sources that are participating in
an attack. See the figure: System attack response timeline.
syn-per-src This counter establishes a maximum packet rate for SYN packets from
a single source. A rate that exceeds the adjusted baseline is anom-
alous and treated as a SYN Flood From Source attack event.
concurrent-connections-per-source This counter establishes a maximum packet rate for concurrent con-
nections from a single source. A count that exceeds the adjusted
baseline is anomalous and treated as an Excessive Concurrent Con-
nections Per Source attack event.
dns-query-per-src This counter establishes the maximum rate of DNS queries from a
single source. A count that exceeds the adjusted baseline is anom-
alous and treated as DNS Query Flood From Source attack event.
The destination tracking table enables FortiDDoS to prevent destination flood attacks and slow connection
attacks that are targeted at individual destinations. The “per-destination” thresholds enable it to do so without
affecting the rates for other destinations in the SPP.
Counter Description
most-active-destination This counter establishes a maximum packet rate to any one destination. A rate
that exceeds the adjusted baseline is anomalous and treated as a Destination
Flood attack event.
syn-per-dst This counter establishes a maximum packet rate for particular TCP packets to a
single destination. A rate that exceeds the adjusted baseline is anomalous and
treated as a Excessive TCP Packets Per Destination flood attack event.
When the syn-per-dst limits are exceeded for a particular destination, the SYN
flood mitigation mode tests are applied to all new connection requests to that par-
ticular destination. Traffic to other destinations is not subject to the tests.
FortiDDoS uses adaptive thresholds. Adaptive thresholds take into account the traffic’s average, trend, and
seasonality (expected or predictable variations).
Traffic prediction
Unlike other network behavior analysis (NBA) systems, FortiDDoS never stops learning. It continuously models
inbound and outbound traffic patterns for key Layer 3, Layer 4, and Layer 7 parameters.
FortiDDoS uses the following information to model normal and abnormal traffic:
l The historical base, or weighted average, of recent traffic (more weight is given to recent traffic)
l The trend, or slope, of the traffic
l The seasonality of traffic over historical time periods
FortiDDoS uses these statistics to create a forecast for the next traffic period.
Traffic is non-deterministic; therefore, the forecast cannot be exact. The extent to which an observed traffic
pattern is allowed to exceed its forecast is bounded by thresholds. Generally speaking, a threshold is a baseline
rate that the system uses to compare observed traffic rates to determine whether a rate anomaly is occurring.
The FortiDDoS system maintains multiple thresholds for each key Layer 3, Layer 4, and Layer 7 parameter:
The configured minimum threshold is a factor in setting rate limits, but it is not itself the rate limit. Rate limits are
set by the estimated threshold, a limit that is subject to heuristic adjustment based on average, trend, and
seasonality.
Many of the graphs in the Monitor menu display the configured minimum threshold as a reference.
The figure below summarizes the alternative methods for setting the configured minimum threshold.
Menu Usage
Protection Profile > Thresholds > Sys- The recommended method for setting the configured minimum
tem Recommendation thresholds.
Menu Usage
Protection Profile > Thresholds > The thresholds configuration is open. You can set user-defined
Thresholds thresholds and fine-tune them.
You might be able to set reasonable values for port and protocol
thresholds based on your knowledge of your network’s services
and server capacity.
Most likely, you must become a FortiDDoS expert before you will
be able to set reasonable values for Scalar thresholds.
Protection Profile > Thresholds > Emer- Use if you do not have time to use Detection Mode to establish a
gency Setup baseline.
Protection Profile > Thresholds > Fact- Use to quickly restore the system to high values. The factory
ory Default defaults are high to avoid possible traffic disruption when you first
put the system inline. In general, you use these settings together
with Detection Mode when you are setting an initial baseline or a
new baseline.
Protection Profile > Thresholds > Per- Use when you expect a spike in legitimate traffic due to an event
cent Adjust that impacts business, like a news announcement or holiday shop-
ping season.
Estimated thresholds
The estimated threshold is a calculated rate limit, based on heuristic adjustments.
The system models an adjusted normal baseline based on average, trend, and seasonality. It uses the heuristics
to distinguish attack traffic from increases in traffic volume that is the result of legitimate users accessing
protected resources.
The minimum value of an estimated threshold is the configured minimum threshold. In other words, if it is not
predicting normal traffic becoming heavier than the baseline, it allows a rate at least as high as the configured
minimum threshold.
The maximum value of an estimated threshold is the product of the configured minimum threshold and the
adaptive limit. In other words, the system does enforce an absolute maximum rate limit.
Adaptive limit
The adaptive limit is a percentage of the configured minimum threshold.
An adaptive limit of 100% means no dynamic threshold estimation adjustment takes place once the configured
minimum threshold is reached (that is, the threshold is a fixed value).
The product of the configured minimum threshold and adaptive limit is the absolute maximum rate limit. If the
adaptive limit is 150% (the default), the system can increase the estimated threshold up to 150% of the value of
the configured minimum threshold.
There are scenarios where FortiDDoS drops legitimate traffic because it cannot adapt quickly enough to a sudden
change in traffic patterns. For example, when a news flash or other important announcement increases traffic to
a company’s website. In these situations, you can use the Protection Profiles > Thresholds > Percent Adjust
configuration page to increase all configured thresholds by a specific percentage.
l Source floods—Traffic from a source that the system has identified as the source of a flood.
l Layer 7 floods—Traffic for attacks detected based on a URL or Host, Referer, Cookie, or User-Agent header field.
You can use the Protection Profiles > Settings page to specify packet count multipliers.
When both Source flood and Layer 7 flood conditions are met, the packet count multipliers are compounded. For
example, when there is a User Agent flood attack, a source is sending a User-Agent that is overloaded. If the
Source multiplier is 4 and the Layer 7 multiplier is 64, the total multiplier that is applied to such traffic is 4 x 64 =
264. In effect, each time the source sends a Layer 7 packet with that particular User-Agent header, FortiDDoS
considers each packet the equivalent of 256 packets.
l Protocol
l Fragment or not a fragment
l Source IP address (the system can monitor the packet rate from that specific source)
l The following TCP packet properties are tracked:
l Destination port
l SYN or not a SYN packet
l TCP connection tuple (the system can monitor the packet rate within that connection)
An HTTP packet has the following properties that can be tracked:
l Method (for example, GET)
l URL
l Headers
l Protocol
l Fragment or not a fragment
l IP option values
l Source IP address, and hence packet rate from that specific source
The following UDP packet properties are tracked:
l Destination port
A DNS message has the following additional properties that can be tracked in queries and responses:
To summarize, because determining thresholds is a hierarchical process, avoid setting low thresholds on
common conditions that can cause FortiDDoS to block legitimate traffic as well as attack traffic. The more
specific you are about the type of traffic you want to allow as ‘normal’, the more effective the FortiDDoS is in
blocking other traffic.
You can configure access control lists (ACLs) to deny known attacks and unwarranted traffic. For example, in a
data center environment, you can use ACLs to protect the router from getting overloaded by floods from known
attacks. The ACLs are part of the core hardware architecture, so they do not add to latency through the device
when you enable or disable them.
FortiDDoS enforces a Global ACL that applies to all traffic, and SPP ACLs that are applied after traffic has been
sorted into an SPP.
The following table summarizes the traffic parameters you can use to enforce an ACL.
Parameter ACL
Layer 3
Fragment SPP
Parameter ACL
Layer 4
Layer 7
DNS-All SPP
DNS-Fragment SPP
DNS-MX SPP
DNS-Zone-Transfer SPP
l IP/UDP/TCP anomalies
l TCP session state anomalies
l HTTP anomalies
l DNS anomalies
IP/UDP/TCP anomalies
Legitimate traffic conforms with standards set out in Internet Engineering Task Force (IETF) documents known
as Requests for Comments (RFC). Traffic that does not conform with RFCs is anomalous. Often, anomalous
traffic contains malicious components. In any case, it should be dropped to prevent resource issues.
The FortiDDoS system drops and logs the following Layer 3 anomalies:
The table below summarizes recommended settings for TCP session state for the FortiDDoS deployment modes.
In a typical Prevention Mode deployment where FortiDDoS receives both sides of the TCP connection, all
settings are available and can be useful. Some settings are not appropriate when FortiDDoS is deployed in
Detection Mode or Asymmetric Mode. See Understanding FortiDDoS Detection Mode or Understanding
FortiDDoS Asymmetric Mode for TCP for additional information on the guidelines for those modes.
Prevention -
Detection Prevention - Asymmetric
Setting
Mode Symmetric Inbound SYN
Direction
Detection Prevention -
Setting
Mode
Understanding FortiDDoS protocol anomaly protection Key Concepts
DNS anomalies
DNS anomalies are packet or session state irregularities known to be exploited by attackers. The table below lists
the types of DNS anomalies that can be detected.
Group Anomaly
DNS query anomaly l Query bit set—DNS query with the query reply (QR) bit set to 1. In a legitimate
query, QR=0.
l Null query—DNS query in which the question, answer, additional, and name
server counts are 0.
l RA bit set—DNS query with the recursion allowed (RA) bit set. The RA bit is set
in responses, not queries.
l QDCNT not 1 in query—Number of entries in the question section of the DNS
packet is normally 1. Otherwise, it might be an exploit attempt.
DNS response anomaly l QCLASS in reply—DNS response with a resource specifying a CLASS ID
reserved for queries only (QCLASS).
l QTYPE in reply—DNS response with a resource specifying a TYPE ID reserved
for queries only (QTYPE).
l Query bit not set—DNS response with the query reply (QR) bit set to 0. In a
legitimate response, QR=1.
l QDCNT not 1 in response—Number of entries in the question section of the
DNS packet is normally 1. Otherwise, it might be an exploit attempt.
DNS buffer overflow l TCP Message too long—TCP query or response message that exceeds the
anomaly maximum length specified in the message header.
l UDP message too long—UDP query or response message that exceeds the
maximum length specified in the message header.
l Label length too large—Query or response with a label that exceeds the
maximum length (63) specified in the RFC.
l Name too long—DNS name that exceeds 255 characters. This can cause
problems for some DNS servers.
Group Anomaly
DNS exploit anomaly l Pointer loop—DNS message with a pointer that points beyond the end of data
(RFC sec4.1.4). This is an exploit attempt.
l Zone transfer—An asynchronous Transfer Full Range (AXFR) request
(QTYPE=252) from untrusted networks is likely an exploit attempt.
l Class is not IN—A query/response in which the question/resource address
class is not IN (Internet Address). Although allowed by the RFC, this is rare and
might indicate an exploit attempt.
l Empty UDP message—An empty message might indicate an exploit attempt.
l Message ends prematurely—A message that ends prematurely might indicate
an exploit attempt.
l TCP Buffer underflow—A query/response with less than two bytes of data
specified in the two-byte prefix field.
DNS info anomaly Type ALL used—Detects a DNS request with request type set to ALL
(QTYPE=255). Typical user queries to not request ALL.
DNS data anomaly l Invalid type, class—A query/response with TYPE or CLASS reserved values.
l Extraneous data—A query/response with excess data in the packet after valid
DNS data.
l TTL too long—TTL value is greater than 7 days (or 604800 seconds).
l Name length too short—A query/response with a null DNS name.
In Detection Mode, FortiDDoS logs events and builds traffic statistics for SPPs, but it does not take actions: it
does not drop or block traffic, and it does not aggressively age connections. Packets are passed through the
system to and from protected subnets. Any logs and reports that show drop or blocking activity are actually
simulations of drop or block actions the system would have taken if it were deployed in Prevention Mode.
When you get started with FortiDDoS, you deploy it in Detection Mode for 2-14 days so that the FortiDDoS
system can learn the baseline of normal inbound and outbound traffic. The length of the initial learning period
depends upon the seasonality of traffic (its predictable or expected variations) and how representative of normal
traffic conditions the learning period is. Ensure that there are no attacks during the initial learning period and that
it is long enough to be a representative period of activity. If activity is heavier in one part of the week than
another, ensure that your initial learning period includes periods of both high and low activity. Weekends alone
are an insufficient learning period for businesses that have substantially different traffic during the week. Thus, it
is better to start the learning period on a weekday. In most cases, 7 days is sufficient to capture the weekly
seasonality in traffic.
At the end of the initial learning period, you can adopt system-recommended thresholds (usually lower than the
factory default) and continue to use Detection Mode to review logs for false positives and false negatives. As
needed, you repeat the tuning: adjust thresholds and monitor the results.
When you are satisfied with the system settings, change to Prevention Mode. In Prevention Mode, the appliance
drops packets and blocks sources that violate ACL rules and DDoS attack detection thresholds.
Important: In Detection Mode, the FortiDDoS system forwards all packets, but a simulated drop might be
recorded. TCP session control options depend on the true TCP state, and simulated drops when the appliance is
in Detection Mode can lead to unexpected results. For example, if the system records a (simulated) drop for a
TCP connection, when subsequent packets arrive for the connection, the system treats them as foreign packets
because the state table entry indicates the session has already been closed.
The table below summarizes our guidelines for SYN flood mitigation and TCP session state settings in Detection
Mode.
Table 8: SYN flood mitigation and TCP state anomaly detection settings
Settings Guidelines
SYN Flood Mitigation The SYN flood mitigation mode settings are not applicable and disregarded. In
Detection Mode, the FortiDDoS system does not drop packets, so it cannot test
the legitimacy of source IP addresses.
Protection Profiles > SPP Settings > TCP session feature control
SYN validation Do not enable. This option enables SYN flood mitigation mode, which is not
applicable in Detection Mode.
Settings Guidelines
Sequence validation Do not enable. Simulated “drops” in Detection Mode lead to incorrect window val-
idations for subsequent session packets.
State transition anom- Do not enable. Simulated “drops” in Detection Mode lead to faulty tracking of ses-
alies validation sion state.
Foreign packet validation Do not enable. Simulated “drops” in Detection Mode lead to unexpected foreign
packet violations.
Allow tuple reuse Exception to the rule. Enabled by default to support standard test environments
that reuse tuples in quick succession. The setting is valid in Detection Mode.
Recommended to avoid unnecessary logging of the event when it is detected.
Allow duplicate SYN-in- Exception to the rule. Not enabled by default, but the setting is valid in Detection
SYN-SENT Mode. Recommended to avoid unnecessary logging.
Allow FIN anomaly
This section includes the following information about attack mitigation features when you deploy FortiDDoS in
Prevention Mode:
l Overview
l ACK Cookie
l SYN Cookie
l SYN Retransmission
Overview
When a client attempts to start a TCP connection to a server, the client and server perform a three-way
handshake:
A SYN flood attack on a server exploits how the server maintains TCP connection state for the three-way
handshake in the TCB table. In a spoofed attack, the attacker sends a large number of SYN packets from spoofed
IP addresses to the server; or in a zombie attack, the attacker has used a virus to gain control of unwitting clients
and sends a large number of SYN packets from legitimate IP addresses to the server. Each SYN packet that
arrives creates an entry in the table. The spoofed addresses make it impossible to resolve the three-way
handshake, and the TCP connection state in the TCB table remains ‘half-open’ instead of completing the cycle. It
never transitions to ‘established’ and ultimately to ‘closed’. As a result, TCB table entries are not “cleaned up” by
the expected life cycle, resources can be exhausted, and there can be system failure and outages.
To prepare for SYN flood attacks, FortiDDoS maintains a table of IP addresses that have completed a three-way
handshake. This is called the legitimate IP address (LIP) table. Entries in the LIP expire after 1 minute.
When FortiDDoS detects a SYN flood attack, it enters SYN flood mitigation mode. In this mode, the system acts
as a proxy for TCP connection requests and uses the LIP table to validate new connections:
l New SYN packets coming from addresses in the LIP table are presumed legitimate and are allowed
l FortiDDoS takes a guarded approach to other SYN packets, and they are processed according to the configured
SYN flood mitigation mode option:
l ACK Cookie
l SYN Cookie
l SYN Retransmission
The SYN flood mitigation mode behavior applies only when FortiDDoS has detected a SYN flood with either of
the following thresholds:
l syn: When total SYNs to the subnet exceeds the threshold, the SYN flood mitigation mode tests are applied to all
new connection requests.
l syn-per-dst: When the per-destination limits are exceeded for a particular destination, the SYN flood mitigation
mode tests are applied to all new connection requests to that particular destination. Traffic to other destinations is
not subject to the tests.
ACK Cookie
The figure below illustrates the ACK Cookie mitigation mode option. FortiDDoS sends the client two ACK
packets: one with a correct ACK number and another with a wrong number. The system determines whether the
source is not spoofed based on the client’s response. If the client’s response indicates that the source is not
spoofed, FortiDDoS allows the connection and adds the source to the legitimate IP address table. Fortinet
recommends this option if you have enough bandwidth in the reverse direction of the attack. (This method
generates 2 responses for every SYN. Thus, a 1 Gbps SYN flood will generate 2 Gbps reverse traffic.)
SYN Cookie
The figure below illustrates the SYN Cookie mitigation mode option. FortiDDoS sends a SYN/ACK with a cookie
value in the TCP sequence field. If it receives an ACK back with the right cookie, a RST/ACK packet is sent and
the IP address is added to the LIP table. If the client then retries, it succeeds in making a TCP connection.
Fortinet recommends this option if you cannot use ACK Cookie and you anticipate high volume attacks.
SYN Retransmission
The figure below illustrates the SYN Retransmission mitigation mode option. FortiDDoS drops the initial SYNs to
force the client to send a SYN again. If a pre-configured number of retransmitted SYNs arrive within a predefined
time period, the FortiDDoS considers the source to be legitimate. It allows the connection to go through and adds
the source to the legitimate IP address table. Fortinet recommends this option if you cannot use ACK Cookie and
you anticipate low volume attacks.
Aggressive aging
This section includes the following topics:
Variations of the Slowloris attack involve opening a legitimate TCP connection and not doing anything at all.
Such idle connections fill up the connection tables in firewall and servers.
FortiDDoS can detect slow connection attacks and combat them by 'aggressively aging' slow connections. When
slow connection detection is enabled, the system monitors TCP ports 21, 22, 23, 25, 80, and 443, as well as user-
configured HTTP service ports, for slow connection anomalies. If the traffic volume for a connection is below a
specified byte threshold during an observation period, the connection is deemed a slow connection attack and the
following actions can be taken:
l If the Protection Profiles > SPP Settings > TCP tab > Aggressive Aging Feature Control > Slow TCP Connections
option is enabled, FortiDDoS sends a RST packet to the server so that the server can remove the connection from
its connection table.
l If the Protection Profiles > SPP Settings > TCP tab > TCP Session Feature Control > Foreign Packet Validation
option is enabled, the subsequent packets for the connection are treated as foreign packets and dropped. The
event is logged as a Foreign Packets (Aggressive Aging and Slow Connections) and then as a State Anomalies:
Foreign packet (Out of State) event and drops are reported on the Monitor > Anomaly Drops > TCP State Anomalies
page.
l If Block Sources with Slow TCP Connections option is enabled, FortiDDoS applies the 'Blocking Period for
Identified Sources' configured on the Global Settings > Settings > Blocking Period tab. The drops based on this
blocking period action are also logged as 'Slow Connection: Source flood' events and reported on the Monitor >
Flood Drops > Layer 4 page.
The figure below illustrates how FortiDDoS deployed between the client and server can monitor slow attack
threats and take action to aggressively age them.
Note: By default, FortiDDoS uses the MAC address for the management interface (mgmt1) when it sends a TCP
reset to aggressively age the connection. To configure a different MAC address for the resets, go to Global
Settings > Settings > Settings.
Another slow connection attack, the R U Dead Yet? (RUDY) attack, injects one byte of information into an HTTP
POST request. The partial request causes the targeted web server to hang while it waits for the rest of the
request. When repeated, multiple simultaneous RUDY connections can fill up a web server’s connection table.
When deployed between clients and servers, FortiDDoS can detect HTTP connections that resemble RUDY
attacks and 'aggressively age' the connections in the same way it does for slow TCP connection attacks. When a
partial request is sent from a client, it can be dropped.
l If Block Incomplete HTTP Requests setting is enabled, the Incomplete HTTP Packet is dropped. The event is
logged as a 'Incomplete HTTP Request' event, and drops are reported on Monitor > Anomaly Drops > Layer 7 >
HTTP Header page.
l If the 'Layer 7 Flood and Incomplete HTTP Requests' option is enabled, the session entry in the FortiDDoS TCP
state table is timed out and an RST is sent to the server.
l If the SPP Settings > Settings > TCP Session Feature Control > Foreign Packet Validation option is enabled,
subsequent packets for the connection are treated as foreign packets and dropped The event is logged as a Foreign
Packets (Aggressive Aging and Slow Connections) and then as a 'State Anomalies: Foreign packet (Out of State)'
event and drops are reported on Monitor > Anomaly Drops > TCP State Anomalies page.
l If the Block Sources with Incomplete HTTP Request setting is enabled, FortiDDoS applies the 'Blocking
Period for Identified Sources' configured on the Global Settings > Settings page. The drops based on this blocking
period action are also logged as 'Slow Connection: Source flood' events and reported on the Monitor > Flood Drops
> Layer 4 page.
Note the following:
l Track Slow TCP Connections should not be enabled if FortiDDoS is in Asymmetric Mode, since it needs to see both
directions of traffic to properly determine Byte counts.
l Large Cookies can also cause Incomplete HTTP Requests. It is recommended that this feature should not be used
on SPPs that contain firewalls, gateways, proxies or other devices that originate many outbound sessions to the
Internet.
The table below summarizes the predefined thresholds for slow connection detection.
Slow TCP connection byte threshold 512 Bytes 2048 Bytes 1 – 65535 Bytes Disabled –
ignore entry
Caution: Source blocking for slow connection detection is disabled by default. Do not
enable if it is typical for the SPP to receive traffic with source IP addresses that are
proxy IP addresses (for example, a CDN proxy like Akamai). You want to avoid block-
ing a proxy IP address because the block potentially affects many users that are legit-
imately using the same proxy IP address.
l high-concurrent-connection-per-source
l layer7-flood
The figure below illustrates aggressive aging when high concurrent connection or Layer 7 rate anomalies are
detected.
Note: The initial drops resulting from aggressive aging appear in logs and reports as SYN per Source flood drops
or HTTP method flood drops, as appropriate. If the TCP session feature control option foreign-packet-
validation option is also enabled, subsequent packets from these sources are dropped as foreign packet
anomalies because the packets are correlated with a connection that has been reset.
Rate limiting
FortiDDoS maintains rate meters for packets, connections, and requests. It drops packets that exceed the
maximum rates (which are based on history, heuristics, and a multiplier that you specify or based on an absolute
limit that you specify).
Rate limiting thresholds are not only a good way to detect attacks, but also an effective method to protect
servers. When deployed between client and server traffic, the rate limits ensure that a server is not inundated with
more traffic than it can handle.
When FortiDDoS drops packets that exceed the maximum rates, the originating client retransmits the packets.
Traffic originating from attackers is likely to be marked by extended blocking periods, while traffic originating from
legitimate clients is likely to find itself within the acceptable rates as thresholds are reevaluated.
Blocking
In Prevention Mode, traffic that exceeds protection profile thresholds is blocked for the configured blocking
period. When blocking period is over, the threshold is checked again.
The below examples assume that the blocking period has the default value of 15 seconds.
l If the IP address does not exist in the legitimate IP address table, and if the SYN flood mitigation method is SYN
cookie, the system performs a proxy three-way handshake to validate the IP address.
l After 15 seconds, the system checks the packet rate against the threshold again.
The system uses the following mechanisms to minimize the impact of these false positives:
l Because the blocking period is short (1 to 15 seconds), the system frequently checks to see if the traffic no longer
exceeds the threshold that detected the attack.
l The system simultaneously attempts to determine whether the attack is not spoofed and can be attributed to one or
a few sources. If it can identify these sources (called source attackers), it applies a “multiplier” to them. The
multiplier makes traffic from these source attackers more likely to exceed the most active source threshold, which
causes the system to apply a longer blocking period.
l If it identifies attackers, the system can stop blocking traffic from legitimate sources as soon as the standard,
shorter blocking period is over, but continue to block traffic from source attackers for a longer period.
The figure below illustrates how the FortiDDoS system responds immediately to attacks but then adjusts its
attack mitigation activity to packets from specific sources only.
In this example, the standard blocking period is 15 seconds and the blocking period for source attackers is 60
seconds (the default value). The multiplier for source attackers is 16, and the most active source threshold is 100
packets per second.
When Source B sends 90 fragmented packets, the calculated rate is 1440 packets per second, which exceeds the
most active source threshold. But when Source C sends 2 fragmented packets per second, the calculated rate of
32 packets per second does not exceed the threshold. Thus, the system applies the longer blocking period to
Source B only.
Source C, which sends an insignificant number of fragmented of packets, is blocked only for the length of the
shorter, standard blocking period.
FortiDDoS monitors TCP states. For TCP state monitoring to work fully and properly for all types of related
mitigation, bidirectional traffic must pass through FortiDDoS.
When only one direction of traffic passes through the device, from FortiDDoS’ perspective, we call it Asymmetric
traffic and the appliance must be set in Asymmetric Mode.
Combinations of multiple links and BGP routing tables at the ISPs and the customer can result in inbound and
outbound using any combination of the links.
The figure below shows an asymmetric route when an external client initiates the connection, such as a web
server request. The initial TCP SYN traverses the network path where FortiDDoS has been deployed, but the
SYN-ACK response takes a different route to the client.
Figure 17: Asymmetric route when an external client initiates the connection
The following figure shows an asymmetric route when the internal resource initiates the connection, such as
when a backup server initiates a scheduled job. The TCP SYN takes an out-of-path route, and the SYN-ACK
packet is the first packet that FortiDDoS sees for the session.
Figure 18: Asymmetric route when an internal server initiates the connection
We have two key recommendations if you plan to deploy the FortiDDoS appliance in a network path where
asymmetric routes are possible:
l When feasible, design the network routes so that FortiDDoS sees both sides of the client-server connection. You
might be able to do this with the preferred routes, persistence, or active/active synchronization features of the
routing devices in your deployment.
l If you cannot avoid asymmetric traffic, enable FortiDDoS Asymmetric Mode. In Asymmetric mode, FortiDDoS can
use virtually 100% of its methods to detect abnormal network traffic, with the exception of the parameters noted
below. Disabling these parameters results in a very small loss of attack detection capability.
In Asymmetric Mode, the system can parse Layer 4 and Layer 7 headers for most floods and URL-related
features. If this feature is off, such floods are not detected when two-way session traffic is not completely seen by
the appliance.
You must enable both Asymmetric Mode and the Allow Inbound SYN-ACK option so the system can
properly handle asymmetric TCP traffic. When enabled, the system treats an inbound SYN-ACK as if a SYN, and
it creates an entry for it in the TCP connection table. It does not increment the syn threshold counter, but it does
track syn-per-src in order to protect against attacks that might attempt to exploit this behavior.
TCP state anomaly detection depends on tracking a two-way traffic flow, so some feature options on the
Protection Profiles > SPP Settings page do not work in Asymmetric Mode. The table below summarizes the
configuration guidelines for these feature options.
Table 10: Recommended TCP state anomaly detection settings in Asymmetric Mode
Settings Guidelines
State transition anomalies validation Do not enable. Depends on tracking a two-way traffic flow.
Settings Guidelines
Allow tuple reuse Enabled by default to support standard test environments that
reuse tuples in quick succession. The setting is valid in Asym-
metric Mode. Recommended to avoid unnecessary logging of
the event when it is detected.
Allow duplicate SYN-in-SYN-SENT Not enabled by default, but the setting is valid in Asymmetric
Mode. Recommended when FortiDDoS is in Detection Mode
to avoid unnecessary logging of the event when it is detected.
Allow FIN anomaly
1. Go to Global Settings > Settings > Settings > Deployment tab and enable the following settings:
l Asymmetric Mode
l Allow inbound SYN/ACK
2. Get started in Detection Mode:
a. For each SPP, go to Protection Profiles > SPP Settings and ensure that the following TCP state anomaly
options are enabled and no other:
l Syn validation
l Foreign packet validation
l Allow tuple reuse
l Allow duplicate SYN-in-SYN-SENT
b. Enable Detection Mode.
c. Establish a baseline of traffic statistics and set thresholds.
3. Change settings to the ones appropriate for Prevention Mode when there is asymmetric traffic:
a. For each SPP, go to Protection Profiles > SPP Settings and ensure that the following TCP state anomaly
options are enabled and no other:
l SYN validation
l Foreign packet validation
l Allow tuple reuse
b. Enable Prevention Mode.
An asymmetric route is one in which the traffic in one direction traverses FortiDDoS system, but traffic in the other
direction takes a route that does not go via FortiDDoS. Combinations of multiple links and BGP routing tables at
the ISPs and customer can result in inbound and outbound using any combination of the links.
If FortiDDoS is deployed in Asymmetric mode, then most DNS Feature controls must be disabled.
To mitigate many DNS DDoS attacks, FortiDDoS maintains tables for both DNS Queries and Responses. If both
Queries and Responses do not go through FortiDDoS, then the functionality must be disabled for the device to
work and report attacks properly.
In asymmetric mode, the expectation is that FortiDDoS will only see half of most DNS Query/Response
transactions. Since DNS is normally UDP and stateless, FortiDDoS cannot make assumptions of the state and
may drop DNS Queries and/or Responses as anomalous.
DNS Anomaly Feature Controls are primarily DNS header anomalies. This can be enforced in Asymmetric mode
because they work on packet by packet basis rather than maintaining state across packets.
The following figure shows the allowed DNS Feature Control configuration for use with asymmetric traffic:
Note: FortiDDoS 600B and 900B do not support DNS ACLs, DNS anomaly detection,
or DNS flood mitigation.
DNS tunneling
DNS tunneling exploits the fact that firewall administrators must open port 53 in order for DNS authoritative
name servers to respond to queries from the Internet. The attacker compromises a host in the internal network
and runs a DNS tunnel server on it. A DNS tunnel client outside the internal network can then gain access to the
internal network by sending a DNS query to the compromised host that sets up a DNS tunnel.
You can use FortiDDoS DNS anomaly detection to drop DNS tunneling attempts if the tunneling attempts do not
conform to DNS header syntax.
Some DNS floods target the authoritative name server for a domain. In these types of attacks, malware bots send
a continuous flood of queries for random, nonexistent subdomains of a legitimate domain. All of the DNS servers
in the recursive chain consume resources processing and responding to the bogus queries.
If clients in your internal network have been compromised by malware, your internal DNS resolvers could also be
targets of query flood attacks.
In non-existent NX domain (NXDOMAIN) attacks, the clients that have been compromised send queries for
domains that do not exist. This uses resources and can fill up the cache.
In phantom domain attacks, the clients that have been compromised send DNS queries for a phantom domain
name—a domain server that exists, but it is controlled by an attacker. The attacker might have configured it to
send no responses or slow responses. These illegitimate transactions waste resources, and a flood of them can
take down the DNS resolver.
You can use FortiDDoS DNS flood mitigation features to prevent query floods.
You can use the FortiDDoS DNS query response matching (DQRM) feature to prevent DNS response exploits.
l ACL rules
You can use the Do Not Track and Global ACL Allow policy to whitelist trusted IP addresses. For example, to permit
DNS query type ALL or Zone Transfer from specified hosts, you can whitelist them and then create rules that deny
those types of queries from all other sources. For an overview of ACLs, see Using FortiDDoS ACLs.
l Protocol anomaly rules
Built-in and user-enabled rules filter malformed traffic and known protocol exploits. There is a special set of
anomalies that can be detected in DNS traffic. For an overview of protocol anomalies, see Understanding
FortiDDoS protocol anomaly protection.
l Rate meters and flood mitigation mechanisms
For TCP, the DNS rate meters enforce rate limits (drops). For UDP, the DNS rate meters trigger flood mitigation
responses that drop illegitimate queries but continue DNS services for legitimate user queries. For details, see
FortiDDoS DNS flood mitigation overview.
l DNS Query Response Matching (DQRM)
Blocks unsolicited responses and throttles duplicate queries (regardless of flood state). See FortiDDoS DNS flood
mitigation overview.
The following two figures illustrate the order in which FortiDDoS applies its rules and actions for TCP and UDP
DNS traffic, respectively.
Under normal conditions (no floods), FortiDDoS builds a baseline of DNS traffic statistics and stores DNS query
and response data in tables. At all times, the tables are used to validate response traffic. During UDP floods, the
tables are used to test queries and responses. The following table describes the system tables used for DNS
attack mitigation.
The DQRM can also be used to throttle repeated queries that would
otherwise result in unnecessary server activity. The "Duplicate query check
before response" option drops identical queries (same transaction details)
that are repeated at a rate of 3/second. Drops are reported on the Monitor >
Layer 7 > DNS > Unexpected Query graph.
During a flood, the system drops queries that do not have entries in the
table. Drops are reported on the Monitor > Layer 7 > DNS > LQ Drop graph.
When a valid response is received, the query details are correlated with the
client IP address and stored in the table. It can store 1.5 million records.
Entries are cleared when the TTL expires. Responses with TTL=0 are not
added to the table.
During a flood, the system drops queries that have an entry in the table. It is
not expected that a client would send the same query before the TTL
expires. Drops are reported on the Monitor > Layer 7 > DNS > TTL Drop
graph.
During DNS query floods, you can leverage the legitimate IP (LIP) table to
test whether the source IP address is spoofed. If the source IP address is
found in the LIP table, processing continues; if there is no entry, the system
can test source IP legitimacy by performing a UDP retransmission test or by
sending a response with the TC flag set. The TC flag indicates to the client
to retry the request over TCP. When the query is retried over TCP, other
flood mitigation mechanisms may be available, such as SYN flood
antispoofing features. Drops are reported on the Monitor > Layer 7 > DNS >
Spoofed IP Drop graph.
During a flood, if the query passes the LQ and TTL checks, the response is
served from the cache and the query is not forwarded to the DNS server.
This enables legitimate clients to get DNS results without adding load to the
server that is being attacked.
If there is not an entry in the cache, you can configure whether you want the
query to be forwarded to the DNS server or have FortiDDoS send a response
with the TC flag set. The TC flag indicates to the client to retry the request
over TCP.
Drops are reported on the Monitor > Layer 7 > DNS > Cache Drop graph.
Tracks DNS queries per source and suspicious actions per source. It drops
packets that exceed the maximum thresholds and applies the blocking
period for identified sources. Drops are reported on the Monitor > Layer 7 >
DNS Query Per Source and the Monitor > Layer 7 > Suspicious Sources
graphs.
Source tracking thresholds and TCP thresholds are rate limits, resulting in drops when the flood rate thresholds
are crossed. For UDP, rate thresholds trigger mitigation mechanisms. Drops are based on results of the
mitigation checks. The figure below illustrates the packet flow through mitigation mechanisms during a UDP
flood.
Query Flood Abnormal rate of DNS queries or occurrences of query data. Spikes in DNS
queries and fragmented queries are obvious symptoms of an attempt to take
down the DNS server. Changes in norms for query data, such as question type
and question count, are also symptoms of exploit attempts. Detected by the
dns-query, dns-fragment, dns-question-count, dns-mx -count, dns-all-count,
and dns-zone-xfer-count thresholds.
The Monitor > Layer 7 graphs include packet rate graphs for each key threshold,
and the Layer 7 drops graphs show which thresholds were at a flood state when
the packets were dropped.
Per Source Flood Rate limit for DNS queries from a single source. Detected by the dns-query-per-
source threshold. The system applies the blocking period for identified sources.
The Monitor > Layer 7 graphs include a Query Per Source graph.
Suspicious Sources Heuristics to track other abnormal activity from a single source.
Query Response
UDP l Adds an entry to the DQRM table. l Validates the response against the DQRM
l Performs a duplicate query check to prevent table. If there is an entry, the traffic is
unnecessary queries to the server. forwarded; otherwise, it is dropped.
l Updates the LQ table, the TTL table, and the
DNS cache.
TCP l Adds an entry to the DQRM table. Validates the response against the DQRM
l Performs a duplicate query check to prevent table. If there is an entry, the traffic is for-
unnecessary queries to the server. warded; otherwise, it is dropped.
The following figure shows a topology where FortiDDoS is deployed in front of an internal DNS resolver that
sends queries to and receives responses from the Internet. This type of deployment is useful for open resolvers
where the DNS resolver is protected primarily from Internet-originating inbound reflection attacks.
FortiDDoS collects data and validates the inbound responses and outbound requests the same as when queries
are inbound. This deployment protects your network against different threats, such as DNS amplification attacks
that result in unsolicited DNS response floods to targeted victims and DNS cache poisoning attacks, in which
attackers send responses with malicious records to DNS recursive resolvers. In a deployment like this, the
unsolicited responses would fail the DQRM check and be dropped.
Query Response
UDP l Validates against the LQ table. Under flood l Validates the response against the DQRM
conditions, a query must have an entry in the table. If there is an entry, the traffic is
LQ table or it is dropped. forwarded; otherwise, it is dropped.
l Validates against the TTL table. If a match is l Updates the LQ table, the TTL table, and
found, the TTL check fails and the packets are the DNS cache.
dropped. It is not expected that a client would
send the same query before the TTL expires.
l Perform a lookup in the LIP table. If an entry
exists, processing continues; otherwise,
FortiDDoS drops the packets and tests the
legitimacy of the source IP address. You can
configure FortiDDoS to do so by performing a
UDP retransmission challenge or by sending the
requestor a response with the TC flag set. The
TC flag indicates to the client to retry the
request over TCP.
l Performs a lookup in the DNS cache. If found,
the response to the query is sent from the cache
and the query is not forwarded to the protected
server. If not found, you can configure whether
to forward the query to the server or to send a
TC=1 response to force the client to retry using
TCP.
l Adds an entry to the DQRM table.
TCP l Drops packets according to thresholds. Validates the response against the
l Adds an entry to the DQRM table. DQRM table. If there is an entry, the
l Performs a duplicate query check to avoid traffic is forwarded; otherwise, it is
unnecessary queries to the server. dropped.
Getting started
We recommend you allocate an SPP exclusively for DNS traffic. It takes a week to establish a baseline of traffic
statistics for the SPP.
1. Go to Global Settings > Service Protection Profiles and create an SPP configuration exclusively for DNS traffic.
2. Go to Protection Profiles > SPP Settings and click the General tab. Ensure the SPP is in Detection mode.
3. Create ACL rules (if desired):
a. Go to Protection Profiles > Service and create service configuration objects for DNS QTYPE or fragment.
b. Go to Protection Profiles > ACL and create deny rules for those services.
4. Go to Protection Profiles > SPP Settings and click the DNS Protocol Anomalies tab. We recommend you
enable detection for all anomalies and disable only if you encounter false positives (not expected).
5. Go to Protection Profiles > SPP Settings and click the DNS Feature Controls tab. We recommend you enable all
features and leave disabled only features that are not suitable for your deployment.
6. Go to Monitor Graphs > Layer 7 > DNS and observe the accumulation of traffic statistics for the SPP's DNS
meters.
After you have established a baseline (a week's worth of traffic), take the following steps to prepare for and switch
to prevention mode.
7. Configure thresholds. A threshold applies to both UDP and TCP rates, but there are separate counters for each
protocol:
a. Go to Protection Profiles > Traffic Statistics and generate baseline statistics.
b. Go to Protection Profiles > Thresholds > System Recommendation and generate thresholds.
c. Go to Protection Profiles > Thresholds > Thresholds, review them, and make manual changes (if any).
8. Go to Protection Profiles > SPP Settings and click the TCP tab. Enable the following options:
l Layer-7 flood—This setting is useful when there is DNS traffic over TCP and FortiDDoS drops
connections due to rate limits. If this setting is enabled, FortiDDoS sends a reset to the server to clear the
connection from its TCP table.
l Foreign packet validation—This setting is useful when there is DNS traffic over TCP and FortiDDoS
drops connections due to rate limits. When this settings is enabled, subsequent packets from the same
connection are dropped.
9. Go to Protection Profiles > SPP Settings and click the General tab. Change to Prevention mode.
Service Protection Profiles (SPP) are used to enable a single FortiDDoS appliance to protect multiple network
zones with thresholds appropriate for the traffic in each of those zones.
One SPP (SPP-0) is designated as the default SPP. You allocate the remaining seven SPPs to subnets.
In an enterprise deployment, you can configure SPPs for specific departments, geographic locations, or functions
within an organization.
In a multi-tenant deployment, you can use SPPs to separate a single physical FortiDDoS device into up to 8
logical devices. Each SPP has its own configuration and traffic database. The configuration of each SPP can be
under the control of a different administrator.
The following figure shows how multiple SPPs are used to protect multiple subnets.
The FortiDDoS system records data points for monitored thresholds every five minutes. The data point is the
highest rate observed in any one second during the five minute window.
The FortiDDoS graphs are plots of data points. The reporting framework uses resolution periods to fit data points
in time-based graphs. In a graph with a five minute resolution period, the graph is based on a plot of the rates or
counts recorded for the regular five minute window. In a graph with a one hour resolution period, the graph is
based on a plot of the rates or counts for the highest rate among the points recorded in a one hour window—in
other words, the highest rate among the 12 five minute windows reported in the hour.
The following table lists resolution periods used for report periods.
1 hour 5 minutes
8 hours 5 minutes
1 day 5 minutes
1 week 1 hour
1 month 3 hours
1 year 45 hours
Note: The data displayed in a graph is current as of the time the last data point was written. For example, a 1-
hour graph with a 5-minute resolution is current as of the time the last 5-minute resolution data point was stored.
Traffic in the most recent 0-5 minutes might not have been registered yet. Similarly, for a 1-year graph with a data
resolution of 45 hours, data for the last 0-45 hours might not have been registered yet.
The monitoring and reporting framework is designed to maximize the processing resources that are available for
preventing attacks, rather than forensics. In order to conserve resources to withstand multi-gigabyte attacks, the
system records only data that it can use to improve security, not all possible Layer 3, Layer 4, and Layer 7 data.
As a result, reporting tools such as the DDoS attack log do not always include detailed traffic parameter
information. Outside of specific scenarios, the system does not report source and destination IP addresses and
ports, protocols, and so on, for every dropped or blocked packet.
It is not uncommon for a FortiDDoS system that is monitoring a 1 Gbps traffic flow to be the target of a 700 Mbps
SYN flood for 8 hours. If the system stored every source and destination IP address, port, and protocol, the
logging demands (via hard disk, syslog, or SNMP trap) would soon overwhelm the disk or network.
By concentrating its resources on dropping attack traffic and maintaining service, FortiDDoS allows you to focus
your attention elsewhere and still provide you with helpful and relevant information when an attack is underway.
Whenever there is an attack, you should investigate until you fully understand why packets were dropped, and
you know whether the attack event is a false positive.
If the SPP contains more than one subnet, you can use the following reports to determine the attack destination:
Threshold to
Attack Description Events to watch
monitor/adjust
SYN attack A spike in packets on a specific Layer 3 - TCP protocol (6) Protocol 6 Flood
TCP port. In most cases, the
source address is spoofed. Layer 4 - TCP ports on which SYN Flood
the server is listening and
ports that are allowed by the Zombie Flood
firewall and ACL
Port Flood
Layer 4 - SYN
Source flood A single source sends Layer 3 – Most active source Source Flood
excessive number of IP
packets.
Zombie attack A spike in TCP packets from Layer 3 – TCP protocol (6) Layer 3 Protocol 6
legitimate IP addresses.
Layer 4 – TCP ports on SYN Flood
which the server is listening
and ports that are allowed by Zombie Flood
the firewall and ACL
Port Flood
Layer 4 – SYN Layer 4 –
Established connections per SYN Flood from Source
destination (estab-per-dst)
ICMP flood An excessive number of ICMP Layer 3 – ICMP protocol (1) Protocol 1 Flood
packets.
Layer 4 – ICMP type and Layer 4 ICMP Flood of a
code combinations that are specific type and code
allowed by the firewall and
ACL
Threshold to
Attack Description Events to watch
monitor/adjust
Smurf attack Traffic that appears to Layer 3 – ICMP protocol (1) Protocol 1 Flood
originate from the target
server’s own IP address or Layer 4 – ICMP type and ICMP Flood of Echo-
somewhere on its network. codes combinations that are Request/Response Type
Targeted correctly, it can flood allowed by the firewall and (Type= 0, Code = 0)
the network with pings and ACL
multiple responses.
MyDoom Excessive number of HTTP Layer 3 – TCP protocol (6) Protocol 6 Flood SYN Flood
attack packets zombies.
Layer 4 – TCP port 80 Zombie Flood
Layer 4 – Established
connections
HTTP GET Excessive number of HTTP Layer 3 – TCP protocol (6) Protocol 6 Flood
attack packets from zombies.
Layer 4 – TCP ports on SYN Flood
which the server is listening
and ports that are allowed by Zombie Flood
the firewall and ACL
Port Flood
Layer 4 – SYN
TCP Connection Flood
Layer 4 – New connections
HTTP Method Flood
Layer 4 – Concurrent
connections per source URL Flood
Layer 7 – URL
Threshold to
Attack Description Events to watch
monitor/adjust
Slow Legitimate IP sources send Layer 3 – TCP protocol (6) Layer 3 Protocol 6
connection legitimate TCP connections
attack but do it slowly and remain Layer 4 – TCP ports on SYN Flood
idle, which fills up the server’s which the server is listening
connection table memory. and ports that are allowed by Zombie Flood
the firewall and ACL
Port Flood
Layer 4 – SYN
Concurrent Connections/
Layer 4 – New connections Source
Layer 4 - Concurrent
connections per source
UDP flood An excessive number of UDP Layer 3 – UDP protocol (17) Protocol 17 Flood
attack packets.
Layer 4 – UDP ports on which Port Flood
the server is listening and
ports which are allowed by
the firewall and ACL
Slammer An excessive number of Layer 3 – UDP protocol (17) Protocol 17 UDP Flood
attack packets on UDP Port 1434.
Layer 4 – UDP port 1434 Port Flood – 1434
Fraggle Spoofed UDP packets to a list Layer 3 – ICMP protocol (1) Protocol 1 Flood
attack of broadcast addresses.
Usually the packets are Layer 3 – UDP protocol (17) Protocol 17 Flood
directed to port 7 on the target
machines, which is the echo Layer 4 – UDP echo port (7) UDP Port 7 Flood
port. Other times, it is directed
to the CHARGEN port. Layer 4 – Daytime Protocol UDP Port 13 Flood
Sometimes a hacker is able to port (13)
set up a loop between the echo UDP Port 17 Flood
and CHARGEN port. Layer 4 – Quote of the Day
(QOTD) port (17) UDP Port 19 Flood
Threshold to
Attack Description Events to watch
monitor/adjust
DNS Port An excessive number of Layer 3 - UDP protocol (17) Protocol 17 UDP Flood
Flood packets on UDP port 53.
Layer 4 - UDP port 53 UDP Port 53 Flood
DNS Query A spike in DNS queries and Layer 7 - DNS query-related DNS Query Flood
Flood occurrences of query data. thresholds
Getting Started
This section provides the basic work-flow for getting started with a new deployment.
Basic steps:
Tips:
l Configuration changes are applied to the running configuration as soon as you save
them.
l Configuration objects are saved in a configuration management database. You
cannot change the name of a configuration object after you have initially saved it.
l You cannot delete a configuration object that is referenced in another configuration
object (for example, you cannot delete an address if it is used in a policy).
Note:
If you are using Internet access links from multiple service providers, and both
links do not connect to the same FortiDDoS, BGP will likely create asymmetric
traffic where FortiDDoS will only see a portion of TCP handshakes. See
Understanding FortiDDoS Asymmetric Mode to configure your FortiDDoS
correctly.
This Handbook assumes you have already installed the appliance into a hardware rack and used the appropriate
cables to connect the traffic interfaces to your network.
The FortiDDoS system is deployed inline (between the Internet and your local network resources). Consecutively
numbered ports belong to port pairs: Use an odd port numbers (1, 3, 5, and so on) for the LAN-side connection
and an even port number (2, 4, 6, and so on) for the WAN-side connection. For example, port1 and port2 are a
pair. The port1 interface is connected to a switch that connects servers in the local network; the port2 interface is
connected to the network path that receives traffic from the Internet.
For information about hardware appliances, refer to the FortiDDoS hardware manuals. For HA installations, refer
to High Availability Deployments.
You use the management port for remote administrator access from the web user interface (web UI) or command
line interface (CLI).
You configure the following basic settings to get started so that you can access the web UI from a remote location
(like your desk):
l Static route—Specify the gateway router for the management subnet so you can access the web UI from a host on
your subnet.
l IP address—Assign a static IP address for the management interface. The IP address is the host portion of the web
UI URL. For example, the default IP address for the management interface is 192.168.1.99 and the default URL for
the web UI is https://192.168.1.99.
l Access—Services for administrative access. We recommend HTTPS, SSH, SNMP, PING.
Before you begin the management interface configuration:
l You must know the IP address for the default gateway of the management subnet and the IP address you plan to
assign the management interface.
l For your initial setup, you must have access to the machine room in which the physical appliance has been
installed. You must connect a cable to the management port to get started.
l You need a laptop with an RJ-45 Ethernet network port, a crossover Ethernet cable, and a web browser (Microsoft
Internet Explorer 8.0 or newer, or Mozilla Firefox 20 or newer). To minimize scrolling, the monitor resolution should
be 1280 x 1024 or better.
l Configure the laptop Ethernet port with the static IP address 192.168.1.2 and a netmask of 255.255.255.0. These
settings enable you to access the web UI as if from the same subnet as the FortiDDoS in its factory configuration
state.
l Use the crossover cable to connect the laptop Ethernet port to the management port.
Note: It is not recommended to use Internet Explorer version 9 and 10. If you login to FortiDDoS GUI on Internet
Explorer 11 from Windows 10 system, perform the following actions on IE 11 browser settings:
1. Go to Settings > Internet options.
2. Click Settings under Browsing history.
3. Select 'Every time I visit the webpage' option under 'Check for newer versions of stored pages:'.
n Go to System > Network > Static Route and follow the instructions under Configuring static routes.
3. Use CIDR notation to specify the IP address/netmask, and enable services related to administrative access.
4. Save the configuration.
The system processes the update and disconnects your HTTP session because the interface has a new IP
address and therefore the web UI has a new URL. At this point, you should be able to connect to the web UI from
a host on the management subnet you just configured. You can go back to your desk to verify connectivity by
attempting to open the web UI at the new address. You could see the status of configuration and link under
Configured Status and Link Status column.
The system supports network settings for various environments. To get started, you configure the following basic
settings:
l Administrator password—You must change the password for the admin account.
l Network interfaces—If necessary. The FortiDDoS appliance is deployed inline. In effect, it is a Layer 2 Bridge, so
you do not configure IP addresses for its traffic interfaces. By default, the system is configured to autonegotiate
speed/duplex. If desired, you can configure fixed speed/duplex settings.
l DNS—You must specify a primary and secondary server for system DNS lookups.
l System date and time—We recommend you use NTP to maintain the system time.
To configure DNS:
Your new FortiDDoS appliance comes with a factory image of the operating system (firmware). However, if a new
version has been released since factory imaging, you might want to install the newer firmware before continuing
the system configuration.
You can initially deploy the system in Detection Mode. In Detection Mode, the system operates with high (factory
default) thresholds and does not drop any packets.
The system needs about 2 to 7 days of attack-free learning in Detection Mode to learn typical traffic patterns so it
can set the initial thresholds. The length of the initial learning period depends upon the seasonality of traffic (its
predictable or expected variations) and how representative of normal traffic conditions the learning period is.
Weekends alone are an insufficient learning period for businesses that have substantially different traffic during
the week. Thus, it is better to start the learning period on a weekday. In most cases, 7 days is sufficient to capture
the weekly seasonality in traffic.
Basic steps
1. Go to Global Settings > Service Protection Profiles > Config and configure SPP names and IDs.
2. Go to Global Settings > Service Protection Profiles > SPP Policy and configure SPP subnets.
3. Go to Protection Profiles > SPP Settings and ensure, for each SPP, that the system is deployed in Detection
Mode (factory default).
For details, refer to Configuring SPP policy settings and Configuring SPP settings .
Step 7: Generate traffic statistics and set the configured minimum thresholds
At the end of the initial learning period, you can adopt system-recommended thresholds (usually lower than the
factory default).
Basic steps
1. Go to Protection Profiles > Traffic Statistics > Generate and generate statistics for the selected SPP and time
period.
2. Go to Protection Profiles > Traffic Statistics > Details and review the maximum packet rates generated for the
SPP.
The values represent the maximum packet rate observed during the selected period. For example, during each 1-
hour period, there are 12, 5-minute observation periods. FortiDDoS captures a maximum rate for each 5-minute
interval. The generated threshold is the highest maximum rate that was captured among the 12 observation
periods.
3. Go to Protection Profile > Thresholds > System Recommendation and set the configured minimum
thresholds to the system recommended settings.
For each OSI layer you can specify two settings:
l Percentage: The configured minimum threshold is the generated baseline rate multiplied by this percentage.
l Low Traffic Threshold: The system uses this value instead for the configured minimum threshold if it is higher.
Tip: When you are getting started, we recommend that you accept the defaults for the adjustment percentages
and low traffic thresholds.
Step 8: Monitor the system and become familiar with logs and reports
For your initial deployment, continue to use Detection Mode for a day or two during which you review logs for
potential false positives and false negatives.
Basic steps
1. Go to Monitor and review throughput rates. Start with aggregate graphs and then use the more detailed graphs to
drill in on patterns of interest or concern.
2. Go to Log & Report > Log Access > Logs > DDoS Attack Log and become familiar with the log table and
how to use log filters.
3. Go Log & Report > Executive Summary and become familiar with the Executive Summary dashboard
including DDoS Attack Graphs dashboard.
l Monitor Graphs
l Using the DDoS attack log table
l Using DDoS Attack Log dashboard or FortiView - Data analytics
l Using the DDoS Attack Graph dashboard
After you have set the statistical baseline and evaluated the configured minimum thresholds, you change to
Prevention Mode. In Prevention Mode, the system uses the configured minimum threshold in its calculations that
determine the estimated thresholds. The estimated thresholds are rate limits that are enforced by packet drops.
The estimated thresholds are also the triggers for reporting flood attacks and entering SYN flood attack mitigation
mode.
As needed, you repeat the tuning: monitor observed throughput, estimated thresholds, and drops; adjust the
configured minimum thresholds; monitor; adjust.
1. Go to Protection Profiles > SPP Settings and change the configuration to Prevention Mode. Do this for each
SPP.
2. On the Protection Profiles > SPP Settings > TCP tab, enable the recommended TCP session state anomalies
options.
3. Continue to monitor traffic.
4. Tune the configuration if necessary. Go to Protection Profiles > Thresholds > Thresholds to set rates
manually or Protection Profiles > Thresholds > System Recommendation to adjust percentages applied at
OSI layers or to adjust the low traffic threshold.
Once you have tested your basic installation and verified that it functions correctly, create a backup. This “clean”
backup is a reference point that has many benefits, including:
l Troubleshooting—You can use a tools such as a tool such as diff to compare a problematic configuration with this
baseline configuration.
l Restarting—You can rapidly restore your system to a simple yet working point.
l Rapid deployment—You can use the configuration file as a template for other FortiDDoS systems to the extent it
makes sense to do so. For example, you might use the same network infrastructure configuration (DNS, SNMP,
log, syslog), the same general settings, and more or less the same ACL rules, but SPP settings and SPP thresholds
are usually appropriate only to the subnet in which the system has been deployed. You can use any text editor to
edit the plain text configuration file and import it into another FortiDDoS system. Be sure to change unique
identifiers, such as the management IP address and sometimes other local network settings that differ from one
deployment to another.
Dashboard
l Dashboard overview
l CLI console
l Configuring the hostname
l Rebooting, shutting down, and resetting the system
Dashboard overview
FortiDDoS Dashboard contains tables or graph summary of system information or system status. You can use the
dashboard to check system status at-a-glance or to quickly find system information, like the hardware serial
number, firmware version, license status, or interface status. For a deeper look at attack traffic, use the Monitor
and Log & Report menus.
Note: The SPP selection from the top-right corner of the UI updates only the Count of Unique Sources graph.
Before you begin:
l You must have Read-Write permission for Log & Report settings.
l Go to Dashboard tab.
The default dashboard setup includes the following tables/graphs:
l System Information
l System Status
l License Information
l Aggregate SPP Traffic
l Count of Unique Sources
l Top Attacked SPPs
l System Resources
l Top SPPs with Denied Packets
l Recent Event Logs
l Data Path Resources
For any graph, you can select either Linear or Logarithmic scale link from the top right corner. If there is a range of
data where one or a few points are much larger than the bulk of the data, select Logarithmic scale to reduce the
skewness towards large values. The graphs are displayed in linear scale by default.
System Information
This dasbaord displays the basic information, such as firmware version, serial number, host name, system time,
system uptime, effective HA mode, user name and ASIC version.
Note: The Shutdown option does NOT power down the entire system. Instead it disables the management
plane of the system including GUI, SSH and Console. As per the configuration, the traffic ports will be placed into
Fail Open or Fail Closed. To power off the system, unplug the system power cable(s). The only way to recover
from Shutdown is to unplug and then re-plug the system power cable(s).
System Status
This dasbaord displays status for network interfaces, bypass, and SPPs.
Port Status Green icon - The port is physically connected the network.
Red icon - The port has no physical connection to the network.
Odd-numbered ports are LAN connections (Protected Network) that have a
corresponding even-numbered port, which is the associated WAN connection. (For
example, Port 1 connected to the local area network (LAN) and Port 2 connected to
the Internet).
Hover over the status icons to see additional information: port number, link status,
speed, auto-negotiation, and medium (copper or fiber).
Bypass State Used for copper-based (RJ-45) Ethernet connections only on models
200B/400B/600B/800B.
SPP Status Green icon - Profile is operating in Detection Mode (monitoring traffic to generate
statistics and/or showing 'virtual' drops based on set Thresholds. Drops will never
happen in Detection Mode).
License Information
This dasbaord displays license and registration status, including status for the FortiGuard IP Reputation and
Domain Reputation Services. If the system is behind web proxy, set up Tunnel (proxy) under Global Settings >
IP Reputation. These Tunnel settings work for system registration, IP Reputation, Domain Reputation and
Signaling.
To display inbound or outbound traffic, select Inbound / Outbound links on the top-right of the graph.
You can hide or display the throughput for Aggregate Ingress or Aggregate Egress traffic by clicking the label.
To display details, hover over a point on the graph. To hide or display the drop count on any specific SPP, click on
the SPP label.
System Resources
System Resources gauges display Management Plane CPU and memory percentage usage for core processes
only (graphing, reporting, etc.). CPU and memory usage for other management processes (for example, for
HTTPS connections to the web UI) is excluded. For data path memory usage, see Data Path Resources.
It displays CPU and memory usage as a dial gauge and as a percentage of the usage for core processes only.
CPU and memory usage for management processes (for example, for HTTPS connections to the web UI) is
excluded.
The Log Disk usage gauge does not display the entire SSD disk usage. To view disk space information, connect
to the CLI and enter the following command:
diagnose hardware get sysinfo df
CLI Console
Note: CLI commands are not supported by FortiDDoS-CM in this release. We recommend to use
FortiDDoS-CM GUI menus for any operations.
The Console enables you to enter CLI commands through the web UI, without making a separate Telnet, SSH, or
local console connection. To use the console, click Console on the FortiDDoS UI header from any page in the
GUI. You are logged in as the same admin account you used to access the web UI. To close the console, click on
the Console tab again.
You can configure a hostname to facilitate system management. If you use SNMP, for example, the SNMP
system name is derived from the configured hostname.
1. Go to Dashboard.
2. Find the 'Host Name' in the System Information widget and click Change.
3. Complete the configuration with reference to the screenshot and table below.
4. Click Update.
Settings Guidelines
New Name The hostname can be up to 35 characters in length. It can include US-ASCII letters,
numbers, hyphens, and underscores, but not spaces and special characters.
The System Information widget and the get system status CLI command dis-
play the full hostname. If the hostname is longer than 16 characters, the name is trun-
cated and ends with a tilde ( ~ ) to indicate that additional characters exist, but are not
displayed.
CLI commands:
config system global
set hostname <name>
end
1. Go to Dashboard.
2. In the System Information widget, click the Reboot button.
A reboot GIF is displayed when the GUI interface is not available, during reboot and while backend processes are
initializing after reboot.
CLI commands:
execute reboot
Do not unplug or switch off the FortiDDoS appliance without first halting the operating
system. Failure to do so could cause data loss and hardware problems.
1. Go to Dashboard.
2. In the System Information widget, click Shutdown button.
l Data traffic will be blocked or bypassed depending on the Interface (Copper, SFP or Optical Bypass, depending on
mode) and fail-open/fail-closed configuration. In fail-close mode, the traffic is not bypassed and in fail-open mode,
traffic gets bypassed.
l System cooling fans stop operating. Note that power supply cooling fans may still be operating and the power
supplies themselves are still powered.
l You will have no GUI or Console access to the system in shutdown. The only way to regain access is full power off
(unplug) and restart (see below).
CLI commands:
execute shutdown
Task Menu
Reset the threshold configuration for an SPP Protection Profiles > Thresholds > Factory Defaults
Reset the threshold configuration and clear Protection Profiles > Factory Reset
traffic history for an SPP
l # execute factoryreset: Deletes all the configuration without deleting any data.
l # execute formatlogdisk: Deletes all the data, including MySQL database (attack log, event log) and RRDs
(graphs). This does not delete the configuration, but that has already been deleted by the command above.
FortiView
FortiView is a comprehensive monitoring system for your network that integrates real-time and historical data into
a single view. It can log and monitor threats to networks, filter data on multiple levels, keep track of administrative
activity, and more. FortiView will consolidate data from different devices managed by FortiDDoS-CM and shows
the status in a single view
l Visual Threat Map representation of current and historical attack traffic in all FortiDDoS devices.
l Topological (Tree) view of Service Protection Profiles and Protected Subnets with Traffic and Attack Drop
information.
l Summary Analytics of log data such as top threats to your network, top sources of attack traffic, and top
destinations of attack traffic.
l Detailed Attack and Event Logs of all devices.
This section includes the various methods of viewing these information:
Threat Map
FortiView Threat Map displays a map view of attacks based on FortiDDoS logs, including source and destination
geo-locations (when identifiable) with a single day view of information.
l Internal - Identified Public Source IPs from the same country geolocation as the FortiDDoS Protected IPs.
l Identified - Identified Public Source IP from other geo-locations.
Note that identifiable Source IPs normally make up less than 10% of DDoS attacks.
l Unknown- Spoofed or otherwise unidentifiable Source IPs
l The initial view of Threat Map shows attack information for the current day.
l If Source or Destination IP address are private IPs, they will not be displayed
on the Threat Map.
l Threat Map is optimized for Chrome and Firefox browser.
Tree View
The Tree View displays a top-level view of all the configured SPPs and SPP Policies (subnets). The first node
branching out from 'FortiDDoS' represents the configured SPPs with the corresponding SPP Traffic Statistics and
Aggregate Drops graphs. The SPP nodes branch out to SPP policies or subnets corresponding to that SPP,
displaying the subnet Traffic Statistics graph.
You can adjust the display using the top-right parameters for:
The figure below shows the DDoS Attack dashboards. Each table summarizes top attacks ranked by drop count
(highest to lowest).
1. Go to Log & Report > Executive Summary > DDoS Attack Log or FortiView > Data Analytics.
2. Select the device from the top-right device selection button.
3. Select the SPP of interest, time period, and traffic direction from the top right corner.
4. Click the Detail icon near the table entries to display more details.
Figure 49:
FortiView Logs
l You must have an administrator account with the System Admin option enabled.
1. Go to Log & Report > Log Access > Logs> DDoS Attack log tab or FortiView > Logs > DDoS Attack Log
tab.
2. Use the check boxes to select the types of attack events to view.
3. Click Filter Settings to display additional filter tools for Date (and Time), Direction, Source IP, Protected IP,
Associated Port, Protocol, ICMP Type Code and SPP Policy.
4. Click OK to apply the filter.
You can apply multiple filters. They will each display in the filter area. You can clear any filter by clicking “X” in the
filter description or all filters using the Clear All Filters button.
Note: These filters are not persistent. If you leave the DDoS Attack Log page, they will be cleared.
The following table describes the columns in the DDoS attack log.
SPP ID 0 SPP ID
Event Detail '500' Reason string. This will be the hash index for
HTTP.
Subnet ID 0 Subnet ID
Note: In the DDoS attack log, a table cell displays ”-” (hyphen or a blank) if data is not collected or invalid or
multiple values for the same field occur in the same event.
The table displays most recent records first and the columns Event ID, Timestamp, SPP ID, Direction, Event
Type and Drop Count. By default, the DDoS Attack Log table displays 10 years of events or the maximum allowed
under Log Purge Settings (Default 1M, max 2M). To view the details of an Event, click the Preview icon at the
right end of any line.
See Appendix A: DDoS Attack Log Reference for details on log categories and event types.
l You must have enabled local logging. See Configuring local log settings.
l You must have Read-Write permission for Log & Report settings.
1. Go to Log & Report > Log Access > Logs > Event Log tab or or FortiView > Logs > Event Log tab.to
display the event log table.
2. Click Filter Settings to display the filter tools.
3. Use the tools to create filter logic.
4. Click Apply to apply the filter and redisplay the log.
Note: By default, this table displays the most recent records first and all columns. If no filters or check boxes are
selected, the table displays data from the last 10 years. This the default filter applied internally.
l You can click a column heading to display controls to sort the rows or show/hide columns.
l You click a row to select a record. Log details for the selected event are displayed below the table.
l You can use the Filter Settings controls to filter the rows displayed in the table based on event type, severity, action,
status, and other values.
System Management
The network interfaces that are bound to physical ports have three uses:
l Management—Ports mgmt1 and mgmt2 are management interfaces. Management interfaces are used for
administrator connections and to send management traffic, like syslog and SNMP traffic. Typically, administrators
use mgmt1 for the management interface.
l HA—If you plan to deploy HA, you must reserve a physical port for HA heartbeat and synchronization traffic. Do not
configure a network interface for the port that will be used for HA; instead, leave it unconfigured or “reserved” for
HA. Typically, administrators use mgmt2 for the HA interface.
l Traffic—The remaining physical ports can be used for your target traffic—these are your “traffic interfaces.” The
FortiDDoS system is deployed inline (between the Internet and your local network resources). Consecutively
numbered ports belong to port pairs: Use an odd port numbers (1, 3, 5, and so on) for the LAN-side connection and
an even port number (2, 4, 6, and so on) for the WAN-side connection. For example, port1 and port2 are a pair. The
port1 interface is connected to a switch that connects servers in the local network; the port2 interface is connected
to the network path that receives traffic from the Internet.
By default, 1000Base-T copper ports use auto-negotiation to determine the connection speed. In general, you
change the speed if the interface is connected to a device that does not support auto-negotiation. If the other
device uses a fixed speed/duplex setting, you use this configuration page to set the FortiDDoS network interface
speed/duplex to the appropriate matching values.
The interface modules for FortiDDoS 900B/1000B and FortiDDoS 1200B/2000B models have special guidelines.
To avoid issues with speed/duplex for these interface modules, please disregard the possible choices and use the
required settings shown in the following table.
Transceiver/Interface
Required settings Models
module
Settings Guidelines
Settings Guidelines
Logical Name Any description (maximum 15 characters) which provides more information about the
network interface.
Configured Status This indicator displays Port Configured State up/down as set by the user. This state
can only be changed via CLI.
Link Status The Link Status indicators on the Interface Configuration page display the con-
nectivity status. A green indicator means that the link is connected and negotiation
was successful. A red indicator means that the link is not connected or is down.
Settings Guidelines
Asymmetric Mirror Asymmetric Mirror is an experimental feature in 4.6.0 and 4.7.0 and should NOT be
enabled at this time.
Modifying settings:
config system interface
edit {mgmt1|mgmt2}
set speed
{auto|10half|10full|100half|100full|1000half|1000full}
set mtu
end
Confirming settings:
config system interface
edit {mgmt1|mgmt2}
show
end
Modifying settings:
config system interface
set speed
{auto|10half|10full|100half|100full|1000half|1000full}
end
Confirming settings:
config system interface
show
end
Configuring DNS
The system must be able to contact DNS servers to resolve IP addresses and fully qualified domain names.
l You must know the IP addresses of the DNS servers used in your network.
l Your Internet service provider (ISP) might supply IP addresses of DNS servers, or you might want to use the IP
addresses of your own DNS servers. You must provide unicast, non-local addresses for your DNS servers. Local
host and broadcast addresses are not accepted.
l Incorrect DNS settings or unreliable DNS connectivity can cause issues with other features, such as FortiGuard
services and NTP system time.
l You must have Read-Write permission for System settings.
To configure DNS:
Settings Guidelines
Primary DNS Server IPv4 address of the primary DNS server. For best performance, use a DNS server on
your local network.
Secondary DNS IPv4 address of the secondary DNS server for your local network.
Server
CLI commands:
config system dns
set primary <ip address>
set secondary <ip address>
end
To verify DNS:
You configure a static route to enable you to connect to the web UI and CLI from a remote location, like your
desk.
Settings Guidelines
Interface Select the network interface that uses the static route.
Settings Guidelines
Destination Destination IP address and network mask of packets that use this static route, sep-
IP/mask arated by a slash ( / ) or space.
Gateway IP address of the next-hop router for the FortiDDoS management computer.
Unlike other administrator accounts, the administrator account named admin exists by default and cannot be
deleted. The admin account is similar to a root administrator account. This account always has full permission to
view and change all system configuration options, including viewing and changing all other administrator
accounts. Its name and permissions cannot be changed. It is the only administrator account that can reset
another administrator’s password without being required to enter that administrator’s existing password.
To prevent accidental changes to the configuration, it is best if only network administrators—and if possible, only
a single person—use the admin account. You can use the admin account to configure more administrator
accounts for other people. Accounts can be made with different scopes of access. You can associate each of
these accounts with either all SPPs or a single SPP, and you can specify the type of profile settings that each
account can access. If you require such role-based access control (RBAC) restrictions, or if you simply want to
harden security or prevent inadvertent changes to other administrators’ areas, you can do so with access profiles.
For example, you can create an account for a security auditor who must only be able to view the configuration and
logs, but not change them.
Basic steps
When a profile includes no categories with read-write permissions, the user can log into the web UI but not the
CLI.
In larger companies where multiple administrators share the workload, access profiles often reflect the specific
job that each administrator does (“role”), such as account creation or log auditing. Access profiles can limit each
administrator account to their assigned role. This is sometimes called role-based access control (RBAC).
The table below lists the administrative areas that can be provisioned. If you provision read access, the role can
view the web UI menu (or issue a CLI get command). If you provision read-write access, the role can save
configuration changes (or issue a CLI set command).
For complete access to all commands and abilities, you must log in with the administrator account named
admin.
* For each config command, there is an equivalent get/show command, unless otherwise noted. config
commands require write permission. get/show commands require read permission.
Settings Guidelines
Settings Guidelines
Do not use spaces or special characters except the ‘at’ symbol ( @ ).
The maximum length is 35 characters.
Note: This is the user name that the administrator must provide when
logging in to the CLI or web UI. If using an external authentication
server such as RADIUS or Active Directory, this name will be passed to
the server via the remote authentication query.
System Admin If the user is regarded as a System Administrator with access to all
SPPs, select Yes or else click No.
SPP Policy Group If the user is not a System or SPP Admin, select the SPP Policy
Group from the drop-down. You must have SPP Polices (subnets) and
SPP Policy Groups configured before you can make this selection.
Service Protection Profile If the user is an SPP Admin, select the SPP profile that the SPP Admin
manages.
Strategy l Local—Use the local authentication server. When you use the local
authentication server, you also configure a password.
l LDAP—Authenticate against an LDAP server. When you use LDAP,
you do not configure a password. The system authenticates against
the username and password stored in the LDAP server.
l RADIUS—Authenticate against a RADIUS server. When you use
RADIUS, you do not configure a password. The system authenticates
against the username and password stored in the RADIUS server.
l TACACS+—Authenticate against a TACACS+ server. When you
use TACACS+, you do not configure a password. The system
authenticates against the username and password stored in the
TACACS+ server.
Settings Guidelines
Note: This option does not appear for the admin administrator
account, which by definition always uses the super_admin_prof
access profile.
Settings Guidelines
Trusted Hosts Source IP address and netmask from which the administrator is allowed
to log in. For multiple addresses, separate each entry with a space. You
can specify up to three trusted areas. They can be single hosts, sub-
nets, or a mixture.
Trusted host definitions apply both to the web UI and to the CLI when
accessed through Telnet, SSH, or the CLI console widget. Local con-
sole access is not affected by trusted hosts, as the local console is by
definition not remote, and does not occur through the network.
To allow logins only from one computer, enter only its IP address and
32- or 128-bit netmask:192.0.2.2/32 2001:0d-
b8:85a3:::8a2e:0370:7334/128
Tip: If you allow login from the Internet, set a longer and more complex
password, and enable only secure administrative access protocols. We
also recommend that you restrict trusted hosts to IPs in your admin-
istrator’s geographical area.
Tip: For improved security, restrict all trusted host addresses to single
IP addresses of computer(s) from which only this administrator will log
in.
CLI commands:
config system admin
edit admin
set access-profile super_admin_prof
next
edit admin-spp1
set is-system-admin no
set domain SPP-1
set password ENC $1$0b721b38$vk7GoO147JXXqy5B3ag8z/
set access-profile admin
end
Settings Guidelines
Passwords may have a maximum of 16 characters, may include numbers, upper and
lowercase characters, and the following special characters:
CLI commands:
config system admin
edit admin
set password <new-password_str>
end
Settings Guidelines
HTTP Port HTTP is no longer supported. Any traffic directed to the HTTP Port set here
or to HTTP Port 80 will be redirected to the HTTPS port.
Settings Guidelines
HTTPS Port Specify the port for the HTTPS service. Usually, HTTPS uses port 443.
Note: If you are planning to use FortiDDoS Central Manager (FortiDDoS-CM), this
port must be '443' for the initial communications with FortiDDoS-CM. Changing this
port will make it difficult to subsequently add new appliances to FortiDDoS-CM. It is
recommend to keep the default value if you intend to use FortiDDoS-CM.
Telnet Port Specify the port for the Telnet service. Usually, Telnet uses port 23.
SSH Port Specify the port for the SSH service. Usually, SSH uses port 22.
Web Administration
l English
l Simplified Chinese
l Korean
l Japanese
l Spanish
l Portuguese
The display’s web pages use UTF-8 encoding, regardless of which language you
choose. UTF-8 supports multiple languages, and allows them to display correctly,
even when multiple languages are used on the same web page. For example, your
organization could have websites in both English and simplified Chinese. Your
FortiDDoS administrators prefer to work in the English version of the web UI. They
could use the web UI in English while writing rules to match content in both English
and simplified Chinese without changing this setting. Both the rules and the web UI
will display correctly, as long as all rules were input using UTF-8.
Usually, your text input method or your management computer’s operating system
should match the display by also using UTF-8. If they do not, your input and the web
UI may not display correctly at the same time. For example, your web browser’s or
operating system’s default encoding for simplified Chinese input may be GB2312.
However, you usually should switch it to be UTF-8 when using the web UI, unless you
are writing regular expressions that must match HTTP client’s requests, and those
requests use GB2312 encoding.
Note: This setting does not affect the display of the CLI.
Idle Timeout Number of minutes that a web UI connection can be idle before the administrator must
log in again. The maximum is 480 minutes (8 hours). The default is 30 minutes.
Login lockout
To protect from intrusion attempts, the system temporarily blocks the Source IP of any user who makes five failed
login attempts. The login page will display 'IP has been blocked'. The user may try to login again in few minutes.
Overview
FortiDDoS can allow a third-party customer to view statistics on the subnets under protection. This requires
several steps:
l Configure Service Protection Profiles (SPPs) for various classes of servers like Web, Email, Authenticating or VPN.
l Enter subnets belonging to all protected customers as SPP Policies, referenced to the correct SPP. For example, all
web server subnets for all customers are created in the Web SPP.
l Enter specific customer SPP Policies (subnets), from any SPP, into an SPP Policy Group, that is normally created
for a single customer.
l Create an Administrative Access Profile to control the action of customers when logged in. This profile should
ensure read-only or no access to some system options.
l Create an Administrative Profile to provide login credentials and access only the SPP Policy Group belonging to that
customer.
l On login, the customer will see aggregated traffic and drop information, attack log and other information associated
with his subnets only. Other system information is hidden.
l You must have Read-Write permission for settings under System, Global Settings and Log & Report.
1. Go to Global Settings > Service Protection Profiles > SPP Policy Group.
2. Create a new policy group. You can add up to 256 Policy Groups.
Refer to Configuring an SPP policy group.
7. Go to Log & Report > Report Configuration and click Add to configure reports. Select the Report Type as
'SPP Policy Group'. Note that these reports are available only to the system admin user.
Refer to Configuring reports.
Based on the access profile settings, the subnet-based user can view the corresponding graphs under Monitor
and logs and reports under Log & Report tabs. The Dashboard, System, Global Settings and Protection
Profiles tabs are disabled.
To configure with the CLI, use a command sequence similar to the following:
config system admin
edit user2
set is-system-admin no
set is-spp-admin no
set password ENC $1$859afbb1$8qA.XVa0A7BPhWtTA34/21
set access-profile profile1_mssp
set spp-policy-group group2
next
end
You can configure administrator authentication using a Remote Authentication Dial-In User Service (RADIUS)
server.
After you complete the RADIUS server configuration and enable it, you can select it when you create an
administrator user on the System > Admin > Administrator page. When RADIUS is selected, no local password
option is available. You also specify the SPP or SPP Policy Group assignment, trusted host list, and access profile
for that user.
If RADIUS is enabled, when a user logs in, an authentication request is made to the remote RADIUS server. If
authentication succeeds, and the user has a configuration on the System > Admin > Administrator page, the SPP
or SPP Policy Group assignment, trusted host list, and access profile are applied. If the user does not have a
configuration on the System > Admin > Administrator page, these assignments are obtained from the Default
Access Strategy settings described below.
Settings Guidelines
Primary Server Secret RADIUS server shared secret – maximum 116 characters (special characters are
allowed).
Secondary Server Optional. RADIUS server shared secret – maximum 116 characters (special char-
Secret acters are allowed).
Settings Guidelines
Authentication Pro- l Auto—If you leave this default value, the system uses MSCHAP2.
tocol l PAP—Password Authentication Protocol
l CHAP—Challenge Handshake Authentication Protocol (defined in RFC 1994)
l MSCHAP—Microsoft CHAP (defined in RFC 2433)
l MSCHAP2—Microsoft CHAP version 2 (defined in RFC 2759)
Test Connectivity
Test Connectivity Select to test connectivity using a test username and password specified next. Click
the Test button before you save the configuration.
Is System Admin If the user is regarded as a System Administrator with access to all SPPs, select
Yes or else click No.
Is SPP Admin This option is available only if Is System Admin is set to 'No'.
Yes - Administrator for only one SPP.
No - Neither system admin nor admin to SPP. Administrator for specific policy
group.
Default SPP Policy If the user is not a System or SPP Admin, select the Default SPP Policy Group
Group from the drop-down. You must have SPP Polices (subnets) and SPP Policy Groups
configured before you can make this selection.
Service Protection If the user is an SPP Admin, select the SPP profile that the SPP Admin manages.
Profile
Settings Guidelines
Trusted Hosts Source IP address and netmask from which the administrator is allowed to log in.
For multiple addresses, separate each entry with a space. You can specify up to
three trusted areas. They can be single hosts, subnets, or a mixture.
Configuring trusted hosts hardens the security of the system. In addition to knowing
the password, an administrator can connect only from the computer or subnets you
specify.
Trusted host definitions apply both to the web UI and to the CLI when accessed
through Telnet, SSH, or the CLI console widget. Local console access is not
affected by trusted hosts, as the local console is by definition not remote, and does
not occur through the network.
If ping is enabled, the address you specify here is also a source IP address to which
the system will respond when it receives a ping or traceroute signal.
To allow logins only from one computer, enter only its IP address and 32- or 128-bit
netmask:192.0.2.2/32 2001:0db8:85a3:::8a2e:0370:7334/128
Caution: If you restrict trusted hosts, do so for all administrator accounts. Failure to
do so means that all accounts are still exposed to the risk of brute force login
attacks. This is because if you leave even one administrator account unrestricted
(i.e. 0.0.0.0/0), the system must allow login attempts on all network interfaces
where remote administrative protocols are enabled, and wait until after a login
attempt has been received in order to check that user name’s trusted hosts list.
Tip: If you allow login from the Internet, set a longer and more complex password,
and enable only secure administrative access protocols. We also recommend that
you restrict trusted hosts to IPs in your administrator’s geographical area.
Tip: For improved security, restrict all trusted host addresses to single IP addresses
of computer(s) from which only this administrator will log in.
Access Profile Select a user-defined or predefined profile. The predefined profile named super_
admin_prof is a special access profile used by the admin account. However,
selecting this access profile will not confer all permissions of the admin account.
For example, the new administrator would not be able to reset lost administrator
passwords.
Note: This option does not appear for the admin administrator account, which by
definition always uses the super_admin_prof access profile.
ATTRIBUTE Fortinet-FDD-Trusted- 31 The Source IP address and netmask from which the
Hosts administrator is allowed to log in.
ATTRIBUTE Fortinet-FDD-SPP-Name 32 Name of the SPP profile that the SPP Admin manages.
ATTRIBUTE Fortinet-FDD-IS-SPP- 34 Administrator for all SPPs or else Administrator for selec-
ADMIN ted SPPs only.
ATTRIBUTE Fortinet-FDD-SPP- 35 User profile with access to the graphs and reports spe-
POLICY-GROUP cific to a SPP policy group.
You can configure administrator authentication against a Lightweight Directory Access Protocol (LDAP) server.
After you have completed the LDAP server configuration and enabled it, you can select it when you create an
administrator user on the System > Admin > Administrators page. On that page, you can specify the
username but not the password. You can also specify the SPP assignment, trusted host list, and access profile for
that user.
If LDAP is enabled, when a user logs in, an authentication request is made to the remote LDAP server. If
authentication succeeds, and the user has a configuration on the System > Admin > Administrators page, the
SPP assignment, trusted host list, and access profile are applied. If the user does not have a configuration on the
System > Admin > Administrators page, these assignments are obtained from the Default Access Strategy
settings described in LDAP server configuration guidelines table.
Note: Using the Test Connectivity button with incorrectly-configured LDAP settings will result in a long period
without a response. Configure LDAP carefully.
Settings Guidelines
Port LDAP port. Default is TCP 389 for LDAP and STARTTLS, and TCP 636 for
LDAPS.
Common Name Iden- Common name (cn) attribute for the LDAP record.
tifier For example: cn or uid.
Settings Guidelines
Distinguished Name Distinguished name (dn) attribute for the LDAP record. The dn uniquely identifies
a user in the LDAP directory. For example:
cn=John%20Doe,dc=example,dc=com
Most likely, you must work with your LDAP administrator to know the appropriate
DN to use for FortiDDoS access. The LDAP administrator might need to pro-
vision a special group.
l Simple - bind without user search. It can be used only if all the users
belong to the same 'branch'.
l Anonymous - bind with user search. It can be used when users are in
different 'branches' and only if the server allows 'anonymous search'.
l Regular - bind with user search. It can be used when users are in
different 'branches' and the server does not allow 'anonymous search'.
User DN Enter the user Distinguished Name. (Available only when Bind Type is 'Regular'.)
Password Enter the password for the user. (Available only when Bind Type is 'Regular'.)
LDAP over SSL (LDAPS) and StartTLS are used to encrypt LDAP messages in
the authentication process. LDAPS is a mechanism for establishing an encrypted
SSL/TLS connection for LDAP. It requires the use of a separate port, commonly
636. StartTLS extended operation is LDAPv3 standard mechanism for enabling
TLS (SSL) data confidentiality protection. The mechanism uses an LDAPv3
extended operation to establish an encrypted SSL/TLS connection within an
already established LDAP connection.
Test Connectivity
Test Connectivity Select to test connectivity using a test username and password specified next.
Click the Test button after you have saved the configuration.
Note: FortiDDoS GUI may become unresponsive if any of the above configuration values (LDAP Server Con-
figuration or Test Connectivity) are incorrect. In this case, refresh the browser to reconnect to the GUI.
Figure 63: Default Access Strategy for remote LDAP user page
Table 34: Default Access Strategy for remote LDAP user configuration guidelines
Settings Guidelines
System Admin If the user is regarded as a system administrator with access to all SPPs, select
Yes or else click No.
Default SPP Policy If the user is not a System or SPP Admin, select the Default SPP Policy
Group Group from the drop-down. You must have SPP Polices (subnets) and SPP
Policy Groups configured before you can make this selection.
Service Protection Profile If the user is an SPP Admin, select the SPP profile that the SPP Admin manages.
Settings Guidelines
Trusted Hosts Source IP address and netmask from which the administrator is allowed to log in.
For multiple addresses, separate each entry with a space. You can specify up to
three trusted areas. They can be single hosts, subnets, or a mixture.
Configuring trusted hosts hardens the security of the system. In addition to know-
ing the password, an administrator can connect only from the computer or sub-
nets you specify.
Trusted host definitions apply both to the web UI and to the CLI when accessed
through Telnet, SSH, or the CLI console widget. Local console access is not
affected by trusted hosts, as the local console is by definition not remote, and
does not occur through the network.
If ping is enabled, the address you specify here is also a source IP address to
which the system will respond when it receives a ping or traceroute signal.
To allow logins only from one computer, enter only its IP address and 32- or 128-
bit netmask:192.0.2.2/32 and/or 2001:0d-
b8:85a3:::8a2e:0370:7334/128
Caution: If you restrict trusted hosts, do so for all administrator accounts. Fail-
ure to do so means that all accounts are still exposed to the risk of brute force
login attacks. This is because if you leave even one administrator account unres-
tricted (i.e. 0.0.0.0/0), the system must allow login attempts on all network
interfaces where remote administrative protocols are enabled, and wait until
after a login attempt has been received in order to check that user name’s trus-
ted hosts list.
Tip: If you allow login from the Internet, set a longer and more complex pass-
word, and enable only secure administrative access protocols. We also recom-
mend that you restrict trusted hosts to IPs in your administrator’s geographical
area.
Tip: For improved security, restrict all trusted host addresses to single IP
addresses of computer(s) from which only this administrator will log in.
Access Profile Select a user-defined or predefined profile. The predefined profile named
super_admin_prof is a special access profile used by the admin account.
However, selecting this access profile will not confer all permissions of the
admin account. For example, the new administrator would not be able to reset
lost administrator passwords.
Note: This option does not appear for the admin administrator account, which
by definition always uses the super_admin_prof access profile.
You can configure administrator authentication using a Terminal Access Controller Access-Control System Plus
(TACACS+) server.
Once you complete the TACACS+ server configuration, create an administrator user under System > Admin >
Administrator page and select 'TACACS+' as the Strategy. When 'TACACS+' is selected, no local password
option is available. You can also specify the SPP or SPP Policy Group assignment, access profile and trusted host
list for that user. For more details about creating a user profile, see here.
If TACACS+ is enabled, when a user logs in, an authentication request is made to the remote TACACS+ server.
If authentication succeeds, and the user has a configuration on the System > Admin > Administrator page, the
SPP or SPP Policy Group assignment, access profile and trusted host list are applied. If the user does not have a
configuration on the Administrator page, an authorization request will be sent to TACACS+ server. If the
Authorization response contains attribute value pairs except 'service=fortiddos', user will be logged in as per the
policy defined in attribute value pairs, otherwise the user will be logged in as per assignments obtained from the
'Default Access Strategy' settings described in Step 3.
Settings Guidelines
Primary Server Secret TACACS+ server shared secret – maximum 116 characters
(special characters are allowed).
Port TACACS+ port number in the range: 1 - 65535. The default value
is 49.
Secondary Server Secret (Optional) TACACS+ server shared secret – maximum 116
characters (special characters are allowed).
Test Connectivity
Test Connectivity Select to test connectivity using a test username and password
specified next. Click the Test button after you have saved the
configuration.
3. Complete the 'Default Access Strategy for remote TACACS+ user' with reference to the figure/table
below.
Settings Guidelines
Is System Admin If the user is regarded as a System Administrator with access to all
SPPs, select Yes or else click No.
Is SPP Admin This option is available only if Is System Admin is set to 'No'.
Yes - Administrator for only one SPP.
No - Neither system admin nor admin to SPP. Administrator for a
specific policy group.
Default SPP Policy Group If the user is not a System or SPP Admin, select the Default SPP
Policy Group from the drop-down. You must have SPP Polices
(subnets) and SPP Policy Groups configured before you can make this
selection.
Service Protection Profile If the user is an SPP Admin, select the SPP profile that the SPP Admin
manages.
Settings Guidelines
Trusted Hosts Source IP address and netmask from which the administrator is allowed
to log in. For multiple addresses, separate each entry with a space. You
can specify up to three trusted areas. They can be single hosts, subnets,
or a mixture.
Trusted host definitions apply both to the web UI and to the CLI when
accessed through Telnet, SSH, or the CLI console widget. Local console
access is not affected by trusted hosts, as the local console is by
definition not remote, and does not occur through the network.
To allow logins only from one computer, enter only its IP address and
32- or 128-bit netmask:192.0.2.2/32
2001:0db8:85a3:::8a2e:0370:7334/128
Tip: If you allow login from the Internet, set a longer and more complex
password, and enable only secure administrative access protocols. We
also recommend that you restrict trusted hosts to IPs in your
administrator’s geographical area.
Tip: For improved security, restrict all trusted host addresses to single
IP addresses of computer(s) from which only this administrator will log
in.
Settings Guidelines
Note: This option does not appear for the admin administrator account,
which by definition always uses the super_admin_prof access profile.
CLI commands:
config system authentication tacacs+
set state {enable|disable}
set primary-server <ip|domain>
set primary-secret <string>
set port <port>
set backup-server <ip|domain>
set backup-secret <string>
set authprot {pap|chap|ascii|auto}
set is-system-admin {yes|no}
set is-spp-admin {yes|no}
set dft-domain <SPP>
set dft-accprofile <profile>
set dft-trusted-hosts <CIDR list>
end
Note: For more information about the settings under each tab, click Help on the top-right corner of the
UI.
3. Enter the Name, Description, Network Device Groups and IP Address of FortiDDoS device.
4. Select 'TACACS+' under Authentication Options and enter a Shared Secret.
5. Click Submit.
3. Click Submit.
1. Go to Policy Elements > Authorization and Permissions > Device Administration > Shell
Profiles.
2. Click Create to create Shell profiles corresponding to the user groups created in Step 3.
3. Under General tab, enter the Name and Description of the Shell profile.
4. Under Custom Attributes tab, add the custom attributes based on the Shell profile.
l AdminProf:
l Fortinet-FDD-Access-Profile: super_admin_prof
l Fortinet-FDD-IS-SYSTEM-ADMIN: 1
l Fortinet-FDD-IS-SPP-ADMIN: 0
l Fortinet-FDD-Trusted-Hosts: 172.30.153.0/24
l SPPAdminProfSPP0:
l Fortinet-FDD-Access-Profile: spp_admin_prof
l Fortinet-FDD-IS-SYSTEM-ADMIN: 0
l Fortinet-FDD-IS-SPP-ADMIN: 1
l Fortinet-FDD-SPP-NAME: SPP-0
l Fortinet-FDD-Trusted-Hosts: 172.30.153.0/24
l MSSPProfPolicyGroup1:
l Fortinet-FDD-Access-Profile: mssp_prof
l Fortinet-FDD-IS-SYSTEM-ADMIN: 0
l Fortinet-FDD-IS-SPP-ADMIN: 0
l Fortinet-FDD-SPP-POLICY-GROUP: PolicyGroup1
l Fortinet-FDD-Trusted-Hosts: 172.30.153.0/24
3. Click Submit.
1. Go to Access Profile > Access Services > Default Device Admin > Authorization and verify the
associated groups.
1. Go to Users and Identity Stores > Internal Identity Stores > Users.
2. Click Create to add users for Admin group, SPP Admin group and MSSP Admin group.
l 'systemadmin' for AdminGroup
l 'sppadmin' for SPPAdminGroup
l 'msspadmin' for MSSPGroup
You will now be able to log on to the FortiDDoS appliance and get the appropriate authorizations.
Configuring SNMP for remote alarm event trap reporting and MIB queries
An SNMP community is a grouping of equipment for network monitoring purposes. The FortiDDoS SNMP agent
does not respond to SNMP managers whose query packets do not contain a matching community name.
Similarly, trap packets from the FortiDDoS agent include community name, and an SNMP manager might not
accept the trap if its community name does not match.
Fortinet strongly recommends that you do not add FortiDDoS to the community named
public. This popular default name is well-known, and attackers that gain access to
your network will often try this name first.
This page describes setup of the FortiDDoS SNMP agent for SNMP MIB Queries and alarm Traps. Refer to the
list of SNMP traps and conditions.
For setup of Attack Log traps, please refer to Configuring SNMP trap receivers for
remote DDoS attack reporting.
Test both traps and queries (assuming you have enabled both). Traps and queries
typically occur on different port numbers, and therefore verifying one does not
necessarily verify that the other is also functional.
To test queries, from your SNMP manager, query the FortiDDoS appliance. To test
traps, cause one of the events that should trigger a trap.
Basic steps:
l On the SNMP manager, you must verify that the SNMP manager is a member of the community to which the
FortiDDoS system belongs, and compile the necessary Fortinet-proprietary management information blocks (MIBs)
and Fortinet-supported standard MIBs.
l In the FortiDDoS interface settings, you must enable SNMP access on the network interface through which the
Settings Guidelines
Note: CPU utilization is for the Management and Reporting Plane CPUs only. All Data
Plane processing is done via the TP2 Security Processing Units. TP2 are designed to work
to the maximum packet and data rates that can presented on 2x10GE links. The Capacity
can be seen on the Dashboard > Data Path Resources table. There are currently no
threshold traps for Data Path Resources. In the unlikely event of memory problems Out of
Memory attack events will be seen in the Attack Logs.
Note: Memory utilization is for the Management and Reporting Plane only. All Data Plane
memory is contained in the TP2 Security Processing Units. TP2 are designed to work to
the maximum table sizes seen in the Dashboard > Data Path Resources table. There are
currently no threshold traps for Data Path Resources. In the unlikely event of memory prob-
lems Out of Memory attack events will be seen in the Attack Logs.
Settings Guidelines
Name Name of the SNMP community to which the FortiDDoS system and at least one SNMP
manager belongs, such as management.
You must configure the FortiDDoS system to belong to at least one SNMP community so
that community’s SNMP managers can query system information and receive SNMP traps.
You can add up to three SNMP communities. Each community can have a different con-
figuration for queries and traps, and the set of events that trigger a trap. You can also add
the IP addresses of up to eight SNMP managers to each community to designate the des-
tination of traps and which IP addresses are permitted to query the FortiDDoS system.
Name can be up to 35 characters long and contain only letters (a-z, A-Z), numbers,
hyphens ( - ) and underscores ( _ ).
Queries Port number on which the system listens for SNMP queries from the SNMP managers in
this community. The default is 161.
Enable queries for SNMP v1, SNMP v2c, or both. SNMP v3 Query settings are available
under User tab.
Traps Source (Local) port number and destination (Remote) port number for trap packets sent
to SNMP managers in this community. The default is 162. SNMP v3 Trap settings are
available under User tab.
SNMP Event Select to enable SNMP event reporting for the following thresholds:
l CPU—CPU usage has exceeded the Threshold set above (default 80%).
l Memory—Memory (RAM) usage has exceeded the Threshold set above.
l Disk—Disk space usage for the log partition or disk has exceeded the Threshold set
above.
Hosts IP address of the SNMP manager to receive traps and be permitted to query the
FortiDDoS system. SNMP managers have read-only access. You can add up to 8 SNMP
managers to each community.
Caution: The system sends security-sensitive traps, which should be sent only over a trus-
ted network, and only to administrative equipment.
Settings Guidelines
Name User name that the SNMP Manager uses to communicate with the SNMP Agent. After you
initially save the configuration, you cannot edit the name.
Name can be up to 35 characters long and contain only letters (a-z, A-Z), numbers,
hyphens ( - ) and underscores ( _ ).
Query Port number on which the system listens for SNMP v3 queries from the SNMP managers
for this user. The default is 161. Enable queries for SNMP v3.
Traps Source (Local) port number and destination (Remote) port number for SNMP v3 trap pack-
ets sent to SNMP managers for this user. The default is 162. Enable traps for SNMP v3.
See SNMP traps and conditions.
Settings Guidelines
Events Select to enable SNMP event reporting for the following thresholds:
l CPU—CPU usage has exceeded the Threshold set above (default 80%).
Hosts IP Address—Subnet address for the SNMP manager to receive traps and be permitted to
query the FortiDDoS system. SNMP managers have read-only access. You can add up to 8
SNMP managers to each community.
Caution: The system sends security-sensitive traps, which should be sent only over a trus-
ted network, and only to administrative equipment.
Power supply At least one or two power supplies is either not connected or not working.
failure
CPU usage CPU usage goes above the configured threshold. See SNMP Thresholds above.
Memory usage Memory usage goes above the configured threshold. See SNMP Thresholds above.
Disk usage Disk usage goes above the configured threshold. See SNMP Thresholds above.
Table 39: SNMP system information settings for system event reporting
Settings Guidelines
SNMP Agent Enable to activate the SNMP agent, so that the system can send traps and receive quer-
ies.
Description A description or comment about the system, such as dont-reboot. The description can
be up to 35 characters long, and can contain only letters (a-z, A-Z), numbers, hyphens ( - )
and underscores ( _ ).
Contact Contact information for the administrator or other person responsible for this system, such
as a phone number (555-5555) or name (jdoe). The contact information can be up to 35
characters long, and can contain only letters (a-z, A-Z), numbers, hyphens ( - ), ‘at’ symbol
(@) in email address and underscores ( _ ).
Location Physical location of the appliance, such as floor2. The location can be up to 35 char-
acters long, and can contain only letters (a-z, A-Z), numbers, hyphens ( - ) and underscores
( _ ).
l Overview
l Generating a Certificate Signing Request (CSR)
l Importing certificates
l Using certificates
l Viewing certificates
Overview
While requesting secure administrator access to a FortiDDoS device via HTTPS, the device uses SSL protocol to
ensure that all communication between the device and the HTTP browser is secure no matter which client
application is used. Regarding basic authentication made by an HTTP client, the device will use its self-signed
security certificate to allow authentication whenever HTTPS is initiated by the client.
Note: The self-signed certificate proposal is the default setting on the device.
The HTTP browser notices the following discrepancies:
l Always ensure that the certificate of the CA signed by the device certificate is stored in the browser repository.
l Always ensure that the device is accessed with a correct FQDN.
Once the security exception is confirmed, the login page will be displayed. All the data sent to the device is
encrypted and a HTTPS connection is created without reading the self-signed certificate proposal. Once the
HTTP browser has permanently stored this exception, the exception prompt is not shown again. If the HTTP
client declines the certificate, then the device does not allow the connection.
If you want to avoid these warnings and have a custom certificate, you must assign a host name to the appliance,
generate a key pair and certificate request and import the certificate from a signing authority.
Settings Guidelines
Certification Name Configuration name. Valid characters are A-Z,a-z,0-9,_, and -. No spaces.
The maximum length is 35 characters.
Note: This is the name of the CSR file, not the host name/IP contained in the cer-
tificate’s Subject: line.
Subject Information
Settings Guidelines
ID Type Select the type of identifier to use in the certificate to identify the virtual server:
l Host IP—The static public IP address of the FortiDDoS virtual server in the
IP Address field. If the FortiDDoS appliance does not have a static public
IP address, use the email or domain name options instead.
Note: If your network has a dynamic public IP address, you should not use
this option. An “Unable to verify certificate” or similar error message will be
displayed by users’ browsers when your public IP address changes.
IP Address Type the static IP address of the FortiDDoS appliance, such as 10.0.0.1.The IP
address should be the one that is visible to clients. Usually, this should be its public
IP address on the Internet, or a virtual IP that you use NAT to map to the appli-
ance’s IP address on your private network.
Domain Name Type the FQDN of the FortiDDoS appliance, such as www.example.com. The
domain name must resolve to the IP address of the FortiDDoS appliance or
backend server according to the DNS server used by clients. (If it does not, the cli-
ents’ browsers will display a Host name mismatch or similar error message.)
E-mail Type the email address of the owner of the FortiDDoS appliance, such as
admin@example.com.
Distinguished Information
Organization Unit Name of organizational unit (OU), such as the name of your department. This is
optional. To enter more than one OU name, click the + icon, and enter each OU
separately in each field
Settings Guidelines
Email Email address that may be used for contact purposes, such as admin@example.-
com.
Key Information
Key Size Select a secure key size. Larger keys use more computing resources, but
provide better security.
l 1024 Bit
l 1536 Bit
l 2048 Bit
Enrollment Information
Enrollment Method File Based—You must manually download and submit the resulting certificate
request file to a CA for signing. Once signed, upload the local certificate.
Online SCEP—The FortiDDoS appliance automatically uses HTTP to submit the
request to the simple certificate enrollment protocol (SCEP) server of a CA, which
will validate and sign the certificate. For this selection, two options appear. Enter
the CA Server URL and the Challenge Password.
Importing certificates
Importing Certificates to an appliance using FortiDDoS-CM is not available. If you need to import a Certificate,
login directly to the FortiDDoS appliance GUI. See the instructions under http://help.fortinet.com/fddos/4-7-
0/index.htm#cshid=manage_local_certificate.
You can import or upload the following types of server certificates and private keys to the FortiDDoS system:
l local
l PKCS12
l certificate
Before you begin:
Settings Guidelines
Local Certificate
Certificate File Browse and locate the certificate file that you want to upload.
PKCS12 Certificate
Certificate Name Name that can be referenced by other parts of the configuration, such as www_
example_com.
l Do not use spaces or special characters.
l Maximum length is 35 characters.
Settings Guidelines
Certificate File Browse and locate the certificate file that you want to upload.
Certificate
Certificate Name Name that can be referenced by other parts of the configuration, such as www_
example_com.
l Do not use spaces or special characters.
l Maximum length is 35 characters.
Certificate File Browse and locate the certificate file that you want to upload.
Using certificates
1. Go to System > Certificate > Web Administration tab.
2. Select the desired certificate from the HTTPS Server Certificate (default: Factory) drop-down.
3. Save the configuration.
Viewing certificates
The system has its own default 'Factory' certificate that it presents to establish secure connections with the
administrator client computer.
You can use the backup procedure to save a copy of the configuration. You can create a backup of a specific SPP
configuration or the whole system configuration (including all SPPs). The backup file created by the web UI is a
text file with the following naming convention: FDD-<serialnumber>-<YYYY-MM-DD>[-SPP<No>]. If you
use the CLI to create a backup, you specify the filename.
l If you are restoring a system configuration, you must know its management interface configuration in order to
access the web UI after the restore procedure is completed. Open the configuration file and make note of the IP
address and network requirements for the management interface. You also must know the administrator user name
and password.
l You must have Read-Write permission for System settings.
Actions Guidelines
Backup
SPP-Only To create a backup of a single SPP configuration, select this option and then
select the SPP. If this option is not selected, the system creates a backup of the
complete configuration.
Restore
SPP-Only To restore the configuration for a single SPP configuration, select this option and
then select the SPP. If this option is not selected, the system processes the
update as a complete restore.
From File Type the path and backup file name or click Browse to locate the file.
Actions Guidelines
Restore (button) Click the Restore button to start the restore procedure. Your web browser
uploads the configuration file and the system reboots with the new configuration.
The time required to restore varies by the size of the file and the speed of your
network connection.
Your web UI session is terminated when the system reboots. To continue using
the web UI, refresh the web page and log in again. If the restored system has a
different management interface configuration than the previous configuration,
you must access the web UI using the new management interface IP address.
<filename> Name of the file to be used for the backup file, such as Backup.conf.
[spp_name] Optional. SPP configuration name, for example, SPP-0 or SPP-1. Use this option
to back up only the SPP configuration. If you do not specify this option, a backup is
created for the complete system configuration.
To restore a configuration:
execute restore config tftp <filename> <ipaddress> [spp_name]
[spp_name] Optional. SPP configuration name, for example, SPP-0 or SPP-1. Use this option
to restore only the SPP configuration. If you do not specify this option, the
imported file is regarded as a complete system configuration.
TFTP is not secure, and it does not support authentication. You should run it only on
trusted administrator-only networks, and never on computers directly connected to the
Internet. Turn off tftpd off immediately after completing this procedure.
This option prepares and downloads a zipped folder containing the files below to analyze system settings,
thresholds, activity, and attacks without direct access to the system:
l Full system configuration file
l CSV-formatted list of SPP Policies (subnets)
l CSV-formatted list of all SPP Traffic Statistics for all Periods that have been generated
l CSV-formatted list of the last 20,000 Attack Log events (for all SPPs)
Updating firmware
l Upgrade considerations
l Updating firmware using the web UI
l Updating firmware using the CLI
l Downgrading firmware
Upgrade considerations
The following considerations help you determine whether to follow a standard or non-standard upgrade
procedure:
l HA—Updating firmware on an HA cluster requires some additions to the usual steps for a standalone appliance.
See Updating firmware on an HA cluster
l Downgrades—Special guidelines apply when you downgrade firmware to an earlier version. See Downgrading
firmware. In some cases, the downgrade path requires reimaging. Take care to study the release notes for each
version in your downgrade path.
l Re-imaging—If you are installing a firmware version that requires a different size of system partition, you might be
required to re-image the boot device.
Important: Read the Release notes for release-specific upgrade considerations.
l Download the firmware file from the Fortinet Technical Support website.
l Read the release notes for the version you plan to install.
l Important: Back up your configuration before beginning this procedure. If you revert to an earlier firmware version,
the running configuration is erased, and you must restore a saved configuration. We recommend you restore a
configuration you knew to be working effectively on the firmware version you revert to. Some 4.2 settings are
incompatible with 4.1.x, so we recommend you not restore a 4.2 configuration to a 4.1.x system.
l Make a note of configurations that are disabled in your active configuration. Configurations that are not enabled are
not preserved in the upgrade. For example, if a custom HTTP service port, log remote port, or event log port have
been configured and then disabled in 4.1.11, the port information is not preserved in the upgrade to 4.2.1.
l You must have super user permission (user admin) to upgrade firmware.
To install firmware:
Clear the cache of your web browser and restart it to ensure that it reloads the web UI.
l Read the release notes for the version you plan to install. If information in the release notes is different from this
documentation, follow the instructions in the release notes.
l You must be able to use TFTP to transfer the firmware file to the FortiDDoS system. If you do not have a TFTP
server, download and install one, like tftpd, on a server located on the same subnet as the FortiDDoS system.
l Download the firmware file from the Fortinet Technical Support website.
l Copy the firmware image file to the root directory of the TFTP server.
l Back up your configuration before beginning this procedure. Reverting to an earlier firmware version could reset
settings that are not compatible with the new firmware.
l Make a note of configurations that are disabled in your active configuration. Configurations that are not enabled are
not preserved in the upgrade. For example, if a custom HTTP service port, log remote port, or event log port have
been configured and then disabled in 4.1.11, the port information is not preserved in the upgrade to 4.2.1.
l You must have super user permission (user admin) to upgrade firmware.
1. Connect your management computer to the FortiDDoS console port using an RJ-45-to-DB-9 serial cable or a null-
modem cable.
2. Initiate a connection to the CLI and log in as the user admin.
3. Use an Ethernet cable to connect FortiDDoS port1 to the TFTP server directly, or connect it to the same subnet as
the TFTP server.
4. If necessary, start the TFTP server.
5. Enter the following command to transfer the firmware image to the FortiDDoS system:
execute restore image tftp <filename_str> <tftp_ipv4>
where <filename_str> is the name of the firmware image file and <tftp_ipv4> is the IP address of
the TFTP server. For example, if the firmware image file name is image.out and the IP address of the
TFTP server is 192.168.1.168, enter:
execute restore image tftp image.out 192.168.1.168
One of the following message appears:
This operation will replace the current firmware version!
Do you want to continue? (y/n)
or:
If the download fails after the integrity check with the error message invalid com-
pressed format (err=1,but the firmware matches the integrity checksum on
the Fortinet Technical Support website, try a different TFTP server.
TFTP is not secure, and it does not support authentication. You should run it only on
trusted administrator-only networks, and never on computers directly connected to the
Internet. Turn off tftpd off immediately after completing this procedure.
Downgrading firmware
You can use the web UI or CLI to downgrade to a previous software image. The commands are the same as for
upgrading. However, special guidelines apply:
l When the image version is different from than the existing version, the initializing code also updates the TP2 ASIC
image to match the correct version in the image. In other words, if you upgrade or downgrade software, the
procedure also upgrades or downgrades the TP2 ASIC image.
l Always keep a back up of the configuration before you change the software image (upgrade or downgrade). For
example, before you upgrade to 4.2.1, save a copy of the 4.1.11 configuration and label it 4.1.11.
l Upgrades preserve the running configuration, but downgrades do not. When you downgrade, the running
configuration is erased, including the management IP address.
l You must use a console port connection to reconfigure the management interface.
l After you have configured the management interface, you can restore the earlier configuration. We recommend you
restore a configuration you knew to be working effectively on the firmware version you revert to. Some 4.2 settings
are incompatible with 4.1.x, so we recommend you not restore a 4.2 configuration to a 4.1.x system. Instead, if you
downgrade from 4.2.1 to 4.1.11, we recommend you restore the 4.1.11 configuration.
l After the configuration is restored, the system reboots, and the restored configuration will be in effect.
NOTE: You cannot modify the Time Zone and Date and Time settings of any device from FortiDDoS-CM.
Login to the FortiDDoS device and update the time settings as described below.
Accurate system time is critical to the correct FortiDDoS operation including all graphs, logs, and scheduling.
Changing the time of a system that is operational may have extreme consequences for the data already collected
by the system and the system’s ability to detect and mitigate attacks. All saved traffic graphs, drop data and logs
may be lost along with traffic statistics and system Thresholds.
We strongly recommend that you use Network Time Protocol (NTP) to maintain the system time and that you
configure date and time NTP settings before you do any other configurations.
As an alternative when NTP is not available or is impractical, you can set the system time manually, but this time
will drift and changing times later can have serious consequences on existing data and mitigation.
You can change the system time with the web UI or the CLI.
1. Navigate to the system time settings page in one of the following ways:
l Go to System > Maintenance > Time Zone.
2. Complete the configuration as described in the table below.
Important: You can change settings for only one group at a time: Time Zone or Time Setting. You must save your
changes after each group before making changes in the next.
3. Save your changes. The system will reboot.
Note: If the time or time zone is changed, you need to reset the system to its factory state using the command #
execute formatlogdisk so that the graphs are updated accordingly.
4. Change tabs to Date and Time.
5. Complete NTP or manual time settings.
6. Save your changes. The system will reboot.
l Success — If you manually configured the system time, or if you enabled NTP and the NTP query for the
current time succeeds, the new clock time appears in the System Time field at the top of the page shown in the
figure below. If the NTP query reply is slow, you might need to wait a couple of seconds, and then click Refresh
to update the time displayed in the System Time field.
l Failure — If the NTP query fails, the system clock continues without adjustment. For example, if the system
time had been 3 hours late, the system time is still 3 hours late. To troubleshoot the issue, check settings for
your DNS server IP addresses, your NTP server IP address or name, and routing addresses; verify that your
firewalls or routers do not block or proxy UDP port 123.
Figure 69: Time zone settings
Setting Guidelines
Time Zone
Automatically adjust Enable if you want the system to adjust its own clock when its time zone changes
clock for daylight sav- between daylight saving time (DST) and standard time. When enabled, you will see
ing changes that the Time Zone GMT offset immediately changes, no matter if you are in DST or
not. This is for display only and will not affect the system time.
Setting Guidelines
Server Specify the IP address or domain name of an NTP server or pool, such as pool.nt-
p.org. To find an NTP server, go to http://www.ntp.org. You may enter more than
one IP address or domain name with a space between them.
Sync Interval Specify how often the system should synchronize its time with the NTP server, in
minutes. For example, to synchronize once a day, type 1440.
OR
Set Time
Hour, Minute, This is not required if you have set NTP. Use the controls to set the time manually.
Second, Date The clock is initialized with the time you specified when you click Save.
NOTE: Manual time setting is NOT recommended.
Note: The configuration backup is done daily at a fixed time UTC 0:00.
Settings Guidelines
CLI commands:
config system daily-config-backup
set status {enable | disable}
set server ftp.xyz.com
set server-type {ftp | tftp}
[set ftp-username <new-username_str>]
[set ftp-password <new-password_str>]
end
FortiDDoS Central Manager (FortiDDoS-CM) centralizes the configuration of FortiDDoS appliances allowing you
to create, deploy and update their configurations remotely. FortiDDoS-CM provides secure registration and
communication ability between itself and registered FortiDDoS appliances without requiring separate logins to
each appliance.
Setting Guidelines
IP Version Select the IP version (IPv4/IPv6 ) and enter the IP address of FortiDDoS-CM.
Shared Secret Shared secret to communicate with the FortiDDoS-CM. This should match the
Shared Secret entered while adding this FortiDDoS device in FortiDDoS-CM. Allowed
characters are A-Z,a-z,0-9 and the maximum length is 116 characters.
CLI commands:
config system register centralized-management
set enable enable
set host-id 000C291612D2
set ipv4-address 170.30.153.100
set shared-secret ENC WTh28EadXKd/eUyDkeEDTqb-
mXBepF1qMsz9btSdCBzVJAjwXqSGTjwvK
end
Global Settings
l SPP basics
l SPP configuration overview
l Configuring SPP IDs
l Configuring the SPP switching policy
l Configuring an SPP policy
l Configuring an SPP policy group
SPP basics
A Service Protection Profile (SPP) is a class for the counters and thresholds that protect a particular subnet.
When the FortiDDoS system receives traffic, the SPP policy assigns the packets to an SPP based on source or
destination IP address. The system monitors and maintains Layer 3, Layer 4, and Layer 7 data for each SPP.
You can configure 8 SPPs and over 1000 SPP policy rules.
If desired, you can use one SPP for many rules. For example, you can create a protection profile named SPP-1
and apply it to two policy rules: Rule 1 protecting subnet 192.168.1.0/24 and Rule 2 protecting subnet
192.168.2.0/24.
The following types of services should be placed in separate SPPs. This is not mandatory but helps for easier and
efficient setup, attack mitigation and troubleshooting:
l Email and web servers can share an SPP – If you have large concentrations of one or the other, separate SPPs are
ideal.
l DNS Servers – If you have both public recursive DNS servers and public Authoritative DNS servers that are
separate, separate SPPs are ideal.
l SSL VPN and public FTP servers – These servers allow idle connections for long periods of time and need different
slow connection and idle timeout settings than web or email servers. Other authenticating servers like terminal
emulation (for example, BlueZone) should be included in this SPP as well.
l Firewall enterprise Gateway – Outbound DNS and other services behave differently with significant outbound
origination from a single IP address.
Basic steps
The FortiDDoS system maintains traffic history for each SPP. It uses this data to gen-
erate recommended thresholds, dynamically adjust thresholds, and generate traffic
statistics. If you change the SPP policy configuration or the resources it monitors, the
data can become skewed. For example, if you remove a subnet from the profile, or
change the servers that are deployed in the subnet, or change the services offered by
those servers, the traffic history becomes less relevant.
Fortinet strongly recommends that you reset the traffic history for a profile before you
make any significant changes to its configuration. Go to Protection Profiles > Factory
Reset. If you do not reset traffic statistics, changes to an SPP policy can result in
counter-intuitive data accumulated in the longer reporting periods (year, month). For
example, if a subnet belonged to the default SPP-0 before you assigned it to SPP-1, a
report filtered by SPP-1 includes the SPP-0 traffic history for that subnet.
We recommend you configure names that help you remember the purpose or other characteristics of the profile.
For example, you can name one profile web_servers, another profile DNS_servers, and so on.
Settings Guidelines
Renaming/Deleting an SPP
SPPs, SPP Policies (subnets) and SPP Policy Groups cannot be renamed after configuration. You must delete the
SPP/SPP Policy/SPP Policy Group and create a new one with a new name. If there are available SPPs, you
should create a new SPP, move all subnets and other references (see the table below) to the new SPP and then
delete the unused SPP.
In order to delete an SPP/SPP Policy/SPP Policy Group, you must change or delete all references to that SPP in
other settings.
Table 47: Deleting SPPs, SPP Policies (subnets) or SPP Policy Groups
Delete below
before delet- SPP SPP Policy SPP Policy Group
ing >
DDoS Attack Delete or change any Report Delete or change any Delete or change any
Log Report configuration that references Report configuration that Report configuration that
the SPP under Log & Report references the subnet (SPP references the SPP Policy
> Report Configuration. Policy) under Log & Report Group under Log & Report >
Global Reports are not > Report Configuration. Report Configuration.
affected. Global Reports are not Global Reports are not
affected. affected.
Authentication Delete or change any Default Delete or change any Delete or change any
Access Strategy setting that Default Access Strategy set- Default Access Strategy set-
references the SPP under ting that references the SPP ting that references the SPP
System > Authentication > Policy under System > Policy Group under System
RADIUS/LDAP/TACACS+. Authentication > > Authentication >
RADIUS/LDAP/TACACS+. RADIUS/LDAP/TACACS+.
Admin Cre- Delete or change any cre- Delete or change any cre- Delete or change any cre-
dentials dential that is an 'SPP Admin' dential that shows as user dential that shows as user
for that SPP under System > for that SPP Policy Group for that SPP Policy Group
Admin under System > Admin under System > Admin
Delete below
before delet- SPP SPP Policy SPP Policy Group
ing >
SPP Policy Delete SPP Policies that ref- Delete SPP Policy from all
Group erence this SPP from all SPP SPP Policy Groups that ref-
Policy Groups under Global erence that SPP Policy
Settings > Service Protection under Global Settings > Ser-
Profiles > SPP Policy vice Protection Profiles >
Groups. You may need to SPP Policy Groups.
record the SPP Policies that
reference this SPP first, so
that you can find them in the
SPP Policy Group.
Renaming/Deleting SPPs, SPP Policies, SPP Policy Groups on High Availability Pairs
All information above and in the table remains the same for the Master unit of an HA pair but some items in the
table (Reports, Remote Logs, SNMP alerts) are not synchronized between the Master and Slave. In this case, the
synchronized items will be removed or changed but the non-synchronized items will remain on the Slave unit.
This does not cause any adverse condition, but the user should log into Slave and delete unused items resulting
from the changes before or after the changes have been made.
To configure with the CLI, use a command sequence similar to the following:
config spp
edit <spp_name>
config ddos spp setting
set spp-id <id>
end
next
end
l Creates and sends a Cloud Attack Signal to third-party DDoS Cloud Mitigation vendors such as Baffin Bay Networks
and Verisign.
l Causes the FortiDDoS system to switch to an alternate Service Protection Profile. This function is normally no
longer used.
l Creates an Event and Log, Email and/or Trap to notify that this over-Threshold event has occurred. This
functionality has largely been replaced by On Threshold Violation Attack Reports.
l When the SPP is in over-Threshold state and then the traffic declines below the entered Threshold, the three
actions above are triggered again with messages stating that traffic has returned to 'normal'.
1. Go to Global Settings > Settings > Settings and set the SPP Switching Threshold Measurement Unit in 'PPS' or
'Mbps'.
The preferred unit is Mbps. Normally, set this threshold to 90-95% of your inbound maximum data rate allowed by
your ISP on a single data link, even if you have more than one. You can check this under Monitor > SPP Statistics
> Bits graph and ensure the Threshold is much higher than your normal SPP traffic.
2. Go to Global Settings > Service Protection Profiles > Switching Policy and configure the Switching policy with
reference to the table below .
3. Go to Global Settings > Service Protection Profiles > SPP Policy.
a. Double-click to open the SPP Policy and select Alternate SPP Enable.
b. Select the Alternate SPP from the drop-down.
c. Enter the desired Threshold in PPS or Mbps.
Settings Guidelines
End Timeout End timeout indicates the time (in seconds) required for the traffic to be UNDER the
entered Threshold before the SPP reverts to 'normal' traffic conditions.
The default value is 255 seconds.
Start Timeout Start timeout is the time (in seconds) required for the traffic to be OVER the entered
Threshold before the SPP 'switches' and creates the actions above.
In the example above, the Switching Policy is set to Inbound Traffic Only with Switching Threshold of 8 Gbps and
a 'start timeout' of x seconds. When the data rate exceeds 8 Gbps, the 'start timeout' begins and when the time is
exceeded, switching occurs. It sends a Trap/Email/Attack Signal at this point. The traffic briefly drops below the
Switching Threshold (yellow dotted lines) but does not exceed the 'end timeout' y. The SPP is held in switching
until the data rate is below the Switching Threshold for longer than the end timeout Y (blue dotted lines) and then
reverts (sends Trap/Email/Attack Signal for end of Switching).
To configure with the CLI, use a command sequence similar to the following:
config ddos global spp-switching-policy
set switching {enable| disable}
set timeout <integer>
set start-timeout <integer>
set switching-type {inbound-traffic-only| inbound-and-
outbound-traffic}
end
The system matches traffic to any rule in the SPP policy and automatically finds the 'most granular' rule. There is
no need for rule order. For example, if Rule 1 is 1.2.3.4/24 and Rule 2 is 1.2.3.5/32, any traffic sent to 1.2.3.5 will
use Rule 2 even though it is part of the larger subnet above it. If no rules match, the packets belong to SPP-0.
The system uses SPP-0 to monitor and regulate the following types of packets:
Settings Guidelines
Subnet ID An automatically generated value in the range 1 to 2047 to identify the subnet
along with the new data, on the timeline.
Note: Deleting an SPP policy does not delete the RRD data corresponding to
that Subnet id. Reusing the Subnet ID may result in data from a previous subnet
being displayed.
IP version l IPv4
l IPv6
Settings Guidelines
SPP profile Select the profile. We recommend that you not associate subnets with the
default SPP profile SPP-0. This practice ensures that all known traffic is included
in non-default subnets and non-default SPPs. SPP-0 functions as a catch-all pro-
file. Its traffic statistics include traffic that FortiDDoS assigns to it by default.
Comments Add comments describing the purpose of the SPP policy so that other admin-
istrators are aware of its intended use.
SPP Switching
Alternate Service Pro- Select the secondary SPP. If you simply want a notification that the traffic level
tection Profile has exceeded the SPP switching threshold without switching the SPP, select the
primary SPP.
Threshold Maximum data rate for the primary profile. SPP Switching Threshold is the sum
of both inbound and outbound pps rates to that SPP. Data rate may be selected
as pps or Mbps based on your selection of SPP Switching Threshold Meas-
urement Unit option under Global setting > Settings > Settings > General tab.
When traffic exceeds this rate, the system switches to the secondary SPP. The
default threshold value is set to the system maximum to prevent switching when
setting up the feature.
Note: You can use the Monitor > SPP Statistics > Packets or Bits (Inbound and
Outbound) to determine normal rates. Using Mbps allows you to calculate the
Switching Threshold as a percentage of your contracted data rate or a per-
centage of the line rate for you Internet connection.
To configure with the CLI, use a command sequence similar to the following:
config ddos global spp-policy
edit <rule_name>
set subnet-id <entry_index>
set ip-version {IPv4 | IPv6}
set ip <address_ip/mask>
set spp <spp_name>
set enable-alt-spp {enable | disable}
set alt-spp <spp_name>
set switching-threshold <rate>
end
Using these policy groups, you can create a user profiles with access to the graphs and reports specific to the
policy group. To create a new user for a specific policy group, refer to Managing subnet based users.
1. Go to Global Settings > Service Protection Profiles > SPP Policy Group.
2. Click Add to display the configuration editor.
3. Complete the configuration as described in the following table.
4. Save the configuration.
Settings Guidelines
Available Items Double-click to select the SPP policies. The list displays all the SPP policies.
Settings Guidelines
To configure with the CLI, use a command sequence similar to the following:
config ddos global spp-policy-group
edit Test_21_31
set member-list network-31 network-21
next
edit Test_61_71
set member-list network-61 network-71
next
edit 60x
set member-list 1 network-62 network-63 net-
work-64 network-65 network-66 network-67
next
end
Global settings specify system behavior and detection settings that apply to all traffic, in contrast to SPP settings,
which apply to traffic to and from the subnet matched in the SPP policy.
General tab
Use this tab to configure miscellaneous global settings.
Settings Guidelines
Source MAC MAC address used to send TCP resets to the protected server when aggressive aging is
Address triggered.
Aggressive
Aging By default, the system uses the MAC address of the management interface (mgmt1),
but the MAC address displayed in the web UI is 00:00:00:00:00:00.
If you change this setting, the system uses the MAC address you specify.
Settings Guidelines
HTTP Anom- Select one or more HTTP anomaly responses from the table below. Note that the
aly setting name differs in the GUI and CLI.
GUI settings CLI settings Description
Settings Guidelines
Geo Location The geolocation policy feature enables you to block traffic from the countries you
specify, as well as anonymous proxies and satellite providers, whose geolocation is
unknown.
Select one of the following options to determine how geolocation rules in the Global
ACL can be configured:
l Allow all and deny some—You can use the Global ACL rulebase to deny specified
countries, anonymous proxies, and satellite providers.
l Deny all and allow some—You can use the Global ACL rulebase to allow specified
countries, anonymous proxies, and satellite providers.
Note: In this mode, countries are denied as Source or Destination. Be sure to add the
country where the FortiDDoS appliance resides to the Allowed country list or all traffic
will be blocked through FortiDDoS.
Rules are based on the configured Geolocation address objects. See Configuring
Geolocation addresses.
Local Address These rules can be used to prevent attacks that spoof your internal addresses. Enable
Antispoofing one or more antispoofing rules that consult the local address configuration:
l Inbound source must not be local address—Blocks inbound packets that have a source
address inside the network. The source address is definitely spoofed.
l Inbound destination must be local address—Blocks inbound packets that do not have a
destination in your network. The destination address is illegitimate.
l Outbound source must be local address—Blocks outbound packets with a spoofed
address. Reduces the risk of your network being used in spoof attacks.
l Outbound destination must not be local-address—Blocks outbound packets with a
destination inside your local network.
Rules are based on the addresses you add to the Local address configuration. See
Configuring Local addresses.
Drop HTTP Enable to drop sessions when the HTTP request includes the HTTP Range header.
Header The Range header can be abused by attackers to exhaust HTTP server resources.
Range Disabled by default. Enable this feature if you know that your protected HTTP servers
do not use the Range header, or when your protected network is being attacked with
methods that exploit HTTP Range header behavior.
Invalid ICMP Enable dropping of packets with invalid/unused IPv4 or IPv6 ICMP types/codes.
Anomaly
Settings Guidelines
Persistent A simple HTTP transaction is one where the client makes a single request for HTTP
HTTP trans- content within a TCP session. Persistent connections allow the browser / HTTP client to
actions utilize the same connection for different object requests to the same host name. If
Persistent HTTP Transactions feature is enabled, FortiDDoS checks for application
level conformity in every packet of a TCP connection. This functionality is similar to
4.2.x. If this feature is disabled (default in 4.3.0), checks are limited to the first
transaction of a TCP connection. It is recommendation to use the disabled state to
avoid HTTP anomalies, especially due to IP fragmentation and TCP segmentation.
To configure with the CLI, use a command sequence similar to the fol-
lowing:
config ddos global setting
set ip-v6-prefix <ip_prefix>
set source-mac-address-aggressive-aging <address>
set http-anomaly {http-version-0-9 invalid-method-anomaly
known-method-anomaly unknown-method-anomaly}
set drop-http-header-range {enable|disable}
set geolocation {deny-all-allow-some|allow-all-deny-some}
set local-address-anti-spoofing {inbound-source-must-not-
be-local-address inbound-destination-must-be-local-
address outbound-source-must-be-local-address
outbound-destination-must-not-be-local-address}
set dns-response-size <bytes>
set persistent-http-transactions {enable|disable}
end
Settings Guidelines
Blocking Period for All When an attack threshold is triggered, traffic from any Source IPs sending this
Attacks type of traffic is blocked for this period of time. This provides the system an
opportunity to Source Track all Sources associated with this attack. If a Source
does not exceed Source Tracking thresholds during this time, it is unblocked
immediately.
During the blocking period above, Sources identified by Source Tracking will be
further blocked for the duration of the Blocking Period for Identified Sources,
described below.
For more information about blocking periods, see Blocking and Reducing
false positives.
Blocking Period for How long to block all traffic from a source IP address identified by Source
Identified Sources Tracking during the initial Blacking Period above.
When an attack threshold is triggered, while in the initial blocking period above,
the system multiplies the packet rate from any blocked source by the value of
the source multiplier. If the calculated rate exceeds the value of the most-
active-source threshold, the system identifies the IP address of the source as a
source attacker and blocks that Source for the period entered here (extending
the initial blocking period). At the end of this Blocking Period, the Source IP
traffic is evaluated again by the criteria below.
Extended Blocking If a blocked Source IP continues to send attack traffic and exceeds the number
Period for Identified of dropped packets described below, during the Blocking Period above, the
Sources blocking period is again extended by this Extended Blocking Period.
At the end of this Extended Blocking Period, the Source IP is evaluated again
by the same drops-per-Extended Blocking Period criteria and continues to be
blocked for the Extended Blocking Period until the drop rate falls below the
Threshold.
Drop Threshold to Number of dropped packets that trigger the extended blocking period. The
Extend Blocking default is 5,000 dropped packets.
Period for Identified
Sources
The multiple Blocking Periods described above minimize false positives. For example, if the system sees a
Fragment Threshold crossed, it blocks all the Source IPs sending fragments for the initial Blocking Period, while
evaluating all the Sources. If a Source is sending at a lower fragment rate than the Source Tracking rate, it will be
released after no longer than 15 seconds (default) and usually much faster than that. Sources Identified by
Source Tracking as over-threshold will immediately be blocked for the duration of the Blocking Period for
Identified Sources (60 s default). At the end of that period, if those Sources have fallen below the Drop Threshold
count, they will be unblocked. If they exceed the Drop Threshold count, they will be blocked for the duration of the
Extended Blocking Period (60 s default) and evaluated again, remaining blocked until their drop rate declines
below the Drop Threshold count.
To configure with the CLI, use a command sequence similar to the fol-
lowing:
config ddos global setting
set blocking-period <int>
set source-blocking-period <int>
set extended-blocking-period <int>
set drop-threshold-within-blocking-period <int>
end
You can use the deployment settings to configure where in the network the FortiDDoS appliance has to be
deployed.
Settings Guidelines
Asymmetric Enable when deployed in a network segment where traffic can take asymmetric
Mode routes. This option is not enabled by default.
Tap Mode Enable when deployed out-of-path in conjunction with a bypass bridge appliance.
This option is not enabled by default.
Note: The system is rebooted when you change this setting.
Special considerations and configuration changes are required. See Tap Mode
deployments.
Settings Guidelines
Power Fail l Fail Open—Default for B-Series’ built-in copper or LC optical bypass ports, if equipped.
Bypass Mode The interfaces form a wire (or optical cable) and pass traffic through without performing
any monitoring or prevention tasks. While 'Fail Open' is default, B-Series SFP/SFP+
ports can ONLY be 'Fail Closed', no matter the setting. You must use an external bypass
bridge if you wish to Fail Open B-series SFP/SFP+ ports. E-Series platforms have an
integral passive optical bypass module that allows you to Fail Open any two pairs of
SFP/SFP+/QSFP+/QSFP28 ports. See Built-in bypass.
l Fail Closed—Use with an external bypass unit or (usually) for the primary node in an HA
active-passive deployment. When the interfaces are Fail Closed, they do not pass
traffic. The external bypass system can detect the outage and forward traffic around the
FortiDDoS. As above, B-Series SFP/SFP+ ports are ONLY 'Fail Closed'. E-Series
SFP/SFP+/QSFP+/QSFP28 ports are ONLY Fail Closed unless cabled to the integral
Passive Optical Bypass ports. See Built-in bypass.
Allow Inbound Enable only when you enable Asymmetric Mode. When there is asymmetric traffic,
SYN/ACK the system might receive inbound SYN/ACK packets. When this option is enabled,
these packets are treated as if there is a valid connection on which to accept data (if
the connection does not already exist).
To configure with the CLI, use a command sequence similar to the fol-
lowing:
config ddos global setting
set link-down-synchronization {wire|hub}
set power-fail-bypass-mode {fail-open|fail-closed}
set asymmetric-mode {enable|disable}
set asymmetric-mode-allow-inbound-synack {enable|disable}
set tap-mode {enable|disable}
set signaling-mode {customer-premises|service-provider}
end
By default, the FortiDDoS system listens for HTTP traffic on service port 80. If the servers in your network use
nonstandard ports for HTTP traffic, you can configure the system to listen for HTTP on nonstandard service ports.
You can configure up to 8 HTTP service ports. When http service ports are configured, it is required to run system
recommendation or manually update the threshold range.
Note: Do NOT include HTTPS Service Ports like 443 here. Allow the System Recommendations to set
Thresholds for those ports.
Settings Guidelines
If you have configured or deleted a Service Port AFTER you have created
System Recommended Thresholds, you must run them again for every SPP.
UDP Service Thresholds are intended for use with inside (protected) or outside UDP high (>10000) ports that are
accessed by inside clients. UDP ports above 10000 are primarily used by gaming providers but other users are
seen. If configured, all traffic to and from the Service Port will be associated with that port and ephemeral client
high ports will be ignored. This model results in much lower ephemeral port thresholds for better mitigation of
UDP port floods and lowers the graphing load on the system since ephemeral ports will not require graphs unless
attacked. You can configure up to of 32 UDP service ports.
UDP Service ports will be given port Threshold rates as determined by Traffic Statistics and System
Recommendations.
Settings Guidelines
The Service Provider Signaling feature enables small/medium businesses and enterprises to work with
participating service providers to route traffic through a "scrubbing station" in the service provider network (SP)
before it is forwarded through the WAN link to the customer premises network (CP).
For details on deployments with signaling between FortiDDoS devices, see Service Provider Signaling
Deployments.
For information on deployments with signaling to Verisign OpenHybrid, see the FortiDDoS Deployment Guide
for Cloud Signaling with Verisign OpenHybrid.
Note: You must use mgmt1 port for signaling. If FortiDDoS is behind a web proxy, configure Tunneling settings
under IP Reputation.
Settings Guidelines
Service Provider Device l FortiDDoS—If the service provider uses FortiDDoS, select this option and
Type complete the fields described next.
l Third Party—If the service provider does not use FortiDDoS, select this option
and specify the account ID, shared secret, and URL expected by the third
party.
Service Provider Serial Serial number of the FortiDDoS in the service provider network. The serial num-
Number ber configuration is case sensitive. FI200B0914000128 is not same as
fI200B0914000128. Be careful to enter the serial number exactly as it is provided
to you.
Settings Guidelines
Shared Secret/API Key Must match the string configured on the SP FortiDDoS. (Allowed characters are
a-A and 0-9)
Note: Once entered, the Shared Secret/API Key is not displayed on GUI nor in
CLI and cannot be recovered. If forgotten, a new matching key must be entered
for the paired devices.
Service Provider
Customer Premises Serial number of the FortiDDoS in the customer premises network. The serial
FDD S/N number configuration is case sensitive. FI200B0914000128 is not same as
fI200B0914000128. Be careful to enter the serial number exactly as it is provided
to you.
Shared Secret Must match the string configured on the CP FortiDDoS. (Allowed characters are
a-A and 0-9)
CLI commands:
CP-FDD # config ddos global service-provider-devices
CP-FDD (service-provid~r) # edit SP-FDD
CP-FDD (SP-FDD) # set enable-sp-device enable
CP-FDD (SP-FDD) # set spp-device-type FDD
CP-FDD (SP-FDD) # set serial-number FI800B3913800024
CP-FDD (SP-FDD) # set shared-secret/Authorization-key test1
CP-FDD (SP-FDD) # set ipv4-address 172.30.153.125
CP-FDD (SP-FDD) # end
Overview
If you are using always-on or on-demand cloud DDoS mitigation, in most cases the Service Provider will return
clean traffic to you via a GRE tunnel. Since the GRE tunnel encapsulates all other traffic, it can mask anomalies
and other attack traffic missed by the cloud provider. Using this feature, FortiDDoS can process this traffic to give
you an identical graphical view and complete mitigation for the original packets, using this feature.
This feature can also be used to monitor other Point-to-Point GRE tunnels you may use. Be sure the Destination
IP Addresses inside the GRE headers are part of SPP Policies.
Requirements
1. Enter the following:
a. Source IP address(es) of the Service Provider’s GRE tunnel(s).
b. Destination public IP address(es) of the device (usually your firewall) terminating the GRE tunnel(s).
These must be separate from the /24 that was diverted to the Service Provider.
2. Since the IP address terminating the GRE tunnel on your firewall is a public IP address, there is some risk it could
be attacked, if the attacker can discover the address. We recommend that you create a separate SPP for your
GRE Destination address(es)/subnets. Do not include the Service Provider’s IP addresses. Your GRE IPs should
be the only IPs or subnets in this SPP.
a. Configure this SPP to system minimum Thresholds. This can be done by running Traffic Statistic for a 1-
hour period and setting System Recommendations. Since there is normally no traffic on this SPP, the
Thresholds will be set to the default Minimums.
b. Consider ACLing all Protocols except 1 for ICMP and 6 for BGP signaling via TCP. Consider ACLing all
TCP ports except 179(BGP) and set the ICMP Protocol rate threshold under 100pps.
c. No GRE traffic will be seen on this SPP, since it will assigned based on the inner IP address headers.
3. Non-FortiDDoS Requirements:
a. It is important to ensure that your network MTU/MSS is set correctly to prevent significant fragmentation
of arriving traffic with the added GRE overhead. Normally, the MTU can remain at 1500 but the MSS is
reduced to 1420 but please discuss with your Cloud DDoS Mitigation Service Provider.
b. Ensure that your firewall is capable of decapsulating the full normal data rate of your clean traffic.
c. Determine if your cloud mitigation service provider will use routing mode (Inbound and outbound traffic in
GRE) or Direct Server Response (normal), where outbound traffic will be sent via your local ISP.
Operation
When the system sees GRE traffic destined to one of the defined GRE Endpoint IP addresses in the list and the
Source also matches an IP address in the list, it:
only traffic present. If the Cloud Mitigation Service Provider has missed any mitigations, they will be performed on
this traffic with appropriate graphs and logs.
l Displays the ingress/egress GRE traffic in the SPP Layer 3 > Delivery GRE graph. This graph is intended to confirm
that GRE traffic from the service provider is present and contains “inner” packets that belong to this SPP. This graph
should match the SPP Statistics > Packets graph for this SPP.
If the system sees GRE traffic destined to a terminating IP that is not matched by another address in the
Endpoint list, it will treat it as normal traffic and assign it to the appropriate SPP as GRE protocol 47 traffic without
further inner header inspection.
Cloud Mitigation Service providers normally work in 2 different modes, at the customer’s discretion:
l Direct Server Response (most common), where the response traffic to the incoming traffic is routed based on your
BGP, through your ISP(s) networks.
l Routed Mode, where the response traffic to the incoming traffic traverses the GRE tunnel back to the Service
Provider for forwarding by them.
FortiDDoS will operate normally in either of these modes with no changes to its configuration.
Settings Guidelines
IP Version l IPv4
l IPv6
IP Address IPv4/IPv6 address of the Service Provider or firewall used to pass GRE traffic
Note: The Cloud Service Provider will normally supply two Source GRE IPs. If
you have a single IP address on your firewall, there will be three entries in this
table. All potential terminating points for both Service Provider and firewalls
should be entered in the table.
CLI commands:
The FortiGuard IP Reputation Service is a licensed subscription service that maintains data on IP addresses and
network IP ranges that pose a threat to your network. If you have purchased an IP Reputation subscription, after
registering your FortiDDoS appliance Serial Number to FortiCare, you can apply your IP Reputation Contract to
that Serial Number. Then, you can download the IP reputation list or schedule updates from FortiGuard.
After you have enabled the feature, the FortiDDoS system downloads the most recent definitions file and then
maintains updates for it according to the schedule you configure. To use over-the-network updates, the
management port must be able to access the Internet and DNS. Alternatively, you can obtain the IP reputation
definitions file and upload it using the dashboard License Information portlet.
The License Information portlet displays the status of the most recent update (IP Reputation Service Definition).
If the download is successful and new definitions are available, the lists are replaced; otherwise, the previous list
remains in use. The License Information portlet will also display the status of your IP Reputation license (IP
Reputation Service Contract Date). If your license expires, the IP Reputation database is removed from the
appliance. This is to prevent stale entries from affecting your traffic.
You can configure how the FortiDDoS system receives scheduled updates.
Information about packets denied by IP Reputation rules is reported in the following graphs and reports:
l Graphs
l Monitor > Layer 3 > Address Denied: IP Reputation Denied Drops
l Monitor > ACL Drops > Layer 3: Address Denied
l Monitor > ACL Drops > Aggregate: Layer 3
l Monitor > Aggregate Drops: ACL Drops
l Executive Summary Dashboard (Log & Report > Executive Summary > DDoS Attack Log and DDoS Attack Graphs)
l Reports (Log & Report > Report Configuration. Select Top ACL Attacks, Top Attacked ACL SPPs)
Settings Guidelines
Override server IP Enable to specify the override FortiGuard server IP address, if using a local
server such as FortiManager.
Settings Guidelines
Schedule type l Daily—Schedule daily updates. The updates occur daily at UTC 00:00. This
cannot be modified.
l Weekly—Schedule weekly updates. Specify the day to perform the update.
The time will be as above.
l Anonymous Proxies
User Name Administrator user name for the web proxy server.
Note: Tunneling settings configured here also apply to System Registration, Signaling and Domain Reputation.
To configure with the CLI, use a command sequence similar to the following:
config ddos global ip-reputation
set ip-reputation-status {enable | disable}
set override-server-ip {enable | disable}
set ip-reputation-ip-address <override_server_address>
set ip-reputation-schedule-type {hourly | daily | weekly}
[set schedule-hour <hour_int>]
[set schedule-weekdays {sunday | monday | tuesday
...|saturday}]
set ip-reputation-category {ddos anonymous-proxies}
set tunneling-status {enable | disable}
set tunneling-address <tunneling_address>
set tunneling-port <tunneling_port_int>
set tunneling-username <tunneling_user_str>
set tunneling-password <tunneling_pwd>
end
The FortiGuard Domain Reputation service is a licensed subscription that maintains a database of DNS Domain
Names that pose a threat to your network and clients. After you purchase Domain Reputation, you register the
service contract to the FortiDDoS appliance serial number. Then, you can schedule updates to the Domain
Reputation list.
After you have enabled the feature, the FortiDDoS system downloads the most recent definitions file and then
maintains updates for it according to the schedule you configure. To use over-the-network updates, the
management port must be able to access the Internet and DNS. If the system is behind a web proxy, enable and
set up Tunnel (proxy) in Global Settings > IP Reputation (even if IP Reputation is not enabled).
The License Information portlet displays the status of the most recent update (Domain Reputation Service
Definition). If the download is successful and new definitions are available, the lists are replaced; otherwise, the
previous list remains in use. The License Information portlet will also display the status of your Domain
Reputation license (Domain Reputation Service Contract Date). If your license expires, the Domain Reputation
database is removed from the appliance. This is to prevent stale entries from affecting your traffic.
You can configure how the FortiDDoS system receives scheduled updates.
Information about DNS Queries denied by Domain Reputation is reported in the following graphs and reports:
l Graphs:
l Monitor > Layer 7 > DNS > Query: Query Blocked (Blacklisted Domains)
l Monitor > ACL Drops > Layer 7 > DNS: Query Blocked (Blacklisted Domains)
l Monitor > ACL Drops > Aggregate > Layer 7
l Monitor > Aggregate > Layer 7
l Executive Summary Dashboard (Log & Report > Executive Summary > DDoS Attack Log and DDoS Attack Graphs)
l Reports (Log & Report > Report Configuration. Select Top ACL Attacks and Top Attacked ACL SPPs)
Note: Since a Domain name is seen in both the Query and Response, Domain Reputation will drop any
Responses it sees containing Domain Reputation domains, even if FortiDDoS does not see the Query. This can
happen in two circumstances:
l Asymmetric traffic where FortiDDoS is seeing the inbound traffic link only (does not see outbound
Queries).
l Reflected Response Floods may use malicious FQDNs, in which case Domain Reputation may see the
flood before DQRM sees it.
Settings Guidelines
Override Server IP and Domain Enable Override Server IP and enter a Domain Reputation IP
Reputation IP Address Address ONLY if you cannot use the default FQDN of FortiGuard .
Please see Fortinet CSEs for assistance.
l Weekly - Update will occur weekly, every 7 days from the day you set
this option. This update occurs at UTC 00:00 daily and it is not
configurable.
To configure with the CLI, use a command sequence similar to the following:
config ddos global domain-reputation
set domain-reputation-status enable
end
FortiDDoS can take account of the possibility that a source IP address might be a proxy IP address, and adjust
the threshold triggers accordingly. If a source IP address is determined to be a proxy IP address, the system
adjusts thresholds for Most Active Source, SYN per source, Concurrent Connections per source, HTTP Method
per source and DNS query per source by a multiplier that you specify.
You can configure either or both of the following methods to determine whether source IP address is a proxy IP
address:
l Concurrent connection count—Used when there are many users behind a web proxy or NAT device like an
enterprise firewall.
l HTTP headers—Used when there are many users behind a Content Delivery Network (CDN), such as Akamai.
Before you begin:
Settings Guidelines
Proxy IP threshold factor Specify a multiplier when the source IP address is identified as a proxy IP
address. For example, if you specify 32, and the Most Active Source threshold is
1000, then the Most Active Source threshold applied to proxy IP addresses is 32
* 1000 or 32,000.
Note: The Proxy IP Threshold Factor is set and displayed differently in the GUI
and CLI. The actual Threshold Factor is set by the slider on the GUI and shown
in orange (default 128). If set from the CLI, the factor must be set as an expo-
nent of 2. For example, if you want to set the factor as '1024', you must enter '10'
(2^10=1024). If you check the threshold factor via CLI, it shows the exponent
value '10' whereas the GUI shows '1024'.
Proxy IP list status Displays the date and time when the list was last downloaded.
Settings Guidelines
Concurrent connections Every 5 minutes, the system records the IP addresses of sources with more than
per source this number of concurrent connections to test whether those sources might be
using a proxy IP address. The default is 100 concurrent connections.
Percent present Threshold that determines whether the source IP address is regarded as a proxy
IP address. For example, the default is 30. After the observation period, the IPs
whose numbers of concurrent connections have been 30% of the time above 100
are identified as proxy IPs.
Observation period l Past Week—Uses data from the past week to determine whether a source IP
address is a proxy IP address.
l Past Month—Uses data from the past month.
Generate proxy IP list Select to generate the list of detected proxy IP addresses. This list is useful for
identifying IP addresses that the system has treated as a proxy but are actually
attackers. You can add these kinds of IP addresses to an ACL to block their
traffic.Generate proxy IP list option is not available via the FortiDDoS-CM GUI.
Log directly into the appliance to Generate proxy IP list.
Proxy HTTP header type Select HTTP headers that indicate a proxy address might be in use:
l true-client-IP
l x-forwarded-for (selecting this option also enables parsing of x-true-client-ip
and x-real-ip headers)
To configure with the CLI, use a command sequence similar to the following:
config ddos global proxy-ip-setting
set auto-proxy-ip-status {enable | disable}
set proxy-ip-percent-present <integer>
set proxy-ip-observation-period {past-week | past-month}
set header-proxy-ip-status {enable | disable}
set header-proxy-type {true-client-ip X-Forwarded-For}
set proxy-ip-threshold-factor <integer>
end
FortiDDoS allows you to manually assign a source IP address as proxy IP address through the GUI or CLI. If a
source IP is assigned as proxy IP, the system adjusts the thresholds for Most Active Source, SYN per source,
Concurrent Connections per source, HTTP Method per source and DNS query per source by a multiplier that you
specify.
Settings Guidelines
Settings Guidelines
To configure with the CLI, use a command sequence similar to the following:
config ddos global proxy-IP-policy
edit 1
set proxy-IP-address Test
set proxy-IP-action force-enable
next
end
You can enable one or more rules that consult the local address configuration:
l Inbound source must not be local address—Blocks inbound packets that have a source address inside the network.
The source address is definitely spoofed.
l Inbound destination must be local address—Blocks inbound packets that do not have a destination in your network.
The destination address is illegitimate.
l Outbound source must be local address—Blocks outbound packets with a spoofed address. Reduces the risk of
your network being used in spoof attacks.
l Outbound destination must not be local address—Blocks outbound packets with a destination inside your local
network.
Information about packets denied by Local Address Anti-spoofing rules is reported in the following graphs and
reports:
l Graphs (Monitor > ACL Drops > Layer 3, Monitor > Layer 3 > Address Denied)
l Executive Summary dashboard (Log & Report > Executive Summary)
l Reports (Log & Report > Report Configuration)
Basic steps
1. Go to Global Settings > Address > [ Local Address Config | Local Address Config IPv6].
2. Click Add to display the configuration editor.
3. Complete the configuration as described in the table below.
4. Save the configuration.
Settings Guidelines
IPv4
IPv6
To configure with the CLI, use a command sequence similar to the following:
config ddos global local address
edit <address_name>
set ip-netmask <address_ipv4mask>
end
l Global ACL
l Do Not Track
Settings Guidelines
Note: In the Global ACL for IPv4 addresses, you can add “deny rules” based on spe-
cified IP addresses or IP netmask configuration objects; you can add “allow rules”
based on IP address configuration objects only.
To configure with the CLI, use a command sequence similar to the following:
config ddos global address
edit <address_name>
set type {ip-netmask | ip-address}
set ip-netmask <address_ipv4mask>
set ip-address <address_ipv4>
end
l Global ACL
l Do Not Track
Settings Guidelines
Note: The restriction noted for the Global ACL for IPv4 addresses does not apply. In
the Global ACL for IPv6 addresses, you can add “deny rules” or “allow rules” based on
either IPv6 address IPv6 Prefix objects.
Address Specify an IPv6 address. The address must fall within an address space specified by
the IPv6 prefix set in global settings.
Prefix Specify an IPv6 prefix using an IP address/prefix notation. The prefix must be con-
sistent with the IPv6 prefix set in global settings.
To configure with the CLI, use a command sequence similar to the following:
config ddos global address-v6
edit <address_name>
set type {ipv6-network | ipv6-address}
set ipv6-network <address_ipv6mask>
set ipv6-address <address_ipv6>
end
Information about packets denied by Global ACL Geolocation rules is reported in the following graphs and
reports:
l Graphs (Monitor > ACL Drops > Layer 3, Monitor > Layer 3 > Address Denied)
l Executive Summary dashboard (Log & Report > Report Browse > Executive Summary)
l Reports (Log & Report > Report Configuration > Report Configuration)
Settings Guidelines
Type Select Geolocation to create an entry for a location, anonymous proxy, or satellite
provider.
To configure with the CLI, use a command sequence similar to the following:
config ddos global address
edit <address_name>
set type geo-location
set geo-location <country_code>
end
Note: The “country_code” for Anonymous Proxy is A1; the code for Satellite
Provider is A2.
You can specify IP addresses that FortiDDoS does not restrict or track. Packets matching the Do Not Track policy
are forwarded without inspection.
l You must have configured address objects that you want to match in policy rules. See Configuring address objects
for global ACLs.
l You must have Read-Write permission for Global Settings.
1. Go to Global Settings > Do Not Track Policy > [ Do Not Track Policy | Do Not Track Policy IPv6].
2. Click Add to display the configuration editor.
3. Complete the configuration as described in the following table.
4. Save the configuration.
Settings Guidelines
Do not track action l Do not track—Never drop or block packets to/from these IP addresses; do not
include them in the statistics for continuous learning and threshold estimation.
l Track and Allow—Never drop or block packets to/from these IP addresses; include
them in the statistics for continuous learning and threshold estimation. If this IP
address appears to participate in any attack, drops will be reported on graphs and
DDoS Attack Logs but actual packets will not be dropped.
To configure with the CLI, use a command sequence similar to the following:
config ddos global {do-not-track-policy | do-not-track-
policy-v6}
edit <do_not_track_name>
set do-not-track-IP-address <address_object>
set do-not-track-action {track-and-allow | do-not-
track}
end
This section describes usage and configuration steps for the global access control list (ACL) policy. It includes the
following information:
The term “bogon” stems from hacker jargon, where it is defined as the quantum of “bogosity”, or the property of
being bogus. A bogon packet is frequently bogus both in the conventional sense of being forged for illegitimate
purposes, and in the hackish sense of being incorrect, absurd, and useless.
In a private network, this could mean undefined private addresses should not be expected as source or
destination. For example, if an enterprise uses only the 192.168.3.x range within its private domain, and then any
other private addresses such as 192.168.1.x, 192.168.2.x and 192.168.4.x through 92.168.254.x are illegal. Use
of these addresses usually means stealth activity that is mostly performed by worms.
In a public network, this would mean all bogon-prefixes should not appear as source or destination. A bogon
prefix is a route that should never appear in the Internet routing table. A packet routed over the public Internet
(not including over VPN or other tunnels) should never have a source address in a bogon range. These are
commonly found as the source addresses of DDoS attacks.
http://www.cymru.com/Documents/bogon-dd.html
You can configure FortiDDoS to block these types of addresses by adding them to its global ACL policy or to the
SPP ACL policy.
Examples:
l To deny spoofing packets from the Internet with the source address 192.168.x.x, create an address object and
global ACL rule to block 192.168.0.0/16.
l To deny outbound spoofing packets (that is, to deny addresses that are not in your inside LAN) with the source
address as private addresses 172.16.x.x, create an address object and global ACL rule to block 172.16.0.0/16.
l To deny the address range 10.x.x.x altogether because it is “dark” both inside and outside your network, create an
address object and global ACL rule to block 10.0.0.0/8.
FortiDDoS does not track connections for items that are allowed by the global ACL. However, it does track the
source and associated traffic for items that are configured as Track & Allow in the SPP ACL.
Packets from IP addresses that are denied or allowed by ACLs do not affect the statistics for continuous learning
for source addresses. However, other characteristics of the packets, such as protocols and ports, are included in
the corresponding statistics.
Information about packets denied by the global ACL policy is reported in the following graphs and reports:
l Graphs (Monitor > ACL Drops > Layer 3, Monitor > Layer 3 > Address Denied)
l Executive Summary dashboard (Log & Report > Executive Summary)
l Reports (Log & Report > Report Configuration)
l You must have configured address objects that you want to match in policy rules. See Configuring address objects
for global ACLs.
l You must have Read-Write permission for Global Settings.
Note: Global ACL Policies are applied universally to all SPPs but ACLed packets are dropped only if the SPP is in
Prevention Mode. In Detection Mode, these packets are allowed but displayed as 'virtual' drops.
1. Go to Global Settings > Access Control List > [ Access Control List | Access Control List IPv6].
2. Click Add to display the configuration editor.
3. Complete the configuration as described in the following table.
4. Save the configuration.
Settings Guidelines
Settings Guidelines
Action Deny - Block traffic from traffic matching the address object from Address > Address
Config, which may be an IP Address, subnet or Geolocation.
Note: The action for Geolocation source addresses depends on the Geolocation
Policy option on the Global Settings > Settings page. The user interface restricts the
action you specify here to the logical action in the Global Settings setting.
Note: You cannot set policies to Deny a subnet (for example,1.2.3.4/24) and Allow or
Track and Allow a smaller subnet or IP address (for example, 1.2.3.5,). You need to
split the subnets.
To configure with the CLI, use a command sequence similar to the following:
config ddos global {acl | acl6}
edit <entry_index>
set source-address <address_name>
set action {accept | deny}
end
This is useful in emergency situations when you know both the Destination and Protocol being used in an attack
and for some reason, other mitigations are not working – for example, when System Recommended Thresholds
are not yet setup. In most cases, other mitigations will drop this traffic in normal operation.
Use Distress ACL only in emergency situations and ensure the ACL is removed
once the attack is finished.
1. Go to Global Settings > Access Control List > Advanced Settings > Distress ACL.
2. Click Add to display the configuration editor.
Settings Guidelines
IP-Netmask Specify the IP address and CIDR-formatted subnet mask, separated by a forward
slash ( / ), such as 192.0.2.5/24. Dotted quad formatted subnet masks are not accep-
ted.
Bypass MAC is used ONLY when you are using an external Bypass Bridge that generates
heartbeats between its Monitor interfaces to determine the FortiDDoS appliance health.
DO NOT enter the MAC addresses of connected Switches or Routers. It is unnecessary and results
in all traffic bypassing the FortiDDoS mitigation systems.
In a deployment with a bypass bridge, the bridge passes heartbeat packets to test the health of the FortiDDoS
traffic interfaces. If the heartbeats packets are not passed, bypass mode is triggered.
In most cases, the bypass bridge will expose the MAC addresses of its Monitor ports that are sending the
heartbeat packets. It is recommended that these MAC addresses be entered in FortiDDoS Bypass MAC address
list to ensure that packets from these MAC addresses are never blocked by FortiDDoS.
Each FortiDDoS model supports the following number of Bypass MAC addresses:
l 200B – 8
l 400B/600B/800B/900B/1000B – 16
l 1200B/2000B – 20
l You must know the MAC addresses for the bypass switch.
l You must have Read-Write permission for Global Settings.
Settings Guidelines
Note: You can view MAC addresses of the bypass switch on its status page. If the
bypass switches are from the same vendor, the most significant 24-bits of their MAC
addresses are the same.
To configure with the CLI, use a command sequence similar to the following:
You can use Blacklisted Domains option to deny ACL a large set of DNS domains.
To apply the Blacklisted Domain changes using the CLI, execute the
corresponding commands:
You can use Blacklisted IPv4 Address option to deny ACL a large set of blacklisted IPv4 addresses.
l Apply Address list to Hardware and Clear Blacklisted Addresses in Hardware will take several
minutes even if it shows 'Applied list successfully' or 'Reset completed'. The process of adding the
blacklist to the TP2 hardware or deleting it is done automatically in the background, so you can leave the
page. An indicator of completion is the 'Number of Addresses Applied' field in the top-right corner. If
this field has incremented (decremented), then the installation (deletion) is complete.
l The Blacklisted IP address list is independent of the IP Reputation blacklist from FortiGuard and the
Global IP address ACL. Duplicates between the lists are allowed. Removing IPs or lists from the
Blacklisted IPv4 Addresses has no impact on other lists. Similarly, modifying the Global IP Address ACL
or updating the IP Reputation database has no impact on the Blacklisted IP address list. This means that
an IP address appearing in any of those lists is blacklisted. Removing it from the Global IP Address ACL
may not remove the blacklist if the IP appears in the IP Reputation blacklist, for example.
l You cannot use subnet masks (10.0.0.0/24) nor default subnets (10.0.0.0). A default subnet will
simply be entered as IP 10.0.0.0 as an example which is not usable.
l Adding a Global IP address ACL and/or a Blacklisted IP address list populates the same database. The
Blacklisted IPv4 list is a simpler way to add many IP addresses at the same time.
To apply the Blacklisted IPv4 changes using the CLI, execute the
corresponding commands:
The SPP Settings configuration includes key feature settings that might vary among SPPs.
l You must have a good understanding of the features you want to enable. Refer to Key Concepts.
l You must have Read-Write permission for Protection Profile settings.
For more information about DNS Anomaly and Feature Control settings for various services, see here.
4. Save the configuration.
General tab
Use this tab to configure:
Settings Guidelines
Operating Mode
Inbound operating mode Set the mode for traffic received from WAN-side interfaces:
l Detection—Logs events and builds traffic statistics for the profile but does
not limit or block traffic.
l Prevention—Limits and blocks traffic that exceeds thresholds.
Outbound operating mode Set the mode for traffic received from LAN-side interfaces:
l Detection—Logs events and builds traffic statistics for the profile but does
not limit or block traffic.
l Prevention—Limits and blocks traffic that exceeds thresholds.
Settings Guidelines
SYN flood mitigation dir- Enable/disable the feature for one or both traffic directions.
ection
Note: If you do not enable SYN flood mitigation, and the TCP session feature
control SYN Validation option is enabled, then during a flood, packets from
sources not in the legitimate IP address table are not given the opportunity to
complete the antispoofing challenge. The packets will be dropped.
SYN with payload direction Enable/disable the feature in one or both traffic directions.
Drops due to this anomaly are logged as L4 Anomaly events and included in
the Layer 4 Anomaly graphs.
SYN flood mitigation mode l ACK cookie—Sends the client two ACK packets: one with a correct ACK
number and another with a wrong number. The system determines whether
the source is spoofed based on the client’s response. If the client’s
response indicates that the source is not spoofed, FortiDDoS allows the
connection and adds the source to the legitimate IP address table. Fortinet
recommends this option if you have enough bandwidth in the reverse
direction of the attack.
l SYN cookie—Sends a SYN/ACK with a cookie value in the TCP sequence
field. If it receives an ACK back with the right cookie, an RST/ACK packet is
sent and the IP address is added to the legitimate IP address table. If the
client then retries, it succeeds in making a TCP connection. Fortinet
recommends this option if you cannot use ACK Cookie and you anticipate
high volume attacks. Fortinet recommends this option if you cannot use
ACK Cookie and you anticipate high volume attacks.
l SYN retransmission—Drops the initial SYNs to force the client to send a
SYN again. If the expected number of retransmitted SYNs arrive within the
predetermined time period, the system considers the source to be
legitimate. FortiDDoS then allows the connection to go through and adds
the source to the legitimate IP address table. Fortinet recommends this
option if you cannot use ACK Cookie and you anticipate low volume attacks.
Adaptive Mode
Adaptive mode l Fixed—Does not use the adaptive limit. The configured minimum
thresholds are the maximum limits.
l Adaptive—Uses the adaptive limit. The configured minimum thresholds
multiplied by the adaptive limit are the maximum limits.
Settings Guidelines
Adaptive limit A percentage of the configured minimum threshold that establishes the upper
limit of the estimated threshold. The adaptive limit is an upper rate limit bey-
ond which the system blocks all traffic. The valid range is 100% to 300%.
For example, the default is 150%. The system uses the dynamic threshold
estimation algorithm to raise the calculated threshold up to 150% of the value
of the configured minimum threshold. Thus, if the inbound threshold for Pro-
tocol 17 (UDP) is 10,000, the threshold never falls below 10,000 and never
exceeds 15,000.
When the adaptive limit is 100, the system does not use dynamic threshold
estimation to adjust thresholds.
Attack
Layer 3
Event
Layer 3 Anomaly
Attack
Layer 3
Event
- Pointer in LSRR/SSRR is other than (n*4) where n takes value greater than or equal to 1
L4 Anomaly Detected
- Urgent flag is set then the urgent pointer must be non-zero Any of the 10 anomalies
on the left will result in a
- SYN or FIN or RST is set for fragmented packets Layer 4 Anomaly Detec-
ted drop attack event.
- Data offset is less than 5 for a TCP packet
To configure with the CLI, use a command sequence similar to the following:
config spp
edit <spp_name>
config ddos spp setting
set inbound-operating-mode {detection|prevention}
set outbound-operating-mode {detection|prevention}
set syn-flood-mitigation-direction {inbound|outbound}
set syn-flood-mitigation-mode {syn-cookie | ack-cookie
| syn-retransmission}
set syn-with-payload-direction {inbound|outbound}
set adaptive-mode {fixed|adaptive}
set adaptive-limit <percent_int>
set
end
end
Settings Guidelines
Source multiplier Applies the specified multiplier to the packet count for traffic with a source IP
inbound / outbound address that the system has identified as the source of a flood. In effect, the mul-
tiplier makes traffic from the source violate thresholds sooner. The default is 2.
For example, if the most active source threshold is 100 packets per second, and
the source multiplier is 4, an identified source attacker will violate the threshold if
it sends 26 packets per second. Because incoming traffic is more likely to be the
source of a threat, you can configure different multipliers for incoming and out-
going traffic.
Settings Guidelines
Layer 7 multiplier Applies the specified multiplier to the packet count for traffic that the system has
inbound / outbound detected is related to a Layer 7 HTTP flood. The system tracks HTTP headers
(URL or Host, Referer, Cookie or User-Agent header) and associates traffic with
matching headers with the attack. The default is 2.
Note: When both Source flood and Layer 7 flood conditions are met, the packet
count multipliers are compounded. For example, when there is a User Agent
flood attack, a source is sending a User-Agent that is overloaded. If the Source
multiplier is 4 and the Layer 7 multiplier is 64, the total multiplier that is applied
to such traffic is 4 x 64 = 256. In effect, each time the source sends a Layer 7
packet with that particular User-Agent header, FortiDDoS considers each packet
the equivalent of 256 packets.
To configure with the CLI, use a command sequence similar to the following:
config spp
edit <spp_name>
config ddos spp setting
set source-multiplier-inbound <integer>
set source-multiplier-outbound <integer>
set layer-7-multiplier-inbound <integer>
set layer-7-multiplier-outbound <integer>
end
end
TCP tab
Use this tab to configure:
Settings Guidelines
TCP session feature control Select one or more of the following options to detect TCP state anomalies:
l Sequence validation—The FortiDDoS TCP state machine ensures that TCP
If SYN Validation is not enabled, packets are not dropped during a SYN
flood.
The configuration also enables you to allow some TCP state sequences that
the system would otherwise detect as a TCP state anomaly when the anom-
aly detection options are enabled.
Select the following options to enable them:
l Allow tuple reuse—Allow this exception to Sequence validation (if enabled).
Settings Guidelines
TCP session idle timeout Idle timeout period for TCP session. The default value is 528 seconds. Use
this timer to age idle TCP sessions (sessions with no traffic for long periods),
for all connections and ports. This timer should match other idle timers in your
infrastructure such as firewalls.
l minutes
l hours
TCP session extended Extended timeout value for specific IP addresses (IPv4/IPv6) where the
timeout timeout should be longer than the idle timeout period. For example, this set-
ting can be configured for specific IP addresses in environments where per-
sistent SSH/TELNET/HTTP connections are used. This timer should be
longer than the TCP Session Idle Timeout. See also, Session timeout pre-
cedence and application, below.
l hours
Slow Connection Settings, if enabled, will generally age connections faster than other timers. Connections
require sending a measured amount of data over a relatively short period of time, or they will be aged. Slow
Connections work only on some TCP ports. Refer to section: 'Slow connection detection and aggressive aging'
under Understanding FortiDDoS Prevention Mode. This feature is used to combat slow connection attacks such
as Slowloris.
TCP Session Idle Timeout ages sessions that have been idle (no data) for the period selected. This feature can
be used to customize timeouts per server type. For example, SSL VPN servers usually allow authenticated users
to remain connected for long periods without any data traffic (no keep-alives). You can extend the timeout for
these servers while maintaining a shorter timeout for web servers. Use separate SPPs for SSL VPN and web
servers.
TCP Session Extended Timeout can be applied to specific IPs. We recommend you do not apply this to outside
subnets or protected subnets, use it only for specific outside Source IPs. Any IP assigned an Extended Timeout
Policy will override both Slow Connections Settings and TCP Idle Timeouts when connected to servers in the
SPP. This feature allows a specific user to remain connected to a server even if that SPP had Slow Connections
and Idle Timeout set. For example, the webmaster of a hosted server can use this to maintain an FTP
connection, even with long periods of idle time between file transfers. Assigning his IP to an Extended Timeout
Policy prevents his session from being aged too quickly.
l Slow connection detection settings (threshold and observation period). These settings are only used if Protection
Profiles > SPP Settings > TCP Tab: Aggressive Aging Feature Control: Slow TCP Connections is enabled.
l Slow Connection Source Blocking option
l Incomplete HTTP request settings. These settings also interact with several settings on the TCP tab.
See the table below for more information about these settings.
Table 73: Slow TCP Connection and Incomplete HTTP Request settings
Settings Guidelines
Settings Guidelines
Byte Threshold (pay- The number of Bytes that must be seen within the Observation Period below
load in bytes) to prevent triggering Slow Connection Mitigation.
Observation Period (in The time period during which Bytes are counted. Once the Byte threshold
seconds) above is crossed, the Observation Period is reset and the Byte count starts
again.
Settings Guidelines
Block Sources with Normally enabled. This results in an attack event called 'Slow Connection:
Slow TCP Connections Source flood' - this includes the Source IP of the Slow Connection which is
useful for analysis and potentially ACLing the Source.
Use this option with care. Using Block Sources will block all traffic from those
Sources. For example, if one client behind a firewall is creating a Slow
Connection, all traffic from the firewall will be blocked based on Global
Settings > Settings > Settings > Blocking Period > Blocking Period For
Identified Sources (default 60 seconds). These drops will be reported as 'Slow
Connection: Source flood'.
Incomplete HTTP Request Detects HTTP packets that do not end with correct end-of-packet characters.
This can be a result of attack packets, network fragmentation or large HTTP cookies. Since many web
servers use tracking cookies that are getting very large, it is not recommended to enable this function on
SPPs containing firewalls, proxies or gateways with outbound sessions. You can enable in Detection
Mode on web servers and observe the logs for large and consistent numbers of drops, which would indic-
ate the server is using large cookies. If so, disable before entering Prevention Mode.
Block Incomplete HTTP Block Incomplete HTTP Requests drops HTTP requests that do not end in
Requests the correct end-of-packet information. There are three reasons for incomplete
packets:
- Attack traffic
- MTU or PMTU settings are incorrect resulting in a network-fragmented
HTTP packets
- Large Cookies used by your website to identify clients can exceed standard
packet lengths and result in HTTP fragments. Do not enable this option if you
use large cookies.
Block Sources with Block Sources of incomplete HTTP packets for all traffic, based on Global
Incomplete HTTP Blocking Periods, as well as dropping the incomplete packets. If enabled, the
Requests source of incomplete HTTP packets will be blocked based on Global Settings
> Settings > Blocking Period > Blocking Period For Identified Sources (default
60 seconds) and reported as Slow Connection: Source floods.
Use this option with care as this may block Firewall, proxy and CDN traffic
inbound, most of which is not incomplete HTTP packets.
For more information about Slow connection detection and aggressive aging, see here.
To configure with the CLI, use a command sequence similar to the following:
config spp
edit <spp_name>
config ddos spp setting
set slow-connection-type {moderate|aggressive|user-
defined|none}
set slow-tcp-connection-byte-threshold
<integer>
set slow-tcp-connection-observation-period
<integer>
set source-blocking-for-http-slow-connections
{enable|disable}
set incomplete-http-feature-control
{enable|disable}
end
end
DNS Anomalies (and DNS Feature Controls) cannot be used in SPPs that contain
devices such as Firewalls, Proxies, Gateways, mail servers that produce encrypted DNS
packets destined for port 53 on their cloud services. For example, FortiGate firewalls by
default send encrypted DNS packets to FortiGuard UDP Port 53. The FortiGuard DNS
port can be modified to UDP port 8888 which is recommended but other products may
not be modifiable.
FortiDDoS interprets these encrypted DNS packets as anomalies and drops them. This
can result in no Internet access for any LAN-based client.
Devices sending encrypted packets should be isolated in a separate SPP with DNS
Anomaly and Feature Controls disabled.
In order to discover if these devices exist in the SPP and identify the IP addresses of the
devices, in DETECTION MODE, enable all DNS anomalies. In Log & Report > Executive
Summary > DDoS Attack Log: Top Attacks widget, with the direction set to
OUTBOUND, look for DNS Anomaly drops across a wide range of anomalies. If you are
seeing Outbound DNS Anomaly drops, drill down (using page icon to the right of Attack
description) and see the detailed attack logs. Drill further (page icon on right) and note
the Protected IPs. These will be the devices sending encrypted DNS. Move these IP
addresses to a separate SPP and disable all DNS Anomalies and Features for that SPP.
Settings Guidelines
Settings Guidelines
DNS query anomaly l Query bit set—DNS query with the query reply (QR) bit set to 1. In a
legitimate query, QR=0.
l RA bit set—DNS query with the recursion allowed (RA) bit set. The RA
bit is set in responses, not queries.
l Null query—DNS query in which the question, answer, additional, and
name server counts are 0.
l QDCNT not 1 in query—Number of entries in the question section of
the DNS packet is normally 1. Otherwise, it might be an exploit
attempt.
DNS response anomaly l QCLASS in reply—DNS response with a resource specifying a CLASS
ID reserved for queries only (QCLASS).
l Query bit not set—DNS response with the query reply (QR) bit set to 0.
In a legitimate response, QR=1.
l QTYPE in reply—DNS response with a resource specifying a TYPE ID
reserved for queries only (QTYPE).
l QDCNT not 1 in response—Number of entries in the question section
of the DNS packet is normally 1. Otherwise, it might be an exploit
attempt.
DNS buffer overflow anomaly l TCP Message too long—TCP query or response message that
exceeds the maximum length specified in the message header.
l Label length too large—Query or response with a label that exceeds
the maximum length (63) specified in the RFC.
l UDP message too long—UDP query or response message that
exceeds the maximum length specified in the message header.
l Name too long—DNS name that exceeds 255 characters. This can
cause problems for some DNS servers.
DNS exploit anomaly l Pointer loop—DNS message with a pointer that points beyond the end
of data (RFC sec4.1.4). This is an exploit attempt.
l Class is not IN—A query/response in which the question/resource
address class is not IN (Internet Address). Although allowed by the
RFC, this is rare and might indicate an exploit attempt.
l Message ends prematurely—A message that ends prematurely might
indicate an exploit attempt.
l Zone transfer—An asynchronous Transfer Full Range (AXFR) request
(QTYPE=252) from untrusted networks is likely an exploit attempt.
l Empty UDP message—An empty message might indicate an exploit
attempt.
l TCP Buffer underflow—A query/response with less than two bytes of
data specified in the two-byte prefix field.
Settings Guidelines
DNS info anomaly l Type ALL used—Detects a DNS request with request type set to ALL
(QTYPE=255).
DNS data anomaly l Invalid type, class—A query/response with TYPE or CLASS reserved
values.
l TTL too long—TTL value is greater than 7 days (or 604800 seconds).
l Extraneous data—A query/response with excess data in the packet
after valid DNS data.
l Name length too short—A query/response with a null DNS name.
For Symmetric or Asymmetric Traffic, DNS Anomalies can be used when FortiDDoS is seeing only one dir-
ection of asymmetric traffic. However, DNS Feature Controls must be disabled for asymmetric traffic (see
DNS Feature Controls).
For all DNS Servers If the servers use Zone Transfers to or from servers outside the
FortiDDoS (traffic passes through FortiDDoS:
- Disable DNS exploit anomaly: Zone Transfer. Other anomalies such as
Port 53 - Port 53 communications will be accounted-for by the firmware.
For Recursive DNS Servers Disable DNS data anomaly: TTL Too Long. Some root server A-Records
have very long (41-day) TTLs.
In all cases, enable all DNS anomalies while in DETECTION Mode. Examine the attack logs for patterns of
Anomaly drops. If in doubt, contact Fortinet support for advice
There are two network conditions where most DNS Feature controls must be disabled:
l If the FortiDDoS appliance is operating in Asymmetric traffic mode and cannot
see both directions of the DNS traffic. See Understanding FortiDDoS
Asymmetric Mode for more information.
l In SPPs that contain Firewalls, Proxies, Gateways, mail servers or other
equipment that generates encrypted DNS packets.
See below for further details. See DNS Anomaly Feature Controls to determine if there
are encrypted DNS packets in the SPP.
DNS settings are complex depending on the directionality, data asymmetry, types of DNS servers and devices
being protected. DNS is also a critical service - blocking DNS queries blocks clients from the Internet. If in doubt
create a FortiCare ticket for assistance. See the following table for details.
Guidelines for
use with SPPs
that contain Fire- Guidelines for
walls, Proxies, Guidelines for Symmetric traffic (or Asymmetric
Settings Gateways, Email Asymmetric where FortiDDoS sees all Mode, where
servers and other traffic) FortiDDoS does
outbound gen- not see all traffic.
erators of DNS
Queries.
Guidelines for
use with SPPs
that contain Fire- Guidelines for
walls, Proxies, Guidelines for Symmetric traffic (or Asymmetric
Settings Gateways, Email Asymmetric where FortiDDoS sees all Mode, where
servers and other traffic) FortiDDoS does
outbound gen- not see all traffic.
erators of DNS
Queries.
Guidelines for
use with SPPs
that contain Fire- Guidelines for
walls, Proxies, Guidelines for Symmetric traffic (or Asymmetric
Settings Gateways, Email Asymmetric where FortiDDoS sees all Mode, where
servers and other traffic) FortiDDoS does
outbound gen- not see all traffic.
erators of DNS
Queries.
Guidelines for
use with SPPs
that contain Fire- Guidelines for
walls, Proxies, Guidelines for Symmetric traffic (or Asymmetric
Settings Gateways, Email Asymmetric where FortiDDoS sees all Mode, where
servers and other traffic) FortiDDoS does
outbound gen- not see all traffic.
erators of DNS
Queries.
Guidelines for
use with SPPs
that contain Fire- Guidelines for
walls, Proxies, Guidelines for Symmetric traffic (or Asymmetric
Settings Gateways, Email Asymmetric where FortiDDoS sees all Mode, where
servers and other traffic) FortiDDoS does
outbound gen- not see all traffic.
erators of DNS
Queries.
Guidelines for
use with SPPs
that contain Fire- Guidelines for
walls, Proxies, Guidelines for Symmetric traffic (or Asymmetric
Settings Gateways, Email Asymmetric where FortiDDoS sees all Mode, where
servers and other traffic) FortiDDoS does
outbound gen- not see all traffic.
erators of DNS
Queries.
Guidelines for
use with SPPs
that contain Fire- Guidelines for
walls, Proxies, Guidelines for Symmetric traffic (or Asymmetric
Settings Gateways, Email Asymmetric where FortiDDoS sees all Mode, where
servers and other traffic) FortiDDoS does
outbound gen- not see all traffic.
erators of DNS
Queries.
Guidelines for
use with SPPs
that contain Fire- Guidelines for
walls, Proxies, Guidelines for Symmetric traffic (or Asymmetric
Settings Gateways, Email Asymmetric where FortiDDoS sees all Mode, where
servers and other traffic) FortiDDoS does
outbound gen- not see all traffic.
erators of DNS
Queries.
Guidelines for
use with SPPs
that contain Fire- Guidelines for
walls, Proxies, Guidelines for Symmetric traffic (or Asymmetric
Settings Gateways, Email Asymmetric where FortiDDoS sees all Mode, where
servers and other traffic) FortiDDoS does
outbound gen- not see all traffic.
erators of DNS
Queries.
Guidelines for
use with SPPs
that contain Fire- Guidelines for
walls, Proxies, Guidelines for Symmetric traffic (or Asymmetric
Settings Gateways, Email Asymmetric where FortiDDoS sees all Mode, where
servers and other traffic) FortiDDoS does
outbound gen- not see all traffic.
erators of DNS
Queries.
Vali Allo
date Gene w Res
Dupli
Matc rate Onl trict
cate
h TTL Resp y DNS DN
DNS Quer Bloc DNS
Resp For onse Vali UDP S
SPP Anomaly y k Flood
onse Que From d Anti- Que
Conditions Feature Chec Ident Mitigati
With ries Cach Que spoof ries
Controls k ified on
Queri Fro e ries ing To
Befor Sour Mode
es m Unde Und Meth Spe
e ces Inbound
(DQR The r er od cific
Resp
M) Sa Floo Flo Sub
onse
me d od nets
IP (LQ)
Vali Allo
date Gene w Res
Dupli
Matc rate Onl trict
cate
h TTL Resp y DNS DN
DNS Quer Bloc DNS
Resp For onse Vali UDP S
SPP Anomaly y k Flood
onse Que From d Anti- Que
Conditions Feature Chec Ident Mitigati
With ries Cach Que spoof ries
Controls k ified on
Queri Fro e ries ing To
Befor Sour Mode
es m Unde Und Meth Spe
e ces Inbound
(DQR The r er od cific
Resp
M) Sa Floo Flo Sub
onse
me d od nets
IP (LQ)
Vali Allo
date Gene w Res
Dupli
Matc rate Onl trict
cate
h TTL Resp y DNS DN
DNS Quer Bloc DNS
Resp For onse Vali UDP S
SPP Anomaly y k Flood
onse Que From d Anti- Que
Conditions Feature Chec Ident Mitigati
With ries Cach Que spoof ries
Controls k ified on
Queri Fro e ries ing To
Befor Sour Mode
es m Unde Und Meth Spe
e ces Inbound
(DQR The r er od cific
Resp
M) Sa Floo Flo Sub
onse
me d od nets
IP (LQ)
Vali Allo
date Gene w Res
Dupli
Matc rate Onl trict
cate
h TTL Resp y DNS DN
DNS Quer Bloc DNS
Resp For onse Vali UDP S
SPP Anomaly y k Flood
onse Que From d Anti- Que
Conditions Feature Chec Ident Mitigati
With ries Cach Que spoof ries
Controls k ified on
Queri Fro e ries ing To
Befor Sour Mode
es m Unde Und Meth Spe
e ces Inbound
(DQR The r er od cific
Resp
M) Sa Floo Flo Sub
onse
me d od nets
IP (LQ)
Vali Allo
date Gene w Res
Dupli
Matc rate Onl trict
cate
h TTL Resp y DNS DN
DNS Quer Bloc DNS
Resp For onse Vali UDP S
SPP Anomaly y k Flood
onse Que From d Anti- Que
Conditions Feature Chec Ident Mitigati
With ries Cach Que spoof ries
Controls k ified on
Queri Fro e ries ing To
Befor Sour Mode
es m Unde Und Meth Spe
e ces Inbound
(DQR The r er od cific
Resp
M) Sa Floo Flo Sub
onse
me d od nets
IP (LQ)
Vali Allo
date Gene w Res
Dupli
Matc rate Onl trict
cate
h TTL Resp y DNS DN
DNS Quer Bloc DNS
Resp For onse Vali UDP S
SPP Anomaly y k Flood
onse Que From d Anti- Que
Conditions Feature Chec Ident Mitigati
With ries Cach Que spoof ries
Controls k ified on
Queri Fro e ries ing To
Befor Sour Mode
es m Unde Und Meth Spe
e ces Inbound
(DQR The r er od cific
Resp
M) Sa Floo Flo Sub
onse
me d od nets
IP (LQ)
Vali Allo
date Gene w Res
Dupli
Matc rate Onl trict
cate
h TTL Resp y DNS DN
DNS Quer Bloc DNS
Resp For onse Vali UDP S
SPP Anomaly y k Flood
onse Que From d Anti- Que
Conditions Feature Chec Ident Mitigati
With ries Cach Que spoof ries
Controls k ified on
Queri Fro e ries ing To
Befor Sour Mode
es m Unde Und Meth Spe
e ces Inbound
(DQR The r er od cific
Resp
M) Sa Floo Flo Sub
onse
me d od nets
IP (LQ)
The baseline statistics are used to establish the configured minimum threshold and ultimately the absolute
maximum rate limit. The figure below illustrates relationship between the baseline statistics, threshold settings,
and monitor graphs.
l The generated baseline statistic for the most-active-source threshold is 13750 packets/second.
l The generated baseline statistic is multiplied by the Layer 3 percentage adjustment on the System
Recommendation page. The default is 300%.
l The product of the baseline and the percentage adjustment determines the configured minimum threshold. 13750 x
300% = 41250 packets/second.
l The configured minimum threshold is displayed on its monitor graph.
l On the monitor graph, the estimated threshold is the top line. Packets will be dropped if the data rate exceeds the
SUM of the Configured Minimum Threshold (41250) plus the added differential of the estimated threshold on the
graph, which is calculated by FortiDDoS in real-time. This provides a cushion for seasonal changes in traffic,
reducing false positives. The estimated threshold can go no higher than the product of the configured minimum
threshold and the adaptive limit %. 41250 * 150% = 61875 packets/second. This adaptive threshold is not shown on
the graph, but the continuously calculated estimate is shown. Estimated Thresholds are calculated and shown only
for Scalar parameters. See Understanding FortiDDoS Rate Limiting Thresholds for additional information.
l Past 1 hour
l Past 8 hours
l Past 1 day
l Past 1 week
l Past 1 month
l Past 1 year
Use a time period that is representative of typical traffic volume and has had no attacks.
To configure with the CLI, use a command sequence similar to the following:
config spp
edit <spp_name>
config ddos spp threshold-report
set generate {enable | disable}
set report-period {last-hour | last-8-hours | last-
24-hours | last-week | last-month | last-year}
end
l You must have generated the report. See Generating baseline traffic statistics
l You must have Read-Write permission for Protection Profile settings.
3 100
4 500
7 200
Clear the Do not show values below low threshold option if you want to see these low counts.
Managing thresholds
You can use the Protection Profiles > Thresholds > System Recommendation page to set the multiplier for each
OSI layer. The resulting configured minimum thresholds are populated on the Protection Profiles > Thresholds >
Thresholds page. As you become a FortiDDoS expert, you can tune the thresholds on the Protection Profiles >
Thresholds > Threshold page.
Note: In the explanations below, the System Recommendations do not set some Thresholds to system
maximums or does not set them at all, which has the same effect. These Thresholds are either rarely used for
special circumstances or are covered by other mitigations. For example, you do not want to block TCP Protocol 6
or UDP Protocol 17 just because that protocol traffic is high. There are many other parameters above Layer 3 that
will detect and mitigate. However, if you are protecting web servers that never see UDP traffic you can set a UDP
Protocol 17 threshold.
Scalar thresholds Thresholds are set to either the observed maximum multiplied by the Layer
3, Layer 4 or Layer 7 percentage, or to the low traffic threshold, whichever is
higher.
Protocol thresholds The system recommendation procedure does not set the threshold for TCP
protocol (6) and UDP protocol (17).
ICMP Type/Code There are 65525 allowable ICMP Types and Codes. However, less than 50
are valid for IPv4 and IPv6 traffic. You may enable Global Settings >
Settings > Settings > General Tab: ICMP Invalid Anomaly to remove any
unused ICMP Types and Codes as anomalies.
Whether all 65k types/codes or the reduced valid set is used, contiguous
ICMP type/codes that have the similar inbound and/or outbound traffic rates
are grouped into ranges. The system recommendation procedure uses an
algorithm to generate a set of ranges and packet rate thresholds.
TCP/UDP Port Packet rates vary across TCP and UDP Ports and traffic direction.
(4.2.0 to 4.3.x)
The system recommendation procedure uses an algorithm to generate a set
of ranges and packet rate thresholds for ports that have similar traffic
statistics.
The algorithm is based on the following factors:
- The recorded baseline traffic for TCP ports and UDP ports is from 0 to
65k.
- For TCP
TCP/UDP Port Packet rates vary across TCP and UDP Ports and traffic direction.
(4.5.0+)
The system recommendation procedure uses an algorithm to generate a set
of ranges and packet rate thresholds for ports that have similar traffic
statistics.
- For TCP
l Ports 0-9999 will be grouped into a series of ranges for ports with
similar traffic.
l A single threshold is set for all ports above 10000.
l The system recommendation procedure does not set the threshold
for widely used TCP service ports 20-23, 25, 80, 110, 143 and 443
because there are more granular TCP L4-L7 parameters to detect
floods. The thresholds for these ports are not shown – you will see
gaps in the Port Threshold ranges. These ports are internally set to
high values.
If these ports are not in use for a specific SPP, you can add
thresholds or ACL the ports. You can identify if these ports are in
use by examining the Traffic Statistics in the GUI or CSV.
l The system does not set the threshold for user-configured HTTP
service ports (Global Settings > Settings > HTTP Service Ports).
The thresholds for these are set to high values and will also be
missing from the Port ranges as above.
l The system recommendation procedure does not set an Inbound or
Outbound threshold for TCP port 53 because there are more
granular DNS TCP parameters to detect floods. For 600B and
900B, which do not support DNS mitigation, it is important that
you set an Inbound Threshold (Outbound can be set to system
maximum) or ACL for this port (TCP and UDP). TCP Port 53
data rates can be examined via the Traffic Statistics in the GUI or
CSV.
l In reports and logs all traffic to or from 'service ports' 0-9999 or user-
defined HTTP ports is associated with that port. Ephemeral high
ports are not included in this traffic as they are generally irrelevant
to protection of the service ports.
l If traffic is seen where both the Source Port and Destination Port
are >10000, the Destination Port will be shown on graphs and logs.
l A maximum of 512 different port ranges will be defined by the
System Recommendation Algorithm.
l Note that because of the way the Algorithm operates, the Low
Traffic Thresholds (default 500) may be changed slightly when
System Recommendations are created. This is normal and does
not affect mitigation.
- For UDP
l The system recommendation procedure does not set an
FortiDDoS 5.0.0 Handbook Inbound or Outbound threshold for UDP port 53 because there 358
Fortinet Technologies Inc. are more granular DNS UDP parameters to detect floods. For
600B and 900B, which do not support DNS mitigation, it is
important that you set an Inbound Threshold (Outbound can be
Service Protection Profiles (SPP) Managing thresholds
HTTP Method l Thresholds are set to either the observed maximum multiplied by the Layer 7
percentage, or to the low traffic threshold, whichever is higher.
URL, Host, Cookie, l The rate meters for URLs and HTTP headers are based on indexes. For each
Referer, User-Agent SPP in the HTTP Header, FortiDDoS indexes on the first 1400 characters of up
to 32,000 URLs, 512 Hosts, 512 Cookies, 512 Referers and 512 User Agents.
l Packet rates vary across these indexes, SPPs, and traffic direction, depending
on the time the baseline is taken.
l The “observed maximum” used by the system recommendation procedure is
the packet rate for the 95th percentile of observed rates for all indexes
(excluding indexes with zero traffic), unless the number of indexes is unusually
low. If low, the highest rate for all indexes is used.
l Thresholds are set to either the observed maximum multiplied by the Layer 7
percentage, or to the low traffic threshold, whichever is higher.
l You must have generated traffic statistics for a learning period - Protection Profiles > Traffic Statistics
> Generate. Ensure that the traffic statistics report that you generate for use with System Recommendation is for a
period that is free of attacks and that it is long enough to be a representative period of activity. If necessary, reset
statistics for the SPP before initiating the learning period.
l You must have Read-Write permission for Protection Profile settings.
l Note that the FortiDDoS hardware is accessed when you generate traffic statistics or set system recommended
thresholds. Do not perform multiple operations simultaneously.
Settings Guidelines
Layer 3/4/7 adjustments l Percentage—This is the normal mode for System Recommendation settings.
The learned Traffic Statistics, previously generated are multiplied by the
specified percentage to compute the recommended thresholds.
l Factory default— This feature is seldom used and should be accessed by
experts only.
New, never-before-used SPPs will always have their Thresholds set to factory
default maximum values.
If the SPP has existing Thresholds, re-setting System Recommendations as
detailed above and below will completely replace the SPP Thresholds.
If System Recommended Thresholds appear incorrect (system is experiencing
a high number of drops from apparently normal traffic), place the SPP in
Detection mode to prevent any drops while seeing the 'virtual' drops, to
troubleshoot the Thresholds.
Factory Default will return all the Layer 3, 4 and/or 7 settings to system
maximums, resulting in no detection of mitigation.
Layer 3/4/7 percentage Multiply the generated Traffic Statistics by the specified percentage to compute
the recommended thresholds. For example, if the value is 300%, the threshold is
three times the Traffic Statistics learned rate.
The default adjustment for the various layers is:
l Layer 3 = 300(%)
l Layer 4 = 200(%)
l Layer 7 = 200(%)
l Valid range is 100 (% - no change) to 500 (% - 5x the Traffic Statistics
rate]).
Most users should not change these settings from default. Expert users
may change these carefully.
Settings Guidelines
Layer 3/4/7 low traffic Specify a minimum threshold to use instead of the recommended rate when the
threshold recommended rate is lower than this value. This setting is helpful when you think
that the generated maximum rates are too low to be useful. The default is 500
with the following exceptions:
l Most Active Source Scalar and all UDP ports <9999 have their Outbound
'low' traffic threshold automatically set to system maximum rates, no
matter what their Traffic Statistics rate are. These thresholds can be
modified after creation if necessary by expert users.
l Changing the low traffic threshold from default 500 is not generally
recommended but any changes to the low traffic threshold will not
impact the exceptions noted.
l Changes to the low traffic threshold are persistent and will not revert to
defaults after use as was the case in previous releases.
For example, if the generated maximum packet rate for inbound Layer 4 TCP
packets is 2,000 and the outgoing rate is 3,000. The value of Layer 4 per-
centage is 300 (percent) and the value of Layer 4 low traffic threshold is
8,000. In this example:
l the recommended threshold for inbound packets is 6,000 (2,000 * 300%
= 6,000). However, because 6,000 is less than the low traffic threshold
of 8,000, the system sets the threshold to 8,000.
l the recommended threshold for outbound packets is 9,000 (3,000 *
300% = 9,000). Since 9,000 is greater than the low traffic threshold of
8,000, the system sets the threshold to 9,000.
To configure with the CLI, use a command sequence similar to the following:
config spp
edit <spp_name>
config ddos spp threshold-adjust
set threshold-adjustment-type system-recommendation
set threshold-system-recommended-report-period
{1-hour | 8-hours | 1-day | 1-week | 1-month | 1-
year}
set threshold-system-recommended-layer-3 {layer3-
percentage | layer3-factory-defaults}
set threshold-system-recommended-layer-3-percentage
<percent>
set threshold-system-recommended-layer-3-low-traffic
<integer>
set threshold-system-recommended-layer-4 {layer4-
percentage | layer4-factory-defaults}
set threshold-system-recommended-layer-4-percentage
<percent>
set threshold-system-recommended-layer-4-low-traffic
<integer>
set threshold-system-recommended-layer-7 {layer7-
percentage | layer7-factory-defaults}
set threshold-system-recommended-layer-7-percentage
<percent>
set threshold-system-recommended-layer-7-low-traffic
<integer>
end
The System Recommendations now creates a single port range from 10000 through 65535 and assigns inbound
and outbound thresholds which are calculated as the maximum packet rate of all these ports for that SPP.
Note that traffic originating from high ports and terminating on “service” ports (<10000) is always as associated
with the service port in either direction. That ensures that the graphs and reports are showing HTTP (80) or SMTP
(25) application traffic rather than randomly-selected high ports used by the application or firewall.
l Outbound Most Active Source and Outbound UDP ports (<10000) are set to factory high thresholds. This was done
to remove “noise” from outbound MAS and port traffic that is usually in Detection mode but is included in some
aggregate graphs and reports which can be confusing to users.
l 5060 and 5061 TCP/UDP ports are now rate limited, based on the System Recommendations above
Prior to setting System Recommendations, Traffic Statistics should be checked for high traffic on ports above
10000. This could include:
l Alternate HTTP/s service ports like TCP 8080, 8081, 8000, 4443, 10443, etc.
l UDP port 4500, used by IPSEC NAT Traversal
l TCP/UDP ports 5060/5061 for SIP
l Blocks of high ports used for specific custom application purposes (like gaming)
After System Recommendations have been created, it may be necessary to manually configure high port ranges
if:
l Specific high ports have very high traffic and you want to ensure the remaining ports use lower thresholds
l Specific high ports are in use but have significantly different data rates for the highest rate to lowest rate and
compared to unused ports.
One of the key features of the FortiDDoS solution is the availability of system recommended thresholds that are
adapted automatically according to statistical trends and tested heuristics. We recommend that in most cases,
you should rely on the system intelligence. In some cases, such as demonstration, test, and troubleshooting
situations, you might want to specify user-defined values for one or more thresholds. The threshold configuration
is open, and can be updated manually.
l You must have an expert understanding of packet rates and other Layer 3, Layer 4, and Layer 7 parameters that
you want to set manually. Refer to Understanding FortiDDoS rate limiting thresholds.
l You must have Read-Write permission for Protection Profile settings.
Scalars
syn Packet/second rate of SYN packets received. Threshold for a SYN Flood Layer 4
event. When total SYNs to the SPP exceeds the threshold, the SYN flood
mitigation mode tests are applied to all new connection requests from IP
addresses that are not already in the legitimate IP address table.
syn-per-src Packet/second rate of SYN packets from any one source. No single Layer 4
source in an SPP is allowed to exceed this threshold. Threshold for a
SYN Flood From Source event.The system applies the blocking period
for identified sources.
most-active-source Packet/second rate for the most active source. A source that sends pack- Layer 3
ets at a rate that surpasses this threshold is considered a threat.
Threshold for a source flood. No single source in an SPP is allowed to
exceed this threshold, and the system applies the blocking period for
identified sources.
concurrent-con- Count of TCP connections from a single source. The TCP connection Layer 4
nections-per-source counter is incremented when a connection moves to the established
state and decremented when a sessions is timed out or closes. This
threshold is used to identify suspicious source IP behavior. An inordinate
number of connections is a symptom of both slow and fast TCP con-
nection attacks. The system applies the blocking period for identified
sources. If the aggressive aging high-concurrent-connection-per-
source option is enabled, the system also sends a TCP RST to the
server to reset the connection.
syn-per-dst Packet/second rate for SYN packets to a single destination. When the Layer 4
per-destination limits are exceeded for a particular destination, the SYN
flood mitigation mode tests are applied to all new connection requests to
that particular destination. Traffic to other destinations is not subject to
the tests.The system applies the blocking period for identified sources.
method-per-source Packet/second rate for Method packets (GET, HEAD, OPTION, POST, Layer 7
etc) from a single Source. When the per-source limits are exceeded for a
particular source, the system applies the blocking period for identified
sources. The connection to the server may also be RST if Protection Pro-
files > SPP Settings > TCP Tab: Aggressive Aging TCP Connections
Feature Control: Layer 7 Flood is enabled.
most-active-des- Packet/second rate for the most active destination. A destination that is Layer 3
tination sent packets at this rate is considered under attack. Threshold for a des-
tination flood.
fragment Packet/second rate of fragmented packets received. Although the IP spe- Layer 3
cification allows IP fragmentation, excessive fragmented packets can
cause some systems to hang or crash.
dns-question-count Question count/second. Threshold for a DNS Question Flood event. Layer 7
dns-all Packet/second rate of DNS queries for all DNS records (QTYPE=255). Layer 7
Threshold for a DNS ALL Flood event.
dns-query-per-src Packet/second rate of normal DNS queries from any one source. No Layer 7
single source in an SPP is allowed to exceed this threshold. Threshold for
a DNS Query Per Source flood event. The system applies the blocking
period for identified sources.
HTTP Methods
HTTP/1.1 uses the fol- Packet/second rate for the specified HTTP method. Threshold for an Layer 7
lowing set of common HTTP method flood attack. When the maximum rate is reached, the sys-
methods: tem drops packets matching the parameter. If the aggressive aging lay-
l GET er7-flood option is enabled, the system also sends a TCP RST to the
l HEAD server to reset the connection.
l OPTIONS
l TRACE
l POST
l PUT
l DELETE
l CONNECT
Protocols
Protocol Start / End Packet/second rate for the specified protocol. Threshold for a Protocol Layer 3
Flood event.
When you specify a threshold for protocols, enter a range, even if you are
specifying a threshold for a single protocol. For example, to set a
threshold for protocol 6, enter 6 for both Protocol Start and Protocol End.
TCP Ports
Port Start / End Packet/second rate for the specified TCP port. Threshold for a Port Flood Layer 4
event. Monitoring the packet rate for ports is helpful to prevent floods
against a specific application such as HTML, FTP, SMTP or SQL. TCP
accommodates 64K (65,536) ports, most of which may never be used by
a particular server. Conversely, a server might see most or all of its traffic
on a small group of TCP ports. For this reason, globally assigning a
single threshold to all ports generally does not provide useful protection.
However, you can globally set a (usually low) TCP Port Threshold for all
TCP ports and then manually configure a higher threshold for the ports
your protected network is using.
When you specify a threshold for ports, you enter a range, even if you are
specifying a threshold for a single port. For example, to set a threshold
for port 8080, enter 8080 for both Port Start and Port End.
UDP Ports
Port Start / End Packet/second rate for the specified UDP port. Threshold for a Port Layer 4
Flood event.
When you specify a threshold for ports, you enter a range, even if you are
specifying a threshold for a single port. For example, to set a threshold
for port 53, enter 53 for both Port Start and Port End.
ICMP Types/Codes
ICMP Type/Code Packet/second rate for the specified ICMP type/code range. The ICMP Layer 4
Start/End header includes an 8-bit type field, followed by an 8-bit code field.
Threshold for an ICMP Type/Code Flood event.
A popular use for ICMP is the “Echo groping” message (type 8) and its
corresponding reply (type 0), which are often useful tools to test con-
nectivity and response time. In some cases, this message and reply can
also be used as an attack weapon to effectively disable a target system’s
network software. Take care when you set the ICMP type 0 and type 8
thresholds to ensure the desired functionality is preserved.
HTTP
URL Packet/second rate for packets with the specified URL match. When the Layer 7
maximum rate is reached, the system drops packets matching the para-
meter. If the aggressive aging layer7-flood option is enabled, the sys-
tem also sends a TCP RST to the server to reset the connection.
Specify the URL for a specific website. Botnets make it easy to launch
attacks on specific URLs. When such an attack happens, FortiDDoS can
isolate the URL and limit just the traffic that is associated with it, while all
other traffic is unaffected. The URL is found in the website’s HTTP GET
or POST operations. For example, the URL for http://www.web-
site.com/index.html is /index.html.
When you specify a threshold for a URL, the system generates a cor-
responding hash index value. FortiDDoS displays the hash index value in
the list of URL thresholds. Make note of it. You can use the hash value to
select this URL elsewhere in the web UI. To view statistics associated
with the threshold, go to Monitor > Specific Graphs > URLs, and then, for
Please enter URL/Hash index, enter either the original URL you spe-
cified or the hash index value.
The valid range of hash index values for URLs is 0-32k per SPP.
You can use the special prefix sys_reco_v to create hash index ranges
that aggregate URLs that you are interested in only as an aggregate. For
example, assume your team wants to pay close attention to a five web-
sites, and all others can be treated essentially the same. With the first
five, your configuration is specific, so you know the website URL and the
corresponding hash index, and you can use FortiDDoS to track it spe-
cifically. The system does not track the others with specificity, but you
can track, as an aggregate, whether those sites experience rising and fall-
ing rates, including attacks.
1. Create entries for the five priority websites and note their hash
index numbers. Let’s assume the hash index numbers are 1, 20,
21, 39, 40.
2. Create ranges to aggregate the gaps:
a. The first gap is from 2-19, so you create a configuration
named sys_reco_v2_19. This includes hash
numbers 2 through 19.
b. The second gap is from 22-38, so you create a
configuration named sys_reco_v22_38.
c. The next gap is from 41 to the end of the range, so you
create a configuration named sys_reco_v41_8192.
Note: You cannot carve out a small block out of a large block. If you want
to use hash index values that are already in use, you must delete the
existing range and then create two ranges.
Host, Referer, Cookie, Packet/second rate for packets with the specified header matches. When Layer 7
User-Agent headers the maximum rate is reached, the system drops packets matching the
parameter. If the aggressive aging layer7-flood option is enabled, the
system also sends a TCP RST to the server to reset idle connections. A
connection is deemed idle if it has not sent traffic in the last 2 minutes.
As with URL hash indexes, you can use the sys_reco_v prefix to
define hash index ranges that aggregate header values you are not spe-
cifically interested in.
The valid range of hash index values is 0-511 for each setting for each
SPP: Host, Referer, Cookie, User-Agent.
To configure with the CLI, use a command sequence similar to the following:
config spp
edit <spp_name>
config ddos spp scalar-threshold
edit <threshold_name>
set type {syn |syn-per-src | most-active-source |
concurrent-connections-per-source | most-
active-destination | method-per-source |
fragment | new-connections | syn-per-dst |
dns-query | dns-question-count | dns-mx-count
| dns-all | dns-zone-xfer | dns-fragment |
dns-query-per-src | dns-packet-track-per-src}
set inbound-threshold <integer>
set outbound-threshold <integer>
end
config ddos spp protocol-threshold
edit <threshold_name>
set protocol-start <protocol_int>
set protocol-end <protocol_int>
set inbound-threshold <integer>
set outbound-threshold <integer>
end
For example, outbound TCP 'floods' can result in the TCP session being removed from the session tables,
resulting in inbound traffic for that session being dropped as 'Foreign Packets'. Outbound Thresholds should be
tuned to ensure no drops are seen.
Note: Any manual entries based on the instructions below will be replaced if System Recommendations is run at
any time after the manual entry. If you are making manual changes, you can save these to a CSV file from the
Protection Profiles > Thresholds > Thresholds > Scalar page, for future reference.
Protocols Any meaningful label. The order is not important but Protocol number
Follow the field entry guidelines. Gen- ranges cannot overlap.
erally, non-unicode characters with no
spaces are allowed. For example, if there is a range of Protocol 18-
255 set and you want to add a specific
Threshold for Protocol 47 (GRE), you need to
delete the 18-155 range and create 3 new
ranges:
18-46
47-47
48-255
These can be created in any order but numer-
ical order makes it easier for future users to
understand.
TCP and UPD Must NOT match the System recom- Order not important but Port number ranges
Ports mended label (sys_reco_vX_Y). cannot overlap.
Otherwise, any meaningful label.
Follow field entry guidelines. Gen- For example if there is a range of Ports 10000-
erally non-unicode characters with no 65535 set and you want to add a specific
spaces are allowed. Threshold for Port 11211, you need to delete
the 10000-65535 range and create 3 new
ranges:
10000-11210
11211-11211
11212-65535
These can be created in any order but numer-
ical order makes it easier for future users to
understand.
ICMP Must NOT match the System recom- Order not important but Type/Code ranges can-
Types/Codes mended label (sys_reco_vX_Y). not overlap. There are 65535 possible ICMP
Otherwise, any meaningful label. Types and Codes, so modifying this manually
Follow the field entry guidelines. Gen- should not be done by non-experts.
erally non-unicode characters with no Please contact Fortinet TAC for help with this,
spaces are allowed. if needed.
URLs, Hosts, If you wish to add an individual entry Entries for these parameters are hashed by the
Referers, Cook- for any of these parameters, the label system and cannot be 'un-hashed' so are dif-
ies, User Agents must NOT match the System Recom- ficult to interpret. For this reason is it not
mended label (sys_reco_vX_Y). recommended that you attempt to change any
Otherwise, any meaningful label. Fol- HTTP parameter ranges. If these parameters
low field entry guidelines. Generally are causing issues, either manually change the
non-unicode characters with no thresholds only or re-run Traffic Statistics and
spaces allowed. System Recommendations to create new
ranges and Thresholds.
If you use specific and/or want to exclude specific high ports, you must enter these manually. You cannot have
overlapping port ranges. To add a port or range, first delete the existing range.
For example, if you want to allow Port 4500 for high traffic and leave all others as default:
l Go to Protection Profiles > Thresholds > Thresholds and note the settings so that you can later verify the
adjustment procedure or subsequently reset the thresholds to the values before the adjustment procedure.
l You must have Read-Write permission for Protection Profile settings.
For example:
100 pps Threshold + 20% adjustment = 120 pps
100 pps Threshold - 17% adjustment = -83 pps (Be careful while raising and lowering thresholds this
way.)
100 pps Threshold + 120% adjustment = 220 pps
Note: The default Percentage Adjust is 100% (double the Threshold). The modified entries in this parameter will
be persistent in 4.5.0 and it will not revert to default after use.
To configure with the CLI, use a command sequence similar to the following:
config spp
edit <spp_name>
config ddos spp threshold-adjust
set threshold-adjustment-type percent-adjust
set threshold-percent-adjust <percent_int>
end
Note: The entries on this page are persistent and will not revert to defaults after use, as in earlier releases. The
default entries are shown below.
Settings Guidelines
To configure with the CLI, use a command sequence similar to the following:
config spp
edit <spp_name>
config ddos spp threshold-adjust
set threshold-adjustment-type easy-setup
set threshold-easy-setup-inbound-syn-threshold
<integer>
set threshold-easy-setup-outbound-syn-
threshold <integer>
set threshold-easy-setup-inbound-syn-per-
source-threshold <integer>
set threshold-easy-setup-outbound-syn-per-
source-threshold <integer>
set threshold-easy-setup-inbound-most-active-
source-threshold <integer>
set threshold-easy-setup-outbound-most-active-
source-threshold <integer>
set threshold-easy-setup-inbound- concurrent-
connections-per-source-threshold <integer>
set threshold-easy-setup-outbound- concurrent-
connections-per-source-threshold <integer>
set threshold-easy-setup-inbound- concurrent-
invite-per-source-threshold <integer>
set threshold-easy-setup-outbound- concurrent-
invite-per-source-threshold <integer>
end
l You want to ensure that the application does not drop any packets due to rate thresholds. (The factory default
values are high so that the appliance can be placed inline and not immediately drop traffic.)
l You are conducting a demonstration or test, or you are troubleshooting an issue.
The following table summarizes 'factory reset' options.
Task Menu
Reset the threshold configuration and clear traffic history for an SPP. Protection Profiles > Factory
Reset
Reset the system to its factory state. All SPPs, statistics, and logs will See Resetting the system.
be deleted.
To configure with the CLI, use a command sequence similar to the following:
config spp
edit <spp_name>
config ddos spp threshold-adjust
set threshold-adjustment-type factory-defaults
set threshold-factory-defaults {enable | disable}
end
1. Go to Protection Profiles > Address > [Address Config | Address Config IPv6].
2. Select the SPP you want to configure from the drop-down list.
3. Click Add to display the configuration editor.
4. Complete the configuration as described in the following table.
5. Save the configuration.
Settings Guidelines
To configure with the CLI, use a command sequence similar to the following:
config spp
edit <spp_name>
config ddos spp {address | address6} <address_name>
spp-source-ip-address {<address_ipv4> | <address_
ipv6}
edit <name>
...
end
Settings Guidelines
Fragment
Fragment No parameters. If you configure an ACL rule to match the Fragment ser-
vice object, you are creating a rule to deny fragmented packets. Some
Internet technologies, such as multimedia streaming, rely on frag-
mentation. Ensure that you understand your network and its packet beha-
vior before you use the ACLs for fragmented packets.
Protocol
Protocol Start / End When you configure a service object for protocols, you enter a range, even
if you are specifying a single protocol. For example, to configure a service
object for protocol 6, enter 6 for both Protocol Start and Protocol End.
Networks use of some of the protocols, such as 1 (ICMP), TCP (6), and
UDP (17), ubiquitously. Ensure that you understand your network and its
packet behavior before you use the ACLs for protocols.
TCP Port
Port Start / End When you configure a service object for ports, you enter a range, even if
you are specifying a single port. For example, to configure a service object
for port 8080, enter 8080 for both Port Start and Port End.
UDP Port
Port Start / End When you configure a service object for ports, you enter a range, even if
you are specifying a single port. For example, to configure a service object
for port 53, enter 53 for both Port Start and Port End.
Settings Guidelines
ICMP Types/Code
ICMP Type/Code The header of Internet Control Message Protocol packets include an 8-bit
Start / End type field, followed by an 8-bit code field. The value of this field can be
read as a hexadecimal number.
When you create a service that specifies a URL to deny, enter the text that
follows the protocol and the web address. For example, if you enter
http://www.website.com/index.html in a browser to access a
specific URL, enter /index.html.
You can deny traffic by specifying the following HTTP header field types:
Host, Referer, Cookie, and User-Agent. This is useful when a specific
hash-index is under attack. FortiDDoS allows the source to establish the
TCP connection with the server. However, when FortiDDoS detects the
specified hash-index, it denies the packet and sends an RST packet to the
server to aggressively age the connection. The appliance treats all sub-
sequent packets from the source on that TCP connection as foreign pack-
ets and blocks the source for the specified blocking period.
DNS-Fragment
Settings Guidelines
The DNS Resource Record Type ACL allows blocking of any number of DNS Resource Record Types by
QTYPE number. The DNS QTYPE field allows 65,536 TYPES of which fewer than 100 are defined and less
are in common use.
DNS Resource Record Type ACLs are defined in numeric ranges. A single ACL entry has DNS Resource
Record Type Start = DNS Resource Record Type End.
An expert user can ACL any number of DNS Resource Record Types, such as those found in this IANA
list: https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml or the following RFCs:
[RFC6895][RFC1035].
DNS Resource Record Type DNS Resource Record Type Start. Range: 0 - 65535
Start
DNS Resource Record Type DNS Resource Record Type Start. Range: 0 - 65535
End
Packet Length
Certain types of attacks are characterized by very low per-Source and per-Destination-port data rates
while the aggregate traffic is very high, impacting links and infrastructure. These types of attacks gen-
erally use a common packet size but other parameters may be so diverse that it is not obvious. If under a
sustained attack with limited mitigation, use the Monitor > Packet Length > Distribution and Statistics
graphs to confirm the abnormal presence of a very large number of same-length packets. Enter the packet
length or jumbo-packet length range into this ACL.
Additional Packet Length ACL optional parameters: Optionally, use other graphs to determine if any para-
meters are appropriate to fine-tune the ACL. For example, same-length attacks are often UDP, so they can
use spoofed IPs. If so, add Protocol 17 to the ACL. Then only the UDP packets of the entered length will be
dropped by the ACL. Add more options if you have the information. This ACL should be used defensively,
during a major attack and should not be left in place permanently, since it will continue to drop even single
packets that meet the criteria. Any of the parameters below can be added but packets must match all criteria
to be dropped. For example, you can ACL only IPv4, UDP packets of 512 Bytes having the fragment flag set,
destined to port 5060. Multiple packet length ACLs can be added.
Settings Guidelines
Fragment Select to enable fragment. Packets of the entered length that have the
fragment flag set will be dropped.
Protocol Select to enable protocol. Enter Protocol Number 0-255. Packets of the
entered length and Protocol will be dropped.
TCP Port Select to enable TCP port. Enter Port Number 0-65535.
UDP Port Select to enable UDP port. Enter Port Number 0-65535.
ICMP Type Code Select to enable ICMP Type Code. Enter ICMP Type 0-255. Enter ICMP
Code 0-255.
To configure with the CLI, use a command sequence similar to the following:
config spp
edit <spp_name>
config ddos spp service
edit <service_name>
set type {fragment | protocol | tcp-port | udp-
port | icmp-type-code | url | host | referer
| cookie | user-agent | dns-fragment | dns-
resource-record-type| packet-length}
[set dns-resource-record-type-start <int_start>]
[set dns-resource-record-type-end <int_end>]
[set protocol-start <int_start>]
[set protocol-end <int_end>]
[set tcp-port-start <int_start>]
[set tcp-port-end <int_end>]
[set udp-port-start <int_start>]
[set udp-port-end <int_end>]
[set icmp-type <integer>[
[set icmp-code <integer>]
[set http-param <http_para_str>]
end
l IP Address
l Fragment
l Protocol
l TCP Port
l UDP Port
l ICMP Type/Code
l URL
Information about packets denied by an SPP ACL policy is reported in the following graphs and reports:
l You must have configured address objects and service objects that you want to match in policy rules. See
Configuring SPP ACL address objects and Configuring SPP ACL service objects.
l You must have Read-Write permission for Protection Profile settings.
Settings Guidelines
Type l Address
l Address IPv6
l Service
Settings Guidelines
Service
Direction l inbound
l outbound
To configure with the CLI, use a command sequence similar to the following:
config spp
edit <spp_name>
config ddos spp acl
edit <No.>
set type {v4address | v6address | service}
set direction {outbound inbound}
set source-address <address_name>
set v6address <address_name>
set address-action {deny | track-and-allow |
restrict DNS to specific subnets}
set service <service_name>
set service-action deny
end
FortiDDoS allows specific source and destination IPs or subnets to use Extended TCP Session timeout to
override the standard SPP TCP Session timeout and Slow Connection Tracking. This could be used by Hosting
providers to allow specific customers to log on to their servers via SSH or FTP, for example, for long periods,
without being timed-out, while the web servers are protected from Slow Connection attacks from other clients.
Normally you would not assign Extended TCP Session timeout to protected subnets as this would allow all
outside users to override slow connections and Idle timeouts.
To configure with the CLI, use a command sequence similar to the following:
config ddos spp address
edit 1
set type ip-netmask
set spp-source-ip-netmask 1.0.0.0/8
next
end
config ddos spp tcp-session-extended-timeout-policy
edit 1
set type v4address
set source-address 1
next
end
In some situations, you might want to both reset thresholds for a particular SPP and clear its traffic history. For
example, when:
Task Menu
Reset the threshold configuration and clear traffic history for an SPP See below.
Reset the system to its factory state. All SPPs, statistics, and logs will be deleted. See Resetting the
system.
To configure with the CLI, use a command sequence similar to the following:
config spp
edit <entry_index>
config ddos spp factoryreset
set reset enable
end
Monitor Graphs
You can use the Monitor graphs to track trends in throughput rates, source and destination traffic, connections,
and drops related to FortiDDoS detection and prevention settings.
l Port statistics
l SPP statistics
l SPP Policy Statistics
l SPP Policy Group Statistics
l Packet Length
l Aggregate drops
l Flood drops
l ACL drops
l Anomaly drops
l Hash attack drops
l Out of Memory drops
l Layer 3 threshold rate meters and counters
l Layer 4 threshold rate meters and counters
l Layer 7 threshold rate meters and counters
Each category includes one or more graphs, and each graph plots multiple queries. In addition, graphs can be
queried by SPP, time, and traffic direction (when relevant).
The multiple views and granular filters are useful for comparing and contrasting trends broadly, and for drilling
into details. For example, you can use the Aggregate drops graph to get an overall picture on security events and
see whether to review ACL graphs, flood graphs, or anomalies graphs next.
The following graph is an example of a monitor graph. It shows the following information for the selected SPP,
parameter, period, and direction:
l Threshold—The configured minimum threshold (matches the setting on the Protection Profiles > Thresholds >
Thresholds page).
l Throughput—A graph of the throughput rate for the selected protocol during the time period.
l Packets dropped—A graph of packets dropped because the threshold was exceeded.
l Packets blocked—A graph of packets blocked due to the application of blocking periods.
l Data resolution—Whether data points for the graph are rolled up in 5 minute, 1 hour, 3 hour, or 45 hour windows.
Drilling-down
In aggregate graphs, the legend includes a graph icon that is a link to a graph of the item of interest. For
example, The following figure shows the Aggregate Drops graph. The graph indicates that there are Flood drops,
so you can click the graph icon next to Flood Drops in the legend to display the Flood Drops graphs.
l Definitions
l Graphs showing data rates
l Graphs showing drops
Definitions
l Graph Period - The links at the top-right of every graph page select the full period (width) of the graph.
l Data Resolution Period - When a Graph Period is selected, the Data Resolution Period (scale) of the graph is
automatically changed. This shows the measurement interval within the Graph Period. The Data Resolution Period
is always displayed at the top-left of the graph page. This Period is the time between each graph point on the x-axis
of the graph.
Sub-graph labels
Many graphs include several sub-graphs and two types of sub-graphs – data rates and drops – for specific
parameters. If not obvious from the graph types, labels below the graph will include one of two labels:
Port Statistics Graphs calculate the AVERAGE data rate over a 30-second period and depending on the graph
Period (upper-right 1-hour, 8-hour, 1-day, etc. selection), display:
l For 1-hour selection, the AVERAGE data rate per 30-second period
l For all other Period selections, the graph shows the MAXIMUM of the 30-second AVERAGE rates across the Period
Selected. For example, for the:
l 1-day Period, the graph shows the Maximum of the 30-second AVERAGES across a 5-minute period.
l 1-week Period, the graph shows the Maximum of the 30-second AVERAGES across a 1-hour period.
l For 1-hour, 8-hour and 1-day selections, the MAXIMUM data rate per 5-minute period.
l For all other Period selections, the graph shows the MAXIMUM of the 5-minute MAXIMUM rates across the Period
Selected. For example, for the:
l 1-week Period, the graph shows the MAXIMUM of the 5-minute MAXIMUM rates across a 1-hour period.
l 1-month Period, the graph shows the MAXIMUM of the 5-minute MAXIMUM rates across a 3-hour period.
For 1-hour, 8-hour and 1-day Periods, the Data Resolution Period is 5-minutes and the drop graph shows the
maximum drops per-5-minute interval.
For Periods longer than 1-day, drops are not aggregated - only the maximum 5-minute interval over each Data
Resolution Period is displayed. For example, for a 1-week Period (top-right of the page), the Data Resolution
Period (top-left) is 1-hour and the drop graphs will show the maximum 5-minute drops for any of the 12 x 5-minute
intervals in that hour. The drops are not accumulated for the entire hour. The same is true for longer Periods.
For any Period, Log & Report > Executive Summary > DDoS Attack Log will display the total drops for that
period for specific types of attacks. The Detail icon will display the drops for EVERY 5-minute interval (or shorter
for some Floods) over the Period.
Drop labels
To display both large flood drops and smaller anomaly drops, on the same graph, set the Y-axis view to
'Logarithmic' at the top-right of the page.
You use the Port Statistics graphs to monitor network interface throughput. FortiDDoS ports are configured as
network interface pairs. You configure odd-numbered ports for the LAN-side connection and even-numbered
ports for the WAN-side connection.
Note: Port statistics are not maintained per SPP. You cannot query by SPP, and port statistics are not reset when
you reset SPP statistics. Port statistics are global data that gets reset only when you perform a complete factory
reset and reformat the log disk.
Note: For Port Statistics graphs, the data resolution for the 1 hour period is 30 seconds.
You use the SPP Statistics graphs to monitor overall throughput for a selected SPP.
SPP Policy Statistics graphs show the inbound and outbound ingress and egress traffic for individual SPP Policies
(subnets). Administrators can use these graphs to observe specific traffic to an SPP Policy and since SPP Policies
can be configured from a single IP to a large subnet, considerable flexibility is offered to see traffic patterns and
attacks to protected devices. No drops are shown on these graphs, but divergence of the green and blue graph
lines will clearly show attack events.
MSSP users will see only those SPP Policy graphs that 'belong' to their credentials. They will not see Port or other
traffic graphs. Also, see the SPP Policy Group Statistics graphs.
SPP Policy Group Statistics graphs show the inbound and outbound ingress and egress traffic for the sum of all
SPP Policies (subnets) in a Policy Group. Administrators can use these graphs to observe traffic to groups of SPP
Policies. For example, each web server can be set up as a single SPP /32 Policy and those Policies can be
grouped into a Web server Group. No drops are shown on these graphs, but divergence of the green and blue
graph lines clearly shows attack events.
MSSP users will see one or more SPP Policy Group graphs for all the SPP Policies that 'belong' to their
credentials. For most MSSP users, a single Group graph will effectively show the link traffic rate from their ISP to
their site, replacing the Port Statistics graphs.
The SPP Policy Group Statistics set includes the following graphs:
Certain types of attacks are characterized by very low per-Source and per-Destination-port data rates while the
aggregate traffic is very high, impacting links and infrastructure. These types of attacks generally use a common
packet size but other parameters may be so diverse that it is not obvious. If under a sustained attack with limited
mitigation, use the Monitor > Packet Length > Distribution and Statistics graphs to confirm the abnormal
presence of a very large number of same-length packets. Then use a packet length ACL to drop these packets
during the attack.
Graph Options
The Packet Length graph displays the packet size distribution at any given reporting period within the last one
year. This graph can be viewed in several ways to improve resolution:
l Histogram: Histogram shows the distribution of packet sizes with a vertical bar indicating the number of this-sized
packets seen in the 5-minute reporting period. For example, packet size 64 (Bytes) had x packets, packet size 65
had y packets and so on. Placing the tool tip over the vertical bar shows the packet size and number of packets in
the sample. It is generally very clear if a specific packet size is predominating.
To view widely diverse numbers of packets, select the Logarithmic y-axis as shown below.
l Cumulative Distribution Function: Cumulative Distribution Function (CDF) graph is a better tool for scenarios
such as a large DDoS attack. A CDF graph shows the distribution of the samples among values. This graph displays
a quick view of an unusual distribution of packet sizes.
l Playback Function: The Packet Length Graph can be 'played' forward or backward. This will display the changing
packet size distribution over time which is useful for gauging if a particular packet size is part of an attack.
Once you have identified a predominant packet size in an attack, you can create a Packet Length ACL in
Protection Profiles > Service Config. The Packet Length ACL can also use other information gathered on the
attack, such as Protocol and IP version to better target the ACL. See the section 'Configuring SPP ACL service
objects' under Configuring SPP ACL policies.
Statistics Graph
If a packet size is predominated and appears to be an attack, you can view this size over time in the Statistics
Graph. For example, the above graphs shows a 'spike' of 1518 Byte packets.
l Normal: Go to Packet Length > Statistics and enter this size in the Please specify Packet Length field and click
Show Graph.
l Jumbo: Go to Packet Length > Statistics, select Jumbo and the Packet length range from the drop-down.
The graph below shows that this specific packet size had never passed through FortiDDoS during the previous
month, except for one brief interval. This could signify an attack using that packet size.
You use the Aggregate Drops graph to monitor trends in drops over time. The Aggregate Drops graph plots the
following data:
You use the Flood Drops graphs to monitor drops due to SPP packet rate thresholds that detect flood attacks.
You can customize the following query terms: SPP and period.
Click the graph icon in the legend to drill down from aggregate statistics to more
specific queries.
Statistic Description
Aggregate
Layer 3
Protocols Aggregation of drops due to protocols thresholds. These counters track the
packet rate for each protocol.
Fragmented Packets Drops due to the fragment threshold. This counter tracks packet fragments
received.
Source Flood Drops due to the most-active-source threshold. This counter tracks packets
from source IP addresses.
Destination Flood Drops due to the most-active-destination threshold. This counter tracks pack-
ets to protected IP addresses.
Statistic Description
Layer 4
SYN Drops due to syn threshold. This counter tracks the SYN packet rate for all traffic
belonging to the SPP.
TCP Ports Aggregation of drops due to the thresholds for TCP ports.
UDP Ports Aggregation of drops due to the thresholds for UDP ports.
ICMP Types/Codes Aggregation of drops due to the SPP thresholds for ICMP types/codes.
Zombie Flood Drops due to the new-connections threshold, which sets a limit for legitimate
IPs. FortiDDoS assumes a zombie flood is underway when the number of
allowed legitimate IP addresses during a SYN flood exceeds a set threshold.
These packets indicate that non-spoofed IP addresses are creating a DDoS
attack by generating a large number SYN packets.
SYN Per Source Flood Drops due to the syn-per-source threshold. This counter tracks SYN packets for
each source.
Slow Connection Drops due to slow connection detection and blocking of identified sources of slow
connection attacks.
Unsolicited DNS Drops when a DNS response is received but there is no DNS query entry in the
Response Drop DNS query response matching table.
LQ Drops Drops during a Query Flood when the query is not in the legitimate query (LQ)
table.
TTL Drop Drops during a Query Flood when a source IP address sends a repeated DNS
query for the same destination before the TTL has expired. It is expected that
the query should not be repeated until the TTL expires.
Cache Drop Drops during a Query Flood when a response was served from the cache or
because a response was not found in the cache and the system is configured to
drop such queries.
Statistic Description
Query Per Source Drop Drops due to the dns-query-per-src threshold. This counter tracks DNS queries
from source IP addresses.
Suspicious Sources Drop Drops due to the dns-packet-track-per-src threshold. This counter tracks
sources that demonstrate suspicious activity (a score based on heuristics that
count fragmented packets, response not found in DQRM, or queries that gen-
erate responses with RCODE other than 0).
TCP Query Drop Drops due to the dns-query threshold for TCP traffic.
TCP Question Drop Drops due to the dns-question-count threshold for TCP traffic.
TCP MX Drop Drops due to the dns-mx-count threshold for TCP traffic.
TCP All Drop Drops due to the dns-all threshold for TCP traffic.
TCP Zone Transfer Drop Drops due top the dns-zone-xfer threshold for TCP traffic.
Method Flood Aggregation of drops due to the thresholds for HTTP Methods.
User Agent Flood Aggregation of drops due to thresholds for User Agent headers.
Methods per Source Packet/second rate for Method packets (GET, HEAD, OPTION, POST, etc) from
Flood a single Source. When the per-source limits are exceeded for a particular source,
the system applies the blocking period for identified sources. The connection to
the server may also be RST if Protection Profiles > SPP Settings > TCP Tab:
Aggressive Aging TCP Connections Feature Control: Layer 7 Flood is enabled.
Sample Graphs
Figure 113: Flood Drops Aggregate graph
You use the ACL Drops graphs to monitor drops due to Global ACL and SPP ACL rules.
Note: If ACL is set and unset within 5 minutes, any drops associated with this ACL will be shown under Flood
Drops instead of ACL drops.
Click the graph icon in the legend to drill down from aggregate statistics to more
specific queries.
The following table summarizes the statistics displayed in the graphs. You can customize the following query
terms: SPP and period.
Statistic Description
Aggregate
Packet Length Denied An aggregation of drops denied by SPP Service Config ACL Packet Length
Drops rule.
Layer 3
Protocol Denied Drops Drops due to ACL rules based on service protocol.
Fragmented Packet Drops due to ACL rules based on service object Fragment.
Denied Drops
Address Denied Drops due to ACL rules based on IP address, geolocation, IP reputation, or
local address anti-spoofing rules.
Statistic Description
Layer 4
TCP Denied Drops Drops due to ACL rules based on service object TCP-Port.
UDP Denied Drops Drops due to ACL rules based on service object UDP-Port.
ICMP Type/Code Drops due to ACL rules based on service object ICMP-Type-Code.
Denied Drops
Frag Drops Drops due to SPP Service Config ACL rules based on service object DNS-
Fragment.
MX Drops Drops due to SPP Service Config ACL rules based on service object DNS-
MX.
Qtype All Drops Drops due to SPP Service Config ACL rules based on service object DNS-
ALL.
Zone Transfer Drops Drops due to SPP Service Config ACL rules based on service object DNS-
Zone-Transfer.
Query Restricted to Drops due to SPP Address Config and Access Control List ACL rules to
Specific Subnet Drops Restrict DNS Queries To Specific Subnets.
DNS Resource Record Drops due to SPP Service Config ACL rules based on service object DNS
Type Blocked Resource Record Type.
URL Denied Drops Drops due to ACL rules based on service object URL.
Host Denied Drops Drops due to ACL rules based on service object Host.
Cookie Denied Drops Drops due to ACL rules based on service object Cookie.
Referer Denied Drops Drops due to ACL rules based on service object Referer.
User Agent Denied Drops due to ACL rules based on service object User-Agent.
Drops
Sample Graphs
Figure 119: ACL Drops Aggregate graph
You use the Anomaly Drops graphs to monitor drops due to Layer 3, Layer 4, and Layer 7 protocol anomalies.
You can customize the following query terms: SPP, period, direction.
Click the graph icon in the legend to drill down from aggregate statistics to more
specific queries.
Statistic Description
Aggregate
Layer 3
Statistic Description
Source and Destination Drops due to an anomaly that is detected when source and destination
Address Match - Pack- addresses are the same (LAND attack).
ets/5-Minute Period
Source/Destination as Drops due to an anomaly that is detected when source or destination address is
LocalHost - Packets/5- the same as the localhost (loopback address spoofing).
Minute Period
TCP Invalid Flag Com- Drops due to invalid flag combinations, such as SYN/RST.
bination - Packets/5-
Minute Period
Statistic Description
Invalid ICMP Type/Code Trend in packets dropped due to invalid ICMP type/code anomaly enabled in
(Global option) - Pack- Global Settings.
ets/5-Minute Period
GRE Checksum Error - Drops due to Service Provider GRE checksum errors. GRE checksum errors will
Packets/5-Minute Period always be reported in SPP-0.
Forward Transmission Drops due to packets outside the receiver’s TCP or UDP windows (when the Pro-
Not Within Window - tection Profiles > SPP Settings > TCP session feature control seq-validation
Packets/5-Minute Period option is enabled).
Reverse Transmission Drops due to packets outside the receiver’s TCP or UDP windows (seq-val-
Not Within Window - idation).
Packets/5-Minute Period
TCP State Transition - Drops due to packets that violate the TCP Protocol state transition rules or
Packets/5-Minute Period sequence numbers (state-transition-anomalies-validation).
Foreign Packets (Out of Drops due to packets that do not belong to a known TCP connection (foreign-
State) - Packets/5- packet-validation). For example, when the system receives a packet for a con-
Minute Period nection that has not been established with a SYN exchange.
Statistic Description
Known Method - Pack- Drops the packet if its method matches with any of the eight known OpCodes but
ets/5-Minute Period the same is not allowed method.
Unknown Method - Pack- Drops due to packets with an invalid HTTP method.
ets/5-Minute Period
Invalid HTTP Version - Drops due to packets with an invalid HTTP version.
Packets/5-Minute Period
Range Present - Pack- Drops due to packets with a header range request. Present when Global Settings
ets/5-Minute Period > Settings > Settings > General Tab > Drop HTTP Range Header is ENABLED.
Incomplete HTTP Drops due to HTTP requests that do not end in the correct end-of-packet inform-
Request - Packets/5- ation. Present when Protection Profiles > SPP Settings > Slow Connection tab >
Minute Period Block Incomplete HTTP Requests is ENABLED.
Invalid Opcode - Pack- Drops due to an invalid value in the OpCode field.
ets/5-Minute Period
Illegal Flag - Packets/5- Drops due to an invalid combination in the flags field.
Minute Period
Source/Destination Both Drops due to source and destination port both being port 53.
port 53 - Packets/5-
Minute Period
Statistic Description
Query Bit Set - Pack- Drops due to a DNS query with the query reply (QR) bit set to 1. In a legitimate
ets/5-Minute Period query, QR=0.
RA Bit Set - Packets/5- Drops due to a DNS query with the recursion allowed (RA) bit set. The RA bit is
Minute Period set in responses, not queries.
Null Query - Packets/5- Drops due to a DNS query in which the question, answer, additional, and name
Minute Period server counts are 0.
QD Count not One - Drops due to the number of entries in the question section of the DNS packet not
Packets/5-Minute Period equal to 1. Normally, a DNS query includes one question.
QClass in Response - Drops due to a DNS response with a resource specifying a CLASS ID reserved for
Packets/5-Minute Period queries only (QCLASS).
Qtype in Response - Drops due to a DNS response with a resource specifying a TYPE ID reserved for
Packets/5-Minute Period queries only (QTYPE).
Query bit not set - Pack- Drops due to a DNS response with the query reply (QR) bit set to 0. In a legit-
ets/5-Minute Period imate response, QR=1.
QD count not 1 - Pack- Drops due to the number of entries in the question section of the DNS packet not
ets/5-Minute Period equal to 1. Normally, a DNS response includes one question.
Message too long - Pack- Drops due to a TCP or UDP query or response message that exceeds the max-
ets/5-Minute Period imum length specified in the message header.
Name too long - Pack- Drops due to a DNS name that exceeds 255 characters.
ets/5-Minute Period
Label length too large - Drops due to a query or response with a label that exceeds the maximum length
Packets/5-Minute Period (63) specified in the RFC.
Pointer loop - Packets/5- Drops due to a DNS message with a set of DNS pointers that form a loop.
Minute Period
Zone Transfer - Pack- Drops due to an asynchronous Transfer Full Range (AXFR) request (QTYPE-
ets/5-Minute Period E=252) from untrusted network.
Statistic Description
Class not in - Packets/5- Drops due to a query or response in which the question/resource address class is
Minute Period not IN (Internet Address).
Type all used - Pack- Drops due to a query for ALL resource records.
ets/5-Minute Period
Invalid type class - Pack- Drops due to invalid type or class data.
ets/5-Minute Period
Extra data - Packets/5- Drops due to data in fields where no data is expected.
Minute Period
TTL too long - Packets/5- Drops due to a TTL value is greater than 7 days (or 604800 seconds).
Minute Period
Name length short - Drops due to a message with a null DNS name.
Packets/5-Minute Period
Sample Graphs
Figure 125: Anomaly Drops Aggregate graph
You use the Hash Attacks Drops graphs to monitor drops due to hash attacks on the FortiDDoS system. If these
graphs report any dropped traffic, contact Fortinet for assistance.
l Aggregate
l Source Table
l Destination Table
l Connection Table
l DNS Query Response Table
You can customize the following query terms: SPP, period, direction.
Click the graph icon in the legend to drill down from aggregate statistics to more
specific queries.
Statistic Description
Aggregate Aggregate of all Hash Attack Drops. In general Hash Attack Drops indicate that
the system is being attacked by identical packets that are not being mitigated by
Layer 3 any other means. This often means that the system is miss-configured. Please
contact Fortinet support if seen. Also review the Dashboard > Data Path
Agrregate Resources table to see if resources are at capacity.
Source Table
Destination Table
Layer 4
Statistic Description
Layer 7 Hash attack drops are acceptable here, indicating low numbers of identical Quer-
ies (usually inbound) that are arriving faster than DNS RFCs allow but are not
DNS Query Response triggering Query Thresholds. Generally, drops will be small. If >5000 drops are
Table seen, contact Fortinet support.
You use the Out of Memory Drops graphs to monitor drops due to memory attacks on the FortiDDoS system. If
these graphs report any dropped traffic, contact Fortinet for assistance.
l Aggregate
l Source Table
l Destination Table
l Connection Table
l DNS Query Response Table
You can customize the following query terms: SPP, period, direction.
Click the graph icon in the legend to drill down from aggregate statistics to more
specific queries.
Statistic Description
Aggregate Out of Memory drops indicate that the system is being attacked by millions of
diverse packets that are not being mitigated by any other means. Properly sized
Layer 3 and configured systems should not see any Layer 3, 4 or 7 Memory Drops.
Contact Fortinet support if seen. Also review the Dashboard > Data Path
Agrregate Resources table to see if resources are at capacity.
Source Table
Destination Table
Layer 4
Layer 7
Sample graphs
Figure 141: Out of Memory Drops Aggregate graph
You use the Layer 3 graphs to monitor trends in Layer 3 counters. You can customize the following query terms:
SPP, period, direction.
Statistic Description
Most Active Source Ingress Max Packet Trend in observed ingress packet rate of the most active source
Rate - Packets/sec address. Note that this is not necessarily a graph of the same
source over time, but rather a trend of the rate for the most act-
ive source during each sampling period.
Most Active Source Egress Max Packet Trend in observed egress packet rate of the most active source
Rate - Packets/sec address. Note that this is not necessarily a graph of the same
source over time, but rather a trend of the rate for the most act-
ive source during each sampling period.
Most Active Source Estimated Threshold Trend in the estimated threshold. In contrast to the configured
- Packets/sec minimum threshold, which is based on a snapshot of previously
recorded data, the estimated threshold adjusts as more traffic is
observed. It is almost always higher than the configured min-
imum threshold. It is based on algorithms designed to dis-
tinguish attack traffic from traffic increases that are the result of
legitimate users accessing protected resources. Factors include
historical data, trend, and seasonality.
Most Active Source Packets Dropped - Trend in drops due to the effective rate limit for the most-act-
Packets/5-Minute Period ive-source threshold.
Statistic Description
Most Active Destination Ingress Max Trend in observed ingress packet rate of the most active des-
Packet Rate - Packets/sec tination address. Note that this is not necessarily a graph of the
same destination over time, but rather a trend of the rate for the
most active destinations during each sampling period.
Most Active Destination Egress Max Trend in observed egress packet rate of the most active des-
Packet Rate - Packets/sec tination address. Note that this is not necessarily a graph of the
same destination over time, but rather a trend of the rate for the
most active destinations during each sampling period.
Most Active Destination Packets Dropped Trend in drops due to the effective rate limit for the most-act-
- Packets/5-Minute Period ive-destination threshold.
Unique Sources Trend in the count of unique source IP addresses in the session
table. A spike in this graph indicates a possible DDoS attack.
Fragmented Packets
Fragmented Ingress Max Packet Rate - Trend in observed ingress packet rate of fragmented packets.
Packets/sec
Fragmented Egress Max Packet Rate - Trend in observed egress packet rate of fragmented packets.
Packets/sec
Fragmented Packets Dropped - Pack- Trend in drops due to the effective rate limit for the fragment
ets/5-Minute Period threshold.
Fragmented Packets Blocked - Pack- Trend in drops due to blocking periods that were triggered when
ets/5-Minute Period the system detected an attack based on the fragment counter.
Address Denied
Geo Location Drops - Packets/Period Trend in drops due to global ACL rules that deny traffic from spe-
cified Geolocations.
Denied Address Drops - Packets/Period Trend in drops due to global ACL rules or SPP ACL rules that
deny traffic from specified IP addresses.
Statistic Description
Local Address Anti-Spoof Denied Drops - Trend in drops due to global anti-spoofing rules.
Packets/5-Minute Period
Protocols
Protocol <Number> Ingress Max Packet Trend in observed ingress packet rate for the specified protocol.
Rate - Packets/sec A spike in this graph shows a possible protocol flood.
Protocol <Number> Egress Max Packet Trend in observed egress packet rate for the specified protocol.
Rate - Packets/sec A spike in this graph shows a possible protocol flood.
Protocol <Number> Packets Dropped - Trend in packets dropped due to the effective rate limit.
Packets/5-Minute Period
Protocol <Number> Packets Blocked - Trend in packets blocked due to related blocking periods.
Packets/5-Minute Period
Delivery GRE
Delivery GRE Ingress Max Packet Trend in observed ingress packet rate of Cloud DDoS Service
Rate/Sec Provider GRE.
Delivery GRE Egress Max Packet Trend in observed egress packet rate of Cloud DDoS Service
Rate/Sec Provider GRE.
Note: GRE is used only when Cloud DDoS Mitigation partners are sending clean traffic from their scrubbing
centers through FortiDDoS to a terminating firewall. The graph displays traffic when:
- GRE Tunnel Endpoints are configured in Global Settings > Settings > GRE Tunnel Endpoint.
- Inner header Destination IPs in the GRE traffic are matched to the selected SPP.
- Delivery GRE traffic will never be blocked. Mitigation may be performed on the inner traffic that has been
GRE-encapsulated.
This allows continued monitoring, mitigation and graphing of SPP Policies (subnets) even if the subnet has
been diverted to the Cloud Mitigation partner. GRE traffic from other sources than the Cloud Mitigation part-
ner, will be displayed as protocol 47 traffic in the appropriate SPP.
Sample graphs
Figure 142: Most Active Source
You use the Layer 4 graphs to monitor trends in Layer 4 counters. You can customize the following query terms:
SPP, period, direction.
Statistic Description
SYN Packets
SYN Ingress Max Packet Trend in observed ingress maximum packet rate (SYN packets/second).
Rate - Packets/sec
SYN Egress Max Packet Rate Trend in observed egress maximum packet rate (SYN packets/second).
- Packets/sec
SYN Packets Estimated Trend in the estimated threshold. In contrast to the configured minimum
Threshold - Packets/sec threshold, which is based on a snapshot of previously recorded data, the
estimated threshold adjusts as more traffic is observed. It is almost always
higher than the configured minimum threshold. It is based on algorithms
designed to distinguish attack traffic from traffic increases that are the result
of legitimate users accessing protected resources. Factors include historical
data, trend, and seasonality.
SYN Packets Dropped - Pack- Trend in drops due to the effective rate limit for the syn threshold.
ets/5-Minute Period
SYN Per Source Ingress Max Trend in observed ingress maximum rate of SYN packets from a single
Packet Rate - Packets/sec source. A spike in this graph shows a possible SYN attack from a single
source or a few sources.
Statistic Description
SYN Per Source Egress Max Trend in observed egress maximum rate of SYN packets from a single
Packet Rate - Packets/sec source. A spike in this graph shows a possible SYN attack from a single
source or a few sources.
SYN Per Source Packets Trend in drops due to the effective rate limit for the syn-per-source
Dropped - Packets/5-Minute threshold.
Period
SYN Per Destination Trend in observed ingress maximum rate of SYN packets to a single des-
IngressMax Packet Rate - tination. A spike in this graph shows a possible SYN attack on a single des-
Packets/sec tination or a few destinations.
SYN Per Destination Egress Trend in observed egress maximum rate of SYN packets to a single des-
Max Packet Rate - Pack- tination. A spike in this graph shows a possible SYN attack on a single des-
ets/sec tination or a few destinations.
SYN Per Destination Drops - Trend in drops due to the effective rate limit for the syn-per-dst threshold.
Packets/5-Minute Period
Max Concurrent Connections Trend in observed count of concurrent connections for the busiest source. A
Per Source spike in this graph shows that a single source may be trying to establish too
many connections.
Concurrent Connections Trend in drops due to the effective rate limit for the concurrent-con-
Dropped Per Source - Pack- nections-per-source threshold.
ets/5-Minute Period
New Connections
Max New Connections Estab- Trend in observed packet rate of new connections. A spike in this graph
lishment - Connections/sec shows a possible concerted DoS or DDoS attack.
Statistic Description
New Connections Dropped - Trend in drops due to the effective rate limit for the new-connections
Drops/ Packets/5-Minute threshold.
Period
Non-Spoofed IPs
Entries in LIP Address Table Trend in count of entries in the legitimate IP address table.
Established Connections
Established Connections Trend in count of entries in the TCP state table that are in the established
state (completed three-way handshake).
Number of Entries in TCP Trend in count of entries in the TCP state table, including half-open con-
State Table nections. If the values for the number of entries in the TCP state table are
significantly higher than those for established connections, it shows a pos-
sible SYN flood attack.
Slow Connections
TCP Ports
TCP <Port> Ingress Max Trend in observed ingress maximum packet rate to the specified port. A
Packet Rate - Packets/sec spike in this graph shows a possible port flood.
TCP <Port> Egress Max Trend in observed egress maximum packet rate to the specified port. A spike
Packet Rate - Packets/sec in this graph shows a possible port flood.
TCP <Port> Packets Dropped Trend in packets dropped due to the effective rate limit.
- Packets/ Packets/5-Minute
Period
TCP <Port> Packets Blocked Trend in packets blocked due to related blocking periods.
- Packets/5-Minute Period
UDP Ports
Statistic Description
UDP <Port> Ingress Max Trend in observed ingress maximum packet rate to the specified port. A
Packet Rate - Packets/sec spike in this graph shows a possible port flood.
UDP <Port> Egress Max Trend in observed egress maximum packet rate to the specified port. A spike
Packet Rate - Packets/sec in this graph shows a possible port flood.
UDP <Port> Packets Dropped Trend in packets dropped due to the effective rate limit.
- Packets/5-Minute Period
UDP <Port> Packets Blocked- Trend in packets blocked due to related blocking periods.
Packets/5-Minute Period
ICMP Type/Code
ICMP <Index> Egress Max Trend in observed egress maximum packet rate of packets with the specified
Packet Rate - Packets/sec ICMP type/code. A spike in this graph shows a possible ICMP flood.
ICMP <Index> Packets Trend in packets dropped due to the effective rate limit.
Dropped - Packets/5-Minute
Period
ICMP <Index> Packets Trend in packets blocked due to related blocking periods.
Blocked - Packets/5-Minute
Period
Sample Graphs
Figure 149: SYN Packets
You can customize the following query terms: SPP, period, direction.
Statistic Description
HTTP Methods
HTTP Method Ingress Max Trend in observed ingress maximum rate for the selected HTTP method.
Packet Rate - Packets/sec The following methods are available:
l GET
l HEAD
l OPTIONS
l TRACE
l POST
l PUT
l DELETE
l CONNECT
Statistic Description
HTTP Method Egress Max Trend in observed egress maximum rate for the selected HTTP method. The
Packet Rate - Packets/sec following methods are available:
l GET
l HEAD
l OPTIONS
l TRACE
l POST
l PUT
l DELETE
l CONNECT
HTTP Method Estimated Trend in the estimated threshold. In contrast to the configured minimum
Threshold - Packets/sec threshold, which is based on a snapshot of previously recorded data, the
estimated threshold adjusts as more traffic is observed. It is almost always
higher than the configured minimum threshold. It is based on algorithms
designed to distinguish attack traffic from traffic increases that are the result
of legitimate users accessing protected resources. Factors include historical
data, trend, and seasonality.
GET Packets Dropped - Pack- Trend in packets dropped due to the effective rate limit.
ets/5-Minute Period
HTTP Methods per Source Trend in observed ingress maximum rate for the HTTP method from a single
Ingress Max Packet Rate - source.
Packets/Sec
HTTP Methods per Source Trend in observed egress maximum rate for the HTTP method from a single
Egress Max Packet Rate - source.
Packets/Sec
HTTP Methods per Source Drops due to HTTP method per source threshold.
Packets Dropped - Packets/5-
Minute Period
HTTP URLs
URL <Index> Egress Max Trend in observed egress maximum packet rate of packets with the specified
Packet Rate- Packets/Sec request URL. A spike in this graph shows a possible URL flood.
Statistic Description
URL <Index> Packets Trend in packets dropped due to the effective rate limit.
Dropped - Packets/5-Minute
Period
HTTP Hosts
Host <Index> Ingress Max Trend in observed ingress maximum packet rate of packets with the spe-
Traffic - Packets/Sec cified Host header. A spike in this graph shows a possible Host flood.
Host <Index> Egress Max Trend in observed egress maximum packet rate of packets with the specified
Traffic - Packets/Sec Host header. A spike in this graph shows a possible Host flood.
Host <Index> Packets Trend in packets dropped due to the effective rate limit.
Dropped - Packets/5-Minute
Period
Host <Index> Packets Trend in packets blocked due to related blocking periods.
Blocked - Packets/5-Minute
Period
HTTP Referers
Referer <Index> Ingress Max Trend in observed ingress maximum packet rate of packets with the spe-
Traffic - Packets/Sec cified Referer header. A spike in this graph shows a possible Referer flood.
Referer <Index> Egress Max Trend in observed egress maximum packet rate of packets with the specified
Traffic - Packets/Sec Referer header. A spike in this graph shows a possible Referer flood.
Referer <Index> Packets Trend in packets dropped due to the effective rate limit.
Dropped - Packets/5-Minute
Period
Referer <Index> Packets Trend in packets blocked due to related blocking periods.
Blocked - Packets/5-Minute
Period
HTTP Cookies
Cookie <Index> Ingress Max Trend in observed ingress maximum packet rate of packets with the spe-
Traffic - Packets/Sec cified cookie header. A spike in this graph shows a possible Cookie flood.
Cookie <Index> Egress Max Trend in observed egress maximum packet rate of packets with the specified
Traffic - Packets/Sec cookie header. A spike in this graph shows a possible Cookie flood.
Statistic Description
Cookie <Index> Packets Trend in packets dropped due to the effective rate limit.
Dropped - Packets/5-Minute
Period
Cookie <Index> Packets Trend in packets blocked due to related blocking periods.
Blocked - Packets/5-Minute
Period
User Agents <Index> Ingress Trend in observed ingress maximum packet rate of packets with the spe-
Max Traffic - Packets/Sec cified user agent header. A spike in this graph shows a possible User Agent
flood.
User Agents <Index> Egress Trend in observed egress maximum packet rate of packets with the specified
Max Traffic - Packets/Sec user agent header. A spike in this graph shows a possible User Agent flood.
User Agents <Index> Packets Trend in packets dropped due to the effective rate limit.
Dropped - Packets/5-Minute
Period
User Agents <Index> Packets Trend in packets blocked due to related blocking periods.
Blocked - Packets/5-Minute
Period
DNS Query
Query Ingress Max Packet Trend in observed ingress maximum rate for DNS queries.
Rate/Sec
Query Egress Max Packet Trend in observed egress maximum rate for DNS queries.
Rate/Sec
Statistic Description
Query Per Source Ingress Trend in observed ingress maximum rate for DNS queries from a single
Max Packet Rate/Sec source.
Query Per Source Egress Trend in observed egress maximum rate for DNS queries from a single
Max Packet Rate/Sec source.
Note: If Block Identified Sources setting is disabled under Protection
Profiles > SPP Settings > DNS Feature Controls tab, DNS per-source
thresholds (dns-query-per-source and dns-packet-track-per-source) are
not tracked and this graph will not be updated.
Packet-Track Per Source Trend in observed ingress maximum rate for a source that demonstrates sus-
Ingress Max Packet Rate/Sec picious activity (a score based on heuristics that count fragmented packets,
response not found in DQRM, or queries that generate responses with
RCODE other than 0).
Packet-Track Per Source Trend in observed egress maximum rate for a source that demonstrates sus-
Egress Max Packet Rate/Sec picious activity (a score based on heuristics that count fragmented packets,
response not found in DQRM, or queries that generate responses with
RCODE other than 0).
Note: If Block Identified Sources setting is disabled under Protection
Profiles > SPP Settings > DNS Feature Controls tab, DNS per-source
thresholds (dns-query-per-source and dns-packet-track-per-source) are
not tracked and this graph will not be updated.
Question Ingress Max Packet Trend in observed ingress maximum rate for DNS queries.
Rate/Sec
Question Egress Max Packet Trend in observed egress maximum rate for DNS queries.
Rate/Sec
Statistic Description
MX Ingress Max Packet Trend in observed ingress maximum rate for DNS queries.
Rate/Sec
MX Egress Max Packet Trend in observed egress maximum rate for DNS queries.
Rate/Sec
ALL Ingress Max Packet Trend in observed ingress maximum rate for DNS queries.
Rate/Sec
ALL Egress Max Packet Trend in observed egress maximum rate for DNS queries.
Rate/Sec
Zone Transfer Ingress Max Trend in observed ingress maximum rate for DNS queries.
Packet Rate/Sec
Zone Transfer Egress Max Trend in observed egress maximum rate for DNS queries.
Packet Rate/Sec
Statistic Description
DNS Resource Record Type Drops due to SPP Service Config ACL for customer-defined DNS Resource
Blocked - Packets/5-Minute Record types.
Period
DNS Fragment
Fragment Ingress Max Trend in observed ingress maximum rate for DNS queries.
Packet Rate/Sec
Fragment Egress Max Packet Trend in observed egress maximum rate for DNS queries.
Rate/Sec
Unsolicited UDP Response Drops when an unsolicited DNS response is received (UDP).
Drop - Packets/5-Minute
Period
Unsolicited TCP Response Drops when an unsolicited DNS response is received (TCP).
Drop - Packets/5-Minute
Period
Unsolicited UDP Response Drops when an unsolicited DNS response is received at port 53 (UDP).
same port Drop - Packets/5-
Minute Period
Statistic Description
Unsolicited TCP Response Drops when an unsolicited DNS response is received at port 53 (TCP).
same port Drop - Packets/5-
Minute Period
UDP Duplicate Query before Drop due to the duplicate query check (UDP).
Response Drop - Packets/5-
Minute Period
TCP Duplicate Query before Drop due to the duplicate query check (TCP).
Response Drop - Packets/5-
Minute Period
DNS LQ Drop
DNS Query Flood Drop - Drops because a query was not found in the LQ table during a flood. The
Packets/5-Minute Period dns-query threshold triggered the mitigation.
DNS Question Flood Drop - Drops because a query was not found in the LQ table during a flood. The
Packets/5-Minute Period dns-question threshold triggered the mitigation.
DNS QType All Flood Drop - Drops because a query was not found in the LQ table during a flood. The
Packets/5-Minute Period dns-all threshold triggered the mitigation.
DNS QType Zone Transfer Drops because a query was not found in the LQ table during a flood. The
Flood Drop - Packets/5- dns-zone-xfer threshold triggered the mitigation.
Minute Period
DNS QType MX Flood Drop - Drops because a query was not found in the LQ table during a flood. The
Packets/5-Minute Period dns-mx threshold triggered the mitigation.
DNS TTL
DNS Query Flood Drop - Drops because a query was found in the TTL table during a flood. The dns-
Packets/5-Minute Period query threshold triggered the mitigation.
DNS Question Flood Drop - Drops because a query was found in the TTL table during a flood. The dns-
Packets/5-Minute Period question threshold triggered the mitigation.
DNS QType All Flood Drop - Drops because a query was found in the TTL table during a flood. The dns-
Packets/5-Minute Period all threshold triggered the mitigation.
DNS QType Zone Transfer Drops because a query was found in the TTL table during a flood. The dns-
Flood Drop - Packets/5- zone-xfer threshold triggered the mitigation.
Minute Period
Statistic Description
DNS QType MX Flood Drop - Drops because a query was found in the TTL table during a flood. The dns-
Packets/5-Minute Period mx threshold triggered the mitigation.
DNS Cache
UDP Query Flood Drop Due Drops because a response was served from the cache during a flood. The
to Response from Cache - dns-query threshold triggered the mitigation.
Packets/5-Minute Period
UDP Question Flood Drop Drops because a response was served from the cache during a flood. The
Due to Response from Cache dns-question threshold triggered the mitigation.
UDP QType All Flood Drop Drops because a response was served from the cache during a flood. The
Due to Response from Cache dns-all threshold triggered the mitigation.
- Packets/5-Minute Period
UDP QType Zone Transfer Drops because a response was served from the cache during a flood. The
Flood Drop Due to Response dns-zone-xfer threshold triggered the mitigation.
from Cache - Packets/5-
Minute Period
UDP QType MX Flood Drop Drops because a query was served from the cache during a flood. The dns-
Due to Response from Cache mx threshold triggered the mitigation.
- Packets/5-Minute Period
UDP Query Flood Drop Due Drops because a response was not found in the cache during a flood. The
to No Response from Cache - dns-query threshold triggered the mitigation.
Packets/5-Minute Period
UDP Question Flood Drop Drops because a response was not found in the cache during a flood. The
Due to No Response from dns-question threshold triggered the mitigation.
Cache - Packets/5-Minute
Period
UDP QType All Flood Drop Drops because a response was served from the cache during a flood. The
Due to No Response from dns-all threshold triggered the mitigation.
Cache - Packets/5-Minute
Period
UDP QType Zone Transfer Drops because a response was not found in the cache during a flood. The
Flood Drop Due to No dns-zone-xfer threshold triggered the mitigation.
Response from Cache - Pack-
ets/5-Minute Period
UDP QType MX Flood Drop Drops because a response was not found in the cache during a flood. The
Due to No Response from dns-mx threshold triggered the mitigation.
Cache - Packets/5-Minute
Period
Statistic Description
DNS Spoofed IP
UDP Query Flood Drop Dur- Drops due to anti-spoofing checks during a flood. The source IP address was
ing TC=1 Check - Packets/5- not found in the legitimate IP address (LIP) table. The query was dropped
Minute Period and a response was sent with the TC bit set to force the client to retry the
query over TCP. The dns-query threshold triggered the mitigation.
UDP Question Flood Drop Drops due to anti-spoofing checks during a flood. The dns-question
During TC=1 Check - Pack- threshold triggered the mitigation.
ets/5-Minute Period
UDP QType All Flood Drop Drops due to anti-spoofing checks during a flood. The dns-all threshold
During TC=1 Check - Pack- triggered the mitigation.
ets/5-Minute Period
UDP QType Zone Transfer Drops due to anti-spoofing checks during a flood. The dns-zone-xfer
Flood Drop During TC=1 threshold triggered the mitigation.
Check - Packets/5-Minute
Period
UDP QType MX Flood Drop Drops because a response was not found in the cache during a flood. The
During TC=1 Check - Pack- dns-mx threshold triggered the mitigation.
ets/5-Minute Period
DNS UDP Query Flood Drop Drops due to anti-spoofing checks during a flood. The source IP address was
during Retransmission Check not found in the legitimate IP address (LIP) table. The query was dropped
- Packets/5-Minute Period and the retransmission check was performed. The dns-query threshold
triggered the mitigation.
UDP Question Flood Drop Drops due to anti-spoofing checks during a flood. The dns-question
During Retransmission threshold triggered the mitigation.
Check - Packets/5-Minute
Period
UDP QType All Flood Drop Drops due to anti-spoofing checks during a flood. The dns-all threshold
During Retransmission triggered the mitigation.
Check - Packets/5-Minute
Period
UDP QType Zone Transfer Drops due to anti-spoofing checks during a flood. The dns-zone-xfer
Flood Drop During Retrans- threshold triggered the mitigation.
mission Check - Packets/5-
Minute Period
UDP QType MX Flood Drop Drops because a response was not found in the cache during a flood. The
During Retransmission dns-mx threshold triggered the mitigation.
Check - Packets/5-Minute
Period
Statistic Description
DNS Rcode
DNS Rcode Ingress Max Ingress maximum packet rate for the selected RCODE. An RCODE 0 indic-
Packet Rate ates a successful query. All other RCODEs indicate errors.
DNS Rcode Egress Max Egress maximum packet rate for the selected RCODE. An RCODE 0 indic-
Packet Rate ates a successful query. All other RCODEs indicate errors.
Sample Graphs
Figure 160: HTTP Methods
The FortiDDoS system supports the logging and reporting features you expect in a security appliance:
l Local logging
l Remote logging (syslog and SNMP traps)
l FortiAnalyzer and FortiSIEM support (syslog only)
l SNMP (MIB Queires, Alarm and Attack Log Traps)
l Email Alerts (SMTP alerts for selected admin Events)
l SQL Query support (expert only with support of development team)
l RESTful API support – see REST API Reference
l Real-time system status and traffic monitoring
l Configurable system event and security event logging
l Filtering of log tables
l Customizable, scheduled and Threshold-based reports, with multiple formats and delivery options
The table below details the remote logging and services available in the system as well as where they are
configured:
CPU, Memory, Disk Capacity SNMP Traps System > SNMP > System Inform-
Alarms ation / Config
Event Logs Syslog messages Log & Report > Log Configuration >
Event Log Remote
Alert Email Messages (Selected Log & Report > Log Configuration >
Events) Alert Email Settings
Attack Logs SNMP Traps Log & Report > Log Configuration >
SNMP Trap Receivers
Traffic Data and other info SNMP MIB Queries System > SNMP > System Inform-
ation / Config
The local log is a data-store hosted on the FortiDDoS system. The local log disk configuration applies to the
system event log.
Typically, you use the local log to capture information about system health and system administration activities,
to verify that your configuration and tunings behave as expected, and to understand threats in recent traffic
periods. It is both standard practice and best practice to send security log data to secure remote servers where it
can be stored long term and analyzed using preferred analytic tools.
Local log disk settings are configurable. You can select a subset of system events. The DDoS attack log events
are not configurable.
l You must have Read-Write permission for Log & Report settings.
See also: Using the event log table, Using the DDoS attack log table.
1. Go to Log & Report > Log Configuration > Local Log Settings.
2. Complete the configuration as described in the table below.
3. Save the configuration.
Settings Guidelines
Log to Local Disk Select to display settings to manage the disk used for logging.
Minimum Log Select the lowest severity to log from the following choices:
Level
l Emergency—The system has become unstable.
l Alert—Immediate action is required.
l Critical—Functionality is affected.
l Error—An error condition exists and functionality could be affected.
l Warning—Functionality might be affected.
l Notification—Information about normal events.
l Information—General information about system operations.
l Debug—Detailed information about the system that can be used to troubleshoot
unexpected behavior.
For example, if you select Error, the system collects logs with level Error, Critical,
Alert, and Emergency. If you select Alert, the system collects logs with level Alert and
Emergency. The log level setting applies to both system events and DDoS security
events.
Tip: To prolong disk life, do not collect notification, information, and debug level logs
for long periods of time.
File Size Maximum disk space for local logs. The default is 500 MB.
Disk full Select log behavior when the maximum disk space for local logs is reached:
l Overwrite—Continue logging. Overwrite the earliest logs.
l No Log—Stop logging.
Event Logging
Event Logging Select to enable event logging and then select the types of event category that you
want included in the event log.
Alerts are emails sent to specified addresses when specified events are triggered.
You can specify whether event severity or event category is the basis for your alerts configuration.
1. Go to Log & Report > Log Configuration > Alert Email Settings.
2. Complete the configuration under the tabs: Mail Server, Settings and Recipients as described in the table below.
3. Save the configuration.
Settings Guidelines
Mail Server
SMTP Server IP address or FQDN of an SMTP server (such as FortiMail) or email server
that the appliance can connect to in order to send alerts and/or generated
reports.
Settings
Interval time (min) If identical alerts are occurring continuously, select the interval between
each email that will be sent while the event continues.
Recipient
Tip: To temporarily disable alert emails, delete all recipients. This allows
you to preserve the other SMTP settings in case you want to enable alert
emails in the future.
Attack Log purging is the deleting of logs to preserve log space and maintain log system performance.
By default, DDoS Attack Logs are purged on a first-in, first-out basis when the log reaches 1,000,000 entries.
Attack Log purge settings are configurable. You can specify a different threshold, and you can purge logs
manually.
l You must have Read-Write permission for Log & Report settings.
1. Go to Log & Report > Log Configuration > Log Purge Settings.
2. Complete the configuration as described in the table below.
3. Save the configuration.
Settings Guidelines
Automatic Purge Select to automatically purge Attack Logs after the max number of entries
is reached.
Purge older events when the Purge the earliest Attack Logs when this threshold is reached. The default
number of events is over is 1,000,000 entries.
Manual Purge Select to purge entries logged during the specified period.Manual Purge is
not available via the FortiDDoS-CM GUI. Log directly into the appliance to
manually purge logs and see Configuring Attack Log purge settings in
FortiDDoS
Start Date / End Date Specify a period when purging logs manually. The period begins at 0:00 on
the start date and ends at 23:59 on the end date.
CLI commands:
config ddos global attack-event-purge
[set automatic-event-purge {enable | disable}
[set purge-older-events-when-the-number-of-events-is-
over <int>]
[set manual-event-purge {enable | disable} ]
[set purge-start-date <purge_date_str>]
[set purge-end-date <purge_date_str>]
end
Remote log settings can be configured to suppress low-drop logs by defining a minimum threshold value. At this
threshold or higher, the drops will be sent to syslog and SNMP trap receivers. All the log information can still be
viewed under Attack Log, Reports and Executive Summary.
1. Go to Log & Report > Log Configuration > Remote Log Settings.
2. Enter the Minimum Drops count. The default value is 1.
3. Save the configuration.
CLI commands:
config log setting remote-log-settings
set minimum-drops 1
end
The system has two configurations to support sending logs to remote log servers: remote log server settings for
system event logs, and remote log server settings for DDoS logs.
The system event log configuration applies to system-wide data, such as system health indicators and system
administrator activities. The DDoS log configuration applies to security data.
You can configure up to three Log Remote or Remote Event Log Servers.
l You must have Read-Write permission for Log & Report settings.
See also: Configuring remote log server settings for DDoS attack log.
1. Go to Log & Report > Log Configuration > Event Log Remote.
2. Click Add.
3. Complete the configuration as described in the table below.
4. Save the configuration.
Settings Guidelines
Status Select to display settings to manage the disk used for logging.
Port Listening port number of the FortiAnalyzer/syslog server. Usually this is UDP port 514.
Log Level Select the severity to log from the following choices:
Settings Guidelines
CSV Format Send logs in CSV format. Do not use with FortiAnalyzer.
Minimum Log Select the lowest severity to log from the following choices:
Level
l Emergency—The system has become unstable.
l Alert—Immediate action is required.
l Critical—Functionality is affected.
l Error—An error condition exists and functionality could be affected.
l Warning—Functionality might be affected.
l Notification—Information about normal events.
l Information—General information about system operations.
l Debug—Detailed information about the system that can be used to troubleshoot
unexpected behavior.
For example, if you select Error, the system sends the syslog server logs with level
Error, Critical, Alert, and Emergency. If you select Alert, the system collects logs with
level Alert and Emergency.
Facility Identifier that is not used by any other device on your network when sending logs to
FortiAnalyzer/syslog.
Event Logging Select to enable event logging and then select the types of events that you want
included in the event log.
The following table identifies the fields in the event syslog message.
Field Example
Field Example
Device ID devid=FI800B3913000032
Log ID log_id=0000002168
Message ID msg_id=426204
Admin UI ui=ssh(172.30.153.9)
Action action=none
Status status=none
Log message msg='changed settings for 'ddos spp setting' on domain 'SPP-1''"
You can set up two remote DDoS Attack Log Remote syslog servers per SPP.
1. Go to Log & Report > Log Configuration > DDoS Attack Log Remote.
2. Click Add.
3. Complete the configuration as described in the table below.
4. Save the configuration.
Settings Guidelines
SPP Select the SPP whose logs are stored in the remote location. You can specify only one
remote log server for each SPP.
Port Listening port number of the FortiAnalyzer/syslog server. Usually this is UDP port 514.
The following table identifies the fields in the DDoS attack syslog message.
Example
Field (from the sample mes- Details
sage above)
Example
Field (from the sample mes- Details
sage above)
Event code evecode=2 See the Appendix – DDoS Attack Log Reference
Event subcode evesubcode=87 See the Appendix – DDoS Attack Log Reference
Event type description="HTTP Event name - see the Appendix – DDoS Attack Log Refer-
Method flood from ence
source"
Direction ID (1=i- dir=1 Direction of attack traffic - see 'Direction' below for textual
inbound, 0=ou- direction.
utbound)
Subnet ID subnet_id=7 Index number of the SPP Policy where the Protected IP is
contained - see 'Subnet name' below.
SPP name spp_name="2Two" Service Protection Profile name that contains the SPP Poli-
cy/subnet that further contains the Protected IP address
under attack
To configure with the CLI, use a command sequence similar to the fol-
lowing:
config log setting ddos-attack-log-remote
set name Log1
set status enable
set spp SPP-7
set ip-address 192.12.1.5
set port 514
end
FortiAnalyzer now supports the FortiDDoS attack log. FortiAnalyzer includes the following predefined reports for
FortiDDoS:
Refer to FortiAnalyzer documentation for version support details and detailed procedures on how to use
FortiAnalyzer. This section describes the workflow for collecting DDoS attack logs.
3. On FortiDDoS, use the DDoS Attack Log Remote configuration to send logs to the FortiAnalyzer IP address.
FortiDDoS starts sending logs to FortiAnalyzer. Once FortiAnalyzer begins receiving logs from FortiDDoS,
FortiDDoS appears in the Administrative Domains (ADOM).
4. On FortiAnalyzer, select Device Managerfrom the top-left drop-down.
The Devices Unregistered count will change to 1.
5. Click ADOM: root on the top menu to switch from 'root' to 'FortiDDoS'.
6. Go to the Device Manager and verify that the FortiDDoS device has been added.
7. Click Log View from the top-left drop-down to see the log information under various tabs on the left panel.
8. Click FortiView from the top-left drop-down to see the attack logs. Navigate to the Top Sources, Top
Destinations and Top Type on the left panel to view more details.
9. Go to the Reports from the top-left drop-down. You can generate the reports in HTML, PDF, XML or CSV format.
FortiSIEM now supports FortiDDoS attack and event logs. FortiSIEM processes FortiDDoS events via syslog. You
can configure FortiDDoS to send syslog to FortiSIEM.
Refer to FortiSIEM User Guide for version support details and detailed procedures on how to use FortiSIEM.
This section describes the workflow for collecting DDoS attack logs.
1. On FortiDDoS, use DDoS Attack Log Remote configuration to send logs to the FortiSIEM IP address.
Refer to section Configuring remote log server settings for DDoS attack logs and follow the procedure for
configuration. Once the configuration is saved, FortiDDoS begins sending logs to FortiSIEM.
2. Use Event Log Remote configuration to send logs to the FortiSIEM IP address.
Refer to section Configuring remote log server settings for event logs and follow the procedure for configuration.
Once the configuration is saved, FortiDDoS begins sending event logs to FortiSIEM.
3. Go to System > SNMP and follow the steps under Configuring SNMP for system event reporting.
4. Log in to FortiSIEM and go to Admin > Setup Wizard > Credentials tab.
5. Click Add under Step 1: Enter Credentials and enter the details of the device in the Access Method
Definition dialog box.
6. Click Add under Step 2: Enter IP Range to Credential Association and enter the IP/IP Range and
Credentials of the device in the Device Credential Mapping Definition dialog box.
7. Go to Admin> Setup Wizard > Discovery tab and add the Range Definition details.
10. Go to CMDB > Devices. Select the added device from the list and click Approve.
11. Go to Analytics > Reports and click New to configure a new report.
12. Enter the new report details in the Add New Report window and click Save.
13. Go to Dashboard > Dashboard by Function. Select the group and click Add Reports to Dashboard.
14. Select the required reports from the list and click Add.
15. Go to Dashboard > Executive Summary to see the selected reports. The following figures show the sample
dashboard reports.
Attack Event Trap Receivers allow you to have separate configurations for each SPP, if necessary. You can
configure up-to two SNMP trap receivers per SPP. The same trap receiver can be used by multiple SPPs.
l You must have Read-Write permission for Log & Report settings.
1. Go to Log & Report > Log Configuration > SNMP Trap Receivers.
2. Click Add to display the configuration editor.
3. Complete the configuration as described in the table below.
4. Save the configuration.
Settings Guidelines
IP Address IP address of the SNMP manager that receives attack log traps.
Port Listening port of the SNMP manager. The default value is 162.
Community Username String that specifies the SNMP community to which the FortiDDoS system
and the SNMP manager at the specified address belong.
SNMPv3
Settings Guidelines
If the Engine ID is not entered by the user, the MAC address of the
management port is used to generate the Engine ID. For example, if
the MAC address is: 08:5b:0e:9f:05:f0, the Engine ID will be:
8000304404085b0e9f05f0 which is the concatenation of the MAC
address and Fortinet’s IANA-registered Private Enterprise Number:
8000304404.
To see the default or user-entered Engine ID, use the CLI command
get snmp engine-id. The MAC address can be obtained using
the CLI command get system interface mgmt1 which
displays information about the management port.
l No Authentication
l Authentication - enter Authentication Passphrase as required by the
SNMP Manager.
l Privacy - enter BOTH Authentication and Privacy Passphrases required
by the SNMP Manager.
The security protocols for SNMPv3 Attack Log Traps are fixed as:
Privacy Passphrase If Privacy is required, enter the privacy passphrase required by the SNMP
manager. Privacy Mode also requires an Authentication Passphrase.
To configure with the CLI, use a command sequence similar to the following:
config log setting ddos-attack-snmp-trap-receivers
set status enable
set spp SPP-0
set ip-address 1.22.2.2
set community-username fgh
set snmp-version v3
set engine-id 8000304404085b0e9f05f0
end
You can download the DDoS Attack Log collection. You might do this if you are following manual procedures for
storing log data or a manual process for purging the local log.
The download file is a MySQL export. You can import it into a MySQL database server to rebuild the flg database,
including the dlog table.
l You must have Read-Write permission for Log & Report settings.
l You must have SQL database expertise.
You can use SQL to query the DDoS Attack Log using a third-party tool such as the MySQL command-line tool or
MySQL Workbench. Access to the log database is read-only.
This feature allows you to view attack log information in a report format other than the one provided by the web
UI. For example, to generate consolidated reports when FortiDDoS is integrated with other appliances in your
network.
You access the log using the user root and the password is the serial number of the appliance.
SQL connections are not secure, and can be intercepted by a third party. If possible,
enable this option only for network interfaces connected to a trusted private network,
or directly to your management computer. Failure to restrict administrative access
through this protocol could compromise the security of your FortiDDoS appliance.
CLI commands:
config system interface
edit {mgmt1|mgmt2}
set ip <address_ipv4 > <netmask_ipv4mask>
set allow access sql
next
end
http://dev.mysql.com/downloads/tools/workbench/
1. Open the workbench and log into the IP address of the appropriate management network interface.
Use the user root; the password is the serial number of the appliance.
2. Open a connection to start querying.
3. In the SQL Editor, select database flg and table dlog.
Example query:
select dropcount from dlog where dropcount>10000 order by dropcount desc
...
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| flg |
+--------------------+
2 rows in set (0.00 sec)
Database changed
+---------------------+--------------------+-----------+
| timestamp | inet_ntoa(ip_src4) | dropcount |
+---------------------+--------------------+-----------+
| 2014-03-13 10:03:07 | 12.0.0.2 | 7471 |
| 2014-03-13 09:47:31 | 10.0.0.2 | 3571 |
| 2014-03-13 09:40:35 | 12.0.0.2 | 3991 |
| 2014-03-13 09:07:29 | 12.0.0.2 | 5649 |
| 2014-03-13 08:38:19 | 10.0.0.2 | 7557 |
| 2014-03-13 07:38:49 | 10.0.0.2 | 2418 |
| 2014-03-13 06:57:48 | 12.0.0.2 | 3425 |
| 2014-03-13 06:57:25 | 10.0.0.2 | 3610 |
| 2014-03-13 06:46:00 | 10.0.0.2 | 1051 |
| 2014-03-13 06:39:12 | 10.0.0.2 | 4853 |
+---------------------+--------------------+-----------+
10 rows in set (0.00 sec)
The DDoS Attack Log table displays the attack event records for the selected SPP or All SPPs. The DDoS Attack
Log table is updated every few seconds. It contains a maximum of 1 million events. If the number of events
exceeds 1 million, the system deletes the 200,000 oldest events.
l You must have an administrator account with the System Admin option enabled.
1. Go to Log & Report > Log Access > Logs> DDoS Attack log tab or FortiView > Logs > DDoS Attack Log
tab.
2. Use the check boxes to select the types of attack events to view.
3. Click Filter Settings to display additional filter tools for Date (and Time), Direction, Source IP, Protected IP,
Associated Port, Protocol, ICMP Type Code and SPP Policy.
4. Click OK to apply the filter.
You can apply multiple filters. They will each display in the filter area. You can clear any filter by clicking “X” in the
filter description or all filters using the Clear All Filters button.
Note: These filters are not persistent. If you leave the DDoS Attack Log page, they will be cleared.
The following table describes the columns in the DDoS attack log.
SPP ID 0 SPP ID
Event Detail '500' Reason string. This will be the hash index for
HTTP.
Subnet ID 0 Subnet ID
Note: In the DDoS attack log, a table cell displays ”-” (hyphen or a blank) if data is not collected or invalid or
multiple values for the same field occur in the same event.
The table displays most recent records first and the columns Event ID, Timestamp, SPP ID, Direction, Event
Type and Drop Count. By default, the DDoS Attack Log table displays 10 years of events or the maximum allowed
under Log Purge Settings (Default 1M, max 2M). To view the details of an Event, click the Preview icon at the
right end of any line.
See Appendix A: DDoS Attack Log Reference for details on log categories and event types.
The Event log table under Log & Report > Log Access > Logs and FortiView > Logs > Event log tab displaysThe
Event Log table displays logs related to system-wide status and administrator activity.
l You must have enabled local logging. See Configuring local log settings.
l You must have Read-Write permission for Log & Report settings.
1. Go to Log & Report > Log Access > Logs > Event Log tab or or FortiView > Logs > Event Log tab.to
display the event log table.
2. Click Filter Settings to display the filter tools.
3. Use the tools to create filter logic.
4. Click Apply to apply the filter and redisplay the log.
Note: By default, this table displays the most recent records first and all columns. If no filters or check boxes are
selected, the table displays data from the last 10 years. This the default filter applied internally.
l You can click a column heading to display controls to sort the rows or show/hide columns.
l You click a row to select a record. Log details for the selected event are displayed below the table.
l You can use the Filter Settings controls to filter the rows displayed in the table based on event type, severity, action,
status, and other values.
Configuring reports
The report generator enables you to configure report profiles that can be run on demand or automatically
according to a schedule you specify. The report generator is typically used to generate reports that can be
distributed to subscribers or similar stakeholders who do not have administrative access to the FortiDDoS system.
You can configure profiles that include system event data, DDoS attack data, or both.
l You must have enabled local logging for system events if you want to generate system event reports.
l You must have Read-Write permission for Log & Report settings.
Settings Guidelines
Format l HTML
l PDF
l Microsoft Word
Direction l Inbound
l Outbound
Period Select a time period. Absolute means you specify precise dates and hours.
Other options are self-explanatory.
Settings Guidelines
On Threshold Violation This option allows you to automatically generate a report when the sum of the
Attack Log drops exceeds a Threshold within any 5-minute reporting period. To
generate a report when the drop count exceeds the threshold, enable this setting
and enter the threshold value in the Drop Threshold field.
The threshold is based on a 5-minute reporting period. Only one report is gen-
erated per 5-minute period but if the attack continues, the report will be gen-
erated for each 5-minute period where the threshold is exceeded.
This report includes information only from the past 5 minutes, no matter what
'Period' is shown for the Report above. You can use the same 'Weekly Periodic'
report (for example) to generate a Threshold-based report when needed. As a
best practice, you can create a separate 'Attack Threshold' report that sends an
email notification to a larger group of people about an ongoing attack that is lar-
ger than normal.
On Schedule If configuring a scheduled report, enable this option to specify when to run the
report and set the following values:
l Schedule Type
l Schedule Hour
Email settings To receive reports via email, use the following fields:
l Email Subject
l Email Body
l Email Attachment Name
l Recipients 1, 2 and 3
For emailed reports caused by Attack Threshold violation, the subject includes:
l DDoS Attack Threshold crossed
Report purging is the deleting of report files to preserve log space and maintain log system performance.
By default, DDoS report files are purged on a first-in, first-out basis when the disk allocation for reports reaches 10
GB. Report purge settings are configurable. You can specify a different threshold, and you can purge reports
manually.
l You must have Read-Write permission for Log & Report settings.
Settings Guidelines
Automatic Select to automatically purge reports when the disk allocation is reached.
Purge
Purge Purge the earliest reports when this limit is reached. The default is 10 GB. The valid range is 1-
Watermark 48 GB.
(in GB)
Manual Select to purge reports that were generated during the specified period manually.Manual
Purge Purge is not available via the FortiDDoS-CM GUI. Login directly to the FortiDDoS appliance to
manually purge reports.
Start Date Specify a period when purging reports manually. The period begins at 0:00 on the start date
/ End Date and ends at 23:59 on the end date.
CLI commands:
config ddos global report-purge
[set automatic-report-purge {enable | disable}]
[set report-purge-watermark <watermark_int>]
[set purge-now {enable | disable}]
[set purge-start-date <purge_date_str>]
[set purge-end-date <purge_date_str>]
end
The report browse is a list of generated reports (scheduled or on demand). You can use the report browser to view
the reports or delete them from the system. The attack categories and types reported correspond with the DDoS
Attack log categories and event types. Refer to DDoS attack log table for descriptions.
The following table shows the naming convention for FortiDDoS Reports.
l You must have Read-Write permission for Log & Report settings.
The figure below shows the DDoS Attack dashboards. Each table summarizes top attacks ranked by drop count
(highest to lowest).
1. Go to Log & Report > Executive Summary > DDoS Attack Log or FortiView > Data Analytics.
2. Select the device from the top-right device selection button.
3. Select the SPP of interest, time period, and traffic direction from the top right corner.
4. Click the Detail icon near the table entries to display more details.
Figure 199:
1. Go to Log & Report > Executive Summary > DDoS Attack Graphs.
2. Select the device from the top-right device selection button.
You can use the Session Diagnostic report to check the session counters. The count is for current traffic. You can
correlate the count with source IP address, protected IP address, associated port, or TCP state. You can also
filter the records to include or exclude matching expressions.
You can use the Source Diagnostic report to check the connection and drop counters per source IP address. The
count is for current traffic.
You can select one the following options to filter the results:
l Source IP
l Direction
You can also filter the records to include or exclude matching expressions.
Configuring Flowspec
FortiDDoSFortiDDoS-CM can create Flowspec configuration scripts based on the FortiDDoS attack information.
The Flowspec scripts can be entered in Cisco and Juniper routes to create Flowspec-based ACLs, which are more
fine-grained than traditional Remotely-Triggered-Black-Holes. The standard scripts may also work with other
routers supporting Flowspec.
Depending on the type of attack seen, the script may include Destination IP, Destination Port, Protocol,
Fragment, and/or ICMP Type/Code. The full list of supported items from RFC 5575 is detailed below .
Settings Guidelines
Settings Guidelines
Dropcount Threshold Many large attacks are multi-vector. Since FortiDDoS sees even single-drop
events, selecting a Destination IP address and creating a script for the last hour’s
attacks could result in very long and confusing scripts.
The Dropcount Threshold limits the creation of scripts to only those attacks that
exceed the entered Threshold. This Threshold should be set to a reasonably high
number so you are generating scripts that make sense to use on the edge router
– generally attacks that are exceeding the rate limits of the Internet links where
FortiDDoS is mitigating.
The Dropcount threshold value is in the range 1-1000000000. The default value
is 10.
Destination prefix-offset No
Type 6 Source-port No
Source prefix-offset No
Source-port No
Source prefix-offset No
Type 11 DSCP No
dont-fragment No
first-fragment No
is-fragment Yes
last-fragment No
Cisco
configure
class-map type traffic match all block-28.0.1.200-1
match source-address 28.0.0.6/32
match destination-address 28.0.1.200/32
end-class-map
configure
class-map type traffic match all block-28.0.1.200-2
match source-address 28.0.0.7/32
match destination-address 28.0.1.200/32
end-class-map
configure
class-map type traffic match all block-28.0.1.200-3
match source-address 28.0.0.9/32
match destination-address 28.0.1.200/32
end-class-map
Juniper
flow {
term-order statndard;
route block-28.0.1.200-1 {
match {
tmatch source-address 28.0.0.6/32
match destination-address 28.0.1.200/32
}
then discard;
}
}
flow {
term-order statndard;
route block-28.0.1.200-2 {
match {
tmatch source-address 28.0.0.7/32
match destination-address 28.0.1.200/32
}
then discard;
}
}
flow {
term-order statndard;
route block-28.0.1.200-3 {
match {
tmatch source-address 28.0.0.9/32
match destination-address 28.0.1.200/32
}
then discard;
}
}
Attack log
This section discusses some of the questions that users often have about the attack log events.
During a SYN flood attack, the system reports a SYN flood, identifies the SPP that is under attack, and reports
how many packets it has dropped. SYN floods are spoofed—the reported source of the packets is not their true
source. Trying to determine the source IP address or report potentially millions of source IP addresses that have
no consistent pattern is resource-intensive and does not help you to determine the identity of the attacker.
Source IP address is reported only for drops due to per-source thresholds (see Source tracking table).
To keep its reporting processes manageable, the system does not always report a source IP address or
destination port in the DDoS attack log.
For example, for an HTTP GET flood, the system reports the protocol of the dropped packets but not their source
IP address or destination port, since the destination port will always be one of the HTTP Service Ports defined by
the system or user.
For some types of attacks, such as TCP and ICMP checksum errors, the system collects aggregate data and
reports every 5 minutes only. If the appliance reported each dropped packet as soon as it dropped it and
generated some kind of alert every time it dropped a packet, it would log events and generate alerts continuously.
Reports
This section discusses some of the questions that users often have about reports.
Where can I find information about the attack types listed in reports?
Reports are presentations of DDoS attack log database queries. The attack categories and types reported
correspond with the DDoS Attack log categories and event types. Refer to Appendix A: DDoS Attack Log
Reference for descriptions.
If you change the SPP policy configuration or the resources it monitors, the data can become skewed. For
example, if you remove a subnet from the profile, or change the servers that are deployed in the subnet, or
change the services offered by those servers, the traffic history becomes less relevant.
Fortinet strongly recommends that you reset the traffic history for a profile before you make any significant
changes to its configuration. Go to Protection Profiles > Factory Reset.
If you do not reset traffic statistics, changes to an SPP policy can result in counter-intuitive data accumulated in
the longer reporting periods (year, month). For example, if a subnet belonged to the default SPP-0 before you
assigned it to SPP-1, a report filtered by SPP-1 includes the SPP-0 traffic history for that subnet.
What is the difference between the link status reported in the web UI and the link status reported with
CLI commands?
The link status reported on the Dashboard page is the detected link state.
The link status shown in the show system interface and get system interface commands is the
configured status.
To display the detected link state with the CLI, use the following command:
FI-2K# diagnose hardware get deviceinfo data-port
port1 down 10G FD SW No Forward TX RX None F XGMII 16356
port2 down 10G FD SW No Forward TX RX None F XGMII 16356
port3 down 10G FD SW No Forward TX RX None F XGMII 16356
Deployment Topologies
This section provides guidelines for basic and advanced deployments. It includes the following:
FortiDDoS is state-aware and bidirectional. The data packet traffic is described as either incoming (inbound)
and/or outgoing (outbound).
FortiDDoS may be installed in asymmetric traffic situations where it sees only the inbound traffic for some TCP
sessions or UDP flows and only the outbound traffic for others. The settings must be configured for this mode.
The figure below shows a basic inline deployment. The FortiDDoS appliance is positioned ‘inline’, meaning it is
installed between the Internet and the protected network.
Built-in bypass
The following FortiDDoS network interface connections have a built-in bypass mechanism:
l Active Copper Bypass on any copper (RJ-45) network connections (for example, the RJ-45 connections for ports 1-
16 on FortiDDoS 400B or 600B/800B)
l Active Optical Bypass on Ports 17-20 on the FortiDDoS 1200B/2000B, which support LC-connector Multi-Mode
850nm Short Range optics only. This active optical bypass functionality is not available for the other fiber-optic
connections on the FortiDDoS 1200B/2000B (ports 1-17) or for any of the fiber-optic connections found on other B-
series models. The active optical bypass ports include internal lasers so external next-hop equipment can be
connected directly to these ports (using compatible optics).
l Passive Optical Bypass on Ports 17A-20B on E-Series appliances, which support LC-connector Single-Mode
1310nm optics only. This passive optical bypass allows you to add optical bypass to any Single Mode, 1310nm
SFP/SFP+/QSFP+QSFP28s installed in any port-pair of the system. Cable from the modular port to the first LC port
pair (17A/18A for example) and then cable from the second LC port-pair (17B/18B for example) to the upstream and
downstream devices. As with the modular ports, the odd port (17B) should face your network and the even port
(18B) should face the Internet. Refer to the E-Series Quick Start Guide for further cabling information.
Note the following:
- While intended for QSFP+ and QSFP28 modules which are typically LC 1310nm parts, the passive bypass will
work with any speed module using LC connectors/cables and 1310nm optics. It is not recommended for 850nm
optics and will not work with MPO-connector optics.
- Ports 17A-20B do not appear on the System > Network > Interface page of the GUI, since they have no active
components. They will operate in Fail Open mode no matter what the setting is for Power Fail Bypass Mode in
Global Settings > Settings > Deployment.
Bypass is activated under the following conditions:
By default, the interfaces are configured to fail open. This means that interfaces pass traffic through without
performing any monitoring or prevention tasks. Packets that arrive at ingress ports are simply transferred to the
corresponding egress ports, just like a wire.
If you use an external bypass solution, configure the interfaces to fail closed. This means traffic is not forwarded
through the interfaces. An external bypass system can detect the outage and forward traffic around the
FortiDDoS.
If you deploy an active-passive cluster, configure the interfaces on the primary node to fail closed so the adjacent
switches can select the secondary node. The secondary unit can be set to fail closed or fail open, depending on
how you want to handle the situation if both FortiDDoS nodes are down.
The table below summarizes bypass behavior for a sequence of system states. During boot up, daemons and
drivers are started. When boot up is complete and all memory tables are clean, the TP2-ASIC is ready for packet
processing, and the appliance exits the bypass state. Traffic is routed through the TP2-ASIC, it is monitored, and
policies enforced. In the event of failure, manual or system-caused reboot, system services are unavailable
because they are either being restarted or shut down, and the appliance enters the bypass state.
User State 1 State 2 Just State 3 Boot State 4 Sys- State 5 Failure or State 6
Option Power Off Powered Up Up Process tem Ready Reboot Power Off
This command forces the appliance interfaces to fail open. This command does
not have an option to fail closed.
Note that if you use the CLI command to initiate bypass, you must use the CLI
command to disable that state.
After you have executed this command, go to the System Dashboard to confirm
the bypass state for the interfaces. If not all of the interfaces have gone to bypass
state or returned from bypass state, execute the command a second time.
External bypass
FortiDDoS can be deployed with an external bypass mechanism, such as a bypass switch. When both the
FortiDDoS appliance and the failover switch share the same power supply, external connectivity is maintained
during a power failure.
The following figure shows a bypass deployment when bypass is not active. The inline traffic flows through the
FortiDDoS appliance.
The following figure shows a bypass deployment when bypass is active. All inline traffic is routed through the
switch until FortiDDoS is back online.
Either the automatic bypass mechanism or a bypass switch can maintain data traffic when there is a power or
appliance failure. However, it is recommended that you automate failover behavior using a bypass switch with
heartbeat. A bypass switch with heartbeat detects the failure of the FortiDDoS appliance (and the failure of traffic
monitoring and mitigation) even when the appliance maintains the copper-based data link.
optical bypass switch does not receive the heartbeat back, it automatically switches network traffic to bypass the
unresponsive FortiDDoS appliance, even if the appliance is still receiving power. The optical bypass continues to
send the heartbeat and restores the traffic through the FortiDDoS appliance as soon as the link is restored.
This section provides the following information about FortiDDoS Tap Mode deployments:
l Overview
l Deployment Topology
l Requirements
l Limitations
l Configuration
l Best practices
Overview
The FortiDDoS appliance is a transparent Layer 2 bridge that could become a point-of-failure without proper
bypass mechanisms. It is possible to deploy a Layer 1 bypass bridge in-path with the FortiDDoS appliance in an
out-of-path monitor segment so that you are never faced with outages due to failure, maintenance, or
replacement of a FortiDDoS appliance.
Most bypass bridge appliances support inline, bypass, and recovery features. Some bypass bridge appliances
also support Tap Mode—a mode in which the Layer 2 bridge can simultaneously perform bypass through its
network ports and mirroring through its monitor ports.
FortiDDoS appliances have a complementary Tap Mode setting that turns off the transmit (Tx) component of the
FortiDDoS network interface cards. This ensures the FortiDDoS is a passive listener that cannot disrupt traffic or
cause an outage.
In a Tap Mode deployment, FortiDDoS can use the mirrored packets to build the traffic history it uses to establish
rate thresholds, and it can detect volumetric attacks (rate anomalies), but it does not take actions, like dropping
traffic, blocking identified source attackers, or aggressively aging connections.
When an attack is detected, you can turn off Tap Mode on FortiDDoS and the FortiDDoS interfaces resume
packet transmission. Bypass bridge probes will then pass through FortiDDoS successfully, the bridge will detect
that the out-of-path segment is available, and it will switch to Inline Mode.
Deployment Topology
The figure below illustrates how bypass bridge deployment modes are used in a deployment with FortiDDoS. The
bypass bridge is deployed in-path and FortiDDoS is deployed out-of-path.
In Inline Mode, the bypass bridge passes heartbeat packets through its monitor ports to detect whether the out-
of-path segment is available. When the health probes indicate the path is available, inbound traffic that is
received by the bypass bridge Net0 interface is forwarded through the Mon0 interface to the FortiDDoS
WAN port. FortiDDoS processes the traffic, takes action on attacks and passes non-attack traffic through its
LAN port to the bypass bridge Mon1 interface. The traffic is passed through the bypass bridge Net1 interface
towards its destination.
If the heartbeat probe fails due to FortiDDoS failure or maintenance, the bypass bridge can be set up to switch
from Inline mode to Bypass mode. In Bypass Mode, traffic is not forwarded through the monitor ports. Instead, it
is forwarded from Net0 to Net1, bypassing the out-of-path segment.
Alternatively, you can set up some bypass bridge to switch from Inline Mode to Tap Mode when probes fail. In
bypass bridge Tap Mode, traffic is forwarded from Net0 to Net1, and it is also mirrored to Mon0. This is what you
want when you want to deploy FortiDDoS as a passive listener.
Although not shown in the illustrations, the reverse paths are processed the same way.
Note: When in Tap Mode, FortiDDoS discards packets after processing (noted by an X
in Tap Mode). You should not expect to see egress traffic on the Monitor > Port Stat-
istics graphs.
Requirements
Contact your Fortinet Sales Engineer to learn more about bypass bridges that can operate in this mode.
Fortinet does not support Tap Mode deployments with other bridge or tap devices. If you attempt a deployment
with other devices, consider the following Tap Mode requirements:
l The bridge device must be deployed and configured to forward traffic along the data path and send mirrored traffic
towards FortiDDoS on both its monitor ports (inbound traffic on one port and outbound on the other).
l The bridge must block any transmit packets from FortiDDoS on its monitor ports so that any traffic sent by
FortiDDoS is blocked.
l The bridge device should have the ability to set inline/bypass/tap mode manually so that administrators take direct
action when there is an attack.
l FortiDDoS passes heartbeat packets from its ingress to egress ports, so the bridge must not be affected by seeing
these heartbeat packets (it will not switch to inline mode).
l Passive optical TAPs will generally not work since the TAPs usually have a single duplex monitor port output on 1
pair of fiber ports. FortiDDoS requires 2 separate monitor ports for inbound and outbound traffic on 2 separate fiber
pairs. Custom cabling can support this, but FortiDDoS can never be switched inline using passive TAPs.
Limitations
In Tap Mode, FortiDDoS is a passive listener. It records actions it would have taken were it placed inline, so ACL,
anomaly, rate threshold drops, source blocking, and aggressive aging events and statistics are just simulations.
However, some features cannot be simulated when FortiDDoS is a passive listener. The following Prevention
Mode features depend on being deployed in-path and interacting with clients and servers to work correctly:
l SYN flood mitigation—With SYN validation enabled, FortiDDoS performs antispoofing tests to determine whether
the source is legitimate. In Tap Mode, if the source was not already in the legitimate IP table, it will fail the test. As
a result, the simulation is skewed, and the reports will show an inordinate spike in blocked sources.
l TCP state anomaly detection—With Foreign Packet Validation enabled, FortiDDoS drops unexpected packets (for
example, if there is a sequence of events in which FortiDDoS drops inbound packets, it does not expect to receive
corresponding outbound packets, so a foreign packet drop event is triggered).
l Aggressive aging—Aggressive aging resets are not actually sent when slow connection attacks and Layer 7 floods
are detected, but the connections are cleared from the TCP state table. As a result, subsequent packets for the
connection are treated as foreign packets.
Talk with your Fortinet CSE to make sure you thoroughly understand your choices, which include:
l Disabling TCP session feature control when FortiDDoS is deployed in Tap Mode. (But remember to enable it if you
want its protections when you FortiDDoS is deployed inline.)
l Interpreting or disregarding the logs and graphs for these anomalies.
Tap Mode is not a perfect deployment simulation, but it does enable you prepare for volumetric attacks by
building traffic history without risk of disruption or outage.
Configuration
We recommend you set up the bypass bridge to Inline Mode with action on failure
set to Tap Mode; and then force a failure by turning on FortiDDoS Tap Mode.
Best practices
The following best practices are recommended by Fortinet CSEs:
l Do not set the bypass bridge Tap Mode manually. Set it up as the action on failure for the bypass bridge Inline
Mode and then force a failure of the out-of-path segment by turning on FortiDDoS Tap Mode.
l In a FortiDDoS Tap Mode deployment, you can set SPPs in Detection Mode or Prevention Mode. Set it to
whichever mode you want enabled when you toggle off Tap Mode and put FortiDDoS inline.
In some environments, such as a service provider environment, the total bandwidth is more than what the
FortiDDoS appliance supports. However, the attack traffic to a specific subnet or server is within the appliance’s
capacity. You can route normal traffic through its regular path and manually divert the attack traffic. The
FortiDDoS cleanses the diverted traffic and injects it back to the network.
The FortiDDoS appliance is a Layer 2 bridge and therefore does not have either a MAC address or an IP address
in the data path. To allow traffic to be diverted, connect the appliance to interfaces on the routers or switches that
have a routable IP address.
The figure below shows an example topology. The topology uses the following terminology:
l Divert-from router: Router from which the FortiDDoS appliance diverts the attacked customer traffic.
l Inject-to router: Router to which the FortiDDoS appliance forwards legitimate traffic.
An additional interface on Router 1 Divert-from Router diverts the traffic that is destined for the attacked
destination. This traffic passes through the FortiDDoS appliance. The traffic is then forwarded to Router 2 Inject-
to Router. These two interfaces are in the same network (192.168.1.x) and therefore an ARP request from Router
1 for 192.168.1.2 passes through the FortiDDoS appliance and reaches Router 2 and Router 2 can respond back
with an ARP reply and vice versa.
A static route is added on Router 1 for addresses for the attacked customer network. Because it has the longest
matching prefix, the rule matches first and therefore all traffic to the attacked customer network is diverted from
Router 1 to Router 2 through the FortiDDoS appliance network rather than going straight from Router 1 to Router
2. Preferably, the return path for traffic is also through the FortiDDoS appliance. Although this solution works
even if the traffic is unidirectional through the FortiDDoS appliance, bidirectional traffic helps the appliance
determine the statefulness within connections.
Traffic diversion using a single divert-from and inject-to router and a switch
The figure below shows a single router that is acting as both a divert-from and inject-to router. Layer 2 forwards
through the FortiDDoS appliance.
One interface on the Internet side of the router diverts traffic to the attacked destination. This traffic passes
through the FortiDDoS appliance through a switch. The traffic is then forwarded to the inject-to interface on the
router through the same switch.
To ensure that the traffic is symmetric and both incoming and outgoing traffic to and from the attacked
destination go through the FortiDDoS appliance, the LAN interface of the router diverts the traffic from the
attacked destination. This traffic passes through the FortiDDoS appliance through a switch. The traffic is then
forwarded to the inject-to interface on the same router through the same switch.
A static route is added on the router for addresses for the attacked customer network. Because it has the longest
matching prefix, the rule matches first and therefore all traffic to the attacked customer network is diverted to the
Layer 3 switch through the FortiDDoS appliance rather than going straight from the router to the distribution
switch.
Preferably, the return path for traffic is through a FortiDDoS appliance. Although the solution works even if the
traffic is unidirectional through the FortiDDoS appliance, bidirectional traffic helps the appliance determine the
statefulness within connections.
To ensure that the return traffic passes through the FortiDDoS appliance, use the Policy Based Routing (PBR)
that is available in most routers. PBR allows you to base routing on the source address of the packets and
interface.
Figure 212: Traffic diversion using a single divert-from and inject-to router
Load balancing
Many data center and server farm architectures require network infrastructure to protect them. However, traffic
volumes on some networks can exceed the capabilities of a single link pair on a FortiDDoS appliance or even the
maximum throughput of a single appliance. To increase the overall throughput, some topologies require some
type of load-balancing solution using multiple link pairs or multiple FortiDDoS appliances.
The capacity of the load-balancing device must exceed the combined throughput of the multiple FortiDDoS
appliances. For details on the capacity of FortiDDoS appliances, refer to the product datasheet.
The load-balancing device intercepts all traffic between the server side and the Internet side and dynamically
distributes the load among the available FortiDDoS appliances, based on the device’s configuration. Load
balancing utilizes all the appliances concurrently, providing overall improved performance, scalability and
availability.
The FortiDDoS appliance is a Layer 2 bridge and therefore does not have either a MAC address or an IP address
in the data path. For transparent bridges, the load-balancing device receives a packet, makes a load-balancing
decision, and forwards the packet to a FortiDDoS appliance. The FortiDDoS appliance does not perform NAT on
the packets; the source and destination IP addresses are not changed.
l Balances traffic across two or more FortiDDoS appliances in your network, allowing them to work in parallel.
l Maintains state information about the traffic that flows through it and ensures that all traffic between specific IP
address source and destination pairs flows through the same FortiDDoS appliance.
l Performs health checks on all paths through the FortiDDoS appliances. If any path is not operational, the load
balancer maintains connectivity by diverting traffic away from that path.
You can use an external load balancer such as Linux Virtual Server (LVS), Cisco Content Switching Module
(CSM), or Avaya Load Balancing Manager.
This type of design ensures the highest level of security because it physically separates the FortiDDoS interfaces
using multiple switches.
Each load-balancing device balances traffic between IP address interfaces of the peer device behind the
FortiDDoS appliance. Each FortiDDoS appliance resides in a different VLAN and subnet and the physical ports
connected to the FortiDDoS appliance are also on different VLANs. In addition, for each VLAN, both load-
balancing devices are in the same subnet. Each load balancer interface and the FortiDDoS appliance connected
to it reside in a separate VLAN. This configuration ensures persistency because all the traffic through a particular
FortiDDoS appliance is contained in the appliance’s VLAN.
l Bidirectional hash requires both load-balancing devices to share a common hash value that ultimately produces
the same route. You create bidirectional hashing by hashing the source and destination IP address along with the
destination port of the given flow. The load-balancing devices ensure that all packets belonging to a session pass
through the same FortiDDoS appliance in both directions. The devices select a FortiDDoS appliance based on a
symmetric hash function of the source and destination IP addresses. This ensures that packets traveling between
the same source and destination IP addresses traverse the same FortiDDoS appliance.
l Unidirectional hash produces the route in the same fashion as a bidirectional hash and also creates a TCP
connection table with the reverse flow path defined. This allows you to match return path traffic against this
connection table rather than being hashed.
Figure 213: Sandwich topology for load balancing
Multi-tenant deployment
The figure below shows a basic multi-tenant deployment. A web hosting company leases FortiDDoS services to
its customers. You can provision individual SPPs for up to seven customers.
HA feature overview
FortiDDoS appliances can be deployed as standalone appliances or as members of a high availability (HA) pair.
FortiDDoS supports active-passive cluster pairs. In an HA pair, one node is the master node, and the other is
called the slave node.
The figure below shows an active-passive deployment. The cluster uses the connection of MGMT2 ports for two
types of HA communication:
l Heartbeats. A cluster node indicates to other nodes in the cluster that it is up and available. The absence of
heartbeat traffic indicates the node is not up and is unavailable.
l Synchronization. During initialization and periodically thereafter, the master node pushes its configuration (with
noted exceptions) to the secondary nodes.
You can log into the management interface (MGMT1) of either node, but you actively manage the configuration
of the master node only.
Although one appliance is deemed active (the master) and one passive (the slave), the ports are not turned off on
the passive node. It can receive traffic, mitigate attacks and forward it.
You should use the adjacent routers to ensure that traffic is forwarded through only the active path. For example,
you can set a path priority or costing to set a high priority (low cost) path that goes through the primary node,
ignoring the secondary, even if it can pass traffic. If the primary fails, its interfaces can be configured to 'fail
closed'; the router can detect this and switch to the alternative path.
If that secondary node fails as well (double failure) and you do not want the traffic to fail, configure the secondary
system to 'fail open' (copper fail open, 1200B LC ports fail open, or you need a bypass bridge if you are using
SFP/SFP+s).
In some applications, you can utilize the ability to pass traffic on the passive node to your advantage. For
example, your can create a multi-link LACP and allow the traffic to be distributed between FortiDDoS appliances,
doubling the available bandwidth for mitigation. Since traffic is evenly distributed, the thresholds learned and
implemented in the Master system will work equally well in the Slave system. However, each system graphs data,
logs and creates reports independently. These logs can be aggregated by FortiAnalyzer or FortiSIEM.
HA system requirements
l Two identical appliances (the same hardware model and same firmware version).
l By default, you use MGMT2 port to connect the HA appliances directly or through a Layer 2 switch. The HA port can
be changed but be aware of the settings on the System > Network > Interface page before changing from default.
l Heartbeat and synchronization traffic between cluster nodes occur over the physical network ports you specify. If
switches are used to connect heartbeat interfaces between nodes, the heartbeat interfaces must be reachable by
Layer 2 multicast. HA traffic uses multicast UDP on port numbers 6065 (heartbeat) and 6056 (synchronization). The
HA multicast IP address is 239.0.0.1; it is hard-coded, and cannot be configured.
l Overview
l Basic steps
Overview
The following figure shows an active-passive deployment. When HA is enabled, the system sends heartbeat
packets between the pair to monitor availability, and the master node pushes its configuration to the slave node.
When the primary node goes down, the secondary becomes the master node. When the primary node comes
back online, the system selects the master based on the following criteria:
Basic steps
To deploy an active-passive cluster:
1. License all FortiDDoS appliances in the HA cluster, and register them, including FortiGuard services, with the
Fortinet Technical Support website: https://support.fortinet.com/
Note: After you have saved the HA configuration changes, cluster members might join or rejoin the cluster. After
you have saved configuration changes on the master node, it automatically pushes its Global Settings and
Protection Profiles configuration to the slave node.
HA synchronization
The Master node pushes the following configuration elements to the Slave node. This is known as
synchronization.
Editable on Slave
Configuration elements Synced (Yes/No) in Active/Passive
Mode (Yes/No)
Dashboard
System
Network
Interface No Yes
DNS No Yes
Admin
Administrator Yes No
Profile Yes No
Settings No Yes
Authentication
RADIUS Yes No
LDAP Yes No
TACACS+ Yes No
SNMP
Thresholds Yes No
Editable on Slave
Configuration elements Synced (Yes/No) in Active/Passive
Mode (Yes/No)
Community Yes No
Certificate No Yes
Maintenance
Global Settings
Config Yes No
Settings
Settings Yes No
Signaling Yes No
IP Reputation Yes No
Editable on Slave
Configuration elements Synced (Yes/No) in Active/Passive
Mode (Yes/No)
Proxy IP Yes No
Address
Yes No
Distress ACL
Blacklisted No Yes
Domains
Protection Profiles
Editable on Slave
Configuration elements Synced (Yes/No) in Active/Passive
Mode (Yes/No)
Thresholds Yes No
Address
Monitor
Editable on Slave
Configuration elements Synced (Yes/No) in Active/Passive
Mode (Yes/No)
Log Access
Executive Summary
Editable on Slave
Configuration elements Synced (Yes/No) in Active/Passive
Mode (Yes/No)
Diagnostics
Flowspec No Yes
Synchronization occurs immediately when an appliance joins the cluster, and thereafter every 30 seconds. In an
active-passive cluster, any synchronized settings (Yes in the 'Synced' column above) are read-only on the Slave
node.
All other system configuration, network and interface configuration, HA configuration, and log/report
configuration (Yes in the 'Editable' column above) are not synchronized but may be edited on the Slave even
when it is in Active-Passive Mode.
l Session data—It does not synchronize session information or any other element of the data traffic.
l Estimated thresholds—Configured thresholds are part of the configuration and are synchronized, but estimated
thresholds that are shown in Monitor graphs are based on the history of traffic processed by the local system.
l Log messages—These describe events that happened on that specific appliance. After a failover, you might
notice that there is a gap in the original active appliance’s log files that corresponds to the period of its down time.
Log messages created during the time when the standby was acting as the active appliance (if you have configured
local log storage) are stored there, on the original standby appliance.
l Generated reports—Like the log messages that they are based upon, PDF, HTML, RTF, and plain text reports
also describe events that happened on that specific appliance. As such, report settings are synchronized, but report
output is not.
These commands generate other commands and a command context, and could lead
to unexpected behavior when synchronized to the secondary node. In an HA deploy-
ment, be sure to use the GUI or REST API to configure these particular settings.
Configuring HA settings
To configure HA settings:
Settings Guidelines
Configured HA l Standalone
Mode l Active-passive
This setting should only be changed after other non-synchronized settings are com-
plete, although this is not mandatory. See HA synchronization for settings that are
not synchronized between devices. When changed to active-passive, all synchronized
parameters on the Slave device will be replaced with data from the Master device and
made read-only. Non-synchronized parameters may be modified on the Slave device,
as required, while it is in Active-Passive mode.
Group Name Name to identify the HA cluster if you have more than one. This setting is optional,
and does not affect HA function. The maximum length is 35 characters (no special
characters or spaces are allowed).
Device Priority Number indicating priority of the member node when electing the cluster master node.
The smaller the number, the higher the priority. It is mandatory to set this correctly.
The valid range is 0 to 9 and the default is 5.
Override Enabled by default and strongly recommended. Enable/disable to make Device Pri-
ority a more important factor than up-time while selecting the master node. If this
option is disabled, when the Master fails, the Slave becomes the new Master until it
fails, even if the Master is replaced - which is an unusual deployment.
Nodes with the same group ID join the cluster. If you have more than one HA cluster
on the same network, each cluster must have a different group ID.
Detection Interval Number of 100-millisecond intervals at which heartbeat packets are sent. This is also
the interval at which a node expects to receive heartbeat packets. These numbers
must match on Master and Slave.
The valid range is 1 to 20 (that is, between 100 and 2,000 milliseconds). The default is
2.
Heartbeat Lost Number of times a node retries the heartbeat and waits to receive HA heartbeat pack-
Threshold ets from the other node before concluding the other node is down. The valid range is
from 1 to 60. The default is 6.
Settings Guidelines
Port Mark the check boxes for the network interface to be used for port monitoring and
heartbeat packets. Use the same port number for both systems. For example, if you
select mgmt2 on the primary node, select mgmt2 as the heartbeat interface on the
other node.
The standard practice is to use mgmt2 for port monitoring and heartbeat packets with
a dedicated cable between the devices. However, the HA multicast traffic can share a
management port that has an IP address for system GUI/CLI access. If not directly
connected, ensure that the two HA ports/systems have Layer 2 multicast connectivity
between them.
CLI commands:
config system ha
set mode <standalone | active-passive>
set group-name <group_name_str>
set priority <priority_int>
set override <enable | disable>
set group-id <group_id_integer>
set hb-interval <hb_interval_int>
set hb-lost-threshold <hb_lost_thresh_int>
set hbdev <mgmt1 | mgmt2>
set arps <arps_int>
set arps-interval <arps_interval_int>
end
Operational tasks
Monitoring an HA cluster
You can use SNMP, log messages, and alert email to monitor HA events, such as when failover has occurred.
The system logs HA node status changes as follows:
1. Verify that the cluster node members are powered on and available.
2. Log into the web UI of the Master node with an account whose access profile contains Read and Write
permissions in the Maintenance and HA category.
3. Backup the Master configuration.
4. Go to System > High Availability and note the number in the Device Priority field. The Master Device Priority
must be higher than Slave Device Priority. (1 is a higher priority than 5, for example). If this is not true, note the
error to be corrected during upgrade.
5. Change the HA mode from Active-Passive to Standalone.
6. Repeat steps 2-4 on the Slave system.
Note: Having both systems in Standalone mode is important for this procedure.
7. Follow the upgrade procedure as instructed in the Release Notes on Slave system. (This assumes that the traffic
is currently on the Master system.).
8. Once the Slave system is upgraded, leave the Slave in Standalone Mode and move traffic to the Slave.
9. Follow the upgrade procedure on Master System as instructed in the Release Notes.
10. On the Master System > High Availability: Confirm or set the device priority to a higher priority (lower number) than
the Slave system and then change Configured HA Mode to 'Active-Passive'.
11. Revert traffic to the Master system.
12. On the Slave System > High Availability: Confirm or set the device priority to a lower priority (lower number) than
the Master system and then change Configured HA Mode to 'Active-Passive'.
When a subnet or destination server in a customer premises network (CPN) is the target of a DDoS attack, a
FortiDDoS appliance deployed in the customer premises network can detect the attack and enforce the SPP
threshold policies to protect the destination servers; however, at this point, the WAN uplink connecting the
customer premises network to the Internet might have already become saturated with attack traffic, resulting in
legitimate traffic being dropped and the destination being unreachable.
The Service Provider Signaling feature enables small/medium businesses and enterprises to work with
participating service providers to route traffic through a "scrubbing station" in the service provider network (SPN)
before it is forwarded through the WAN link to the customer premises network (CPN). The scrubbing station is a
large-scale FortiDDoS appliance or a third-party device that enforces its own Global Settings policies and the SPP
policy assigned to the subnet. Traffic that is not dropped at the scrubbing station is forwarded to the customer
premises network.
l Registration of CPN FortiDDoS appliances with an SPN FortiDDoS appliance or third-party appliance.
l Status checks (every 1 minute) for the connection from the CPN to the SPN.
l Signaling from the CPN FortiDDoS to the SPN FortiDDoS when traffic volume reaches the configured threshold.
l Export of the CPN FortiDDoS SPP policy and settings to the SPN FortiDDoS appliance so that a security policy
based on normal CPN SPP baseline traffic rates can be enforced.
The SPN FortiDDoS administrator can be alerted of the attack through the event log, SNMP, or alert email
notification. The SPN administrator must then use the BGP routing policy to divert traffic to the attack destination
through the SPN scrubbing station.
When the attack is over, the SPN administrator should remove the SPP policy that was installed for the CPN (if
not, a subsequent signaling from that SPP will fail).
The SPN FortiDDoS must be a model that supports DNS protection. FortiDDoS 600B
and 900B do not support DNS protection.
Topology
The figure below shows the network topology for a Service Provider Signaling deployment. Under normal
conditions, the network traffic through the service provider network WAN link to the customer premises network
follows the path of the green arrow.
When the volume of traffic exceeds the high volume threshold, the FortiDDoS appliance in the CPN signals the
FortiDDoS in the SPN. The SPN administrator can then route traffic through the scrubbing station.
Notes:
l Ingress Router—When an attack is signaled, the SPN administrator updates the BGP routing policy so that traffic to
the destination that is under attack is forwarded to the scrubbing station. Once the attack is over, the SPN
administrator can update the BGP routing policy again so the traffic can go directly to the CPN.
l FortiGate (on-ramp router)—The on-ramp router is responsible for receiving the traffic that passes through the SPN
FortiDDoS and injecting it back to the service provider network. We recommend a FortiGate model that supports
routing and EtherChannel aggregation features. An on-ramp router is required because the FortiDDoS deployment
is transparent to the routers; it has no IP address in the path of packets.
l Egress Router—The service provider router closest to the customer premises network. During an attack, this link to
the CPN edge router can become saturated, hence this signaling solution.
Registration
This section includes the registration process for signaling between FortiDDoS devices:
l Overview
l CPN registration tasks
l SPN registration tasks
Overview
Participation is coordinated in advance by the SPN and CPN administrators. An SPN appliance can accept
registration from up to 8 CPN appliances. A CPN appliance can register with only one SPN appliance.
1. On the SPN appliance, the administrator creates a configuration for the connection with the CPN appliance. The
configuration includes the CPN appliance serial number, IP address, and a shared secret.
2. On the CPN appliance, the administrator creates a configuration for the connection with the SPN appliance. The
configuration includes the SPN appliance serial number, IP address, and a shared secret.
3. When the configuration on the CPN appliance is saved, the CPN appliance initiates a registration request to the
SPN appliance. Thee registration request includes its serial number, IP address, and the shared secret.
4. The SPN appliance attempts to register the CPN appliance and returns a status message indicating "registered" if
the registration information matches or "mismatch" if the registration information does not match. The SPN
appliance sends a "declined" massage if the SPN administrator actively declines the registration.
Figure 219: Registration
Basic steps
CLI commands:
SP-FDD # config ddos global setting
SP-FDD (setting) # set signaling-mode service-provider
SP-FDD (setting) # end
CLI commands:
SP-FDD # config ddos global signaling-devices
SP-FDD (signaling-devi~e) # edit FI800B3913800021
SP-FDD (FI800B3913800024) # get
serial-number : FI800B3913800021
shared-secret : test1
address-type : ipv4
ipv4-address : 172.30.153.121
registration-status : pending-registration
Basic steps
1. Go to Global Settings > Settings > Settings > Deployment tab and select Customer Premises.
2. Go to Global Settings > Signaling and provide details for the connection with the SPN FortiDDoS.
CLI commands:
CP-FDD # config ddos global setting
CP-FDD (setting) # set signaling-mode customer-premises
CP-FDD (setting) # end
CLI commands:
CP-FDD # config ddos global service-provider-devices
CP-FDD (service-provid~r) # edit SP-FDD
CP-FDD (SP-FDD) # set enable-sp-device enable
CP-FDD (SP-FDD) # set serial-number FI800B3913800024
CP-FDD (SP-FDD) # set shared-secret test1
CP-FDD (SP-FDD) # set ipv4-address 172.30.153.125
CP-FDD (SP-FDD) # end
Signaling
The CPN FortiDDoS sends the SPP policy settings and SPP settings configuration to the SPN FortiDDoS to signal
the volume threshold for the subnet has been reached. The SPN FortiDDoS checks registration status and
availability of an SPP "slot" to import the SPP configuration. If those checks pass, the SPP configuration from the
CPN is installed automatically in the SPN FortiDDoS.
The CPN SPP policy settings determine the volume threshold at which to signal the SPN.
Basic Steps
1. On the CPN appliance, go to Global Settings > Switching Policy and enable the feature.
2. Go to Global Settings > Service Protection Profiles > Switching Policy. When you configure the SPP policy, follow
these guidelines:
l SPP Switching—Enable.
l Alternate Service Protection Profile—Specify the same SPP name. For example, if you are configuring SPP-1,
specify SPP-1 as the alternate as well.
l Threshold—Packet rate at which signaling occurs.
Note: The Threshold measurement unit must be same on both Customer Premises and Service Provider. The
measurement unit (PPS or Mbps) can be set under Global Settings > Settings > Settings > SPP Switching
Threshold Measurement Unit.
Notification
The CPN and SPN FortiDDoS administrators must work out the details on how the SPN administrator (or team) is
notified when signaling occurs. The following features support notification:
l SNMP traps
l Email alerts
l Event logs
SNMP traps
On the CPN FortiDDoS, the following SNMP traps are sent:
l The SPP switching policy threshold has been reached, and therefore the signaling has been initiated.
l CPN FortiDDoS attempt to signal SPN FortiDDoS failed.
On the SPN FortiDDoS, an SNMP trap is sent when the signaling CPN SPP policy is loaded into one of the 8 SPP
slots. The SPN administrator must first create 8 empty SPP slots and configure SNMP trap receivers (Log
& Report > Log Configuration > SNMP Trap Receivers) for each. Then, if a CPN signals and its SPP policy is
installed in slot SPP-3, for example, an SNMP trap is sent to the SNMP trap receiver configured for slot SPP-3.
Email alerts
You can configure email alerts. Go to Log & Report > Alert Email Settings and configure alert email settings.
Include alerts when SPP Switching/Signaling occurs.
Event logs
You can enable event logs. Go to Log & Report > Log Configuration > Local Log Settings and configure event log
settings. Include events when SPP Switching/Signaling occurs.
Troubleshooting
Logs
Log messages often contain clues that can aid you in determining the cause of a problem.
Depending on the type, log messages may appear in either the system event logs or the DDoS attack logs. To
enable logging of different categories of system events, go to Log & Report > Log Configuration > Local
Log Settings. All DDoS attack log categories are enabled automatically and cannot be disabled.
During troubleshooting, you might find it useful to lower the logging severity threshold for more verbose logs, to
include more information on less severe events. To configure the log level, go to Log & Report >
Log Configuration > Local Log Settings.
Tools
l execute commands
l diagnose commands
l Special Fortinet Support commands
l get command
execute commands
You can use the command-line interface (CLI) execute commands to run diagnostic utilities, such as nslookup,
ping, and traceroute.
The following example shows the list of execute commands:
FI800B3913000018 # execute
backup backup
bypass-traffic bypass data traffic <enable|disable>
factoryreset reset to factory default
formatlogdisk format log disk to enhance performance
nslookup nslookup ping ping <host name | host ip>
ping-option ping option settings
ping6 ping <host name | host ipv6>
ping6-option ping6 option settings
reboot reboot the system
repair-database-tables repair database tables
restore restore shutdown shutdown appliance
telnettest test if we can telnet to a server
traceroute traceroute
diagnose commands
You can use the CLI diagnose commands to gather diagnostic information that can be useful to Fortinet
Customer Care when diagnosing any issues with your system.
l System status
l Current configuration
l Hardware register values
l Event and DDoS attack log database
Use the following command syntax:
# execute backup diag_info tftp <tftp_server_ipaddress>
The filename generated stems from the appliance serial number and date. For example, diag_info-FI-
1KB0000000007-2015-03-07-16-57.tgz.
The archive includes four files with filenames similar to the following:
back_status-FI-1KB0000000007-2015-03-07-16-57
back_cfg-FI-1KB0000000007-2015-03-07-16-57
back_hw_reg-FI-1KB0000000007-2015-03-07-16-57
back_logs-FI-1KB0000000007-2015-03-07-16-57.tgz
The logs archive includes four files with filenames similar to the following:
elog@002e0000000001.MAI
elog@002e0000000001.MAD
dlog.MAI
dlog.MAD
get command
l Browser compatibility
l Connectivity issues
l Resource issues
Browser compatibility
FortiDDoS 4.3.0 will not work with Internet Explorer version 9.0 and 10.0. In IE 11.0, the following setting must be
adjusted for correct operation:
1. Click Settings > Internet options.
2. Click Settings under Browsing history.
3. Select Every time I visit the webpage under 'Check for newer versions of stored pages:'.
Connectivity issues
One of your first tests when configuring a new SPP should be to determine whether legitimate traffic is forwarded
to protected resources.
l Ensure the network cables are properly plugged into the interfaces on the FortiDDoS appliance.
l Ensure there are connection lights for the network cables on the appliance.
l Change the cable if the cable or its connector are damaged or you are unsure about the cable’s type or quality.
l Connect the FortiDDoS appliance to different hardware to see if that makes a difference.
l In the web UI, select Dashboard. In the System Status widget, ensure that the status indicators for the ports that
are in use are green (indicating that physical connections are present) or flashing green (indicating that data is
flowing). Hover over the indicator for further status information.
If any of these checks solve the problem, it was a hardware connection issue. You should still perform some basic
software tests to ensure complete connectivity.
If the hardware connections are correct, and the appliance is powered on but you cannot connect using the CLI or
web UI, you might be experiencing bootup problems. You might have to reimage the system. See Restoring
firmware ('clean install').
1. Try to communicate with the server from the client using the ping command. Use the following graphs to detect
if the traffic has travelled through the FortiDDoS appliance:
l Monitor > Port Statistics > Packets
l Monitor > Port Statistics > Bits
l Monitor > Specific Graphs > Protocols (protocol 1 or 58)
If you do not see the expected count of bits or packets, continue to the next step.
2. Use the ping command on both the client and the server to verify that a route exists between the two. Test traffic
movement in both directions: from the client to the server, and the server to the client. Servers do not need to be
able to initiate a connection, but must be able to send reply traffic along a return path.
In networks that have asymmetric routes, routing success in one direction does not
guarantee success in the other.
Use the tracert or traceroute command on both the client and the server (depending on their operating
systems) to determine if there is a point of failure along the route.
If the route is broken when it reaches the FortiDDoS appliance, first examine its network interfaces and routes. To
display network interface information, enter the CLI command: show system interface
Most traceroute commands display their maximum hop count — that is, the maximum number of steps it will
take before declaring the destination unreachable — before they start tracing the route. The TTL setting may
result in routers or firewalls along the route timing out due to high latency.
Where ping only tells you if the signal reached its destination and returned successfully, traceroute shows
each step of its journey to its destination and how long each step takes. If you specify the destination using a
domain name, the traceroute output can also indicate DNS problems, such as an inability to connect to a
DNS server.
By default, traceroute uses UDP with destination ports numbered from 33434 to 33534. The traceroute utility
usually has an option to specify use of ICMP ECHO_REQUEST (type 8) instead, as used by the Windows
tracert utility. If you have a firewall and you want traceroute to work from both machines (Unix-like
systems and Windows) you will need to allow both protocols inbound through your firewall (UDP ports 33434 -
33534 and ICMP type 8).
3 2 ms 2 ms 22 ms core-2-g0-1-1104.storm.ca [209.87.239.129]
4 3 ms 3 ms 2 ms 67.69.228.161
5 3 ms 2 ms 3 ms core2-ottawa23_POS13-1-0.net.bell.ca [64.230.164
.17]
(Output abbreviated.)
15 97 ms 97 ms 97 ms gar2.sj2ca.ip.att.net [12.122.110.105]
16 94 ms 94 ms 94 ms 12.116.52.42
17 87 ms 87 ms 87 ms 203.78.181.10
18 89 ms 89 ms 90 ms 203.78.181.130
19 89 ms 89 ms 90 ms fortinet.com [66.171.121.34]
20 90 ms 90 ms 91 ms fortinet.com [66.171.121.34]
Trace complete.
Each line lists the routing hop number, the 3 response times from that hop, and the IP address and FQDN (if any)
of that hop. Typically a value of <1ms indicates a local router.
If the appliance does not have a complete route to the destination, output similar to the following appears:
Tracing route to 10.0.0.1 over a maximum of 30 hops
If the appliance has a complete route to the destination, output similar to the following appears:
traceroute to www.fortinet.com (66.171.121.34), 30 hops max, 60 byte packets
1 172.16.1.2 (172.16.1.2) 0.189 ms 0.277 ms 0.226 ms
2 static-209-87-254-221.storm.ca (209.87.254.221) 2.554 ms 2.549 ms 2.503 ms
3 core-2-g0-1-1104.storm.ca (209.87.239.129) 2.461 ms 2.516 ms 2.417 ms
4 67.69.228.161 (67.69.228.161) 3.041 ms 3.007 ms 2.966 ms
Each line lists the routing hop number, the IP address and FQDN (if any) of that hop, and the 3 response times
from that hop. Typically a value of <1ms indicates a local router.
If the appliance does not have a complete route to the destination, output similar to the following appears:
traceroute to 10.0.0.1 (10.0.0.1), 30 hops max, 60 byte packets
1 * * *
2 172.16.1.10 (172.16.1.10) 4.160 ms 4.169 ms 4.144 ms
3 * * *
4 * * *^C
The asterisks ( * ) indicate no response from that hop in the network routing.
Likewise, if the computer’s DNS query cannot resolve the host name, output similar to the following appears:
example.lab: Name or service not known
Cannot handle "host" cmdline arg `example.lab' on position 1 (argc 1)
Checking routing
ping and traceroute are useful tools in network connectivity and route troubleshooting for management
network interfaces.
Since you typically use these tools for troubleshooting only, allow ICMP (the protocol used by these tools) on
interfaces only when you need them. Otherwise, disable ICMP for improved security and performance.
By default, FortiDDoS appliances respond to ping and traceroute. However, if the appliance does not
respond, and there are no firewall policies that block it, ICMP type 0 (ECHO_REPSPONSE) might be effectively
disabled.
Disabling ping only prevents FortiDDoS from receiving ICMP type 8 (ECHO_
REQUEST) or type 30 and traceroute-related UDP.
If a route is cached in the routing table, it saves time and resources that would otherwise be required for a route
look-up. If the routing table is full and a new route must be added, the oldest, least-used route is deleted to make
room.
To check the routing table for the management network interface in the CLI, enter: diagnose netlink
route list
Resource issues
If the system resource usage appears to be abnormally high according to the System Resource widget or the CLI
command get system status, you can view the current consumption by each process by entering this CLI
command:diagnose system top delay 10
The above command generates a list of processes every 10 seconds. It includes the process names, their process
ID (pid), status, CPU usage, and memory usage.
The report continues to refresh and display in the CLI until you press q (quit).
If the issue recurs, and corresponds with a hardware or configuration change, you might need to change the
configuration. Look especially into reducing frequent logging. If the issue persists, contact Fortinet Technical
Support.
Task Menu
Reset the threshold configuration for an SPP but do not clear traffic history. See Managing
thresholds .
You might do this if you are conducting a demonstration or test, or you are
troubleshooting an issue; or if you want to start over with a new learning period in
Detection Mode and start with high thresholds that will not drop traffic.
Reset the threshold configuration for an SPP and clear its traffic history. See Performing a fact-
ory reset of SPP set-
You might do this if characteristics of the traffic protected by an SPP change sig- tings.
nificantly (for example, you change which server or protocol that it protects).
Reset the system to the factory state. All SPPs, statistics, and logs will be See Resetting the sys-
deleted. tem.
Restoring (also called re-imaging) the firmware can be useful in the following cases:
l You are unable to connect to the FortiDDoS appliance using the web UI or the CLI
l You want to install firmware without preserving any existing configuration (that is, perform a “clean install”)
Unlike updating firmware, restoring firmware re-images the boot device. Also, restoring firmware can only be
done during a boot interrupt, before network connectivity is available, and therefore requires a local console
connection to the CLI. It cannot be done through an SSH or Telnet connection.
1. Download the firmware file from the Fortinet Technical Support website.
2. Connect your management computer to the FortiDDoS console port using a RJ-45-to-DB-9 serial cable or a null-
modem cable.
3. Initiate a local console connection from your management computer to the CLI of the FortiDDoS appliance, and
log in as the admin administrator.
4. Connect the MGMT1 port of the FortiDDoS appliance directly or to the same subnet as a TFTP server.
5. Copy the new firmware image file to the root directory of the TFTP server.
6. If necessary, start your TFTP server. (If you do not have one, you can temporarily install and run one such as
tftpd on your management computer.)
TFTP is not secure, and it does not support authentication. You should run it
only on trusted administrator-only networks, and never on computers directly
connected to the Internet. Turn off tftpd off immediately after completing this
procedure.
7. Verify that the TFTP server is currently running, and that the FortiDDoS appliance can reach the TFTP server.
To use the FortiDDoS CLI to verify connectivity, enter the following command:
execute ping 192.168.1.168
where 192.168.1.168 is the IP address of the TFTP server.
8. Enter the following command to restart the FortiDDoS appliance: execute reboot
As the FortiDDoS appliances starts, a series of system startup messages appear.
Press any key to display configuration menu........
You have only 3 seconds to press a key. If you do not press a key soon enough,
the FortiDDoS appliance reboots and you must log in and repeat the execute
reboot command.
If you successfully interrupt the start-up process, the following messages appears:
[G]: Get firmware image from TFTP server.
[F]: Format boot device.
[B]: Boot with backup firmware and set as default.
[Q]: Quit menu and continue to boot with default firmware.
[H]: Display this list of options.
Enter G,F,B,Q,or H:
MAC:00219B8F0D94
###########################
Total 28385179 bytes data downloaded.
Verifying the integrity of the firmware image..
Save as Default firmware/Backup firmware/Run image without saving:[D/B/R]?
15. Type D.
The FortiDDoS appliance downloads the firmware image file from the TFTP server. The FortiDDoS appliance
installs the firmware and restarts. The time required varies by the size of the file and the speed of your network
connection.
The FortiDDoS appliance reverts the configuration to default values for that version of the firmware.
16. To verify that the firmware was successfully installed, log in to the CLI and type: get system status
The firmware version number is displayed.
17. Either reconfigure the FortiDDoS appliance or restore the configuration file.
Additional resources
If you cannot resolve the issue on your own, contact Fortinet Technical Support.
Appendix
The following table provides the description of the fields in the Log Reference table.
Field Description
Period Interrupt: Rate Flood means the first event is logged within two minutes after start
of attack and reported every minute thereafter.
Periodic: Events other than Rate Flood means events are logged every 5 minutes.
Note: Source IP address is reported only for drops due to per-source thresholds (see Source tracking table).
Tra-
Eve-
p
nt Sub- Cat- Perio-
atta- Event name Description Parameter Graph
cod- code egory d
ck
e
type
1 0 100- Protocol flood Rate Inter- Effective rate limit Protection Log & Report
0 flood rupt for the protocol Profiles > > Executive
has been Thresholds > Summary >
reached. Protocols DDoS Attack
Graphs ->
Top Attacked
Protocols, to
identify Pro-
tocols of
interest
Then: Mon-
itor > Layer 3
> Protocols
and enter
Protocol num-
bers to see
rate and
drop graphs.
1 1 100- Fragment flood Rate Inter- Effective rate limit Protection Monitor >
1 flood rupt for Profiles > Layer 3 >
the fragment thre- Thresholds > Fragmented
shold has been Scalars: Frag- Packets
reached. ment
Tra-
Eve-
p
nt Sub- Cat- Perio-
atta- Event name Description Parameter Graph
cod- code egory d
ck
e
type
1 4 100- IP header anom- Heade- Peri- Drops due to pre- None. Monitor >
4 aly r anom- odic defined Dropped as Anomaly
aly IP header rules: Anomaly. Drops >
Invalid header Layer 3 Mon-
length (less than itor > Anom-
5 words) Total aly Drops >
length less than Layer 4 >
20 bytes End of Header ->
Header before Anomaly
the data offset Detected
(while parsing
options) Length
field in the LSRR
or SSRR IP
option is other
than (3+(n*4))
where n is a
value greater
than or equal to 1
Pointer in the
LSRR or SSRR
IP option is other
than (n*4) where
n is a value
greater than or
equal to 1.
Tra-
Eve-
p
nt Sub- Cat- Perio-
atta- Event name Description Parameter Graph
cod- code egory d
ck
e
type
1 8 100- Source flood Rate Inter- Effective rate limit Protection Monitor >
8 flood rupt for the most-act- Profiles > Layer 3 >
ive- Thresholds > Most Active
source threshold Scalars: Most Source
has been Active
reached. Source Source
IP address is
reported.
1 15 101- Source IP==dest Heade- Peri- Identical source None. Monitor >
5 IP r anom- odic and protected IP Dropped as Anomaly
aly addresses Anomaly. Drops >
(LAND attack). Layer 3:
Source and
Destination
Address
Match
Tra-
Eve-
p
nt Sub- Cat- Perio-
atta- Event name Description Parameter Graph
cod- code egory d
ck
e
type
1 17 101- L3 anomalies Heade- Peri- Drops due to pre- None. Monitor >
7 r anom- odic defined Layer 3 Dropped as Anomaly
aly rules: Anomaly. Drops >
- IP version Layer 3:
other than Layer 3
IPv4 or IPv6.
- EOP (End
of Packet)
before 20
bytes of IPv4
data.
-EOP comes
before the
length
specified by
Total
Length.
-Reserved
Flag set.
-More Frag
and Don't
Frag Flags
set.
-Added
Anomaly for
DSCP and
ECN.
Tra-
Eve-
p
nt Sub- Cat- Perio-
atta- Event name Description Parameter Graph
cod- code egory d
ck
e
type
1 57 105- Most Active Rate Inter- Effective rate limit Protection Monitor >
7 Source flood flood rupt for the Most-Act- Profiles > Layer 3 >
ive-Source Thresholds > Most Active
threshold has Scalars: Source
been reached. Most-Active-
Source
1 58 105- Most Active Rate Inter- Effective rate limit Protection Monitor >
8 Destination flood flood rupt for the Most-Act- Profiles > Layer 3 >
ive-Destination Thresholds > Most Active
threshold has Scalars: Destination
been reached. Most-Active-
Destination
Tra-
Eve-
p
nt Sub- Cat- Perio-
atta- Event name Description Parameter Graph
cod- code egory d
ck
e
type
1 59 105- Denied: Geo-loc- ACL Peri- Denied by the Global Set- Monitor >
9 ation odic global geo- tings > ACL Drops >
location ACL. Address > Layer 3:
Address Con- Address
fig (IPv4 Denied Mon-
Only) Global itor > Layer 3
Settings > > Address
Access Con- Denied >
trol List > Geo Loca-
Access Con- tion Drop
trol List:
Select
Geolocation
and Country
Tra-
Eve-
p
nt Sub- Cat- Perio-
atta- Event name Description Parameter Graph
cod- code egory d
ck
e
type
Tra-
Eve-
p
nt Sub- Cat- Perio-
atta- Event name Description Parameter Graph
cod- code egory d
ck
e
type
1 61 106- Denied: IP repu- ACL Peri- Denied by the Global Set- Monitor >
1 tation odic global IP Repu- tings > IP ACL Drops >
tation ACL. Reputation > Layer 3:
IP Repu- Address
tation: Denied Mon-
Enable itor > Layer 3
Options > Address
Denied: IP
Reputation
Denied
Drops
1 62 106- Denied: Local ACL Peri- Denied by the Global Set- Monitor >
1 address anti- odic global local tings > Local ACL Drops >
spoof address anti- Address Con- Layer 3:
spoofing ACL. fig (IPv4) Address
Global Set- Denied Mon-
tings > Local itor > Layer 3
Address Con- > Address
fig IPv6 Denied:
Global Set- Local
tings > Set- Address
tings > Anti-spoof
Settings > Denied
General Tab: Drops
Local
Address Anti-
Spoofing
Options
2 0 200- SYN flood Rate Inter- Effective rate limit Protection Monitor >
0 flood rupt for Profiles > Layer 4 >
the syn threshold Thresholds > SYN Packets
has been Scalars: SYN
reached. Protection
Profiles >
SPP Settings
> SPP Set-
tings > TCP
Tab: TCP
Session
Feature con-
trol = SYN
Validation
Tra-
Eve-
p
nt Sub- Cat- Perio-
atta- Event name Description Parameter Graph
cod- code egory d
ck
e
type
2 7 200- State Anomalies: State Peri- Sequence num- Protection Monitor >
7 Outside window anom- odic ber of a packet Profiles > Anomaly
aly was outside the SPP Settings Drops >
acceptable > SPP Set- Layer 4 >
window. Tracked tings > TCP State: For-
when the SPP Tab: Options ward/Re-
setting seq- verse
validation is Trans-
enabled. mission Not
Within Win-
dow
Tra-
Eve-
p
nt Sub- Cat- Perio-
atta- Event name Description Parameter Graph
cod- code egory d
ck
e
type
2 12 201- State Anomalies: State Peri- State of the TCP Protection Monitor >
2 State transition anom- odic packet received Profiles > Anomaly
error aly was not con- SPP Settings Drops >
sistent with the > SPP Set- Layer 4 >
expected state. tings > TCP State: TCP
Tracked when Tab: Options State Trans-
the SPP ition
setting state-
transition-anom-
alies-validation is
enabled.
2 15 201- TCP zombie Rate Inter- Effective rate limit Protection Monitor >
5 flood flood rupt for the new- Profiles > Layer 4 >
connections thre- Thresholds > New Con-
shold has been Scalars: New nections
reached. A spike Connections
in new con-
nections from IP
addresses
formerly determ-
ined to be legit-
imate might be a
sign of a zombie
attack. “Zombies”
are systems that
are unwitting par-
ticipants in an
attack due to
infection from a
virus or a worm.
Note, this
Threshold is nor-
mally set to max-
imum by System
Recom-
mendations to
avoid rate lim-
iting new con-
nections but New
Connections are
always shown on
the graphs.
Tra-
Eve-
p
nt Sub- Cat- Perio-
atta- Event name Description Parameter Graph
cod- code egory d
ck
e
type
2 17 201- TCP port flood Rate Peri- Effective rate limit Protection Log & Report
7 flood odic for the port has Profiles > > Report
been reached. Thresholds > Browse >
TCP Ports Executive
Summary >
Top Attacked
TCP Ports, to
identify spe-
cific ports
Then: Mon-
itor > Layer 4
> TCP Ports
and enter
TCP Port
numbers of
interest to
see rate and
drop inform-
ation.
2 18 201- UDP port flood Rate Peri- Effective rate limit Protection Log & Report
8 flood odic for the port has Profiles > > Report
been reached. Thresholds > Browse >
UDP Ports Executive
Summary >
Top Attacked
UDP Ports,
to identify
specific ports
Then: Mon-
itor > Layer 4
> UDP Ports
and enter
UDP Port
numbers of
interest to
see rate and
drop inform-
ation.
Tra-
Eve-
p
nt Sub- Cat- Perio-
atta- Event name Description Parameter Graph
cod- code egory d
ck
e
type
2 19 201- ICMP flood Rate Peri- Effective rate limit Protection Log & Report
9 flood odic for the type/code Profiles > > Report
has been Thresholds > Browse >
reached. ICMP Types Executive
and Codes Summary >
Top Attacked
ICMP / Type
Code, to
identify spe-
cific ICMP
Types and
Codes Then:
Monitor >
Layer 4 >
ICMP
Types/Codes
and enter
ICMP
Types/Codes
of interest to
see rate and
drop inform-
ation.
2 20 202- Foreign Packets State Peri- Slow Connection Protection Monitor >
0 (Aggressive anom- odic Aggressive Profiles > Anomaly
Aging and Slow aly Aging. SPP Settings Drops >
Connections) > SPP Set- Layer 4 >
tings > TCP State
Tab: Aggress-
ive aging set
to Track Slow
TCP Con-
nections
2 22 202- Slow Con- Rate Inter- Slow connection Protection Monitor >
2 nection: Source flood rupt attack detected Profiles > Layer 4 >
flood and “Source SPP Settings Slow Con-
blocking for slow > SPP Set- nections
connections” tings > TCP
enabled. Source Tab: Source
IP address is Blocking for
reported. Slow Con-
nections
Options
Tra-
Eve-
p
nt Sub- Cat- Perio-
atta- Event name Description Parameter Graph
cod- code egory d
ck
e
type
2 23 202- Possible UDP Rate Inter- UDP Port Flood UDP Port Monitor >
3 Reflection Flood flood rupt where the Thresholds Layer 4 >
Source Port is UDP Ports
<10000 and the
Destination Port
is >9999.
For example, this
would indicate
an NTP reflection
attack if the Asso-
ciated Port dis-
played was 123.
2 27 202- TCP invalid Heade- Peri- Invalid TCP flag None. Anomaly
7 flag combination r anom- odic combination. If Dropped as Drops >
aly the urgent flag is Anomaly. Layer 4 >
set, then the Header: TCP
urgent pointer Invalid Flag
must be non- Combination
zero. SYN, FIN or
RST is set for
fragmented pack-
ets.
Tra-
Eve-
p
nt Sub- Cat- Perio-
atta- Event name Description Parameter Graph
cod- code egory d
ck
e
type
2 52 205- TCP port denied ACL Peri- Denied by an Protection Monitor >
2 odic SPP ACL rule. Profiles > Ser- ACL Drops >
vice > Ser- Layer 4: TCP
vice Config: Port Denied
TCP-Port Drops
Protection
Profiles >
Access Con-
trol List >
Access Con-
trol List
Tra-
Eve-
p
nt Sub- Cat- Perio-
atta- Event name Description Parameter Graph
cod- code egory d
ck
e
type
2 53 205- UDP port denied ACL Peri- Denied by an Protection Monitor >
3 odic SPP ACL rule. Profiles > Ser- ACL Drops >
vice > Ser- Layer 4:
vice Config: UDP Port
UDP-Port Denied
Protection Drops
Profiles >
Access Con-
trol List >
Access Con-
trol List
2 56 205- SYN flood from Rate Inter- Effective rate limit Protection Monitor >
6 source flood rupt for the syn-per- Profiles > Layer 4 >
src threshold has Thresholds > SYN per
been reached. Scalars: Source
Source IP SYN-per-
address is repor- Source
ted.
2 58 205- Excessive Concu- Rate Inter- Effective rate limit Protection Monitor >
8 rrent Con- flood rupt for Profiles > Layer 4 >
nections Per the concurrent- Thresholds > Connection
Source connections-per- Scalars: Con- per Source
source threshold current-Con-
has been nections-per-
reached. Source Source
IP address is
reported.
Tra-
Eve-
p
nt Sub- Cat- Perio-
atta- Event name Description Parameter Graph
cod- code egory d
ck
e
type
2 62 206- SYN per Destin- Rate Inter- Effective rate limit Protection Monitor >
2 ation Flood flood rupt for the SYN-per- Profiles > Layer 4 >
Destination Thresholds > SYN per
threshold has Scalars: Destination
been reached. SYN-per-
Destination
2 82 208- DNS Query flood Rate Peri- Effective rate limit Protection Monitor >
2 from Source flood odic for the DNS- Profiles > Layer 7 >
Query-per- Thresholds > DNS > Query
Source threshold Scalars: per Source
has been DNS-Query-
reached. per-Source
2 83 208- DNS Packet Rate Peri- Effective rate limit Protection Monitor >
3 Track Flood from flood odic for the DNS- Profiles > Layer 7 >
Source Packet-Track- Thresholds > DNS > Sus-
per-Source Scalars: picious
threshold has DNS-Packet- Sources
been reached. Track-per-
Srce
2 86 208- Invalid ICMP Heade- Peri- Invalid ICMP Global Set- Monitor >
6 Type/Code r odic Type/Code. tings > Set- Anomaly
Anom- tings > Drops >
aly General tab Layer 4 >
Header
2 87 208- HTTP Method Rate Inter- Effective rate limit Protection Monitor >
7 flood from source flood rupt for the HTTP- Profiles > Flood Drops
Method-per- Thresholds > > Layer 7 >
Source threshold Scalars HTTP
has been
reached.
2 88 208- GRE Header Heade- Peri- Invalid Service None. Monitor >
8 checksum error r odic Provider GRE Dropped as Anomaly
Anom- checksum. Anomaly. Drops >
aly Layer 4 >
Header:
GRE Check-
sum
Tra-
Eve-
p
nt Sub- Cat- Perio-
atta- Event name Description Parameter Graph
cod- code egory d
ck
e
type
4 0 400- HTTP Method Rate Inter- Effective rate limit Protection Log & Report
0 Flood flood rupt for a particular Profiles > > Report
HTTP method Thresholds > Browse >
threshold has HTTP Meth- Executive
been reached. ods Summary >
Top Attacked
HTTP Meth-
ods, to
identify spe-
cific HTTP
Methods
Then: Mon-
itor > Layer 7
> HTTP >
Methods and
select spe-
cific Method
from the list.
4 1 400- Undefined HTTP Heade- Peri- Packets dropped None. Monitor >
1 Method anomaly r anom- odic due to Dropped as Anomaly
aly the unknown- Anomaly. Drops >
opcode- Layer 7 >
anomaly rule HTTP
(Global Settings header:
> Settings page). Unkown
Method
Tra-
Eve-
p
nt Sub- Cat- Perio-
atta- Event name Description Parameter Graph
cod- code egory d
ck
e
type
4 4 400- URL flood Rate Peri- Effective rate limit Protection Log & Report
4 flood odic for a particular Profiles > > Report
URL threshold Thresholds > Browse >
has been URLs NOTE: Executive
reached. Learned Summary >
URLs are Top Attacked
hashed into URLs, to
32,767 pos- identify spe-
sible indexes cific URL
per SPP. Sys- hashes.
tem will only Then: Mon-
display hash. itor > Layer 7
> HTTP >
URLs and
enter specific
hash to see
rates and
drops.
4 6 400- HTTP L7 Host Rate Inter- Effective rate limit Protection Log & Report
6 Flood flood rupt for a particular Profiles > > Report
Host header Thresholds > Browse >
threshold has Hosts Note: Executive
been reached. Learned Summary >
Hosts are Top Attacked
hashed into Hosts, to
512 possible identify spe-
indexes per cific Host
SPP. System hashes.
will only dis- Then: Mon-
play hashes. itor > Layer 7
> HTTP >
Hosts and
enter specific
hash to see
rates and
drops.
Tra-
Eve-
p
nt Sub- Cat- Perio-
atta- Event name Description Parameter Graph
cod- code egory d
ck
e
type
4 8 400- HTTP L7 Referer Rate Inter- Effective rate limit Protection Log & Report
8 Flood flood rupt for a particular Profiles > > Report
Referer header Thresholds > Browse >
threshold has Referer Executive
been reached. NOTE: Summary >
Learned Top Attacked
Referers are Referers, to
hashed into identify spe-
512 possible cific Host
indexes per hashes.
SPP. System Then: Mon-
will only dis- itor > Layer 7
play hashes. > HTTP >
Referers and
enter specific
hash to see
rates and
drops.
Tra-
Eve-
p
nt Sub- Cat- Perio-
atta- Event name Description Parameter Graph
cod- code egory d
ck
e
type
4 10 401- HTTP L7 Cookie Rate Inter- Effective rate limit Protection Log & Report
0 Flood flood rupt for a particular Profiles > > Report
Cookie header Thresholds > Browse >
threshold has Cookie Executive
been reached. NOTE: Summary >
Learned Top Attacked
Cookies are Cookies to
hashed into identify spe-
512 possible cific Cookie
indexes per hashes.
SPP. System Then: Mon-
will only dis- itor > Layer 7
play hashes. > HTTP >
Cookies and
enter specific
hash to see
rates and
drops.
Tra-
Eve-
p
nt Sub- Cat- Perio-
atta- Event name Description Parameter Graph
cod- code egory d
ck
e
type
4 12 401- HTTP L7 User Rate Inter- Effective rate limit Protection Log & Report
2 Agent Flood flood rupt for a particular Profiles > > Report
User-Agent Thresholds > Browse >
threshold has User Agent Executive
been reached. NOTE: Summary >
Learned Top Attacked
User Agents User Agents
are hashed to identify
into 512 pos- specific User
sible indexes Agent
per SPP. Sys- hashes.
tem will only Then: Mon-
display itor > Layer 7
hashes. > HTTP >
User Agents
and enter
specific hash
to see rates
and drops.
Tra-
Eve-
p
nt Sub- Cat- Perio-
atta- Event name Description Parameter Graph
cod- code egory d
ck
e
type
Tra-
Eve-
p
nt Sub- Cat- Perio-
atta- Event name Description Parameter Graph
cod- code egory d
ck
e
type
4 45 404- DNS DNS Peri- (QR) bit set to 1 Protection Monitor >
5 Query Anomaly: Anom- odic Profiles > Anomaly
Query Bit Set aly SPP Settings Drops >
> Settings > Layer 7 >
DNS Anom- DNS > Query
aly Feature
Controls tab
4 47 404- DNS DNS Peri- DNS query with Protection Monitor >
7 Query Anomaly: Anom- odic count 0 Profiles > Anomaly
Null Query aly SPP Settings Drops >
> Settings > Layer 7 >
DNS Anom- DNS > Query
aly Feature
Controls tab
Tra-
Eve-
p
nt Sub- Cat- Perio-
atta- Event name Description Parameter Graph
cod- code egory d
ck
e
type
4 50 405- DNS Response DNS Peri- DNS response Protection Monitor >
0 Anomaly: QClass Anom- odic with QCLASS Profiles > Anomaly
in reply aly SPP Settings Drops >
> Settings > Layer 7 >
DNS Anom- DNS >
aly Feature Response
Controls tab
4 51 405- DNS Response DNS Peri- DNS response Protection Monitor >
1 Anomaly: Qtype Anom- odic with a resource Profiles > Anomaly
in reply aly specifying a SPP Settings Drops >
TYPE ID > Settings > Layer 7 >
DNS Anom- DNS >
aly Feature Response
Controls tab
4 52 405- DNS Response DNS Peri- (QR) bit set to 0 Protection Monitor >
2 Anomaly: Query Anom- odic Profiles > Anomaly
bit not set aly SPP Settings Drops >
> Settings > Layer 7 >
DNS Anom- DNS >
aly Feature Response
Controls tab
4 53 405- DNS Response DNS Peri- Question count Protection Monitor >
3 Anomaly: QD Anom- odic not 1 Profiles > Anomaly
count not 1 in aly SPP Settings Drops >
response > Settings > Layer 7 >
DNS Anom- DNS >
aly Feature Response
Controls tab
4 54 405- DNS Buffer Over- DNS Peri- TCP/UDP query Protection Monitor >
4 flow Anomaly: Anom- odic or response mes- Profiles > Anomaly
Message too aly sage that SPP Settings Drops >
long exceeds the max- > Settings > Layer 7 >
imum header DNS Anom- DNS > Buffer
length aly Feature Overflow
Controls tab
Tra-
Eve-
p
nt Sub- Cat- Perio-
atta- Event name Description Parameter Graph
cod- code egory d
ck
e
type
4 55 405- DNS Buffer Over- DNS Peri- DNS name that Protection Monitor >
5 flow Anomaly: Anom- odic exceeds 255 Profiles > Anomaly
Name too long aly characters SPP Settings Drops >
> Settings > Layer 7 >
DNS Anom- DNS > Buffer
aly Feature Overflow
Controls tab
4 56 405- DNS Buffer Over- DNS Peri- Query or Protection Monitor >
6 flow Anom- Anom- odic response with a Profiles > Anomaly
aly:Label length aly label that SPP Settings Drops >
too large exceeds the max- > Settings > Layer 7 >
imum length (63) DNS Anom- DNS > Buffer
aly Feature Overflow
Controls tab
4 60 406- DNS DNS Peri- UDP DNS Query Protection Monitor >
0 Exploit Anomaly: Anom- odic has not data Profiles > Anomaly
Empty UDP mes- aly SPP Settings Drops >
sage > Settings > Layer 7 >
DNS Anom- DNS >
aly Feature Exploit
Controls tab
Tra-
Eve-
p
nt Sub- Cat- Perio-
atta- Event name Description Parameter Graph
cod- code egory d
ck
e
type
4 63 406- DNS Info Anom- DNS Peri- DNS request with Protection Monitor >
3 aly:DNS type all Anom- odic request type set Profiles > Anomaly
used aly to ALL (QTYPE- SPP Settings Drops >
E=255) > Settings > Layer 7 >
DNS Anom- DNS > Info
aly Feature
Controls tab
Tra-
Eve-
p
nt Sub- Cat- Perio-
atta- Event name Description Parameter Graph
cod- code egory d
ck
e
type
4 68 406- DNS UDP Unso- Rate Peri- UDP Drops due Parameter Monitor >
8 licited Response flood odic to a response Layer 7 >
with no matching DNS > Unso-
query. licited
Response
4 69 406- DNS TCP Unso- Rate Peri- TCP Drops due Monitor >
9 licited Response flood odic to a response Layer 7 >
with no matching DNS > Unso-
query. licited
Response
4 71 407- DNS DQRM Out - Peri- An issue with None. Monitor >
1 of Memory odic DQRM table Internal Out of
internal logic or Table issue. Memory
memory Report to Drops >
Fortinet. Layer 7 >
DNS Query
Response
Table
4 72 407- DNS UDP Rate Peri- UDP drops due None. Monitor
2 Response same flood odic to response sent >Layer 7
direction to port 53. >DNS >
Unsolicited
Response:
Unsolicited
UDP Reso-
ponse Same
Port
Tra-
Eve-
p
nt Sub- Cat- Perio-
atta- Event name Description Parameter Graph
cod- code egory d
ck
e
type
4 73 407- DNS TCP Rate Peri- TCP drops due to None. Monitor
3 Response same flood odic response sent to >Layer 7
direction port 53 >DNS >
Unsolicited
Response:
Unsolicited
TCP Reso-
ponse Same
Port
4 74 407- DNS LQ: UDP Rate Peri- UDP drops due Protection Monitor >
4 Query flood flood odic to LQ check dur- Profiles > Layer 7 >
ing flood. SPP Settings DNS > LQ
> Settings > Drops
DNS Feature
Controls tab:
Allow Only
Valid Queries
under Flood
4 75 407- DNS LQ: UDP Rate Peri- UDP drops due Protection Monitor >
5 Question flood flood odic to LQ check dur- Profiles > Layer 7 >
ing flood. SPP Settings DNS > LQ
> Settings > Drops
DNS Feature
Controls tab:
Allow Only
Valid Queries
under Flood
4 76 407- DNS LQ: UDP Rate Peri- UDP drops due Protection Monitor >
6 Qtype All flood flood odic to LQ check dur- Profiles > Layer 7 >
ing flood. SPP Settings DNS > LQ
> Settings > Drops
DNS Feature
Controls tab:
Allow Only
Valid Queries
under Flood
Tra-
Eve-
p
nt Sub- Cat- Perio-
atta- Event name Description Parameter Graph
cod- code egory d
ck
e
type
4 77 407- DNS LQ: UDP Rate Peri- UDP drops due Protection Monitor >
7 Qtype Zone flood odic to LQ check dur- Profiles > Layer 7 >
Transfer flood ing flood. SPP Settings DNS > LQ
> Settings > Drops
DNS Feature
Controls tab:
Allow Only
Valid Queries
under Flood
4 78 407- DNS LQ: UDP Rate Peri- UDP drops due Protection Monitor >
8 Qtype MX flood flood odic to LQ check dur- Profiles > Layer 7 >
ing flood. SPP Settings DNS > LQ
> Settings > Drops
DNS Feature
Controls tab:
Allow Only
Valid Queries
under Flood
4 79 407- DNS LQ: UDP Rate Peri- UDP drops due Protection Monitor >
9 Fragment flood flood odic to LQ check dur- Profiles > Layer 7 >
ing flood. SPP Settings DNS > LQ
> Settings > Drops
DNS Feature
Controls tab:
Allow Only
Valid Queries
under Flood
4 81 408- DNS TTL: UDP Rate Peri- UDP drops due Protection Monitor >
0 Query flood flood odic to TTL check dur- Profiles > Layer 7 >
ing flood SPP Settings DNS > TTL
> Settings >
DNS Feature
Controls tab:
Validate TTL
For Queries
From The
Same IP
Tra-
Eve-
p
nt Sub- Cat- Perio-
atta- Event name Description Parameter Graph
cod- code egory d
ck
e
type
4 82 408- DNS TTL: UDP Rate Peri- UDP drops due Protection Monitor >
2 Question flood flood odic to TTL check dur- Profiles > Layer 7 >
ing flood. SPP Settings DNS > TTL
> Settings >
DNS Feature
Controls tab:
Validate TTL
For Queries
From The
Same IP
4 83 408- DNS TTL: UDP Rate Peri- UDP drops due Protection Monitor >
3 Qtype All flood flood odic to TTL check dur- Profiles > Layer 7 >
ing flood. SPP Settings DNS > TTL
> Settings >
DNS Feature
Controls tab:
Validate TTL
For Queries
From The
Same IP
4 84 408- DNS TTL: UDP Rate Peri- UDP drops due Protection Monitor >
4 Qtype Zone flood odic to TTL check dur- Profiles > Layer 7 >
Transfer flood ing flood. SPP Settings DNS > TTL
> Settings >
DNS Feature
Controls tab:
Validate TTL
For Queries
From The
Same IP
4 85 408- DNS TTL: UDP Rate Peri- UDP drops due Protection Monitor >
5 Qtype MX flood flood odic to TTL check dur- Profiles > Layer 7 >
ing flood. SPP Settings DNS > TTL
> Settings >
DNS Feature
Controls tab:
Validate TTL
For Queries
From The
Same IP
Tra-
Eve-
p
nt Sub- Cat- Perio-
atta- Event name Description Parameter Graph
cod- code egory d
ck
e
type
4 86 408- DNS TTL: UDP Rate Peri- UDP drops due Protection Monitor >
6 Fragment flood flood odic to TTL check dur- Profiles > Layer 7 >
ing flood. SPP Settings DNS > TTL
> Settings >
DNS Feature
Controls tab:
Validate TTL
For Queries
From The
Same IP
4 87 408- DNS Spoofed IP: Rate Peri- UDP drops due Same as Monitor >
7 UDP Query flood odic to TC=1 anti- Source flood Layer 7 >
Flood drop dur- spoofing check above DNS >
ing TC=1 check during flood Spoofed IP
4 88 408- DNS Spoofed IP: Rate Peri- UDP drops due Same as Monitor >
8 UDP Question flood odic to TC=1 anti- Destination Layer 7 >
Flood drop dur- spoofing check flood above DNS >
ing TC=1 check during flood Spoofed IP
4 89 408- DNS Spoofed IP: Rate Peri- UDP drops due Global Set- Monitor >
9 UDP Qtype All flood odic to TC=1 anti- tings > Layer 7 >
Flood drop dur- spoofing check Address > DNS >
ing TC=1 check during flood. Address Con- Spoofed IP
fig (IPv4
Only)
Global Set-
tings >
Access Con-
trol List >
Access Con-
trol List:
Select
Geolocation
and Country
Tra-
Eve-
p
nt Sub- Cat- Perio-
atta- Event name Description Parameter Graph
cod- code egory d
ck
e
type
4 90 409- DNS Spoofed IP: Rate Peri- UDP drops due Global Set- Monitor >
0 UDP Qtype Zone flood odic to TC=1 anti- tings > Layer 7 >
Transfer Flood spoofing check Address > DNS >
drop during during flood. Address Con- Spoofed IP
TC=1 check fig (IPv4)
Global Set-
tings >
Address >
Address Con-
fig IPv6
Global Set-
tings >
Access Con-
trol List >
Access Con-
trol List:
Select Deny
4 91 409- DNS Spoofed IP: Rate Peri- UDP drops due Global Set- Monitor >
1 UDP Qtype MX flood odic to TC=1 anti- tings > IP Layer 7 >
Flood drop dur- spoofing check Reputation > DNS >
ing TC=1 check during flood. IP Repu- Spoofed IP
tation:
Enable
Options
4 92 409- DNS Spoofed IP: Rate Peri- UDP drops due Global Set- Monitor >
2 UDP Fragment flood odic to TC=1 anti- tings > Local Layer 7 >
Flood drop dur- spoofing check Address Con- DNS >
ing TC=1 check during flood. fig (IPv4) Spoofed IP
Global Set-
tings > Local
Address Con-
fig IPv6
Global Set-
tings > Set-
tings >
Settings >
General Tab:
Local
Address Anti-
Spoofing
Options
Tra-
Eve-
p
nt Sub- Cat- Perio-
atta- Event name Description Parameter Graph
cod- code egory d
ck
e
type
4 93 409- DNS Spoofed IP: Rate Peri- UDP drops due Protection Monitor >
3 UDP Query flood odic to Retrans- Profiles > Layer 7 >
Flood Drop dur- mission anti- Thresholds > DNS >
ing Retrans- spoofing check Scalars: SYN Spoofed IP
mission Check during flood. Protection
Profiles >
SPP Settings
> SPP Set-
tings > TCP
Tab: TCP
Session
Feature con-
trol = SYN
Validation
4 94 409- DNS Spoofed IP: Rate Peri- UDP drops due Protection Monitor >
4 UDP Question flood odic to Retrans- Profiles > Layer 7 >
Flood Drop dur- mission anti- SPP Settings DNS >
ing Retrans- spoofing check > SPP Set- Spoofed IP
mission Check during flood. tings > TCP
Tab: Options
4 95 409- DNS Spoofed IP: Rate Peri- UDP drops due Protection Monitor >
5 UDP Qtype All flood odic to Retrans- Profiles > Layer 7 >
Flood Drop dur- mission anti- SPP Settings DNS >
ing Retrans- spoofing check > SPP Set- Spoofed IP
mission Check during flood. tings > TCP
Tab: Options
4 96 409- DNS Spoofed IP: Rate Peri- UDP drops due None. Monitor >
6 UDP Qtype Zone flood odic to Retrans- Internal Layer 7 >
Transfer Flood mission anti- Table issue. DNS >
Drop during spoofing check Report to Spoofed IP
Retransmission during flood. Fortinet.
Check
4 97 409- DNS Spoofed IP: Rate Peri- UDP drops due None. Monitor >
7 UDP Qtype MX flood odic to Retrans- Internal Layer 7 >
Flood Drop dur- mission anti- Table issue. DNS >
ing Retrans- spoofing check Report to Spoofed IP
mission Check during flood. Fortinet.
Tra-
Eve-
p
nt Sub- Cat- Perio-
atta- Event name Description Parameter Graph
cod- code egory d
ck
e
type
4 98 409- DNS Spoofed IP: Rate Peri- UDP drops due Protection Monitor >
8 UDP Fragment flood odic to Retrans- Profiles > Layer 7 >
Flood Drop dur- mission anti- SPP Settings DNS >
ing Retrans- spoofing check > SPP Set- Spoofed IP
mission Check during flood. tings > TCP
Tab: Options
4 99 409- DNS Cache: Rate Peri- UDP drops Protection Monitor >
9 UDP Query flood odic because the Profiles > Layer 7 >
Flood Drop Due response was SPP Settings DNS >
To Response served from the > Settings > Cache
From Cache cache during a DNS Feature
flood. Controls tab:
Generate
Response
From Cache
Under Flood
4 100 410- DNS Cache: Rate Peri- UDP drops Protection Monitor >
0 UDP Question flood odic because the Profiles > Layer 7 >
Flood Drop Due response was SPP Settings DNS >
To Response not served from > Settings > Cache
From Cache the cache during DNS Feature
a flood. Controls tab:
Generate
Response
From Cache
Under Flood
4 101 410- DNS Cache: Rate Peri- UDP drops Protection Monitor >
1 UDP Qtype All flood odic because the Profiles > Layer 7 >
Flood Drop Due response was SPP Settings DNS >
To Response not served from > Settings > Cache
From Cache the cache during DNS Feature
a flood. Controls tab:
Generate
Response
From Cache
Under Flood
Tra-
Eve-
p
nt Sub- Cat- Perio-
atta- Event name Description Parameter Graph
cod- code egory d
ck
e
type
4 102 410- DNS Cache: Rate Peri- UDP drops Protection Monitor >
2 UDP Qtype Zone flood odic because the Profiles > Layer 7 >
Transfer Flood response was SPP Settings DNS >
Drop Due To not served from > Settings > Cache
Response From the cache during DNS Feature
Cache a flood. Controls tab:
Generate
Response
From Cache
Under Flood
4 103 410- DNS Cache: Rate Peri- UDP drops Protection Monitor >
3 UDP Qtype MX flood odic because the Profiles > Layer 7 >
Flood Drop Due response was SPP Settings DNS >
To Response not served from > Settings > Cache
From Cache the cache during DNS Feature
a flood. Controls tab:
Generate
Response
From Cache
Under Flood
4 104 410- DNS Cache: Rate Peri- UDP drops Protection Monitor >
4 UDP Fragment flood odic because the Profiles > Layer 7 >
Flood Drop Due response was SPP Settings DNS >
To Response not served from > Settings > Cache
From Cache the cache during DNS Feature
a flood. Controls tab:
Generate
Response
From Cache
Under Flood
4 105 410- DNS Cache: Rate Peri- UDP drops Protection Monitor >
5 UDP Query flood odic because the Profiles > Layer 7 >
Flood Drop Due response was SPP Settings DNS >
To No Response not served from > Settings > Cache
From Cache the cache during DNS Feature
a flood. Controls tab:
Generate
Response
From Cache
Under Flood
Tra-
Eve-
p
nt Sub- Cat- Perio-
atta- Event name Description Parameter Graph
cod- code egory d
ck
e
type
4 106 410- DNS Cache: Rate Peri- UDP drops Protection Monitor >
6 UDP Question flood odic because the Profiles > Layer 7 >
Flood Drop Due response was SPP Settings DNS >
To No Response not served from > Settings > Cache
From Cache the cache during DNS Feature
a flood. Controls tab:
Generate
Response
From Cache
Under Flood
4 107 410- DNS Cache: Rate Peri- UDP drops Protection Monitor >
7 UDP Qtype All flood odic because the Profiles > Layer 7 >
Flood Drop Due response was SPP Settings DNS >
To No Response not served from > Settings > Cache
From Cache the cache during DNS Feature
a flood. Controls tab:
Generate
Response
From Cache
Under Flood
4 108 410- DNS Cache: Rate Peri- UDP drops Protection Monitor >
8 UDP Qtype Zone flood odic because the Profiles > Layer 7 >
Transfer Flood response was SPP Settings DNS >
Drop Due To No not served from > Settings > Cache
Response From the cache during DNS Feature
Cache a flood. Controls tab:
Generate
Response
From Cache
Under Flood
4 109 410- DNS Cache: Rate Peri- UDP drops Protection Monitor >
9 UDP Qtype MX flood odic because the Profiles > Layer 7 >
Flood Drop Due response was SPP Settings DNS >
To No Response not served from > Settings > Cache
From Cache the cache during DNS Feature
a flood. Controls tab:
Generate
Response
From Cache
Under Flood
Tra-
Eve-
p
nt Sub- Cat- Perio-
atta- Event name Description Parameter Graph
cod- code egory d
ck
e
type
4 110 411- DNS Cache: Rate Peri- UDP drops Protection Monitor >
0 UDP Fragment flood odic because the Profiles > Layer 7 >
Flood Drop Due response was SPP Settings DNS >
To No Response not served from > Settings > Cache
From Cache the cache during DNS Feature
a flood. Controls tab:
Generate
Response
From Cache
Under Flood
4 111 411- DNS TCP Query Rate Inter- Effective rate limit Protection Monitor >
1 Flood flood rupt for the dns- Profiles > Layer 7 >
query threshold Thresholds > DNS >
has been Scalars: Query: TCP
reached. DNS-Query Query
Dropped
4 112 411- DNS TCP Ques- Rate Inter- Effective rate limit Protection Monitor >
2 tion Flood flood rupt for the dns-ques- Profiles > Layer 7 >
tion- Thresholds > DNS > Ques-
count threshold Scalars: tion Count:
has been DNS-Ques- TCP Ques-
reached. tion-Count tion Count
Dropped
4 113 411- DNS TCP Frag- Rate Inter- Effective rate limit Protection Monitor >
3 ment Flood flood rupt for the dns- Profiles > Layer 7 >
fragment thresho- Thresholds > DNS > Frag-
ld has been Scalars: ment
reached. DNS-Frag-
ment
4 114 411- DNS TCP Zone Rate Inter- Effective rate limit Protection Monitor >
4 Transfer Flood flood rupt for the dns-zone- Profiles > Layer 7 >
xfer threshold Thresholds > DNS > Qtype
has been Scalars: Zone Trans-
reached. DNS-Zone- fer
Transfer
4 115 411- DNS TCP MX Rate Inter- Effective rate limit Protection Monitor >
5 Flood flood rupt for the dns- Profiles > Layer 7 >
mx threshold has Thresholds > DNS > Qtype
been reached. Scalars: MX
DNS-MX-
Count
Tra-
Eve-
p
nt Sub- Cat- Perio-
atta- Event name Description Parameter Graph
cod- code egory d
ck
e
type
4 116 411- DNS TCP All Rate Inter- Effective rate limit Protection Monitor >
6 Flood flood rupt for the dns- Profiles > Layer 7 >
all threshold has Thresholds > DNS > Qtype
been reached. Scalars: All
DNS-All
4 117 411- DNS UDP Duplic- Rate Peri- UDP Drops due Protection Monitor >
7 ate Query before flood odic to DQRM duplic- Profiles > Layer 7 >
Response ate query check. SPP Settings DNS > Unex-
> Settings > pected
DNS Feature Query: UDP
Controls tab: Duplicate
Duplicate Query before
Query Check Response
Before Drop
Response
4 118 411- DNS TCP Duplic- Rate Peri- TCP Drops due Protection Monitor >
8 ate Query before flood odic to DQRM duplic- Profiles > Layer 7 >
Response ate query check. SPP Settings DNS > Unex-
> Settings > pected
DNS Feature Query: TCP
Controls tab: Duplicate
Duplicate Query before
Query Check Response
Before Drop
Response
Tra-
Eve-
p
nt Sub- Cat- Perio-
atta- Event name Description Parameter Graph
cod- code egory d
ck
e
type
4 119 411- DNS Query ACL Peri- DNS Query ACL Protection Monitor >
9 Restricted to Spe- odic drops due to Profiles > ACL Drops >
cific Subnet Query restricted Address Con- Layer 7 >
to specific sub- fig > IP DNS: Query
nets Address/Net- Restricted To
mask Specific Sub-
Protection net Drops
Profiles > Monitor >
Address Con- Layer 7 >
fig IPv6 > IP DNS >
Address/Net- Query: Query
mask Blocked
Protection (Restricted
Profiles > Subnets)
Access Con-
trol List >
Address/Ad-
dress IPv6:
Restrict DNS
Queries To
Specific Sub-
nets
4 120 412- DNS Query ACL Peri- DNS Query or Global Set- Monitor >
0 Blocked (Black- odic Response ACL tings > Black- ACL Drops >
listed Domains) Drops due to listed Layer 7 >
Blacklisted Domains DNS: Query
Domains and Global Set- Blocked
Domain Repu- tings >
tation Domain
Reputation
4 121 412- DNS Resource ACL Peri- DNS Query ACL Protection Monitor >
1 Record Type odic drops due to Profiles > Ser- ACL Drops >
Deny Resource vice Config: Layer 7 >
Record ACL DNS DNS: DNS
Resource Resource
Record Type Record Type
Protection Drops
Profiles >
Access Con-
trol List
Tra-
Eve-
p
nt Sub- Cat- Perio-
atta- Event name Description Parameter Graph
cod- code egory d
ck
e
type
4 201 420- HTTP Header Heade- Peri- Drops due to Global Set- Monitor >
1 Range Present r anom- odic packets with a tings > Set- Anomaly
Anomaly aly header range tings > Drops >
request. Settings > Layer 7 >
Present when General tab: HTTP
Global Settings > Drop HTTP Header:
Settings > Set- Range Range
tings > General Header Present
tab > Drop HTTP
Range Header is
enabled.
4 203 420- Incomplete HTTP Heade- Peri- Drops due to Protection Monitor >
3 Request r anom- odic HTTP requests Profiles > Anomaly
aly that do not end in SPP Settings Drops >
the correct end- > Slow Con- Layer 7 >
of-packet inform- nection tab: HTTP
ation. Present Block Incom- Header:
when Protection plete HTTP Incomplete
Profiles > SPP Requests HTTP
Settings > Slow Request
Connection tab >
Block Incomplete
HTTP Requests
is enabled.
FortiDDoS Syslog
FortiDDoS supports Syslog features for the following:
l Management path: Refer to Configuring remote log server settings for event logs for more details about
configuration.
l Data path: Whenever a FortiDDoS appliance records an attack event in its own internal database for reporting, it
also sends a Syslog event to an external Syslog server. The purpose of this logging is to have a persistent storage
for or further analysis or future access. This feature can also be used for integrating with log analysis tools. The
following sections describe about the Data path Syslog.
Configuration
FortiDDoS allows each SPP to have a separate remote Syslog server. All DDoS attack events are sent to these
individual Syslog servers. For each SPP, you can configure the IPv4 address of the Syslog server, the Syslog port
on which the Syslog server listens, default being (UDP) 514.
Name Interpretation
Name Interpretation
protocol This is the protocol field of the attack event. If the protocol of the attack was distinct in
all the attack packets under this event, this field will have a numeric value.
Possible values: 0-255
dport Destination Port (for TCP or UDP protocols) of the packet if it was identified.
Possible values: 0-65535
Name Interpretation
facility For attack logs, FortiDDoS sends an attack log message with facility value 'local0'.
For event logs, you can configure the Facility from FortiDDoS GUI under Log &
Report > Event Log Remote.
level For attack logs, FortiDDoS sends an attack log message with log level value 'notice'.
For event logs, you can configure the Log Level from FortiDDoS GUI under Log &
Report > Event Log Remote.
0 Layer 2
1 Layer 3
2 Layer 4
3 Device events
4 Layer 7
Refer to the Event code and Subcode columns in the 'Log Reference' table under Appendix A for all attack events
sent by Syslog.
The FortiDDoS SNMP agent supports a few management information blocks (MIBs).
Fortinet Core MIB This Fortinet-proprietary MIB enables your SNMP manager to query for sys-
tem information and to receive traps that are common to multiple Fortinet
devices.
FortiDDoS MIB This Fortinet-proprietary MIB enables your SNMP manager to query for
FortiDDoS-specific information and to receive FortiDDoS-specific traps.
RFC 1213 (MIB II) The FortiDDoS SNMP agent supports MIB II groups, except:
l There is no support for the EGP group from MIB II (RFC 1213, section
3.11 and 6.10).
l Protocol statistics returned for MIB II groups (IP, ICMP, TCP, UDP, and
so on) do not accurately capture all FortiDDoS traffic activity. More
accurate information can be obtained from the information reported by
the FortiDDoS MIB.
RFC 2665 (Ethernet-like MIB) The FortiDDoS SNMP agent supports “Ethernet-like MIB information,”
except the dot3Tests and dot3Errors groups.
RFC 2863 (IF-MIB) FortiDDoS SNMP uses the linkDown and linkUP traps from IF-MIB, RFC
2863, section 6.
RFC 3411 “An Architecture for Describing Simple Network Management Protocol
(SNMP) Management Frameworks”
To communicate with the FortiDDoS SNMP agent, you must first compile these MIBs into your SNMP manager.
If the standard MIBs used by the SNMP agent are already compiled into your SNMP manager, you do not have to
compile them again. The FortiDDoS SNMP implementation is read-only.
To view a trap or query’s name, object identifier (OID), and description, open its MIB file in a plain text editor. All
traps sent include the message, the FortiDDoS appliance’s serial number, and hostname.
You can obtain the Fortinet MIB files from the Fortinet Service & Support website in the same section where you
download firmware images. Go to Fortinet Support site.
Figure 229: Download MIB files from the Fortinet Service & Support website
Communications between the FortiDDoS appliance, clients, servers, and FortiGuard Distribution Network (FDN)
require that any routers and firewalls between them permit specific protocols and port numbers.
The following tables list the default port assignments used by FortiDDoS.
Table 115: Default ports used by FortiDDoS for incoming traffic (listening)
It configures two trunk groups with eight ports per trunk. Trunk 10 is used for Internet traffic and trunk 11 is used
for server-side traffic.
You can use the load-balance-hash command to specify src-dst-ip-ipports as the hash
distribution algorithm (hash mode) to apply to all trunk groups. This mode uses a 4-tuple (source and destination
IP address and source IP L4 port and destination IP L4 port) to ensure that all packets belonging to a session pass
through the same port pair on FortiDDoS appliance in both directions.
(clientSide-84.82) #show run
!Current Configuration:
!
!System Description "FortiSwitch-248B-DPS 48x1G & 4x10G"
!System Software Version "5.2.0.2.4"
port-channel "egress" 1
interface 0/1
channel-group 1/1
exit
interface 0/3
channel-group 1/1
exit
interface 0/5
channel-group 1/1
exit
interface 0/7
channel-group 1/1
exit
interface 0/9
channel-group 1/1
exit
interface 0/11
channel-group 1/1
exit
interface 0/13
channel-group 1/1
exit
interface 0/15
channel-group 1/1
exit
port-channel "ingress" 2
interface 0/2
channel-group 1/2
exit
interface 0/4
channel-group 1/2
exit
interface 0/6
channel-group 1/2
exit
interface 0/8
channel-group 1/2
exit
interface 0/10
channel-group 1/2
exit
interface 0/12
channel-group 1/2
exit
interface 0/14
channel-group 1/2
exit
interface 0/16
channel-group 1/2
exit
interface 0/1
no cdp run
switchport allowed vlan add 10
exit
interface 0/2
no cdp run
exit
interface 0/3
no cdp run
exit
interface 0/4
no cdp run
exit
interface 0/5
no cdp run
exit
interface 0/6
no cdp run
exit
interface 0/7
no cdp run
exit
interface 0/8
no cdp run
exit
interface 0/9
no cdp run
exit
interface 0/10
no cdp run
exit
interface 0/11
no cdp run
exit
interface 0/12
no cdp run
exit
interface 0/13
no cdp run
exit
interface 0/14
no cdp run
exit
interface 0/15
no cdp run
exit
interface 0/16
no cdp run
exit
interface 0/17
no cdp run
switchport allowed vlan add 10
switchport native vlan 10
exit
interface 0/18
no cdp run
switchport allowed vlan add 11
switchport native vlan 11
exit
interface 0/49
no cdp run
switchport allowed vlan add 10
switchport native vlan 10
exit
interface 0/50
no cdp run
switchport allowed vlan add 11
switchport native vlan 11
exit
interface 1/1
staticcapability
switchport allowed vlan add 10
switchport native vlan 10
lacp collector max-delay 0
exit
interface 1/2
staticcapability
switchport allowed vlan add 11
switchport native vlan 11
lacp collector max-delay 0
exit
interface 1/3
staticcapability
switchport allowed vlan add 10
switchport tagging 10
lacp collector max-delay 0
exit
interface 1/4
staticcapability
switchport allowed vlan add 11
switchport tagging 11
lacp collector max-delay 0
exit
router rip
exit
router ospf
exit
exit
(clientSide-84.82) #
(clientSide-84.82) #show load-balance
Hash Mode: src-dst-ip-ipport
Router configuration
Switch configuration
interface GigabitEthernet1/0/1
no switchport
no ip address
channel-group 1 mode on
!
interface GigabitEthernet1/0/2
switchport access vlan 3
switchport trunk encapsulation dot1q
!
interface GigabitEthernet1/0/3
switchport access vlan 3
!
interface GigabitEthernet1/0/4
switchport access vlan 3
switchport trunk encapsulation dot1q
!
interface GigabitEthernet1/0/5
!
interface GigabitEthernet1/0/6
!
interface GigabitEthernet1/0/7
!
interface GigabitEthernet1/0/8
!
interface GigabitEthernet1/0/9
!
interface GigabitEthernet1/0/10
switchport access vlan 2
!
interface GigabitEthernet1/0/11
switchport access vlan 5
!
interface GigabitEthernet1/0/12
switchport access vlan 4
!
!
interface Vlan1
no ip address
!
interface Vlan3
ip address 192.168.100.50 255.255.255.0
!
interface Vlan4
ip address 10.100.0.250 255.255.255.0
!
!
interface Vlan5
ip address 10.1.0.250 255.255.255.0
!
ip classless
ip route 0.0.0.0 0.0.0.0 10.100.0.254
This section provides the procedures to perform back-up and restore to/from an external SDD.
Connect an external USB disk to the USB port in the front panel of the appliance. This disk should be large
enough to back-up the data. The data is compressed while backing up. The recommended size is 1 TB.
The following list provides the execute commands and their functions:
execute formatextdisk Formats the external disk – all data is lost. One single par- More
tition is created which is compatible with FortiDDoS than an
requirements. hour
execute mountextdisk Mounts the formatted external disk. This can be used for
either taking a backup or restoring to a new machine.
execute backupextdisk Backs up the RRD (traffic graph data shown in Monitor Several
graphs) and SQL (Attack and event log data shown in Log hours,
& Report) to the external disk. based
on the
amount
of data
execute restoreextdisk Restores the data from an external disk to a machine Several
(assuming this is a new machine where you want to hours,
restore the data). based
on the
amount
of data
To execute back-up command extension for SSD, run the commands in the following order:
1. execute formatextdisk.
2. execute mountextdisk
3. execute backupextdisk
4. execute unmountextdisk
200
900B
B
1000 Netwo
400 1500
B rk
B E Connect Reac Descripti
SFP 1200 Fiber Port
600 2000 or h on
B Speed
B E
2000 Settin
800
B g
B
200
900B
B
1000 Netwo
400 1500
B rk
B E Connect Reac Descripti
SFP 1200 Fiber Port
600 2000 or h on
B Speed
B E
2000 Settin
800
B g
B
200
900B
B
1000 Netwo
400 1500
B rk
B E Connect Reac Descripti
SFP 1200 Fiber Port
600 2000 or h on
B Speed
B E
2000 Settin
800
B g
B
200
900B
B
1000 Netwo
400 1500
B rk
B E Connect Reac Descripti
SFP 1200 Fiber Port
600 2000 or h on
B Speed
B E
2000 Settin
800
B g
B
200
900B
B
1000 Netwo
400 1500
B rk
B E Connect Reac Descripti
SFP 1200 Fiber Port
600 2000 or h on
B Speed
B E
2000 Settin
800
B g
B
40GE FG- N N P LC MM
QSFP+ TRAN- 850n Loca
transceive QSFP+S m l
r, short R-BIDI
range BiDi
200
900B
B
1000 Netwo
400 1500
B rk
B E Connect Reac Descripti
SFP 1200 Fiber Port
600 2000 or h on
B Speed
B E
2000 Settin
800
B g
B
200
900B
B
1000 Netwo
400 1500
B rk
B E Connect Reac Descripti
SFP 1200 Fiber Port
600 2000 or h on
B Speed
B E
2000 Settin
800
B g
B
200
900B
B
1000 Netwo
400 1500
B rk
B E Connect Reac Descripti
SFP 1200 Fiber Port
600 2000 or h on
B Speed
B E
2000 Settin
800
B g
B
200
900B
B
1000 Netwo
400 1500
B rk
B E Connect Reac Descripti
SFP 1200 Fiber Port
600 2000 or h on
B Speed
B E
2000 Settin
800
B g
B
200
900B
B
1000 Netwo
400 1500
B rk
B E Connect Reac Descripti
SFP 1200 Fiber Port
600 2000 or h on
B Speed
B E
2000 Settin
800
B g
B
200
900B
B
1000 Netwo
400 1500
B rk
B E Connect Reac Descripti
SFP 1200 Fiber Port
600 2000 or h on
B Speed
B E
2000 Settin
800
B g
B
200
900B
B
1000 Netwo
400 1500
B rk
B E Connect Reac Descripti
SFP 1200 Fiber Port
600 2000 or h on
B Speed
B E
2000 Settin
800
B g
B
200
900B
B
1000 Netwo
400 1500
B rk
B E Connect Reac Descripti
SFP 1200 Fiber Port
600 2000 or h on
B Speed
B E
2000 Settin
800
B g
B
10GE FG- N Y P LC MM
SFP+ TRAN- 850n Loca
transceive SFP+SR m l
r module,
short
range
10GE FS- N Y P LC MM
SFP+ TRAN- 850n Loca
transceive SFP+SR m l
r module,
short
range
200
900B
B
1000 Netwo
400 1500
B rk
B E Connect Reac Descripti
SFP 1200 Fiber Port
600 2000 or h on
B Speed
B E
2000 Settin
800
B g
B
200
900B
B
1000 Netwo
400 1500
B rk
B E Connect Reac Descripti
SFP 1200 Fiber Port
600 2000 or h on
B Speed
B E
2000 Settin
800
B g
B
Fortinet cannot troubleshoot non-Fortinet SFPs but the following SFPs may be useful and are
available from various sources.
200B 900B
400B 1000B 1500E
SFP Connector Fiber Reach
600B 1200B 2000E
800B 2000B