RELATED APPLICATIONS INFORMATIONThis application claims priority under 35 USC §119 to U.S. Provisional Application Ser. No. 60/387,761, entitled “PROXY ENFORCER FOR ROGUE PROTOCOL MESSAGES,” filed on Jun. 10, 2002 and to U.S. Provisional Application Ser. No. 60/445,648, entitled “DETECTION AND REPORTING OF USER PRESENCE,” filed on Feb. 7, 2003, which are both incorporated herein by reference as though set forth in full. This application also claims priority as a continuation-in-part under 35 U.S.C. §120 to U.S. patent application Ser. No. 10/167,228, entitled “EXTENDIBLE GATEWAY FOR PROTECTION AGAINST ROGUE PROTOCOLS,” filed on Jun. 10, 2003, which is incorporated herein by reference as though set in full.[0001]
BACKGROUND1. Field of the Inventions[0002]
The field of the invention relates generally to digital communications networks and more particularly to the management of a plurality of protocols over such networks including dynamic protocols such as “Instant Message” protocols.[0003]
2. Background Information[0004]
When a local computing device coupled to a local, or proprietary, network communicates with a remote computing device outside the network, the network can become subject to attempts at intrusion. Intrusion can, for example, be defined as someone trying to wrongfully access the network. Intrusion can also be defined as a program, such as a computer virus, attempting to wrongfully access resources available on the network. For example, a computer virus can be sent from a remote computing device to the local computing device, and if allowed to operate on the local computing device, can commandeer resources at the local computing device as well as other local resources, such as those available to the local computing device on the network or otherwise. For another example, a remote computing device can generate a set of messages in an attempt to deny service to, or otherwise have an effect on service at, the local computing device, such as preventing access by that local computing device to proper resources, or by preventing access by others to that local computing device.[0005]
In some cases, intrusion can be caused by messages directed at the network, while in other cases, intrusion can be caused by messages from inside the network, such as from a computing device within the network under the control of a computer virus or an employee using the network improperly. For example, a computing device within the network can be corrupted by a malicious user of that computing device, i.e., a user who is attempting to access local resources in a way that is not desired. A computing device can also be corrupted in a relatively innocent way, such as when a program is otherwise innocently introduced into a device having access to local resources, but where the program itself includes functions that attempt to access local resources in a way that is not desired.[0006]
It is therefore sometimes desirable to apply policy rules for handling messages in the network, particularly when those messages use a message protocol that might not be directed to business aspects of the network. For example, a number of message protocols have been developed recently that are primarily for personal use, but which often make their way into proprietary networks, such as enterprise networks, and which are subject to possible abuses. These message protocols include, for example, instant message (IM) protocols, peer-to-peer (P2P) and other file sharing protocols, interactive game protocols, distributed computing protocols, HTTP Tunneling, and “.NET” or “SOAP” methods of computer program interaction. Some of the possible abuses that can result from these message protocols entering the enterprise network include accidental delivery of a computer virus to a client device within the enterprise network, communication of sensitive or proprietary information between client devices within the enterprise network and client devices outside the enterprise network, and other unauthorized user behavior within the enterprise network.[0007]
Conventional methods of applying policy rules to messages in an enterprise network are directed primarily to relatively low-level message protocols such as TCP (transmission control protocol) and IP (Internet protocol). The protocols just described, however, typically are implemented at the higher levels of the TCP/IP protocol stack, as represented in the International Organization for Standardization (ISO) model. Often, in the interest of speed and finality, firewall servers, for example, are not very effective against message protocols that involve higher levels in the ISO model, or against message protocols that are relatively new to the enterprise network and therefore not anticipated by the firewall server. Moreover, many such protocols are being rapidly developed and modified, often more quickly than it is feasible to deploy new systems and methods for recognizing and intercepting those message protocols, and for enforcing policy rules thereto.[0008]
SUMMARY OF THE INVENTIONA protocol management system is capable of detecting certain message protocols and applying policy rules to the detected message protocols that prevent intrusion, or abuse, of a network's resources. In one aspect, a protocol message gateway is configured to apply policy rules to high level message protocols, such as those that reside at layer 7 of the ISO protocol stack.[0009]
In another aspect, the protocol management system is configured to intercept messages flowing into and out of the network and inspect the message protocol associated with the messages. If the message protocol matches a defined protocol template, then the message is forced to use the protocol message gateway so that policy rules for the message protocol can be applied.[0010]
In another aspect, the destination of a message heading out of the network to an external server, where the external server is configured to redirect the message to the destination, can be determined. If it is determined that the destination is within the network, then the message can simply be redirected to the destination.[0011]
These and other features, aspects, and embodiments of the invention are described below in the section entitled “Detailed Description of the Preferred Embodiments.”[0012]
BRIEF DESCRIPTION OF THE DRAWINGSFeatures, aspects, and embodiments of the inventions are described in conjunction with the attached drawings, in which:[0013]
FIG. 1 depicts an exemplary embodiment of an enterprise network configured to incorporate a protocol management system;[0014]
FIG. 2 shows a block diagram of a system including a proxy enforcer;[0015]
FIG. 3 shows a process flow diagram of a method including proxy enforcement;[0016]
FIG. 4 shows a block diagram of a gateway capable of protection against protocols of interest;[0017]
FIG. 5 shows a process flow diagram of a method of operating a gateway capable of protection against protocols of interest;[0018]
FIG. 6 shows a block diagram of the deployment of a protocol message gateway using the CVP method;[0019]
FIG. 7 shows a block diagram illustrating the deployment of a protocol message gateway using the gateway proxy method;[0020]
FIG. 8 shows a block diagram illustrating the deployment of a protocol message gateway using the DNS redirect method where only an external nameserver is used;[0021]
FIG. 9 shows a block diagram illustrating the deployment of a protocol message gateway using the DNS redirect method where an internal nameserver is used by all client devices inside an enterprise network;[0022]
FIG. 10 shows a block diagram illustrating the deployment of a protocol message gateway using an HTTP tunnel method;[0023]
FIG. 11 shows a block diagram illustrating the deployment of a protocol message gateway using the ISA application filter method;[0024]
FIG. 12 shows a block diagram of a local server capable of associating screen names with users of protocols of interest;[0025]
FIG. 13 shows a process flow diagram of a method including associating screen names with users of protocols of interest;[0026]
FIG. 14 shows a process flow diagram of a method for communicating using a privacy tunnel;[0027]
FIG. 15 shows a block diagram illustrating a message protocol gateway configured to detect user presence; and[0028]
FIG. 16 shows a process flow diagram of a method for detecting user preference.[0029]
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTSFIG. 1 depicts an exemplary embodiment of an[0030]enterprise network110 configured to interface with aprotocol management system100 in accordance with the systems and methods described herein. In the example of FIG. 1,enterprise network110 is coupled to anexternal network130 through a firewall120.Enterprise network110 can be coupled to at least onelocal client170, configured to provide auser172 access toenterprise network110. In alternate embodiments, a proxy server (not shown) can be used in place of a firewall120 to coupleexternal network130 toenterprise network110.
As can be seen in FIG. 1,[0031]system100 can comprise aprotocol message gateway122, aproxy enforcer150, and anauthentication module160. Embodiments, deployments, and applications ofprotocol message gateway122,proxy enforcer150, andauthentication module160 are described below in greater detail.
As described herein,[0032]enterprise network110 can include one or more internal networks such as a LAN (local area network), WAN (wide area network), locally switched network, or public switched network, some other communication technique, or some combination thereof, by which devices locally coupled toenterprise network110 can communicate with each other. Although one embodiment is described herein in whichenterprise network110 includes a LAN, there is no particular requirement thatenterprise network110 include a LAN, or that any particular network configuration be employed.
[0033]External network130 can include the Internet; however, in other embodimentsexternal network130 can also include an intranet, extranet, virtual private network (VPN), LAN, WAN, locally switched network or public switched network, some other communication technique, or some combination thereof. Although an embodiment is described herein whereexternal network130 including the Internet, there is no particular requirement thatexternal network130 use the Internet or any other specific type of network.
Firewall[0034]120 can include a conventional device for recognizing and intercepting messages formatted at selected levels of the ISO layered protocol model, and meeting selected filtering criteria by which firewall120 might determine whether those messages carry information intended to be received in a certain message protocol format.
In one embodiment of[0035]system100, protocol message gateway120,proxy enforcer150, andauthentication module160 can be coupled to anadministration console180 that can be configured for use by a system administrator to set parameters and polices regarding certain protocols that are defined to be targets ofsystem100.
In addition,[0036]protocol message gateway122, andproxy enforcer150 in certain embodiments, can be coupled to acorporate database125, which can be used to associate user screen names, or aliases, with a specific user withinenterprise network110. Protocol message gateway120, andproxy enforcer150, in certain embodiments, can also be coupled to a logging and archiving subsystem that comprises adata transport service190.Data transport service190 can be configured to convert protocol message logs into a relational model for reporting and, to record the logs into areport database196 from which areport198 can be generated. In certain other embodiments, such a report can even be converted to electronic mail that can be mailed to anadministrator192 or archived by an electronicmail archive service194.
FIG. 2 is a block diagram illustrating a[0037]communication system200 that includes aproxy enforcer250 that is described in more detail.System200 also includes anenterprise network210, afirewall220, anexternal network230, aprotocol message gateway240, aproxy enforcer250, and a set ofclient devices260.
As will be explained below,[0038]protocol message gateway240 can be configured to recognize messages that are using certain target protocols and implement policy rules associated with the target protocols. These target protocols can be high level, e.g., ISO level 7, protocols that would otherwise often escape detection while entering and exitingenterprise network210. For example, these message protocols can often find un-monitored communication connections into and out ofenterprise network210, allowing the messages to escape detection.Proxy enforcer250 can, however, be configured to intercept all messages traveling into and out ofenterprise network210 and force them to pass through defined communication connections, e.g., defined ports onprotocol message gateway240. This way,proxy enforcer250 can ensure that all messages flowing into and out ofenterprise network210 are handled byprotocol message gateway240, as required, so that the appropriate protocol rule can be applied to the messages.
Thus, in one embodiment,[0039]proxy enforcer250 can be coupled tofirewall220 and disposed so as to be able to passively listen to messages, including individual packets, flowing throughfirewall220 into or out ofenterprise network210.Proxy enforcer250 can include a set ofenforcement rules252 that are based on a set of protocol definition files254. Eachprotocol definition file254 can be a piece of executable code with intelligent heuristics that can recognize target protocols and manage state across multiple connections. For example, there can be anindividual definition file254 for every class or subtype of target protocol. An individualprotocol definition file254 can be different from other protocol definition files254. Moreover, the set ofenforcement rules252 and protocol definitions files254 can be expanded as necessary in response to different target protocols and different ways of handling target protocols. In one embodiment,additional enforcement rules252 and protocol definition files254 can be downloaded from a server interfaced withenterprise network210. Thus, a system administrator, for example, can definenew enforcement rules252 and/orprotocol definitions254 and updateproxy enforcer250 as required.
The protocol definition files[0040]254 act as a protocol template.Proxy enforcer250 can be configured, therefore, to intercept messages inenterprise network210 and to then compare them to the protocol template as defined by the protocol definition files254. If a match occurs, proxy enforcer290 can be configured to then implement the corresponding enforcement rule, or rules,252. Unlike traditional virus recognition software that relies entirely upon matching patterns,proxy enforcer250 can correlate two different messages or two different blocks within the same message, such as when a target protocol uses multiple ports and/or streams. This can be accomplished, for example, because evenprotocol definition file254 can be configured to create it's own data structures and tables to store information relating to other ports, packets, and data streams.
A[0041]protocol definition file254 can be configured to identify a target protocol in terms of a source IP address for the message; a destination IP address for the message; a port number associated with the message; a header string or other set of data values embedded in the message; or some combination thereof.Proxy enforcer250 can also be configured to detect protocols of interest in response to a persistent state maintained by theproxy enforcer250 in response to sequences of messages.
In operation, a[0042]remote server280 coupled toexternal network230 and can be configured to send and receive messages using a target protocol to and fromclient devices260. For example,remote server280 can be configured to communicate IM messages with aclient device260.
[0043]Proxy enforcer250 can be configured to then passively listen to messages as they flow, e.g., throughfirewall220.Proxy enforcer250 can comprise a set of proxy enforcement rules252, e.g., maintained in anenforcement rules database256. Whenproxy enforcer250 intercepts an IM message, i.e., a message that uses a target protocol, proxy enforcer will match the IM message using the proxy definition files254.Proxy enforcer250 can then execute the associatedenforcement rule252. Theenforcement rule252 can be configured to override aspects of the IM protocol associated with the intercepted IM message. For example, proxy enforcement rules252 can require that IM messages pass through theprotocol message gateway240, which can be configured to act as a proxy for all IM messages.
[0044]Proxy enforcer250 can be configured to then prevent the message from being effective if it does not adhere to proxy enforcement rules252. Oneway proxy enforcer250 can prevent a message270 from being effective is to kill the communication connection between the service of the message and the destination, whether or not the message originates inenterprise network210 or inexternal network230. In alternative embodiments,proxy enforcer250 can be configured to reset the communication connection associated with the message. In other embodiments,enforcement rule252 can causeproxy enforcer250 to record information related to the message. The recorded information can then be used to generate logs and/or reports as described below.
FIG. 3 is a flow chart illustrating an example method for managing communication traffic in a network, such as[0045]enterprise network210, using a proxy enforcer, such asproxy enforcer250. 0First, instep302,proxy enforcer250 can be configured to passively listen to the messages comprising the communication traffic. Then, instep304,proxy enforcer250 can intercept a message and inspect the protocol associated with the message instep306. Inspecting the message instep306 can comprise determining information, such as a source IP address, a destination IP address, a port number, and a set of text associated with the message. Instep306,proxy enforcer250 determines if the protocol matches a target protocol template, e.g., based on the information determined instep306. The template can, as described above, be defined by one or more protocol definition files254. If there is a match in step303, thenproxy enforcer250 can be configured to execute the associatedenforcement rule252. If there is no match, thenproxy enforcer250 can be configured to continue passively listening (step302).
Protocol definition files[0046]254 can define a pattern of values associated with a message that uses a target protocol. Thus,proxy enforcer250 can be configured to match (step303) a pattern of values with data maintained in amessage traffic database258. Possible examples, e.g., include matching all traffic onport5190, all traffic on port8080 and including the string “?ymessage=”, all traffic on port8080 and including a string “?pword=%1”, where, e.g., %1 is a value maintained in themessage traffic database258, and all traffic on5190 that includes a string of five characters in incoming packet header, where the five characters as are, e.g., a signature of an instant message used in an IM protocol.
In certain embodiments, depending upon the type of[0047]enforcement rule252 and type of match, further analysis of a message can be performed. This is particularly useful, for example, if the initial analysis suggests that the message is an IM masquerading as HTTP traffic.
In[0048]step310, theproxy enforcer250 performs the action associated with one of a plurality of triggered enforcement rules252. In one embodiment, only the action associated with the first triggeredenforcement rule252 is performed; however, in alternative embodiments, more than one action may be performed, with the order of performance being responsive to an order in which enforcement rules252 are maintained inenforcement rule database256.
In certain embodiments, enforcement rules[0049]252 include specific actions to take regarding the intercepted message, including possibly recording values inmessage traffic database258. As explained above, possible examples of actions to be taken in response toenforcement rules252 include killing the connection associated with the message, resetting the socket connections, recording the value %1 inmessage traffic database258, where %1 is found in the string “?pword=%1” when matched and/or store the value %1 in a log so that the value can be recognized in the future, and parsing out the message text and storing the messages in a log associated with one or more individual users so that the messages and message text can be reviewed at a future point in time. This can be used, for example, to generate a record of unauthorized uses of a network, such as, employees downloading music files.
Thus,[0050]proxy enforcer250, or similarlyproxy enforcer150, can be configured to ensure messages that use a target protocol pass throughprotocol message gateway122. As can be seen in FIG. 1, firewall120 can also includememory126 configured to store a set ofrecognition patterns124, which can also be referred to as “inspect scripts.”Recognition patterns124 can, for example, be selected by an administrator of firewall120 and can include information sufficient to describe to firewall120 messages using a target protocol.
Firewall[0051]120 can be configured to then redirect, in response torecognition patterns124, at least some of the messages it processes toprotocol message gateway122. In one embodiment, for example, messages can be redirected using a conventional content vectoring protocol (CVP) technique, in which, after processing the message and determining that it should be further processed byprotocol message gateway122, firewall120 delivers the message to protocol message gateway120. Redirection using CVP is described in more detail in conjunction with FIG. 6. Onceprotocol message gateway122 receives a message, it can ensure that policy rules for the target protocol are employed to handle the message.
FIG. 4 is a diagram illustrating one embodiment of[0052]protocol message gateway122 in more detail. As can be seen,protocol message gateway122 can include aprotocol message parser410, agateway manager420, a set ofprotocol adapters430, apolicy enforcement module440, anauthentication module450, and a set ofadditional module adapters460.
In one embodiment,[0053]protocol message parser410 is coupled to firewall120 using a conventional CVP technique, as described above.Protocol message parser410 can thus receive a target message from firewall120.Protocol message parser410 parses the received message and determines which of the set ofprotocol adapters430 is appropriate for processing the received message. Protocol message parser can be configured to then forward the message togateway manager420. In certain embodiments,protocol message gateway122 can include more than oneprotocol message parser410. Inclusion of a plurality of protocol message parsers allows for relatively easy and efficient scaling of the ability forprotocol message gateway122 to receive large numbers of target messages, and to both parse and distribute those messages -togateway manager420 without substantial degradation in either accuracy or response time.
[0054]Gateway manager420 receives the parsed message and creates anynecessary data structures422 associated with the message. Among thesedata structures422,gateway manager420 can be configured to create anew message event404, which it can publish toprotocol adapters430 andmodule adapters460 that indicate an interest in receivingmessage event404. When publishingmessage event404,gateway manager420 can include information relevant to the parsed message, such as theappropriate protocol adapter430 to handle the message, and any other identifying information regarding the message, such as a user, user name, screen name associated with the message, etc.
In one embodiment,[0055]gateway manager420 determines whichprotocol adapter430 is the appropriate one to handle the message. Theappropriate protocol adapter430 can then receive the message and its associatedmessage event404, and can determine how the message fits into the processing paradigm for the associated message protocol. For example, if the message initiates a session between a sender and receiver, such as a sender and receiver of an IM message,protocol adapter430 can determine that a new session should be created, and generate anew session event406. In this example,data structures422 generated and used by thegateway manager420 would include a session data structure as part ofdata structures422; the session data structure would include information relevant to the communication session between a sendingclient device170 and a receiving client device using the associated message protocol.
[0056]Protocol adapter430 assigned to handle the message can be configured to send anynew events406 it generates togateway manager420 for publishing to anyprotocol adapters430 ormodule adapters460 that have indicated interest in that particular message ormessage event406.
Inclusion of more than one[0057]protocol adapter430 inprotocol message gateway122 allows for relatively easy and efficient scaling ofprotocol message gateway122 to receive large numbers of messages, and to individually process those messages withinprotocol message gateway122 without substantial degradation in either accuracy or response time. Further, the use ofmultiple protocol adapters430, each specifically designed for a different variant of a set of similar target protocols, allowsclient devices170 to communicate using the different variants, without any need for special translation on the part ofprotocol message gateway122 and without any need for alteration ofclient devices170.
Again,[0058]gateway manager420 can be configured to publish anymessage events406 to anyprotocol adapters430 ormodule adapters460 that indicate interest themessage events406. Among theprotocol adapters430 ormodule adapters460 that can indicate interest are, for example,policy enforcement module440,authentication module450, and selected otheradditional module adapters460.
[0059]Authentication module450 can be configured to receive anysession events406 so thatauthentication module450 can authenticate any screen names associated with the associated message. As described in more detail below,authentication module450 can be configured to uniquely identify an actual user associated with any such screen name, record that identifying information in auser database454 associated withauthentication module450, and send that identifying information togateway manager420 for inclusion in anydata structure422 maintained bygateway manager420 for thesession event406.
[0060]Protocol message gateway122 can also include alogging module470 that can be configured to provide capability for logging messages as they are received byprotocol message gateway122 from a sendingclient devices170, and as they are forwarded byprotocol message gateway122 to receivingclient device170, or to a client device onexternal network130. In other words,logging module470 provides a capability for maintaining a persistent log of all messages exchanged acrossprotocol message gateway122. In one embodiment,logging module470 can be configured to output a log to alogging database474 from which database searches can be conducted and reports generated. In another embodiment,logging module470 can be configured to output log information tologging database474 in an encrypted format, so as to restrict access to information inlogging database474 to thosedevices170 associated withlogging module470, or possibly thosedevices170 associated withgateway122, that have been assigned access tologging database474. Access can, depending on the embodiment, be assigned using appropriate keys for the encrypted format used to encrypt the information.
[0061]Logging module470 provides a way to record messages comprising what is otherwise evanescent communication between sendingclient devices170 and receiving client devices. Such persistent recording allows for forensic investigation of communication between those client devices. Similarly, such persistent recording also allows for compliance with any regulatory requirements or other administrative rules requiring maintenance of records of communications between such client devices. For example, a sendingclient device170 and a receiving client device may be controlled by users in disparate departments of a financial institution. Regulatory requirements can demand that communications between such users avoid certain topics, such as communication regarding analysis or recommendation of selected securities. Logging such communications can help ensure that any such requirements are adhered to.
[0062]Protocol message gateway122 can, depending on the embodiment, also include apolicy enforcement module440.Policy enforcement module440 can be configured to receive information regarding each message, and to determine whether or not a specific message should be forwarded in unaltered form from sendingclient device170.Policy enforcement module440 can have access to a policy rulesdatabase444 that includes specific policy rules responsive to at least one of certain classes of information including: the nature of sendingclient device170; the nature of the receiving client device; the nature of the message; any information, including keywords, included within the message; the day of the week, or a time of day, at which the message was sent or is intended to be received; the size of the message, including whether or not the message includes an attachment, an executable file attachment, an executable file attachment including a virus, and the like; the amount of traffic already sent by sendingclient device170, or already received by the receiving client device, within a selected duration of time; or any other classes of information deemed relevant by administrators ofenterprise network110.
In certain embodiments,[0063]protocol message gateway122 can be administrated from one or more logically remote administrator consoles180, which can be coupled toenterprise network110, to another network that is coupled toexternal network130, or toexternal network130 itself. The use of remote administrator consoles180 can allow various modules and adaptors included inprotocol message gateway122 to be dynamically updated from a remote location. For example, dynamicpolicy rules database444 can be dynamically altered from aadministrator console180 in substantially real-time, which can allow real-time updates concerning target protocols. Given how quickly dangerous, or harmful, protocols can pop up, and the need to deal with such protocols as quickly as possible, such dynamic update capability can be invaluable. Further, the fact that dynamic updates can be performed remotely, even throughexternal network130, can be even more invaluable since network administrators cannot always be present to protect theirenterprise networks110.
FIG. 5 is a flow chart illustrating an example method whereby a[0064]protocol message gateway122 can manage communication traffic in a network, such asenterprise network110. First, instep502,protocol message gateway122 can receive a message and direct the received message to aprotocol message parser410, which can be configured to parse the message instep504 and determine which of a set ofprotocol adapters430 is appropriate for processing the message. As part ofstep504,protocol message parser410 can be configured to forward the message to agateway manager420 for further processing.
In[0065]step506,gateway manager420 can receive the parsed message and create anynecessary data structures422 associated with the message. As noted above, among thesedata structures422,gateway manager420 can be configured to create anew message event404, which it can publish to thoseprotocol adapters430 and thosemodule adapters460 that have indicated interest in receivingmessage event404. As noted further above, when publishingmessage event404,gateway manager420 can include information relevant to the message, such as theappropriate protocol adapter430 to handle the message, and any other identifying information regarding the message, such as a user, user name, or screen name associated with the message.
In[0066]step508, at least oneprotocol adapter430 recognizes the message and determines how the message fits into the processing paradigm for an associated message protocol instep510. Instep512, theprotocol adapter430 can be configured to generate anynew events406 it deems appropriate in response to how the message fits into the processing paradigm for the associated protocol. Any suchnew events406 generated by theprotocol adapter430 can then be sent togateway manager122 instep514.
In[0067]step516,gateway manager122 can publishnew events406 toprotocol adapters430 or any other module adapters that have indicated interest in those classes ofevents406.
[0068]Authentication module adapter450 can then receive anynew session event406, instep518, and authenticate any screen name associated with the associated message.
In[0069]step520,logging module adapter470 can generate a logging entry for the message and output a log to alogging database474 from which database searches can be conducted and reports can be generated. As noted above,logging module adapter470 can output the log information forlogging database474 in an encrypted format.
In[0070]step522,policy enforcement module440 can receive information regarding each message, and determine whether or not a specific message should be forwarded in unaltered form from sendingclient device170 to the receiving client device. As noted above,policy enforcement module440 can have access to a policy rulesdatabase444, including specific policy rules responsive to at least one of, and possibly more than one of, a number of classes of policy information.
There are several deployment options that can be used when implementing a[0071]protocol message gateway122. For example, FIG. 6 is a block diagram illustrating the deployment of aprotocol message gateway122 using the CVP method discussed above. Thus,firewall620 can comprise aCVP API610, which can be coupled toprotocol message gateway122.Firewall620 can then be configured to have a CVP interface mechanism through which an external server can be coupled, which in this case isprotocol message gateway122.Firewall620 can direct messages from, e.g.,communication port5190 or fromcommunication port2020, toprotocol message gateway122 through the CVP interface mechanism usingCVP API610.
Alternatively, FIG. 7 is a block diagram illustrating the deployment of a protocol message gateway using a gateway proxy method in accordance with another embodiment of the systems and methods described herein. In the example of FIG. 7,[0072]protocol message gateway122 comprises aproxy module760. In general, a proxy can be a server, or component of a server, configured to relay a message comprising any protocol to and from a client, such aslocal client device770 to a server, such asremote server780. Proxies can be used to shield aclient device770 from intrusion fromexternal network730. Proxies can also be used as a controlled portal through afirewall720 or gateway, such asprotocol message gateway122. Thus, aprotocol message gateway122 equipped with aproxy module760 can be configured to permitprotocol message gateway122 to act as a proxy and examine any messages withinnetwork710.
Each client application on each[0073]local client device770 should, however, be configured to useprotocol message gateway122 as a proxy. Without such configuration,local client device770 can communicate withremote server780 by traversingenterprise network710, thefirewall720, andexternal network730 as shown bypath744. Thus, an uncooperative, or uneducated user could willingly, or unknowingly bypass theprotocol message gateway122 and a direct path, such aspath744, to communicate withremote server780. To help avoid this possibility, thefirewall720 can be configured to block all communications except those originating fromproxy760. Unfortunately,conventional firewalls720 are not equipped to detect some more elusive protocols such as certain IM protocols. Accordingly, aproxy enforcer750 can be used to ensure that messages traveling withinnetwork710 useprotocol message gateway122 as described above.
Thus, with the unauthorized paths blocked, a user can only connected to[0074]remote server780 viaproxy760 bypath742, as allowed byprotocol message gateway122. With all, communication traffic flowing throughproxy module760protocol message gateway122 can monitor all traffic for target protocols and enforce any policies for said protocols as described above.
For convenience, scripts can be executed on a[0075]local client device770, each time a user logs on. The scripts ensure that all client applications running ondevice770 haveprotocol message gateway122 as a proxy. The scripts give an added convenience to the users in that they do not have to manually configure their proxies. Moreover, the scripts can be updated remotely using administrator workstations120, for example.
FIG. 8 and FIG. 9 illustrate the deployment of a[0076]protocol message gateway122 using a domain name service (DNS) redirection technique in accordance with alternative embodiments of the systems and methods described herein. Often in communicating over a network a client communicates to a server identified by a hostname. At the inception of communications, the client request a nameserver to resolve the hostname. If found, the nameserver responds with the network address of the server. In the embodiments of FIGS. 8 and 9, the client is given the address forgateway122 each time the hostname for certain servers is requested.
FIG. 8 shows a block diagram illustrating a deployment of a protocol message gateway using DNS redirection, where only an[0077]external nameserver890 is used.External nameserver890 is connected toexternal network830. A normal DNS request can then be made throughpath840 from aclient device870 toexternal nameserver890. Using either aproxy enforcer850, orfirewall820, the DNS requests can be blocked and the client device forced to useprotocol message gateway122 for the DNS request as a DNS proxy. Ifclient device870 requests a suspect hostname throughpath842,protocol message gateway122 can be configured to give its own address as the corresponding address to that host thereby spoofingclient870 into believingprotocol message gateway122 is remote server880.Protocol message gateway122 can then relay messages to remote server880 and monitor and regulate communications therewith. If the hostname is not know to be one belonging to a certain server, e.g., a server associated with a target protocol, thegateway122 make a request toexternal nameserver890 throughpath844 and respond toclient device870 with the response given byexternal nameserver890.
FIG. 9 shows a block diagram illustrating the deployment of a protocol message gateway using DNS redirection, where an[0078]internal nameserver920 is used by allclient devices970 inside anenterprise network910.Internal nameserver920 can, for example, be coupled toenterprise network910.Local client devices970 can make DNS requests throughpath950 to resolve the addresses of hostnames of servers. In order to keep the address list up to dateinternal nameserver960 can periodically synchronize overpath942 its address list with an external nameserver990, which is connected toexternal network930, in what is referred to as a “zone transfer.” To supplement this,protocol message gateway122 can supply, viapath940, alternate hostnames tointernal nameserver960 to redirect DNS requests for hostnames of servers associated with target protocols.
FIG. 8 and FIG. 9 are given as exemplary embodiments of systems deploying[0079]protocol message gateway122 using DNS redirection method. In will be understood, however, that numerous equivalent topologies and nameserver protocols can be used to achieve a redirection through DNS spoofing.
FIG. 10 is a block diagram illustrating the deployment of a[0080]protocol message gateway122 using an HTTP tunnel method. The deployment illustrated in FIG. 10 can be used, for example. Whenfirewall1020 is configured to block all external access to the internet except for HTTP. In such a situation,firewall1020 can be coupled to a “Demilitarized Zone” (DMZ)host1010 that can be configured to act as a virtual presence on anexternal network1060, i.e. all access to and fromexternal network1060 goes throughDMZ host1010. When alocal client device1070 sends a message destined forexternal network1060, the message can be forced to first pass throughprotocol message gateway122, which can, for example, be configured to perform the functions described above. The message can then be configured to appear as an HTTP message byHTTP tunnel module1050. This way, for example, the message can pass throughfirewall1020.
[0081]HTTP tunnel module1050 also can be configured as a standalone module or it can be incorporated intoprotocol message gateway122 depending on the embodiment. If fact,HTTP tunnel module1050 can reside anywhere with the enterprise network, including withinfirewall1020, as long as it is configured to perform the functions described herein.
Once[0082]HTTP tunnel module1050 has formatted the message, it can be passed throughfirewall1020 to, e.g., aweb proxy1030, which can, for example, be included as part ofDMZ host1010.Web proxy1030 can be configured to forward the message to arelay1040, which can be configured to undo the HTTP formatting, as required, and forward the message out toexternal network1060.
FIG. 11 is a block diagram illustrating the deployment of a[0083]protocol message gateway122 using an ISA application filter method, which is similar to deployment using a CVP method. Thus,firewall1120 can comprise anISA application filter1110 which can be configured to forward messages comprising a target protocol toprotocol message gateway122.
Thus,[0084]protocol message gateway122 configured to adapt and enforce message protocols associated with messages within an enterprise network, or within some other local network, can be deployed in a variety of ways including those described in the preceding paragraphs. Further, a proxy enforcer, such asproxy enforcer150, can be deployed within the enterprise network to force messages traveling within the network to pass through suchprotocol message gateway122.Proxy enforcer150 can also be configured to terminate a communication connection when it is unable to force a message to pass throughprotocol message gateway122. Alternatively,proxy enforcer150 can be configured to reset a communication connection associated with a message that cannot be forced throughprotocol message gateway122, to log information associated within messages being forced throughprotocol message gateway122, and/or to generate reports related to any messages being forced throughprotocol message gateway122.
As can be seen in FIG. 1,[0085]protocol management system100 can also include anauthentication module160.Authentication module160 can be configured to identify the identity of users withinenterprise network110 from screen names, or aliases, being used by target protocols for associated messages being passed into and out ofenterprise network110. For example, IM applications often use a screen name as an alias for a user. Messages generated by the IM application then comprise the screen name. It can be useful when adapting or enforcing policies usingprotocol message gateway122 to identify the actual user associated with a screen name.Authentication module160 can be configured to perform such identifications. Moreover,authentication module160 can be configured to store the identifying information so that it can be retrieved later when handling, e.g., IM messages generated, by the same user using already identified screen names.
FIG. 12 is a diagram illustrating one embodiment of[0086]authentication module160 configured in accordance with the systems and methods described herein. As can be seen in the example embodiment of FIG. 12,authentication module160 can comprise part of aprotocol message gateway122. Alternatively,authentication module160 can act as a standalone module separate fromprotocol message gateway122 as illustrated in FIG. 1. In such an implementation,authentication module160 can, for example, be loaded onto a separate server, or local client device interfaced withenterprise network110. Similarly,protocol message gateway122 can comprise thelocal server1250 comprising a user database1252. Again, in alternative embodiments,local server1250 and user database1252 can reside outside ofprotocol message gateway122 as required by the particular embodiment. User database1252 can be configured to maintain an association between user names and screen names, or aliases, used by target protocols withinenterprise network110.
In one embodiment, as described above,[0087]protocol message gateway122 can include asession manager1220, capable of receiving messages intercepted fromclient devices170.Session manager1220 can be configured to parse intercepted messages, and determining the message protocol associated therewith.Session manager1220 can also be configured to send the message, or information equivalent thereto, tolocal server1250, which can be configured to generate a new-session event1244, indicating the receipt of a message. In certain embodiments a plurality oflocal servers1250 can be included, e.g., each adapted for processing of a different type of target protocol.
[0088]Session manager1220 can be configured to then distributesession event1244 to one or more other modules withinprotocol message gateway122, such asauthentication module160.Authentication module160 can be configured to receivesession event1244 and send a name-request message1246 to anauthorization server128 and receive a name-response message1242 fromauthorization server128.
For example, name-[0089]request message1246 sent byauthentication module160 toauthorization server128 can include an IP address for theclient device170 sending the message. The name-response message1242 sent byauthorization server128 toauthentication module160 can then include a unique user name associated with theclient device170 sending the message. Once name-response message1242 is received,authentication module160 can be configured to first determine if the session associated withsession event1244 is still active. If it is, thenauthorization module160 can associate the unique user name with a screen name associated with the message and store the association in user database1252. When subsequent messages are received that comprise the same screen name,authentication module160 can simply access the association information from user database1252 in order to identify the actual user sending the message.
A[0090]policy enforcement module1230,protocol adapter1220, andlogging module1260 can then process the message based on the identification of the user. For example,policy enforcement module1230 can determine whether to allow the message to be forwarded to its originally intended destination based on the identification of the user sending the message.
Multiple screen names can be associated with a single user. Thus, the identification information stored in user database[0091]1292 can comprise a complete association of all screen names, or aliases, used by a particular user.
FIG. 13 is a flow chart illustrating an example method for associating screen names with unique user names in accordance with the systems and methods described herein. First, in[0092]step1302,protocol message gateway122 parse a received message and determine an associated message protocol. Then in step1309,protocol message gateway122 can forward the message to alocal server1250 and, instep1306, can determine whether the user sending the message is a local user, i.e., coupled toenterprise network130. If the sending user is a local user, then, instep1308,local server1250 can be configured to generate asession event1244 in response to the message. If the user in not a local user, then the process can jump to step1312.
In[0093]step1310,local server1250 withinprotocol message gateway122 can determine if the user sending the message is known tolocal server1250, i.e. is the user name associated with a screen name in the user database1252 maintained bylocal server1250? If the user sending a message is known tolocal server1250, then nothing needs to be done and the message can be handled accordingly instep1328. If the user sending the message is not known tolocal server1250, then, instep1312,local server1250 can be configured to create a guest session, i.e., a new session with a new user initiating the session. Then, instep1314,local server1250 can be configured to send a message toauthorization server128, requestingauthorization server128 obtain a unique user name for the user. Again, in one embodiment the message fromserver1250 toauthorization server128 can include an IP address associated with the sender of the message.
In[0094]step1316,authorization server128 can identify aclient device170 associated, e.g., with the IP address sent received fromlocal server1250, and can interrogate a registry at thatclient device170 to determine a global user ID (GUID) for theclient device170. Becauseauthorization server128 can directly interrogates the registry at theclient device170, the local server1290 can obtain information uniquely identifying users without any requirement for cooperation by those users, and without any requirement for cooperation of client devices under control of those users. In cases where an individual user using an IM protocol, for example, has a plurality of screen names,local server1250 can still associate all of those screen names with the unique user.
Next, in step[0095]1319,authorization server128 can request, from adomain controller132, a unique user name associated with the GUID obtained above.Domain controller132 can be configured to respond by sending the unique user name.
[0096]Authorization server128 can be configured to then send the unique user name tolocal server1250 instep1320.
In[0097]step1322,local server1250 can be configured to check the to determine if the session associated with the message is still in progress. If the session is not still in progress, e.g., the session was dropped by the sender of the message, then the process can conclude. If the session is still in progress, then, instep1324,local server1250 can record the unique user name, and its association with the screen name, in user database1252.
[0098]Protocol message gateway122 can be adapted to aggregate its treatment of messages with actual users, regardless of the screen names those actual users select for their communications. Thus, if an individual user has two separate screen names, theprotocol message gateway122 can still enforce policy rules with regard to the actual user, notwithstanding that user's separation of his messages into messages comprising two separate screen names. For example, if a particular policy rule restricts users from sending or receiving more than 100 IM messages each hour,protocol message gateway122 can still restrict an individual actual user, operating under any one or more screen names, from sending or receiving more than 100 IM messages each hour for all screen names combined.
The screen name association information stored in user database[0099]1252 can also be used to identify when a message generated by a user withinenterprise network110 is intended for destination that is also withinenterprise network110. For example, oneuser172 withinenterprise network110 can send an IM message to anotheruser172 withinenterprise network110. In a conventional system, the IM message sent from the first user would have to pass out ofnetwork110 throughexternal network130 to a remote server configured to determine the destination of the IM message. The remote server would then forward that message, in this case, back to the second user withinenterprise network110. Aprotocol message gateway122 configured in accordance with the systems and methods described herein, however, can recognize, using a screen name associated with the destination, that the second user is withinenterprise network110 and simply reflect the message to the second user as opposed to allowing it to exitenterprise network110 and reach the remote server.
Thus, when[0100]protocol message gateway122 receives a new message it can not only determine if a screen name associated with the source of the message has been associated with a unique user name in user database1252. But it can also be configured to determine if a screen name associated with the destination of the message has been associated with a unique user name in user database1252. If the user name associated with the source of the message has been associated with the unique user name in user database1252, then the policy enforcement rules of that message can be implemented as described above. If the screen name associated with the source of the message has not been associated with a unique user name, then the process described above for associating a unique user name with a screen name can be implemented to generate such an association, which can then be stored in user database1252.
Similarly, if the session name associated with the destination of the message has been associated with a unique user name and user database[0101]1252, thenprotocol message gateway122 can be configured to simply reflect the message to aclient device170 associated with the unique user name. In this way,protocol message gateway122 can prevent the message from traversing out ofenterprise network110,external network130, to a remote server, and back. Not only can this speed communications betweenusers172 withinenterprise network110, but it can also avoid any of the problems associated with communicating outside ofenterprise network110.
If a screen name associated with the destination is not associated with a unique user name in user name database[0102]1252, then a similar process for associating a screen name with a unique user name can be implemented; however, in thiscase authorization server128 may not be able to make the association, because the destination can still be outside ofenterprise network110. If such is the case, then the message is not reflected and whatever policy enforcement rules are in place for the message can be implemented.
It should be noted that the systems and methods described herein can apply across a plurality of gateways interfaced via[0103]external network130, for example. In other words, an enterprise can implement multiple protocol message gateways, with eachgateway122 having information related to theother gateways122 andclient devices170 associated. Thus, the association information stored in user database1252 can, in certain embodiments, comprise information related to users associated with anotherprotocol message gateway122. In this case, when a firstprotocol message gateway122 determines that a screen name or destination associated with the received message is associated with a unique user name that is in turn associated with a relatedprotocol message gateway122, the firstprotocol message gateway122 can be configured to simply forward the message directly to the destination, e.g., thoughexternal network130 and the relatedprotocol message gateway122, but still bypassing the remote server.
In another embodiment of the systems and methods described herein,[0104]protocol message gateway122 can be configured to construct a privacy tunnel between alocal client device170 and a remote client device. The process of devising a privacy tunnel is somewhat similar to the process of reflecting a message when multiple protocol message gateways are involved; however, in this case, the remote client device is not necessarily associated with a protocol message gateway that is in turn associated withprotocol message gateway122.Protocol message gateway122 does however need to know information related to the remote client device and/or a protocol message gateway associated therewith. When alocal client device170 generates a message intended for the remote client device,protocol message gateway122 can be configured to set up a direct communication link with the remote client device and/or its associated protocol message gateway. In other words, a remote, or local, server can be bypassed whenprotocol message gateway122 recognizes that the message generated bylocal client device170 is intended for a remote client device about which it possesses direct connection information. Moreover, the communication link between thelocal client device170 and the remote client device can be made secure even when communication via a remote server would not be.
A flow chart illustrating an exemplary embodiment for generating a privacy tunnel in accordance with the systems and methods described herein is illustrated in FIG. 14. First, in[0105]step1402, a local user, or a remote user, can invoke a secure communications session by submitting a signal toprotocol message gateway122. In one implementation, the user invokes a secure session by transmitting a specified string such as “<SECURE>”.Protocol message gateway122 observes the request, instep1404, and invokes a secure communications channel by downloading a secure thin client to the remote client device instep1406. The remote client device can then invoke, instep1408, the thin client.Protocol message gateway122 can then establish a secure communications channel through theexternal network130 instep1410.
When protocol client device sends a message to the remote client device,[0106]protocol message gateway122 can intercept the message, in step1413, and forward it to the thin client running on the remote client device instep1414.
When either user desires to terminate the secure communication, their client device can send a signal indicated to[0107]protocol message gateway122 instep1416. In one embodiment, the termination of the secure such session is specified using a string such as “<ENDSECURE>”.Protocol message gateway122 received the request instep1410 and terminates the secure communications channel. Upon terminate, the thin client terminates its execution and the remote client device releases all resources used by the thin client instep1420. The remote client device can then can delete the thin client device instep1422.
In certain embodiments,[0108]protocol message gateway122 can intercept messages from a local client and translate then from one message protocol to another before sending them to the remote client device. This is useful, for example, where the remote client device and local client device are using different message protocols.
FIG. 15 is a diagram illustrating a[0109]message protocol gateway1500 configured to detect and report when users log on to an application within, e.g.,network110. In the example of FIG. 15,protocol message gateway1500 can comprise amessage protocol element1510 and ausage database1520.Message protocol element1510 can be configured to send and receive messages to and fromclient devices170, e.g., usingenterprise network110, or to and from external client devices, e.g., usingenterprise network110 andexternal network130. Messages sent or received bymessage protocol element1510 can implement various target protocols, such as those described above.
[0110]Usage database1520 can include a set of database tables, including a user table1550 and an inverted user table1560. Althoughusage database1520 is described herein with regard to detecting and reporting user presence it will be apparent thatusage database1520 is capable of very general extension to detecting and reporting the presence or absence of other resources, and of detecting and reporting other types of events.Usage database1520 also includes a set of database code, including a set ofSQL instructions1522 and a set ofSQL extensions1540. It will be understood, of course, that althoughusage database1520 is described herein with regard to SQL as an individual instance of a database manipulation and querying language,usage database1520 can also be configured for other types of database manipulation and querying, and to other types of databases or data sources in general.
In one embodiment, user table[0111]1550 includes a set ofentries1552, sometimes referred to as “rows”, each of which includes information for a selecteduser172. In such embodiments, user table1550 includes a set offields1554, sometimes referred to as “columns” for eachentry1552, each of which includes a selected data item, or list of data items, for the user associated with thatentry1552. For example, user table1550 can include afirst field1554athat can comprise a user name associated with a selected user, asecond field1554bthat can comprise a contact list associated with the selected user, and athird field1554cthat can comprise an online/offline status associated with the selected user.
[0112]Field1554bcan, depending on the embodiment, comprise a multidimensional column, that is, the value associated withfield1554 can itself be a list.SQL extensions1540 include functions capable of generating a list, e.g., of multiple rows from amultidimensional column1554, and functions capable of generating amultidimensional column1554 from a list. This has the effect that a database query otherwise involving linking multiple database tables is capable of being performed using operations on a single database table. For example, without using multidimensional columns, associating a contact list with a selected user might involve a separate linking table, indicating for each pair of users, e.g., user A and user B, whether user B in on user A's contact list. Thus, conducting a contact list query would involve at least one search of the linking table and at least two searches of the user table. By using multidimensional columns, associating a contact list with a selected user involves only a single search of the user table itself and the use of aSQL extensions1540 to generate a list from the multidimensional column used for the contact list.
In one embodiment, inverted user table[0113]1560, similar to user table1550, includes a set ofentries1556, each of which includes information for a selecteduser172. This inverted user table1560, similar to the user table1550, can include a set offields1558 for eachentry1556, each of which includes a selected data item, or list of data items, for the user associated with thatentry1556. In one embodiment, inverted user table1560 includes afirst field1558aincluding a user name associated with a selected user, and asecond field1558bincluding an inverted contact list associated with the selected user. The inverted contact list associated with that selected user in this case can be used to indicate those other users who have listed the selected user on their contact lists. Accordingly, when a newly logged-in user is detected, it is relatively easy to search for the set of other users who wish to be informed of the presence of that newly logged-in user.
In one embodiment,[0114]SQL extensions1540 can also include functions capable of specifying a set o f database queries expected to be performed frequently, and for which it is desirable to construct an inverted table in response to the original table, similar to the relationship between inverted user table1560 and user table1550. In such embodiments,SQL extensions1540 can, for example, include one or more of the following functions: a function allowing a designer to specify if an inverted table should be automatically constructed in response to an original table, similar to the relationship between inverted user table1560 and user table1550, and if so, howfields1558 of the inverted table relate to anycorresponding fields1558 of the original table; a function allowing a designer to specify if a query relating to the original table should be translated into a query to be performed with regard to the inverted table, and if so, howfields1558 of the inverted table should be tested in correspondence to any testing offields1554 of the original table; a function allowing a designer to specify if a query (relating to either an original table or an inverted table) should have its results cashed for later use, and if so, upon what triggers should that query be performed.
For example, a query relating to which users on contact lists are logged-in might be performed in response to one or more of the following triggers: (1) when a user logs in, (2) when a user logs out, (3) after a selected period of time expires, (4) after[0115]protocol message1500 gateway is rebooted or reset, and (5) after a selected number of messages have been processed.
[0116]SQL extensions1540 can also include a function allowing a designer to specify if a query, relating to either an original table or an inverted table, should be performed and its results calculated before any actual requests therefore, and if so, upon what triggers should that query be performed.
Similar to the function regarding caching results for later use, a query relating to which users on contact lists are logged-in might be performed in response to one or more of the following triggers: (1) when a user logs in, (2) when a user logs out, (3) after a selected period of time expires, (4) after the[0117]protocol message gateway1500 is rebooted or reset, and (5) after a selected number of messages have been processed.
[0118]SQL extensions1540 can also include, either an original table or an inverted table, should include a multidimensional column, and if so, how that multidimensional column should be treated in response to query results. For example, a query relating to which users on contact lists are logged-in might include a multidimensional column relating to the contact list for each user, and upon performance of a query, results from that multidimensional column might be aggregated and then separated into individual row responses for specific users that are buddies of the queried user.
The[0119]protocol message gateway1500 can be configured to allow efficient, time saving detection of users present onsystem110 and logged on to an application also being used by the user. This can save processing and other resources withinnetwork110. This functionality can be extended by allowing, e.g., a network administrator to define multidimensional columns and multidimensional column associations for other types of databases and database searches.
FIG. 16 is a flow chart illustrating an example method for detection and reporting of user presence in accordance with one embodiment of the systems and methods described herein. First, in[0120]step1602, aninternal user172 at aclient device170, or an external user at an external client device, attempts to log in to use an application running onnetwork110. Instep1604, if aninternal user172, is attempting to log in to use the same application,client device170 can be configured to send a message toprotocol message gateway122 indicating the attempt to login, and including information required to login, e.g., a user name or screen name. Instep1606,protocol message gateway122 can receive the message indicating the attempt to login, and can, for example, respond toclient device170 indicating receipt thereof. Instep1608,protocol message gateway122 ahs sufficient information to verify the login attempt, or to deny the login attempt, it can be configured to respond toclient device170 so indicating.
For example,[0121]protocol message gateway122 can be configured to have available cached information from an external server indicating whichinternal users172 and which external users are presently authorized to login to use the application. In such an embodiment, use of the application is associates with access to the external server. Thus, the log on can actually be an attempt to log into a server associated with the application.
In another implementation,[0122]protocol message gateway122 can be configured to have available a known procedure by which it can determine if the log in message is valid, such as for example by reference to a public-key cryptosystem or other trusted server.
In[0123]step1610, if the login is successful, then the process can continue to step1612. If, however, the login is not successful, thenprotocol message gateway122 can deny the attempt and wait for another message (step1602). Instep1612,protocol message gateway122 can be configured to perform anySQL instructions1520 associated with the login.SQL instructions1520 can, for example, call upon a set ofSQL extensions1540, such as, for example, when using multiple dimensional columns.
In one embodiment, a[0124]SQL instructions1520 associated with the login message can include detecting if any other user, whether aninternal user172 or an external user, on the “contact list” for the newly logged-in user, is also logged in. For example,SQL instructions1520 might include a query to be performed against a user table1550, searching for the contact list associated with the newly logged-in user, and determining if any users on that contact list are already logged in. Thus, the newly logged-in user can be informed of any associated users already logged in.
In another embodiment,[0125]SQL instructions1520 associated with the login might also include detecting if the newly logged-in user is on any contact list for any users already logged in. Thus, users already logged in can be informed of the presence of the newly logged-in user, if that newly logged-in user were on any contact lists for any users already logged in.
Accordingly, performing[0126]SQL instructions1520 instep1612, can directusage database1520 to search an inverted user table1560 for a newly logged-in user. In one embodiment,SQL instructions1520 associated with the login calls upon a set ofSQL extensions1540 to search an inverted user table1560 for the newly logged-in user. For example, in one embodiment, the set of users listing the newly logged-in user on their contact lists might be specified by theSQL extensions1540 to include a multidimensional column, with the effect that performing the search provides a list of such users. In this example, a multidimensional column can be specified bySQL extensions1540 to be expanded out to a set of rows, each indicating a single user listing the newly logged-in user on their contact list. Thus,SQL instructions1520, or some other instruction, can be employed to so inform each of those users of the user presence of the newly logged-in user.Protocol message gateway122 can be configured to then inform each of the set of users listing the newly logged-in user on their contact lists of the user's presence.
It should be apparent that similar steps might be performed by[0127]protocol message gateway122 in response to other actions having an effect on status of user presence, including for example: when a new user is registered withprotocol message gateway122; when a user of a selected type, such as a system administrator or chat room facilitator changes the status of their user presence; or when a user logs out.
While certain embodiments of the inventions have been described above, it will be understood that the embodiments described are by way of example only. Accordingly, the inventions should not be limited based on the described embodiments. Rather, the scope of the inventions described herein should only be limited in light of the claims that follow when taken in conjunction with the above description and accompanying drawings.[0128]