Table Of Contents
TCP Out-of-Order Packet Support for Cisco IOS Firewall and Cisco IOS IPS
Prerequisites for TCP Out-of-Order Packet Support for Cisco IOS Firewall and Cisco IOS IPS
Restrictions for TCP Out-of-Order Packet Support for Cisco IOS Firewall and Cisco IOS IPS
Information About TCP Out-of-Order Packet Support for Cisco IOS Firewall and Cisco IOS IPS
How TCP Out-of-Order Packet Support Works
How to Configure Cisco IOS Firewall or IPS to Handle TCP Out-of-Order Packets
Changing Default TCP Out-of-Order Packet Parameters
Configuration Examples for TCP Out-of-Order Packet Parameters
Verifying TCP Out-of-Order Packets: Example
Feature Information for TCP Out-of-Order Packet Support for Cisco IOS Firewall and IPS
TCP Out-of-Order Packet Support for Cisco IOS Firewall and Cisco IOS IPS
First Published: November 17, 2006Last Updated: November 17, 2006This feature allows out-of-order packets in TCP streams to be cached and reassembled before they are inspected by Cisco IOS Intrusion Prevention System (IPS) or Cisco IOS Firewall.
Finding Feature Information in This Module
Your Cisco IOS software release may not support all of the features documented in this module. To reach links to specific feature documentation in this module and to see a list of the releases in which each feature is supported, use the "Feature Information for TCP Out-of-Order Packet Support for Cisco IOS Firewall and IPS" section.
Finding Support Information for Platforms and Cisco IOS and Catalyst OS Software Images
Use Cisco Feature Navigator to find information about platform support and Cisco IOS and Catalyst OS software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
Contents
•
Prerequisites for TCP Out-of-Order Packet Support for Cisco IOS Firewall and Cisco IOS IPS
•
Restrictions for TCP Out-of-Order Packet Support for Cisco IOS Firewall and Cisco IOS IPS
•
Information About TCP Out-of-Order Packet Support for Cisco IOS Firewall and Cisco IOS IPS
•
How to Configure Cisco IOS Firewall or IPS to Handle TCP Out-of-Order Packets
•
Configuration Examples for TCP Out-of-Order Packet Parameters
•
Feature Information for TCP Out-of-Order Packet Support for Cisco IOS Firewall and IPS
Prerequisites for TCP Out-of-Order Packet Support for Cisco IOS Firewall and Cisco IOS IPS
Cisco IOS IPS or Cisco IOS Firewall must be configured on your router.
Restrictions for TCP Out-of-Order Packet Support for Cisco IOS Firewall and Cisco IOS IPS
•
The feature is enabled by default. The user must explicitly disable it. To disable TCP out-of-order packet buffering and reassembly, issue the ip inspect tcp reassembly queue length 0 command.
•
Zone-based policy firewall is not supported. Only Cisco IOS IPS and Cisco IOS Firewall application inspection can support out-of-order TCP packets.
Information About TCP Out-of-Order Packet Support for Cisco IOS Firewall and Cisco IOS IPS
Before reassembling TCP out-of-order packets, you should understand the following concept:
•
How TCP Out-of-Order Packet Support Works
How TCP Out-of-Order Packet Support Works
Cisco IOS Firewall and IPS track packets in TCP connections. If configured to look into the application data of the packets, Cisco IOS Firewall and IPS expect the TCP packets to arrive in the correct order because some data items are split across segments. When packets arrive out of order, they are dropped by the firewall or IPS. Dropping out-of-order packets can cause significant delays in end applications because packets are dropped only after the retransmission timer expires (on behalf of the sender).
Out-of-order TCP packet support enables Cisco IOS Firewall and IPS to hold a copy of the out-of-order packet in a buffer (whose size is configurable with a maximum of 1024 packets per session). The original packet passes through the router and reaches its destination, but the firewall or IPS do not execute on the packet. When the next packet arrives, the firewall or IPS look for that packet to "fill the hole," providing a consecutive sequence of segments. If this packet does not fulfill that requirement, it is processed as an out-of-order packet; when another packet arrives and provides a consecutive sequence of segments, it is processed by the firewall or IPS.
How to Configure Cisco IOS Firewall or IPS to Handle TCP Out-of-Order Packets
•
Changing Default TCP Out-of-Order Packet Parameters
Changing Default TCP Out-of-Order Packet Parameters
Use this task to change any of the predefined parameters that instruct Cisco IOS Firewall application inspection or Cisco IOS IPS how to handle out-of-order TCP packets.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
ip inspect tcp reassembly {[queue length packet-number] [timeout seconds] [memory limit size-in-kb] [alarm {on | off}]}
DETAILED STEPS
Configuration Examples for TCP Out-of-Order Packet Parameters
This sections contains the following configuration example:
•
Verifying TCP Out-of-Order Packets: Example
Verifying TCP Out-of-Order Packets: Example
The following example shows how to instruct Cisco IOS IPS how to handle out of order packets for TCP connections:
Router(config)# ip inspect tcp reassembly queue length 18Router(config)# ip inspect tcp reassembly memory limit 200The following sample output displays the configured out-of-order packet parameters:
Router# show ip ips statisticsSignature Statistics [process switch:fast switch]Signature 1000: 324 packets checked: [124:200]Signature 1024: 100 packets checked: [0:100]Interfaces configured for ips 0Session creations since subsystem startup or last reset 0Current session counts (estab/half-open/terminating) [0:0:0]Maxever session counts (estab/half-open/terminating) [0:0:0]Last session created neverLast statistic reset neverTCP reassembly statisticsreceived 200 packets out-of-order; dropped 25peak memory usage; 200 KB; current usage: 154 KBpeak queue length 18Additional References
The following sections provide references related to the TCP Out-of-Order Packet Support for Cisco IOS Firewall and Cisco IOS IPS feature.
Related Documents
Related Topic Document TitleIPS configuration
Firewall IPS commands
Cisco IOS Security Command Reference
Standards
MIBs
MIB MIBs LinkNone
To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL:
RFCs
Technical Assistance
Feature Information for TCP Out-of-Order Packet Support for Cisco IOS Firewall and IPS
Table 1 lists the release history for this feature.
Not all commands may be available in your Cisco IOS software release. For release information about a specific command, see the command reference documentation.
Use Cisco Feature Navigator to find information about platform support and software image support. Cisco Feature Navigator enables you to determine which Cisco IOS and Catalyst OS software images support a specific software release, feature set, or platform. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
Note
Table 1 lists only the Cisco IOS software release that introduced support for a given feature in a given Cisco IOS software release train. Unless noted otherwise, subsequent releases of that Cisco IOS software release train also support that feature.
CCDE, CCENT, Cisco Eos, Cisco HealthPresence, the Cisco logo, Cisco Lumin, Cisco Nexus, Cisco StadiumVision, Cisco TelePresence, Cisco WebEx, DCE, and Welcome to the Human Network are trademarks; Changing the Way We Work, Live, Play, and Learn and Cisco Store are service marks; and Access Registrar, Aironet, AsyncOS, Bringing the Meeting To You, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, CCSP, CCVP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco Unity, Collaboration Without Limitation, EtherFast, EtherSwitch, Event Center, Fast Step, Follow Me Browsing, FormShare, GigaDrive, HomeLink, Internet Quotient, IOS, iPhone, iQuick Study, IronPort, the IronPort logo, LightStream, Linksys, MediaTone, MeetingPlace, MeetingPlace Chime Sound, MGX, Networkers, Networking Academy, Network Registrar, PCNow, PIX, PowerPanels, ProConnect, ScriptShare, SenderBase, SMARTnet, Spectrum Expert, StackWise, The Fastest Way to Increase Your Internet Quotient, TransPath, WebEx, and the WebEx logo are registered trademarks of Cisco Systems, Inc. and/or its affiliates in the United States and certain other countries.
All other trademarks mentioned in this document or website are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (0812R)
Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental.
© 2007 Cisco Systems, Inc. All rights reserved.

