* Classifying packets only once boosts CPU efficiency and minimizes latency
endif; ?>Classifying packets in a single pass
By Sudha Valluru
Packet classification and inspection – categorizing packets into flows and checking headers to determine how to handle data blocks – are essential for services processing. Traditional routers classify packets by checking their headers against access control lists (ACL ) to determine where the packets should go next. But without ACL uniformity for different services, one packet must be classified and inspected multiple times.
Today, vendors are consolidating multiple services onto a single device, yet these devices still classify packets one service at a time. As a result, consolidated devices incur more processing inefficiencies and overhead with every additional service. Single-pass classification and inspection can overcome these problems and increase CPU efficiency by classifying packets for all services in a single pass.
At the heart of one-pass packet classification is a single, flexible, extensible syntax that administrators can use to define a common classification and specify policies for all services, down to an application’s payload level. This syntax also can define complex classifications for QoS, anti-virus, VoIP and other applications – something older syntaxes cannot do.
For single-pass packet classification to work well, packets must flow through a multi-function services gateway in a certain order to ensure that all services are performed at the correct points. In multiple-pass classification, services gateways send a packet first to a router, where the first classification occurs, but this exposes the router to denial-of-service attacks or other security problems. Once the packet leaves the router and goes to a firewall, it is classified again, and so on for every service in the consolidated device.This uses up CPU cycles, increases system latency and introduces more possibilities for errors.
With single-pass packet classification, a packet enters a firewall first, thus protecting all other services in a gateway. In the firewall, the IPSec service decrypts and classifies the packet – just once, using the common classification – and attaches a tag that contains information about which services need to process the packet. The packet then passes to a filter in the services gateway that accepts or denies it based on information in the tag.
For more on classifying packets, please see: http://www.networkworld.com/news/tech/2005/071805techupdate.html




