Rate-Limit Traffic to the Loopback Interface

Before you begin

You should rate-limit traffic going to the loopback interface IP address to prevent excessive load on the system. You can add a connection limit rule to the global service policy.

Procedure

1

Create an extended access list identifying traffic to the loopback interface IP address(es).

  1. Choose Objects > Object Management > Access List > Extended.

  2. Click Add Extended Access List to create a new ACL.

  3. In the New Extended Access List Object dialog box, enter a name for the ACL (no spaces allowed), and click Add to create a new entry.

    Name Entry and Add
    Figure 1: Name ACL and Add Entry
  4. Configure the source (any) and destination addresses (loopback IP addresses) on the Network tab.

    Source and Destination Networks
    Figure 2: Source and Destination Networks

     

    Keep the default Action as Allow (match) and other settings as-is.

    • Source—Select any from the Available Networks list, and click Add to Source. You can also narrow this access list by specifying the source IP addresses instead of any.

    • Destination—Type an address in the edit box below the Destination Networks list and click Add. Repeat for each loopback interface.

  5. Click Add to add the entry to the ACL.

  6. Click Save to save the ACL.

    Add ACL Object
    Figure 3: Save ACL
2

Choose Policies > Access Control heading > Access Control, and click Edit (edit icon) for the access control policy assigned to your device.

3

Click Advanced Settings from the More drop-down arrow at the end of the packet flow line.

Advanced Settings
Figure 4: Advanced Settings
4

Click Edit (edit icon) in the Threat Defense Service Policy group.

Figure 5: Threat Defense Service Policy
5

Click Add Rule to create a new rule.

Add Rule
Figure 6: Add Rule

The service policy rule wizard opens to step you through the process of configuring the rule.

6

In the Interface Object step, click Global to create a global rule, which applies to all interfaces, then click Next.

Global Policy
Figure 7: Global Policy
7

In the Traffic Flow step, select the extended access list object you created in 1, and then click Next.

Choose Extended Access List
Figure 8: Choose Extended Access List
8

In the Connection Setting step, set the Connections limits.

Set Connection Limits
Figure 9: Set Connection Limits

Set the Maximum TCP & UDP connections to the expected number of connections for the loopback interface, and the Maximum Embryonic connections to a lower number. For example, you can set it to 5/2, or 10/5, or 1024/512, depending on the expected loopback interface sessions you need.

Setting the embryonic connection limit enables TCP Intercept, which protects the system from a DoS attack perpetrated by flooding an interface with TCP SYN packets.

9

Click Finish to save your changes.

10

Click OK.

11

Click Save on the Advanced Settings window.

12

You can now deploy the changes to the affected devices.