Patent ID: 8031599

Claim:
A method for assigning packets belonging to traffic of a network to one of preselected classes of service, comprising the steps of in a training session observing values of preselected traffic attributes of traffic data flows in a preselected corpus of traffic data of said network that are known to belong to specific ones of said classes of service; performing statistical analysis of the observed preselected traffic attributes of traffic data flows, relative to said known classes of service, and creating a set of rules, based on said statistical analysis, that enable mapping a given traffic flow to one of said specific classes of service based on values of said preselected traffic attributes in said given traffic flow; following said training session receiving a packet that belongs to a flow of a connection, and assigning the packet to one of said classes of service, in accordance with said set of rules, based on one or more of said preselected traffic attributes that pertain to said packet where said step of performing statistical analysis, comprises forming a vector of statistics, S c (i), is formed for each connection i, where the elements of the vector are said preselected traffic features, and executing the following pseudocode: foreach packet if (packet represents a new TCP connection) assign the connection index i++ determine the aggregates for connection i server port P i = dst port of SYN server IP address I i = dst IP of SYN initializevector S C (i) elseif (packet belongs to an existing TCP connection i) update vector S C (i) elseif (packet represents end TCP connection i) update vector S C (i) update statistics for each aggregate by server port: S C (P i ) by server IP address: S I (I i ) endif.