logging in or signing up ClassiFier Introduction miloung Download Post to : URL : Related Presentations : Share Add to Flag Embed Email Send to Blogs and Networks Add to Channel Uploaded from authorPOINTLite Insert YouTube videos in PowerPont slides with aS Desktop Copy embed code: (To copy code, click on the text box) Embed: URL: Thumbnail: WordPress Embed Customize Embed The presentation is successfully added In Your Favorites. Views: 97 Category: Entertainment License: All Rights Reserved Like it (0) Dislike it (0) Added: December 01, 2007 This Presentation is Public Favorites: 0 Presentation Description No description available. Comments Posting comment... Premium member Presentation Transcript 封包分類技術: 封包分類技術 資策會 網路及通訊實驗室 楊儒林 rlyang@iii.org.tw 07/17/2001 The Function Of Classifier: The Function Of Classifier Classify internet packets Match a packet against a set of rules For router/switch/…network deviceThe Issues Of Classifier: The Issues Of Classifier Scalability Flexibility Speed Resource consuming Cost Characteristics of III Classifier: Characteristics of III Classifier Multi-fields classifier Source MAC Destination MAC TOS/DSCP Protocol Source IP Destination IP Source port Destination portCharacteristics of III Classifier (continue): Characteristics of III Classifier (continue) Rule operation Exact, range, wildcard (don’t care) For example, source MAC: wildcard destination MAC: wildcard TOS/DSCP: wildcard protocol: wildcard source IP: 10.1.1.1 (exact) destination IP: 10.2.1.10-10.2.1.20 (range) source port: wildcard destination port: wildcardCharacteristics of III Classifier (continue): Characteristics of III Classifier (continue) Constant time algorithm Easy hardware implementation ASIC FPGA Using acceptable memory 256 rules Use less than 300k memory AP aware (negotiated dynamic port numbers) FTP, H323, …etc. Detecting rule collisionCharacteristics of III Classifier (continue): Characteristics of III Classifier (continue) Scalability ? score Flexibility ? score Speed ? score Resource consuming ? score Cost ? scoreHow to classify internet packet ?: How to classify internet packet ?How to classify internet packet ?: memory packet Parse Packet Header Classify Packet rule ID How to classify internet packet ?How to add a new rule ?: parse the new rule transform to triple elements (a triple element point to a subset of a row of the rules table) rule collision ? get an unused rule ID according to the distribution method update rules table according to the rule ID and triple elements if we turn on the rule collision detection option False True begin end How to add a new rule ?How to add a new rule ?: memory rule Partition Fields Classify Packets Detect Rule Collision Request Rule ID Update Rules Table How to add a new rule ?How to detect rule collision ?: according to the triple elements does the range of the triple elements satisfy some rules ? rule collision no rule collision True False illegal rules ? True False begin end How to detect rule collision ?How to remove an existent rule?: parse the existent rule transform to triple elements (a triple element point to a subset of a row of the rules table) leaf node of the policy tree ? get the rule ID of this rule update rules table according to the rule ID and triple elements True False return this rule ID begin end How to remove an existent rule?How to remove an existent rule?: memory rule Partition Fields Update Rules Table Get Rule ID Return Rule ID How to remove an existent rule? You do not have the permission to view this presentation. In order to view it, please contact the author of the presentation.
ClassiFier Introduction miloung Download Post to : URL : Related Presentations : Share Add to Flag Embed Email Send to Blogs and Networks Add to Channel Uploaded from authorPOINTLite Insert YouTube videos in PowerPont slides with aS Desktop Copy embed code: (To copy code, click on the text box) Embed: URL: Thumbnail: WordPress Embed Customize Embed The presentation is successfully added In Your Favorites. Views: 97 Category: Entertainment License: All Rights Reserved Like it (0) Dislike it (0) Added: December 01, 2007 This Presentation is Public Favorites: 0 Presentation Description No description available. Comments Posting comment... Premium member Presentation Transcript 封包分類技術: 封包分類技術 資策會 網路及通訊實驗室 楊儒林 rlyang@iii.org.tw 07/17/2001 The Function Of Classifier: The Function Of Classifier Classify internet packets Match a packet against a set of rules For router/switch/…network deviceThe Issues Of Classifier: The Issues Of Classifier Scalability Flexibility Speed Resource consuming Cost Characteristics of III Classifier: Characteristics of III Classifier Multi-fields classifier Source MAC Destination MAC TOS/DSCP Protocol Source IP Destination IP Source port Destination portCharacteristics of III Classifier (continue): Characteristics of III Classifier (continue) Rule operation Exact, range, wildcard (don’t care) For example, source MAC: wildcard destination MAC: wildcard TOS/DSCP: wildcard protocol: wildcard source IP: 10.1.1.1 (exact) destination IP: 10.2.1.10-10.2.1.20 (range) source port: wildcard destination port: wildcardCharacteristics of III Classifier (continue): Characteristics of III Classifier (continue) Constant time algorithm Easy hardware implementation ASIC FPGA Using acceptable memory 256 rules Use less than 300k memory AP aware (negotiated dynamic port numbers) FTP, H323, …etc. Detecting rule collisionCharacteristics of III Classifier (continue): Characteristics of III Classifier (continue) Scalability ? score Flexibility ? score Speed ? score Resource consuming ? score Cost ? scoreHow to classify internet packet ?: How to classify internet packet ?How to classify internet packet ?: memory packet Parse Packet Header Classify Packet rule ID How to classify internet packet ?How to add a new rule ?: parse the new rule transform to triple elements (a triple element point to a subset of a row of the rules table) rule collision ? get an unused rule ID according to the distribution method update rules table according to the rule ID and triple elements if we turn on the rule collision detection option False True begin end How to add a new rule ?How to add a new rule ?: memory rule Partition Fields Classify Packets Detect Rule Collision Request Rule ID Update Rules Table How to add a new rule ?How to detect rule collision ?: according to the triple elements does the range of the triple elements satisfy some rules ? rule collision no rule collision True False illegal rules ? True False begin end How to detect rule collision ?How to remove an existent rule?: parse the existent rule transform to triple elements (a triple element point to a subset of a row of the rules table) leaf node of the policy tree ? get the rule ID of this rule update rules table according to the rule ID and triple elements True False return this rule ID begin end How to remove an existent rule?How to remove an existent rule?: memory rule Partition Fields Update Rules Table Get Rule ID Return Rule ID How to remove an existent rule?