Packet Classification
#1

Packet Classification Algorithms
Presented by
Dains Raj Antony
M1 CSE
College Of Engineering, Trivandrum

[attachment=6884]

What this seminar is about:
Algorithms and techniques that a flow-aware router uses to classify packets into flows (packet classification)

What is a Flow?
All the packets sharing common header characterstics
Eg: All packets flowing between two specific IP addresses
flow = (src-IP-address, dst-IP-address), or a flow = (dst-IP-prefix, protocol) etc

Flow-aware vs Flow-unaware Routers
Flow-aware router: keeps track of flows and perform similar processing on packets in a flow
Flow-unaware router (packet-by-packet router): treats each incoming packet individually

Examples of special processing
Filtering packets for security reasons
Delivering packets according to a pre-agreed delay guarantee
Treating high priority packets preferentially
Maintaining statistics on the number of packets sent by various routers

Special Processing Requires Identification of Flows

All packets of a flow obey a pre-defined rule and are processed similarly by the router
E.g. a flow = (src-IP-address, dst-IP-address), or a flow = (dst-IP-prefix, protocol) etc.
Router needs to identify the flow of every incoming packet and then perform appropriate special processing

Why Flow-aware Router?
ISPs want to provide differentiated services
Routers require additional mechanisms: admission control, resource reservation, per-flow queueing, fair scheduling etc.
capability to distinguish and isolate traffic belonging to different flows based on negotiated service agreements

Need for Differentiated Services
Multi-field Packet Classification
Packet Header Fields for Classification

Flow-aware Router: Basic Architectural Components
Routing, resource reservation, admission control, SLAs
Routing lookup
Packet classification
Special processing
Switching
Scheduling
Datapath:
per-packet
processing

Packet Classification

Metrics for Classification Algorithms
Speed
Storage requirements
Low update time
Ability to handle large classifiers
Flexibility in implementation
Low preprocessing time
Scalability in the number of header fields
Flexibility in rule specification

Example Classifier
Linear Search
Keep prefixes in a linked list
O(N) storage, O(N) lookup time, O(1) update complexity
Improve average time by keeping linked list sorted in order of prefix lengths

Recursive Flow Classification
Observations:
Difficult to achieve both high classification rate and reasonable storage in the worst case
Real classifiers exhibit structure and redundancy
A practical scheme could exploit this structure and redundancy

Recursive Flow Classification
One-step
Multi-step

Source L3 Address
Destination L3 Address
L4 protocol and flags
Source L4 port
Destination L4 port
Type of Service

Ternary Content Adressable Memory
Need for higher processing capacity
Can be used for multi-diamensional classification
Fully associative memory:
compares input string with all the entries in parallel

Ternary CAMs
Advantages

Suitable for multiple fields
Fast: 16-20 ns (50-66 Mpps)
Simple to understand
Disadvantages

Inflexible:
Density: largest available in 2000 is 32K x 128 (but can be cascaded)
Management software, and on-chip logic:
Power: 5-8 W
Incremental updates: slow
DRAM-based CAMs: higher density but soft-error is a problem
Cost: $30-$160 for 1Mb

Conclusion

Linear search is simple but poor at scaling.
Heirarchical trie provides good worst case query time.
Set pruning tries has fast retrieval at the cost of storage.
RFC is suitable for small set of rules.
TCAM is simple but very costly.

References
[1] Pankaj Gupta & Nick Mckeown, "Algorithms for Packet Classification",Computer Systems Laboratory, Stanford University Stanford, CA.
[2]Pankaj Gupta and Nick McKeown , "Packet Classification using Hierarchical Intelligent Cuttings" Computer Systems Laboratory, Stanford.
Reply

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page
Popular Searches: who is nick wooster, substation classification ppts, data security classification, tra abu dhabi, ppt classification of automobile, ppt on classification of automobile, sudocs classification for the annual report,

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Messages In This Thread
Packet Classification - by Wifi - 28-10-2010, 08:46 AM
RE: Packet Classification Algorithms - by Wifi - 28-10-2010, 09:48 PM
RE: Packet Classification - by summer project pal - 29-01-2011, 07:20 PM

Possibly Related Threads...
Thread Author Replies Views Last Post
  General Packet Radio Service (Download Full Seminar Report) Computer Science Clay 10 15,857 22-03-2014, 12:46 PM
Last Post: MichaelPn
Thumbs Down High Speed OFDM Packet Access (HSOPA) computer science crazy 2 10,502 08-12-2012, 02:44 PM
Last Post: seminar details
  High-Speed Downlink Packet Access (HSDPA) shibin.sree 1 9,217 08-12-2012, 02:44 PM
Last Post: seminar details
  High Speed Packet Access seminar surveyer 1 9,172 08-12-2012, 02:44 PM
Last Post: seminar details
  AI-based Classification and Retrieval of Reusable Software Components computer girl 0 1,090 11-06-2012, 12:07 PM
Last Post: computer girl
  Text Classification from Labeled and Unlabeled Documents using EM computer girl 0 834 09-06-2012, 11:28 AM
Last Post: computer girl
  Controlling IP Spoofing Through Inter-Domain Packet Filters seminar surveyer 1 2,562 29-02-2012, 12:51 PM
Last Post: seminar paper
  Resilient Packet Ring Technology computer science crazy 1 2,010 20-02-2012, 10:43 AM
Last Post: seminar paper
  libpcap [Packet Sniffing for Security ] seminar class 1 1,620 10-02-2012, 09:50 AM
Last Post: seminar addict
  PACKET SNIFFING WITH ANTI STUFF seminar projects crazy 1 8,730 10-02-2012, 09:50 AM
Last Post: seminar addict

Forum Jump: