Methods, apparatuses and systems facilitating classification of web services network traffic
Methods, apparatuses and systems that facilitate the classification of web services network traffic. In one implementation, the present invention processes interface definitions corresponding to a given Web service to construct a traffic classification configuration for the Web service, including one or more traffic classes and corresponding matching rules or attributes for each traffic class. In one implementation, the present invention automatically creates traffic classes and matching rules that allow for differentiation between the operations supported by a Web service. Implementations of the present invention provide a mechanism allowing for classification of Web services network traffic on a granular basis to enhance network monitoring and analysis tasks, as well as network control functions, such as bandwidth management, security and other functions.
Latest Packeteer, Inc. Patents:
- Virtual bandwidth management deployment architectures
- Method and system for controlling network traffic within the same connection with different packet tags by varying the policies applied to a connection
- Application service level mediation and method of using same
- Lockless processing of command operations in multiprocessor systems
- Compression of stream data using a hierarchically-indexed database
This application makes reference to the following commonly owned U.S. patent applications and patents, which are incorporated herein by reference in their entirety for all purposes:
U.S. patent application Ser. No. 08/762,828 now U.S. Pat. No. 5,802,106 in the name of Robert L. Packer, entitled “Method for Rapid Data Rate Detection in a Packet Communication Environment Without Data Rate Supervision;”
U.S. patent application Ser. No. 08/970,693 now U.S. Pat. No. 6,018,516, in the name of Robert L. Packer, entitled “Method for Minimizing Unneeded Retransmission of Packets in a Packet Communication Environment Supporting a Plurality of Data Link Rates;”
U.S. patent application Ser. No. 08/742,994 now U.S. Pat. No. 6,038,216, in the name of Robert L. Packer, entitled “Method for Explicit Data Rate Control in a Packet Communication Environment without Data Rate Supervision;”
U.S. patent application Ser. No. 09/977,642 now U.S. Pat. No. 6,046,980, in the name of Robert L. Packer, entitled “System for Managing Flow Bandwidth Utilization at Network, Transport and Application Layers in Store and Forward Network;”
U.S. patent application Ser. No. 09/106,924 now U.S. Pat. No. 6,115,357, in the name of Robert L. Packer and Brett D. Galloway, entitled “Method for Pacing Data Flow in a Packet-based Network;”
U.S. patent application Ser. No. 09/046,776 now U.S. Pat. No. 6,205,120, in the name of Robert L. Packer and Guy Riddle, entitled “Method for Transparently Determining and Setting an Optimal Minimum Required TCP Window Size;”
U.S. patent application Ser. No. 09/479,356 now U.S. Pat. No. 6,285,658, in the name of Robert L. Packer, entitled “System for Managing Flow Bandwidth Utilization at Network, Transport and Application Layers in Store and Forward Network;”
U.S. patent application Ser. No. 09/198,090 now U.S. Pat. No. 6,412,000, in the name of Guy Riddle and Robert L. Packer, entitled “Method for Automatically Classifying Traffic in a Packet Communications Network;”
U.S. patent application Ser. No. 09/198,051, in the name of Guy Riddle, entitled “Method for Automatically Determining a Traffic Policy in a Packet Communications Network;”
U.S. patent application Ser. No. 09/206,772, in the name of Robert L. Packer, Brett D. Galloway and Ted Thi, entitled “Method for Data Rate Control for Heterogeneous or Peer Internetworking;”
U.S. patent application Ser. No. 09/710,442, in the name of Todd Krautkremer and Guy Riddle, entitled “Application Service Level Mediation and Method of Using the Same;”
U.S. patent application Ser. No. 10/039,992, in the name of Michael J. Quinn and Mary L. Laier, entitled “Method and Apparatus for Fast Lookup of Related Classification Entities in a Tree-Ordered Classification Hierarchy;”
U.S. patent application Ser. No. 10/099,629 in the name of Brett Galloway, Mark Hill, and Anne Cesa Klein, entitled “Method And System For Controlling Network Traffic Within The Same Connection With Different Packet Tags By Varying The Policies Applied To A Connection;”
U.S. patent application Ser. No. 10/108,085, in the name of Wei-Lung Lai, Jon Eric Okholm, and Michael J. Quinn, entitled “Output Scheduling Data Structure Facilitating Hierarchical Network Resource Allocation Scheme;”
U.S. patent application Ser. No. 10/155,936 now U.S. Pat. No. 6,591,299, in the name of Guy Riddle, Robert L. Packer, and Mark Hill, entitled “Method For Automatically Classifying Traffic With Enhanced Hierarchy In A Packet Communications Network;”
U.S. patent application Ser. No. 10/236,149, in the name of Brett Galloway and George Powers, entitled “Classification Data Structure enabling Multi-Dimensional Network Traffic Classification and Control Schemes;”
U.S. patent application Ser. No. 10/453,345, in the name of Scott Hankins, Michael R. Morford, and Michael J. Quinn, entitled “Flow-Based Packet Capture;” and
U.S. patent application Ser. No. 10/611,573, in the name of Roopesh Varier, David Jacobson, and Guy Riddle, entitled “Network Traffic Synchronization Mechanism.”
FIELD OF THE INVENTIONThe present invention relates to classification of network traffic for the purposes of analysis, reporting and/or control and, more particularly, to methods, apparatuses and systems that facilitate the identification and classification of web services network traffic.
BACKGROUND OF THE INVENTIONWeb services networks are rapidly evolving technology architectures allowing applications to tap into a variety of services in an extremely efficient and cost effective manner. Web services enable cost-effective and efficient collaboration among entities within an enterprise or across enterprises. Web services are URL or IP addressable resources that exchange data and execute processes. Essentially, Web services are applications exposed as services over a computer network and employed by other applications using Internet standard technologies, such as XML, SOAP, WSDL, etc. Accordingly, Web applications can be quickly and efficiently assembled with services available within an enterprise WAN or external services available over open computer networks, such as the Internet.
The interface to web services are typically defined in an interface definition document. The Interface Definition Language (IDL) was introduced in the early 1990s by a consortium of large corporations known as the Object Management Group (OMG). The purpose of IDL was to provide a standard platform- and language-independent grammar by which the interfaces used to connect software components are described. IDL became one of the cornerstones of CORBA technology, and variants such as MIDL (developed by Microsoft® Corporation) have been used to describe the interfaces employed by a number of other component architectures. The emergence of Web services spurred the creation of a conceptually and syntactically similar interface description language, Web Services Description Language (WSDL), intended to address the unique issues associated with Web-based protocols. WSDL has been widely adopted and is currently the de facto industry-wide standard for Web service interface definition.
The increasing adoption of web services, however, poses certain problems for network devices that classify network traffic, such as application traffic monitoring devices (e.g., PacketSeeker™ application traffic monitoring appliance offered by Packeteer®, Inc. of Cupertino, Calif.), and application traffic management devices (e.g., PacketShaper® application traffic management appliance offered by Packeteer®, Inc.). Such network devices are typically deployed at strategic points in enterprise networks to monitor data flows traversing, for example, a WAN link. Many such network devices typically classify network traffic based on attributes within IP and TCP headers of the packets corresponding to a data flow. For example, HTTP traffic can often be classified based on the port number (port 80) in the TCP packet header. As discussed in the above-identified patents and patent applications, some traffic classification mechanisms employ rich Layer 7 traffic classification mechanisms. For example, as discussed more fully below, identification of traffic types associated with data flows traversing a WAN link, for example, typically involves the application of matching criteria or rules to the attributes of individual packets against an application signature which may comprise a one to a combination of attributes, such as a protocol identifier (e.g., TCP, HTTP, UDP, MIME types, etc.), a port number, and even an application-specific string of text in the payload of a packet.
The increasing use of Web services makes granular classification of network traffic more difficult, since the data flows corresponding to a variety of different web services applications all use the same standard web services and other network protocols, such as HTTP, SMTP, NNTP, SOAP, XML and the like. For example, a Web service typically allows a consuming application to access the service using one to a plurality of different bindings based on standard network protocols, such as HTTP and SMTP. Accordingly, the packet headers in the messages transmitted to the web service, as well as the packet headers associated with any response, across a wide variety of web services will typically include less meaningful information in the lower layers of the headers associated with the network communication protocol stack. For example, as discussed above, a well-formed SOAP message using an HTTP binding will typically identify port number 80, the well-known port number for HTTP traffic. As a result of this standardization, it will become increasingly difficult to ensure that critical network services are protected and rogue services, that also employ Web service networking protocols, are restricted as the differentiation between services and applications moves up the network communications protocol stack. Moreover, as the information that distinguishes one Web service from another moves up the protocol stack, it becomes more difficult to configure the matching attributes required to classify each Web service.
With the increasing adoption of Web services, as well as other network applications utilizing standard Internet transport protocols for inter-application communication, a more granular identification mechanism is needed to be able to differentiate one application from another and/or differentiate different components (methods/functions) within an application. For example, a stock information Web service might provide methods to 1) get a real-time quote, 2) find a ticker symbol based on a search string, and 3) enter a buy/sell request. Being able to differentiate the network traffic for each of these operations would allow for finer grained data collection and control of this traffic. With a more granular traffic classification mechanism, traffic policies can be configured, for example, to prioritize buy/sell requests so that they are pushed through the network faster than ticker symbol searches.
In light of the foregoing, a need in the art exists for methods, apparatuses and systems that facilitate the classification of web services network traffic for purposes such as monitoring and control of application performance, network utilization, and the like. Embodiments of the present invention substantially fulfill this need.
SUMMARY OF THE INVENTIONThe present invention provides methods, apparatuses and systems that facilitate the classification of web services network traffic. In one implementation, the present invention processes interface definitions corresponding to a given Web service to construct a traffic classification configuration for the Web service, including one or more traffic classes and corresponding matching rules or attributes for each traffic class. In one implementation, the present invention automatically creates traffic classes and matching rules that allow for differentiation between the operations supported by a Web service. Implementations of the present invention provide a mechanism allowing for classification of Web services network traffic on a granular basis to enhance network monitoring and analysis tasks, as well as network control functions, such as bandwidth management, security and other functions.
The functionality of traffic monitoring device 30 can be integrated into a variety of network devices that classify network traffic, such as firewalls, gateways, proxies, packet capture devices (see U.S. application Ser. No. 10/453,345), network traffic monitoring and/or bandwidth management devices, that are typically located at strategic points in computer networks. In one embodiment, first and second network interfaces 71, 72 are implemented as a combination of hardware and software, such as network interface cards and associated software drivers. In addition, the first and second network interfaces 71, 72 can be wired network interfaces, such as Ethernet interfaces, and/or wireless network interfaces, such as 802.11, BlueTooth, satellite-based interfaces, and the like. As
As
A. Network Traffic Monitoring and Web Services Network Traffic Classification
As discussed herein, traffic monitoring device 30 is operative to detect or recognize flows between end systems or hosts, and classify the data flows based on one or more flow attributes. Traffic monitoring device 30 may also monitor and store one or more measurement variables, and other statistics, on an aggregate and/or per-traffic-class basis. As discussed below, traffic monitoring device 30, in one implementation, is also operative to track the activity of web services network traffic and report on the web services traffic types traversing the network.
A.1. Packet Processing
In one embodiment, when packet processor 82 encounters a new data flow it stores the source and destination IP addresses contained in the packet headers in host database 134. Packet processor 82 further constructs a control block (flow) object including attributes characterizing a specific flow between two end systems. In one embodiment, packet processor 82 writes data flow attributes having variably-sized strings (e.g., URLs, host names, etc.) to a dynamic memory pool. The flow specification object attributes contain attribute identifiers having fixed sizes (e.g., IP addresses, port numbers, service IDs, protocol IDs, etc.), as well as the pointers to the corresponding attributes stored in the dynamic memory pool. Other flow attributes may include application specific attributes gleaned from layers above the TCP layer, such as codec identifiers for Voice over IP calls, Citrix database identifiers, and the like. Packet processor 82, in one embodiment, reserves memory space in the dynamic memory pool for storing such variably-sized attribute information as flows traverse traffic monitoring device 30. Packet processor 82 also stores received packets in a buffer structure for processing. In one embodiment, the packets are stored in the buffer structure with a wrapper including various information fields, such as the time the packet was received, the packet flow direction (inbound or outbound), and a pointer to the control block object corresponding to the flow of which the packet is a part.
In one embodiment, a control block object contains a flow specification object including such attributes as pointers to the “inside” and “outside” IP addresses in host database 134, as well as other flow specification parameters, such as inside and outside port numbers, service type (see below), protocol type and other parameters characterizing the data flow. In one embodiment, such parameters can include information gleaned from examination of data within layers 2 through 7 of the OSI reference model. U.S. Pat. Nos. 6,046,980 and 6,591,299, as well as others incorporated by reference herein, disclose classification of data flows for use in a packet-based communications environment.
In one embodiment, packet processor 82 creates and stores control block objects corresponding to data flows in flow database 135. In one embodiment, control block object attributes include a pointer to a corresponding flow specification object, as well as other flow state parameters, such as TCP connection status, timing of last packets in the inbound and outbound directions, speed information, apparent round trip time, packet count, etc. Control block object attributes further include at least one traffic class identifier (or pointer(s) thereto) associated with the data flow, as well as policy parameters (or pointers thereto) corresponding to the identified traffic class.
In one embodiment, to facilitate association of an existing control block object to subsequent packets associated with a data flow or connection, flow database 135 further maintains a control block hash table including a key comprising a hashed value computed from a string comprising the inside IP address, outside IP address, inside port number, outside port number, and protocol type (e.g., TCP, UDP, etc.) associated with a pointer to the corresponding control block object. According to this embodiment, to identify whether a control block object exists for a given data flow, packet processor 82 hashes the values identified above and scans the hash table for a matching entry. If one exists, packet processor 82 associates the pointer to the corresponding control block object with the data flow.
To allow for identification of service types (e.g., FTP, HTTP, etc.), packet processor 82, in one embodiment, is supported by one to a plurality of service identification tables in a relational database that allow for identification of a particular service type (e.g., application, protocol, etc.) based on the attributes of a particular data flow. Of course, other suitable data structures can be used to support the identification of service types, such as a set of hard-coded instructions, an XML file, and the like. In one embodiment, a services table including the following fields: 1) service ID, 2) service aggregate (if any), 3) name of service, 4) service attributes (e.g., port number, outside IP address, etc.), and 5) default bandwidth management policy. A service aggregate encompasses a combination of individual services (each including different matching criteria, such as different port numbers, etc.) corresponding to the service aggregate. When traffic monitoring device 30 encounters a new flow, packet processor 82 analyzes the data flow against the service attributes in the services table to identify a service ID corresponding to the flow. In one embodiment, packet processor 82 may identify more than one service ID associated with the flow. In this instance, packet processor 82 associates the more/most specific service ID to the flow. For example, network traffic associated with a peer-to-peer file sharing service may be identified as TCP or HTTP traffic, as well as higher level traffic types such as the actual file sharing application itself (e.g., Napster, Morpheus, etc.). In this instance, packet processor 82 associates the flow with the most specific service ID. A traffic class maintained by traffic classification engine 86 may be configured to include matching rules based on the service IDs in the services table. For example, a matching rule directed to HTTP traffic may simply refer to the corresponding service ID, as opposed to the individual attributes that packet processor 82 uses to initially identify the service.
In one embodiment, when packet processor 82 inspects a flow it may detect information relating to a second, subsequent flow (e.g., an initial FTP command connection being the harbinger of a subsequent data connection, etc.). Packet processor 82, in response to such flows populates a remembrance table with attributes gleaned from the first flow, such as IP addresses of the connection end points, port numbers, and the like. Packet processor 82 scans attributes of subsequent flows against the remembrance table to potentially associate the subsequent flow with the first flow and to assist in identification of the second flow.
A.2. Traffic Classification
A traffic class comprises a set of matching rules or attributes allowing for logical grouping of data flows that share the same characteristic or set of characteristics—e.g., a service ID or type (see Section A.1., above), a specific application, protocol, IP address, MAC address, port, subnet, a text string, etc. In one embodiment, each traffic class has at least one attribute defining the criterion(ia) used for identifying a specific traffic class. For example, a traffic class can be defined by configuring an attribute defining a particular IP address or subnet. Of course, a particular traffic class can be defined in relation to a plurality of related and/or orthogonal data flow attributes. U.S. Pat. Nos. 6,412,000 and 6,591,299, and U.S. patent application Ser. No. 10/039,992 describe some of the data flow attributes that may be used to define a traffic class, as well as the use of hierarchical classification structures to associate traffic classes to data flows. In one embodiment, traffic monitoring device 30 includes functionality allowing for classification of network traffic based on information from layers 2 to 7 of the 051 reference model. Traffic monitoring device 30 can be configured to include matching rules that define a plurality of network applications commonly found in enterprise networks, such as database applications, Citrix® flows, ERP applications, HTTP traffic, SOAP traffic, and the like.
In one embodiment, traffic monitoring device 30 is configured to include a predefined set of traffic classes based upon a knowledge base gleaned from observation of common or known traffic types on current networks. As discussed more fully below, these traffic classes can be added to traffic classification engine 86 as data flows associated with these traffic classes are encountered. Traffic monitoring device 30, in one embodiment, also allows an administrator to manually create a traffic class by specifying a set of matching attributes. As discussed above, administrator interface 150, in one embodiment, allows for selection of a traffic class and the configuration of one or more policies for the selected traffic class. In the context of traffic monitoring device, administrator interface 150 allows a network administrator to specify which reporting options or parameters to track for a given traffic class. Administrator interface 150, in one embodiment, also allows for the selection and arrangement of traffic classes into hierarchical reference trees.
Traffic classification engine 86, in one implementation, stores traffic classes associated with data flows that traverse access link 21. Traffic classification engine 86, in one embodiment, stores the traffic classes and corresponding data (e.g., matching rules, policies, partition pointers, etc.) related to each traffic class in a hierarchical tree. This tree is organized to show parent-child relationships—that is, a particular traffic class may have one or more subordinate child traffic classes with more specific characteristics (matching rules) than the parent class. For example, at one level a traffic class may be configured to define a particular user group or subnet, while additional child traffic classes can be configured to identify specific application traffic associated with the user group or subnet.
In one embodiment, the root traffic classifications are “/Inbound” and “/Outbound” data flows. Any data flow not explicitly classified is classified as “/Inbound/Default” or “/Outbound/Default”. In one embodiment, administrator interface 150 displays the traffic class tree and allows for selection of a traffic class and the configuration of policies for that traffic class, such as a reporting policy. Administrator interface 150 also allows for the arrangement of traffic classes into a hierarchical classification tree. Traffic monitoring device 30 further allows an administrator to manually create a traffic class by specifying a set of matching rules and, as discussed below, also automatically creates traffic classes by monitoring network traffic across access link 21 and classifying data flows according to a set of criteria to create matching rules for each traffic type. In one embodiment, each traffic class node includes a traffic class identifier; at least one traffic class (matching) attribute; at least one policy parameter (e.g., a reporting policy), a pointer field reserved for pointers to one to a plurality of child traffic classes. In one embodiment, traffic classification engine 86 implements a reference tree classification model wherein separate traffic classification trees can be embedded in traffic class nodes of a given traffic classification tree. U.S. application Ser. No. 10/236,149, incorporated by reference herein, discloses the use and implementation of embeddable reference trees.
As with other traffic types, web services network traffic may be classified based on a variety of attributes. For example, web services network traffic adhering to standard protocols, such as SOAP, can be identified based on various attributes of the protocol. For example, web service network traffic in the aggregate can be identified by matching against various elements of message headers identifying for example, the messaging protocol (e.g., SOAP), the binding (e.g., HTTP, SMTP, etc.), host and URI information, as well as service operation identifiers in the message payload. Accordingly, traffic classification engine 86 can be configured to classify web services network traffic on an aggregate basis by configuring matching rules based on known web services network protocols. Traffic classification engine 86 can also be configured to differentiate between web services based on host and URI information in SOAP (or other protocol) message headers. Furthermore, traffic classification engine 86 can also be configured to differentiate between operations supported by a given web service based on calls to the operations in message payloads, as discussed more fully below. As discussed more fully below, web services classification module 88, in one implementation, can parse an interface definition associated with a given web service to automatically generate at least one traffic class and the matching attributes and rules corresponding to the traffic class.
A.2.a. Automatic Traffic Discovery
As discussed above, a traffic discovery module (not shown), in one implementation, analyzes data flows for which no matching traffic class was found in traffic classification engine 86. The traffic discovery module, in one embodiment, is operative to apply predefined sets of matching rules to identify a traffic class corresponding to non-matching data flows. In one implementation, the traffic discovery module operates on data flows classified as either /Inbound/Default or Outbound/Default. In one embodiment, the traffic discovery module is configured to include a predefined set of traffic classes based upon a knowledge base gleaned from observation of common or known traffic types on current networks. In one embodiment, the traffic discovery module creates traffic classes automatically in response to data flows traversing traffic monitoring device 30 and stores such traffic classes in traffic classification engine 86. Automatic traffic classification is disclosed in U.S. Pat. Nos. 6,412,000, 6,457,051, and 6,591,299, which are incorporated herein by reference.
As discussed above, the traffic discovery module applies one or more traffic discovery thresholds when deciding whether to present or add newly discovered traffic classes. In one embodiment, the traffic discovery module must detect a minimum number of data flows within a predefined period for a given traffic type before it creates a traffic class in traffic classification engine 86. In one embodiment, auto-discovered traffic classes are automatically assigned predefined traffic management policies. U.S. patent application Ser. No. 09/198,051, incorporated by reference herein, discloses automatic assignment of traffic policies for discovered traffic classes.
A.3. Data Reporting Module
As discussed above, data reporting module 84 is operative to process packets traversing traffic monitoring device 30 and collect various statistics and measurements on a per-traffic-class and aggregate basis. In one implementation, data reporting module 84 is operative to identify the reporting policies of the traffic class to which a packet corresponds and apply the reporting policies to that traffic class. In one implementation, data reporting module 84 maintains all possible measurements and statistics for a given traffic class as a default configuration. In one implementation, data reporting module 84 maintains data associated with the operation of traffic monitoring device 30 and access link 21, including data allowing for measurement of bandwidth utilization across access link 21 with respect to a plurality of bandwidth utilization and other network statistics. In one implementation, data reporting module 84 is operative to record or maintain numeric totals of a particular measurement variable at periodic intervals on a traffic classification basis. For example, data reporting module 84 monitors the number of inbound and outbound packets, the number of flows, peak and average rates, as well as the number of bytes, traversing traffic monitoring device 30 on an aggregate (access link), partition, and/or traffic class level. Other network statistics can include the number of TCP packets, the number of retransmitted TCP packets, the peak number of concurrently active TCP flows or other connections, etc. Data reporting module 84 further maintains data relating to traffic classes, such as, for a given traffic class: the packet count in the traffic class, the TCP data packet count in the class, the TCP retransmit packet count in the class, and the peak number of active TCP flows in the class, as well as a “class hits” count characterizing the number of flows that were matched to a given traffic class. Of course, data reporting module 84 can be configured to record and maintain a variety of network utilization and performance related data. For example, data reporting module 84 can be configured to measure and record packet arrival times associated with various data flows in order to compute response time measurements, or network delay measurements, for traffic classes. U.S. application Ser. No. 09/710,442 discloses methods and systems for monitoring network delay on an application-level basis attributable to different networks by monitoring data flows at a demarcation point between the two networks.
In one embodiment, data reporting module 84 monitors operation of traffic monitoring device 30 and maintains values (e.g., packet counts, peak bandwidth utilization values, and other quantities) for various network operation, utilization and performance statistics. In one embodiment, data reporting module 84 maintains such values in volatile memory and, at periodic intervals, stores the data in persistent memory, such as a hard drive, with a time stamp and clears the network statistic values in the volatile memory space. As discussed above, network statistic data can be stored in association with identifiers for access link 21, as well as for various traffic classes associated with the current configuration of traffic monitoring device 30. In one embodiment, data reporting module 84 stores network statistic data in persistent memory at one-minute intervals; however, other suitable time intervals can be chosen as a matter of engineering design or administrative need. In addition, the persistent memory, in one embodiment, includes sufficient capacity to store a large amount of network management data, such as data for a period of 24, 48, or 72 hours.
In one embodiment, the time interval at which data reporting module 84 stores network management data in persistent memory is a configurable parameter. Additionally, data reporting module 84 includes APIs allowing other modules to access the raw measurement data. In one embodiment, data reporting module 84 includes APIs and associated functionality that aggregates raw measurement data over specified time intervals (e.g., the last hour, 15 minutes, day, etc.).
A.4. Web Services Classification Module
Web services classification module 88, in one implementation, performs various operations related to the classification of web services network traffic. Web services classification module 88, for example, is operative to monitor the packet path associated with traffic monitoring device 30 to track the frequency of, or other usage statistics associated with, web services network traffic. In addition, web services classification module 88 is also operative to assist network administrators or other end users to configure traffic classification engine 86 to classify web services network traffic.
Specifically, in one implementation, when a packet is received (302), Web services classification module 88 determines whether the packet represents a new data flow, such as the first packet of a new TCP connection (e.g., SYN, SYN-ACK, or ACK packets) (304). If the packet represents a new data flow, Web services classification module 88 waits for the first data packet in the flow and inspects the packet, or subsequent packets, to identify a HTTP header (306) and whether the packet(s) further contains SOAP headers or other elements (308). If both conditions are true, Web services classification module 88 generates a key based on the host and URI identified in the HTTP header associated with the SOAP message (310). In one implementation, the key is generated by applying a hashing function to the host name and URI pair identified in the SOAP message. Web services classification module 88 then determines whether the generated key already appears in the list of web services (312). If so, Web services classification module 88 increments the hit (transaction) count associated with the identified web service and updates the time stamp to the time the packet was received (314). As
A variety of configurations are possible. For example, Web services classification module 88 could maintain a separate tracking list where inside hosts (see above) are the servers in the transaction, and another tracking list where the inside hosts are the clients in the transaction. In addition, the tracking list could also count the number of web services transactions using different bindings, such as SMTP, as well as other web services network protocols. Furthermore, the tracking list can be applied on a more granular basis to track transactions associated with different operations supported by the web services. This can be accomplished by inspecting the data in the SOAP message payloads for operation identifiers.
In any of these configurations, the tracking lists maintained by Web services classification module 88 can be used in a variety of manners. For example, a network administrator may sort the list based on transaction count to identify the most active web services whose data flows traverse traffic monitoring device 30. In addition, a network administrator may select one or more of the identified web services and configure traffic classification engine 86 to classify the web services network traffic, and to configure one or more operational policies to be applied to the selected web services network classes, as discussed more fully herein. Still further, Web services classification module 88 can be configured to transmit alerts, such as SNMP traps, when the transaction count corresponding to a given web service exceeds a threshold in a given time interval.
Web services classification module 88 then presents the traffic classes corresponding to the web service in a configuration interface (362). As
As one skilled in the art will recognize, Web services classification module 88 can be configured to process a variety of interface definition types, such as Web Services Description Language (WSDL), Interface Definition Language (IDL), Microsoft Interface Definition Language (MIDL), and the like. For didactic purposes, the Appendix provides an exemplary interface definition document formatted according to the WSDL standard. In addition, the following pseudocode illustrates a method, according to an implementation of the present invention, directed to processing an interface definition document to identify the operations associated with a given web service, identify the values of selected attribute types corresponding to the web service, and create traffic classes including matching rules based on the identified attribute values.
Given the process set forth above, assume for didactic purposes, a web service identified as “SERVICE_1” that supports three operations OPERATION_1, OPERATION_2, and OPERATION_3. In one implementation, Web services classification module 88 consumes the WSDL document, as set forth above, to create a parent traffic class (SERVICE_1), and three child traffic classes (OPERATION_1, OPERATION_2, and OPERATION_3). In one implementation, the parent traffic class SERVICE_1 includes matching rules specifying the protocol or binding supported by the web service, and the target URI. As the foregoing illustrates, Web services classification module 88 can optionally identify the individual operations and create matching rules based on the operation names or identifiers in the interface definition document.
For didactic purposes the following illustrates the processing of the interface definition document in the Appendix according to the method set forth above.
As illustrated above, Web services classification module 88 processes the interface definition document and, in one implementation, presents a configuration interface illustrating the hierarchical traffic classification set forth below, where “WebServices” is the parent traffic class for all web services traffic classes.
-
- WebServices
- PriceCheckService
- GetTradePrice
As discussed above, the configuration interface also allows the user to select a traffic class such as GetTradePrice, and configure one or more operational parameters. When the network administrator has completed the configuration, Web services classification module 88 writes the traffic classes, including the corresponding matching rules and operational parameters, in traffic classification database. Furthermore, one skilled in the art will recognize that a variety of implementations are possible. For example, Web services classification module 88 can be configured to create child traffic classes based on the different binding types associated with a given web service.
- GetTradePrice
- PriceCheckService
- WebServices
In one implementation, the configuration interface associated with Web services classification module 88 also allows end users to specify the location of the interface definition document corresponding to the web services in a UDDI repository, for example, for the purposes of automatically synchronizing the traffic classification configuration associated with the web service with the most current version of the corresponding interface definition document. Typically, WSDL and/or other interface definition files are available as web resources using a corresponding URI. As WSDL files are processed their URIs can be maintained by the classification device and automatically synchronized on a configurable interval (e.g., 12 hours, 24 hours, one week, etc.). In one implementation, the synchronization interval can be configured individually for each web service. In one implementation, Web services classification module 88 periodically performs the synchronization by sending an “If-modified-since” http request to the URI corresponding to the desired WSDL (or other interface definition) file. In one implementation, the If-modified-since date is the date stamp of the last successful synchronization. If the response to the request is a “304 Not Modified” then Web services classification module 88 updates the date stamp to the current date. If the response is a “200 OK” response, Web services classification module 88 then knows that the WSDL file may have changed. Accordingly, Web services classification module 88 re-processes the WSDL file to determine whether it is accurately represented by the classification rules, and updates or remove rules as necessary. If new operations or other traffic classes are identified, Web services classification module 88 notifies the network administrator to allow for possible configuration of operational policies.
A.5. Operation
In addition, methods for determining new data flows and assigning packets to existing data flows are well known in the art and also depend on the particular transport layer protocol employed. For a TCP flow, packet processor 82 can determine a new data flow by detecting SYN and/or SYN/ACK packets. However, a new data flow can simply be a data flow for which there is no corresponding flow object. For example, with UDP and GRE flows (where there is no explicit connection mechanism, such as SYN packets), a new flow is recognized by associating the source and destination addresses and port numbers to the flow and the flow type (e.g., UDP, GRE, etc.). Accordingly, when a UDP packet identifies a new address/port pair, the attributes discussed above are stored in a data structure along with the time of last packet. A new UDP flow between the same address/port pairs can be determined by comparing the last packet time to a threshold value (e.g., 2 minutes). If the difference between the time of the latest packet and the time of the last packet is greater than the threshold, the new packet is deemed part of a new flow. In another implementation, a background and/or separate process can periodically compare the last packet times associated with a flow to a threshold period of time and deem the flow terminated if the last packet time is beyond the threshold period of time.
If the packet is part of an existing flow, the packet processor 82 associates the packet with the corresponding flow object and updates flow object attributes as required (110). For example, the packet processor 82, in one embodiment, increments the packet count associated with the flow (116). If the packet represents a new data flow, traffic classification engine 86 operates on the flow object and, potentially, attributes of the packet and other packets associated with the flow to determine a traffic type and/or traffic class associated with the flow (114). In one embodiment, the packet (or a pointer to the packet stored in a buffer structure) and the flow object (or a pointer thereto) is passed to the traffic classification engine 86 to determine a traffic class. As discussed in more detail below, identification of a traffic class or type can employ information gleaned from Layers 2 thru 7 of the OSI reference model. In addition, as discussed above, traffic classification engine 86 as part of its classification functionality applies the matching attributes obtained from the processing of various interface web services definition documents (see above) to determine whether the packet or data flow corresponds to a web service. The determination of traffic classes is discussed in more detail below at Section A.2, above. Similarly, if the packet represents a change to the data flow (112), packet processor 82 passes the packet and flow object to the traffic classification engine 86 to determine the traffic class. As
As
B. Integration of Behavior Pattern Matching into Bandwidth Management Devices
As discussed above, the enhanced traffic classification functionality described above, in one embodiment, can be integrated into a bandwidth management device 130 operative to manage data flows traversing access link 21. The above-identified, commonly-owned patents and patent applications disclose the general functionality and operation of bandwidth management devices.
Administrator interface 150 facilitates the configuration of bandwidth management device 130 to adjust or change operational and configuration parameters associated with the device. For example, administrator interface 150 allows administrators to select identified traffic classes and associate them with bandwidth utilization controls (e.g., a partition, a policy, etc.), and other policy types, such as reporting policies. Administrator interface 150 also displays various views associated with a hierarchical traffic classification scheme and allows administrators to configure or revise the hierarchical traffic classification scheme. Administrator interface 150 can be a command line interface or a graphical user interface accessible, for example, through a conventional browser on client device 42.
Packet processor 82, traffic classification engine 86, and Web services classification module 88 operate substantially similar to the corresponding components and modules of traffic monitoring device 30, discussed above. Accordingly, the following provides a description of the operation, according to one implementation, of flow control module 132.
B.1. Flow Control Module
As discussed above, flow control module 132 enforces bandwidth utilization controls (and, in some embodiments, other policies) on data flows traversing access link 21. A bandwidth utilization control for a particular data flow can comprise an aggregate control bandwidth utilization control, a per-flow bandwidth utilization control, or a combination of the two. Flow control module 132 can use any suitable functionality to enforce bandwidth utilization controls known in the art, including, but not limited to weighted fair queuing, class-based weighted fair queuing, Committed Access Rate (CAR) and “leaky bucket” techniques. Flow control module 132 may incorporate any or a subset of the TCP rate control functionality described in the cross-referenced U.S. patents and/or patent applications set forth above for controlling the rate of data flows. Bandwidth management device 130, however, can also be configured to implement a variety of different policy types, such as security policies, admission control policies, marking (diffserv, VLAN, etc.) policies, redirection policies, caching policies, transcoding policies, and network address translation (NAT) policies. Of course, one of ordinary skill in the art will recognize that other policy types can be incorporated into embodiments of the present invention.
B.1.a. Aggregate Bandwidth Utilization Control
An aggregate bandwidth utilization control operates to manage bandwidth for aggregate data flows associated with a traffic class. An aggregate bandwidth utilization control can be configured to essentially partition the available bandwidth corresponding to a given access link. For example, a partition can be configured to protect a network traffic class by guaranteeing a defined amount of bandwidth and/or limit a network traffic class by placing a cap on the amount of bandwidth a traffic class can consume. Such partitions can be fixed or “burstable.” A fixed partition allows a traffic class to use in the aggregate a defined amount of bandwidth. A fixed partition not only ensures that a specific amount of bandwidth will be available, but it also limits data flows associated with that traffic class to that same level. A burstable partition allows an aggregate traffic class to use a defined amount of bandwidth, and also allows that traffic class to access additional unused bandwidth, if needed. A cap may be placed on a burstable partition, allowing the traffic class to access up to a maximum amount of bandwidth, or the burstable partition may be allowed to potentially consume all available bandwidth across the access link. Partitions can be arranged in a hierarchy—that is, partitions can contain partitions. For example, the bandwidth, or a portion of the bandwidth, available under a parent partition can be allocated among multiple child partitions. In one embodiment, at the highest level, a partition exists for all available outbound bandwidth, while another partition exists for all available inbound bandwidth across the particular access link. These partitions are then sub-dividable to form a hierarchical tree. For example, an enterprise employing static partitions may define a static partition for a PeopleSoft software application traffic class, and sub-divide this parent partition into a large burstable child partition for its human resources department and a smaller burstable child partition for the accounting department. U.S. patent application Ser. No. 10/108,085 includes a discussion of methods for implementing partitions, as well as novel solution for implementing partitions arranged in a hierarchical allocation scheme.
In one embodiment, a partition is created by selecting a traffic class and configuring a partition for it. As discussed above, configurable partition parameters include 1) minimum partition size (in bits per second); 2) whether it is burstable (that is, when this option is selected, it allows the partition to use available excess bandwidth; when the option is not selected the partition has a fixed size); and 3) maximum bandwidth to be used when the partition bursts.
B.1.b. Per-Flow Bandwidth Utilization Controls
Flow control module 132 is also operative to enforce per-flow bandwidth utilization controls on traffic across access link 21. Whereas aggregate bandwidth utilization controls (e.g., partitions, above) allow for control of aggregate data flows associated with a traffic class, per-flow bandwidth utilization controls allow for control of individual data flows. In one embodiment, flow control module 132 supports different bandwidth utilization control types, including, but not limited to, priority policies, rate policies, and discard policies. A priority policy determines how individual data flows associated with a traffic class are treated relative to data flows associated with other traffic classes. A rate policy controls the rate of data flows, for example, to smooth bursty traffic, such as HTTP traffic, in order to prevent a TCP end system from sending data packets at rates higher than access link 21 allows, thereby reducing queuing in router buffers and improving overall efficiency. U.S. patent application Ser. No. 08/742,994 now U.S. Pat. No. 6,038,216, incorporated by reference above, discloses methods and systems allowing for explicit data rate control in a packet-based network environment to improve the efficiency of data transfers. Similarly, U.S. Pat. No. 6,018,516, incorporated by reference above, methods and systems directed to minimizing unneeded retransmission of packets in a packet-based network environment. A rate policy can be configured to establish a minimum rate for each flow, allow for prioritized access to excess available bandwidth, and/or set limits on total bandwidth that the flow can consume. A discard policy causes flow control module 132 to discard or drop data packets or flows associated with a particular traffic class. Other policy types include redirection policies where an inbound request designating a particular resource, for example, is redirected to another server.
B.2. Measurement Engine
As discussed above, measurement engine 140 maintains data associated with the operation of bandwidth management device 130 and access link 21, including data allowing for measurement of bandwidth utilization across access link 21 with respect to a plurality of bandwidth utilization and other network statistics. In one implementation, measurement engine 140 is operative to record or maintain numeric totals of a particular measurement variable at periodic intervals on a traffic classification basis. For example, measurement engine 140 monitors the number of inbound and outbound packets, the number of flows, peak and average rates, as well as the number of bytes, traversing bandwidth management device 130 on an aggregate (access link), partition, and/or traffic class level. Other network statistics can include the number of TCP packets, the number of retransmitted TCP packets, the peak number of concurrently active TCP flows or other connections, etc. Measurement engine 140 also maintains data relating to operation of bandwidth management device 130, such as the number of partitions, the byte count in a given partition, the packet count in a given partition, the TCP data packet count in a given partition, the TCP retransmit packet count in a given partition, the TCP tossed retransmit packet count in a given partition, the peak number of active TCP flows in the partition, the total time in seconds spent over the partition size for the partition. Measurement engine 140 further maintains data relating to traffic classes, such as, for a given traffic class: the packet count in the traffic class, the TCP data packet count in the class, the TCP retransmit packet count in the class, and the peak number of active TCP flows in the class, as well as a “class hits” count characterizing the number of flows that were matched to a given traffic class. Of course, measurement engine 140 can be configured to record and maintain a variety of network utilization and performance related data.
In one embodiment, measurement engine 140 monitors operation of bandwidth management device 130 and maintains values (e.g., packet counts, peak bandwidth utilization values, and other quantities) for various network operation, utilization and performance statistics. In one embodiment, measurement engine 140 maintains such values in volatile memory and, at periodic intervals, stores the data in persistent memory, such as a hard drive, with a time stamp and clears the network statistic values in the volatile memory space. As discussed above, network statistic data can be stored in association with identifiers for access link 21, as well as for various partitions and traffic classes associated with the current configuration of bandwidth management device 130. In one embodiment, measurement engine 140 stores network statistic data in persistent memory at one-minute intervals; however, other suitable time intervals can be chosen as a matter of engineering design or administrative need. In addition, the persistent memory, in one embodiment, includes sufficient capacity to store a large amount of network management data, such as data for a period of 24, 48, or 72 hours.
In one embodiment, the time interval at which measurement engine 140 stores network management data in persistent memory is a configurable parameter. Additionally, measurement engine 140 includes APIs allowing other modules to access the raw measurement data. In one embodiment, measurement engine 140 includes APIs and associated functionality that aggregates raw measurement data over specified time intervals (e.g., the last hour, 15 minutes, day, etc.).
B.5. Enforcement of Bandwidth Utilization Controls
In one embodiment, packet processor 82 receives a data packet (
As discussed above, to identify a traffic class associated with the data flow, packet processor 82 passes the control block object (or a pointer to the control block object) to traffic classification engine 86. In one embodiment, the control block object or a copy of it is stored in association with the packet and in the same buffer structure to facilitate access to the control block object by traffic classification engine 86. As discussed in more detail below, traffic classification engine 86 operates on attributes of the control block object and/or flow specification object, (and potentially on the packet stored in the buffer structure) to identify traffic class(es) associated with the data flow (114). In one embodiment, the control block object in flow database 135 includes a pointer to the identified traffic class(es) in traffic classification engine 137. In one embodiment, the traffic classification engine 137 writes in the control block object the policy parameters (e.g., bandwidth utilization control parameters, security policies, etc.) associated with the identified traffic classes (116). As discussed above, if the data flow does not match an existing traffic class (115), packet processor 82 or traffic classification database 86 flags the packet for traffic discovery module (116). In one embodiment, a data flow that does not match an existing traffic class is classified in the default traffic class. The traffic discovery module operates on attributes of the data flow to classify it as discussed above. If the identified traffic class exceeds a discovery threshold, the traffic discovery module, in one implementation, adds the discovered traffic class to traffic classification database 86. In one implementation, the traffic discovery module also writes default bandwidth utilization controls and/or other policies (such as security or redirection policies) into traffic classification database 86. In another embodiment, newly discovered traffic classes can be added to a separate list, or other data structure, from which a network administrator may elect to add to the traffic classification configuration maintained by traffic classification database 86.
Packet processor 82 then passes the packet to rate control module 132 (222) which accesses the control block object corresponding to the data flow to retrieve the bandwidth utilization or other controls (e.g., partition, policy, security controls, etc.) associated with the traffic class and enforces the bandwidth utilization controls on the data packet flow. As discussed above, the particular packet flow control mechanism employed is not critical to the present invention. A variety of flow control technologies can be used, such as the flow control technologies disclosed in co-pending and commonly owned application Ser. No. 10/108,085, incorporated herein by reference above, as well as other rate control technologies. As
Lastly, although the present invention has been described as operating in connection with end systems and networks primarily employing the HTTP, TCP and IP protocols, the present invention has application in computer network environments employing any suitable session layer, transport layer and network layer protocols. Moreover, one skilled in the art will recognize that the present invention can be applied to process a vast array of interface definition types and protocols in order to generate classification configurations for web services network traffic. Accordingly, the present invention has been described with reference to specific embodiments. Other embodiments of the present invention will be apparent to one of ordinary skill in the art. It is, therefore, intended that the claims set forth below not be limited to the embodiments described above.
APPENDIX<?xml version=“1.0”?>
<definitions name=“PriceCheck”
targetNamespace=“http://webservice.com/pricecheck.wsdl”
-
- xmlns:tns=“http://webservice.com/pricecheck.wsdl”
- xmlns:xsdl=“http://webservice.com/pricecheck.xsd”
- xmlns:soap=“http://schemas.xmlsoap.org/wsdl/soap/”
- xmins=“http://schemas.xmisoap.org/wsdl/”>
- <types>
- <schema targetNamespace=“http://webservice.com/pricecheck.xsd”
- xmlns=“http://www.w3.org/2000/10/XMLSchema”>
- <element name=“TradePriceRequest”>
- <complexType>
- <all>
- <element name=“tickerSymbol” type=“string”/>
- </all>
- <all>
- </complexType>
- <complexType>
- </element>
- <element name=“TradePrice”>
- <complexType>
- </all>
- </schema>
- <complexType>
- </types>
- <message name=“GetLastTradePriceInput”>
- <part name=“body” element=“xsdl:TradePriceRequest”/>
- </message>
- <message name=“GetLastTradePriceOutput”>
- <part name=“body” element=“xsaTradePrice”/>
- </message>
- <portType name=“PriceCheckPortType”>
- <operation name=“GetLastTradePrice”>
- <input message=“tns:GetLastTradePriceInput”/>
- <output message=“tns:GetLastTradePriceOutput”/>
- </operation>
- <operation name=“GetLastTradePrice”>
- </portType>
- <binding name=“PriceCheckSoapBinding” type=“PriceCheckPortType”>
- <soap:binding style=“document” transport=“http://schemas.xmlsoap.org/soap/http”/>
- <operation name=“GetLastTradePrice”>
- <soap:operation soapAction=“http://webservice.com/GetLastTradePrice”/>
- <input>
- <soap:body use=“literal”/>
- </input>
- <output>
- <soap:body use=“literal”/>
- </output>
- </operation>
- </binding>
- <service name=“PriceCheckService”>
- <documentation>My first service</documentation>
- <port name=“PriceCheckPort” binding=“PriceCheckSoapBinding”>
- <soap:address location=“http://webservice.com/pricecheck”/>
- </port>
- </service>
</definitions>
Claims
1. A method facilitating the classification of web services network traffic, comprising:
- discovering, at a network device, one or more web services based on web service invocation messages received at the network device;
- maintaining a tracking list data structure comprising, for each discovered web service, a web service identifier corresponding to the web service and a transaction count associated with the web service;
- incrementing, responsive to a message indicating a new web services network transaction, a transaction count associated with the web service identified in the message;
- presenting, in a user interface, one or more of the web service identifiers and corresponding transaction counts, wherein the user interface allows for selection of one or more web service identifiers; and
- configuring, responsive to selection of a web service identifier, a network traffic classification mechanism to identify the web service corresponding to the web service identifier, comprising: creating a traffic class identifier corresponding to the web service; creating at least one matching rule defining an attribute of the web service; associating the at least one matching rule to the traffic class identifier in the traffic classification mechanism; receiving an interface definition document defining the attributes of the web service; processing the interface definition document to identify at least one traffic class corresponding to the web service, comprising: defining a first traffic class corresponding to the web service; defining at least a second traffic class corresponding to a binding supported by the web service; and associating at least the second traffic class as a child traffic class of the first traffic class in a hierarchical traffic classification scheme; and configuring a network traffic classification mechanism to identify the at least one traffic class based on at least one attribute obtained from the web services definition document.
2. A method facilitating the classification of web services network traffic, comprising:
- discovering, at a network device, one or more web services based on web service invocation messages received at the network device;
- maintaining a tracking list data structure comprising, for each discovered web service, a web service identifier corresponding to the web service and a transaction count associated with the web service;
- incrementing, responsive to a message indicating a new web services network transaction, a transaction count associated with the web service identified in the message;
- presenting, in a user interface, one or more of the web service identifiers and corresponding transaction counts, wherein the user interface allows for selection of one or more web service identifiers; and
- configuring, responsive to selection of a web service identifier, a network traffic classification mechanism to identify the web service corresponding to the web service identifier, comprising: creating a traffic class identifier corresponding to the web service; creating at least one matching rule defining an attribute of the web service; associating the at least one matching rule to the traffic class identifier in the traffic classification mechanism; receiving an interface definition document defining the attributes of the web service; processing the interface definition document to identify at least one traffic class corresponding to the web service, comprising: defining a first traffic class corresponding to the web service; defining at least a second traffic class corresponding to an operation of the web service; and associating at least the second traffic class as a child traffic class of the first traffic class in a hierarchical traffic classification scheme; and configuring a network traffic classification mechanism to identify the at least one traffic class based on at least one attribute obtained from the web services definition document.
3. The method of claim 2 wherein the web services interface definition document is a WSDL document.
4. The method of claim 2 wherein the attribute in the second creating step is the web service identifier corresponding to the web service.
5. The method of claim 4 further comprising creating at least one additional matching rule defining an attribute of the web service.
6. The method of claim 5 wherein the attribute in the third creating step is a protocol associated with the web service.
7. The method of claim 6 wherein the protocol is a web services protocol.
8. The method of claim 6 wherein the protocol is the SOAP protocol.
9. The method of claim 6 wherein the protocol is the HTTP protocol.
10. The method of claim 2 further comprising maintaining a count of a number of data flows corresponding to each web service traversing the communications path.
11. The method of claim 2 wherein the web service identifier comprises a host name.
12. The method of claim 2 wherein the web service identifier comprises a host name and a uniform resource indicator.
13. The method of claim 2 wherein the configuring step is performed in response to a command from an end user.
14. The method of claim 2 wherein the monitoring step comprises
- upon detection of a new data flow, parsing at least one packet in the data flow to identify the protocol attributes corresponding to the data flow; matching the identified protocol attributes to a predetermined set of web services protocol attributes to determine whether the data flow is web services web services data flow.
15. The method of claim 14 wherein the parsing step comprises parsing the at least one packet in the data flow into a flow specification, wherein the flow specification contains at least one instance of any one of the following: a protocol family designation, a direction of packet flow designation, a protocol type designation, a binding type, a pair of hosts, a pair of ports, a pointer to a MIME type, a pointer to an application-specific attribute.
16. The method of claim 2 further comprising
- subsequent to the configuring step, processing the latest interface definition document corresponding to the web service to determine whether changes to the configuration of the network traffic classification mechanism are required.
17. The method of claim 2 wherein the tracking list data structure comprises a hash table including one or more entries, wherein each entry comprises a key value and a transaction count, wherein the key value is generated by applying a hashing function to a host name and URI pair identified in messages initiating web services network transactions.
18. The method of claim 2 further comprising applying one or more bandwidth utilization controls to data flows based on the web services traffic classes associated with the data flows by the traffic classification mechanism.
19. An apparatus facilitating the classification of web services network traffic, comprising
- a packet processor operative to detect data flows in network traffic traversing a network;
- a traffic classification database operative to match data flows against a plurality of traffic classes, wherein each traffic class in the plurality of traffic classes is defined by at least one matching attribute;
- a web services classification module operative to identify web services in the data flows traversing the network; discover one or more web services based on web service invocation messages received at the packet processor; maintain a tracking data structure comprising, for each discovered web service, a web service identifier corresponding to the web service and a count of the number of web services network transactions detected in the data flows traversing the network; increment, responsive to a message indicating a new web services network transaction, a transaction count associated with the web service identified in the message; present, in a user interface, one or more of the web service identifiers and corresponding transaction counts, wherein the user interface allows for selection of one or more web service identifiers; and create, responsive to selection of a web service identifier, a traffic class in the traffic classification database for a selected web service in the data structure, wherein at least one matching rule associated with the traffic class includes the web service identifier associated with the web service;
- receive an interface definition document defining the attributes of the selected web service and an operation of the selected web service;
- process the interface definition document to identify at least a first traffic class corresponding to the selected web service and at least a second traffic class corresponding to the operation of the selected web service; and
- create the at least the first traffic class and the second traffic class in the traffic classification database, wherein at least one matching rule associated with the corresponding first traffic class and second traffic class is based on one or more of the attributes in the interface definition document.
20. The apparatus of claim 19 wherein the at least one traffic class is identified relative to the bindings identified in the interface definition document.
21. The apparatus of claim 19 wherein, to process the interface definition document, the web services classification module is further operative to
- define a first traffic class corresponding to the web service;
- define at least a second traffic class corresponding to an attribute of the web service; and
- associate the at least a second traffic class as a child traffic class of the first traffic class in a hierarchical traffic classification scheme.
22. The apparatus of claim 21 wherein the attribute in the second defining step is an operation of the web service.
23. The apparatus of claim 21 wherein the attribute in the second defining step is a binding supported by the web service.
24. The apparatus of claim 19 wherein the tracking data structure comprises a hash table including one or more entries, wherein each entry comprises a key value and a transaction count, wherein the key value is generated by applying a hashing function to a host name and URI pair identified in messages initiating web services network transactions.
6046980 | April 4, 2000 | Packer |
6285658 | September 4, 2001 | Packer |
6412000 | June 25, 2002 | Riddle et al. |
6591299 | July 8, 2003 | Riddle et al. |
6924751 | August 2, 2005 | Hempel et al. |
6950405 | September 27, 2005 | Van Gerrevink |
7117504 | October 3, 2006 | Smith et al. |
7302480 | November 27, 2007 | Lahtinen |
7321880 | January 22, 2008 | Gosby |
7324553 | January 29, 2008 | Varier et al. |
7366101 | April 29, 2008 | Varier et al. |
7457870 | November 25, 2008 | Lownsbrough et al. |
20020055998 | May 9, 2002 | Riddle et al. |
20020174178 | November 21, 2002 | Stawikowski |
20030005181 | January 2, 2003 | Bau et al. |
20030012141 | January 16, 2003 | Gerrevink |
20030093436 | May 15, 2003 | Brown et al. |
20030095540 | May 22, 2003 | Mulligan et al. |
20030102986 | June 5, 2003 | Hempel et al. |
20030115548 | June 19, 2003 | Melgar |
20030140140 | July 24, 2003 | Lahtinen |
20030182364 | September 25, 2003 | Large et al. |
20030204645 | October 30, 2003 | Sharma et al. |
20030220925 | November 27, 2003 | Lior |
20040030627 | February 12, 2004 | Sedukhin |
20040031038 | February 12, 2004 | Hugly et al. |
20040045005 | March 4, 2004 | Karakashian |
20040068424 | April 8, 2004 | Lee et al. |
20040083262 | April 29, 2004 | Trantow |
20040103186 | May 27, 2004 | Casati et al. |
20040111504 | June 10, 2004 | Halim et al. |
20040128670 | July 1, 2004 | Robinson et al. |
20040148326 | July 29, 2004 | Nadgir et al. |
20050015375 | January 20, 2005 | Harjanto |
20050038867 | February 17, 2005 | Henderson et al. |
20050060372 | March 17, 2005 | DeBettencourt et al. |
20050065879 | March 24, 2005 | Birch et al. |
20050080661 | April 14, 2005 | Casati et al. |
20050125440 | June 9, 2005 | Hirst |
20050125771 | June 9, 2005 | Vitanov et al. |
20050154785 | July 14, 2005 | Reed et al. |
20050202392 | September 15, 2005 | Allen et al. |
20060265689 | November 23, 2006 | Kuznetsov et al. |
20070150546 | June 28, 2007 | Karakashian et al. |
- Wikipedia, Counter, pp. 1-8.
- Mukhi, Nirmal, “Web service invocation sans SOAP”, Sep. 1, 2001, pp. 1-7.
Type: Grant
Filed: Feb 27, 2004
Date of Patent: Aug 10, 2010
Assignee: Packeteer, Inc. (Cupertino, CA)
Inventors: Derek Leigh Lownsbrough (Kelowna), Edward G. Bruck (Kelowna)
Primary Examiner: Hassan Phillips
Assistant Examiner: Backhean Tiv
Attorney: Baker Botts L.L.P.
Application Number: 10/788,646
International Classification: G06F 15/173 (20060101);