US20170302585A1 - Server with queuing layer mechanism for changing treatment of client connections - Google Patents

Server with queuing layer mechanism for changing treatment of client connections Download PDF

Info

Publication number
US20170302585A1
US20170302585A1 US15/462,802 US201715462802A US2017302585A1 US 20170302585 A1 US20170302585 A1 US 20170302585A1 US 201715462802 A US201715462802 A US 201715462802A US 2017302585 A1 US2017302585 A1 US 2017302585A1
Authority
US
United States
Prior art keywords
connection
tcp connection
server
client
kernel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
US15/462,802
Other versions
US9794282B1 (en
Inventor
Sudhin Mishra
Stephen L. Ludin
John A. Dilley
Erik Nygren
Philip Lisiecki
Karl-Eliv J. Hallin
Joshua Hunt
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Akamai Technologies Inc
Original Assignee
Akamai Technologies Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Akamai Technologies Inc filed Critical Akamai Technologies Inc
Priority to US15/462,802 priority Critical patent/US9794282B1/en
Assigned to AKAMAI TECHNOLOGIES, INC. reassignment AKAMAI TECHNOLOGIES, INC. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: MISHRA, Sudhin, DILLEY, JOHN A., HALLIN, KARL-ELIV J., HUNT, JOSHUA, MATT, LISIECKI, PHILIP A., LUDIN, STEPHEN L., NYGREN, Erik
Application granted granted Critical
Publication of US9794282B1 publication Critical patent/US9794282B1/en
Publication of US20170302585A1 publication Critical patent/US20170302585A1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/22Traffic shaping
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/14Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
    • H04L63/1441Countermeasures against malicious traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/14Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
    • H04L63/1441Countermeasures against malicious traffic
    • H04L63/145Countermeasures against malicious traffic the attack involving the propagation of malware through the network, e.g. viruses, trojans or worms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/14Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
    • H04L63/1441Countermeasures against malicious traffic
    • H04L63/1458Denial of Service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/0227Filtering policies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/28
    • H04L67/42
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services

Definitions

  • This application generally relates to client-server data processing systems, to the delivery of content over computer networks, to systems and methods for conserving server resources, and to systems and method for handling computer-based attacks.
  • DoS denial of service
  • an attacker attempts to disrupt the operation of a target server such that the target server cannot provide an acceptable quality-of-service to legitimate clients.
  • Such attacks are a significant problem, as an outage at a website may cause considerable interruptions to the services provided by web applications, loss of revenue for e-commerce businesses, as well as negative publicity.
  • an attacker via their own computer or a set of conscripted computers often referred to as ‘bots’ sends a high volume of requests to a target server.
  • the target server is unable to respond to the volume of requests, resulting in slow performance or an outright failure.
  • DoS attack is a ‘slow’ DoS attack.
  • a slow attack is known as a slow ‘GET’ attack (aka Slow Loris), in which an attacker slowly sends the headers that make up an HTTP ‘GET’ request.
  • the target server dutifully waits for the attacker to complete the GET request.
  • the server would receive the entire GET request, process it, and move on to other requests, closing the connection and releasing associated resources allocated to the connection.
  • the attacker's slow GET request delays or prevents this from happening, tying up the server's memory, processing and other resources allocated to the connection.
  • FIG. 1 shows an example of a client device communicating with a server over a computer communications network, in accordance with one embodiment of the invention
  • FIG. 2 is a schematic diagram of a server with components therein, in accordance with one embodiment of the invention.
  • FIG. 3 is a flowchart showing an example of logic flow in the server shown in FIG. 2 , in accordance with one embodiment of the invention
  • FIG. 4 is a flowchart showing an example of logic flow in the server shown in FIG. 2 , in accordance with one embodiment of the invention.
  • FIG. 5 is a schematic diagram illustrating the transfer of a connection to a surrogate, in accordance with one embodiment of the invention.
  • FIG. 6 is a schematic diagram illustrating one embodiment of a known distributed computer system configured as a content delivery network (CDN);
  • CDN content delivery network
  • FIG. 7 is a schematic diagram illustrating one embodiment of a machine on which a content delivery network server in the system of FIG. 6 can be implemented.
  • FIG. 8 is a block diagram illustrating hardware in a computer system that may be used to implement the teachings hereof.
  • the functionality of a server is extended with a mechanism for identifying connections with clients that have exhibited attack characteristics (for example, characteristics indicating a DoS attack), and for transitioning internal ownership of those connections such that server resources consumed by the connection are reduced, while keeping the connection open.
  • the connection thus moves from a state of relatively high resource use to a state of relatively low server resource use, and the server is able to free resources such as memory and processing cycles previously allocated to the connection.
  • the server uses the connection to keep the client occupied so that it does not launch—or has fewer resources to launch—further attacks, and possibly to log information about the client for later analysis.
  • the server keeps the connection alive, continuing to communicate with the client device as if the connection were being serviced, while actually ignoring or performing reduced processing on messages received on the connection.
  • the server may respond to transport-layer control messages to keep the connection open (e.g., sending TCP acknowledgements, etc.) while ignoring the client's application-layer messages.
  • the server may also perform some minimal processing to log information about the client and/or the connection.
  • the result is that the attacking client believes that the connection is still valid for communicating with the server, and its resources are tied up with the connection, while in reality the server is using reduced resources to maintain the connection and ignoring or doing less processing with respect to the connection.
  • the client may end the connection of its own volition, or the server may kill the connection to free up the remaining resources allocated to the connection, or for other reasons.
  • a method executed by a server interacting with a client over one or more computer communications networks includes establishing a connection with a client over one or more computer communications networks (such as a TCP connection), receiving at least one message over the connection from the client, and determining that server resources allocated to the connection should be reduced.
  • the determination may involve analyzing at least one of client attributes, connection attributes, and client behavior during the connection.
  • the method further may include while keeping the connection open, reducing server resources (e.g., memory or processing resources) allocated to the connection. Further the method may include sending at least one message to the client over the connection after the reduction in server resources.
  • the reduction of server resources involves transferring responsibility for the handling of messages arriving over the connection from a first program (e.g., an application such as an HTTP server application) to a second program (e.g., a kernel module or another application) executing in the server.
  • a first program e.g., an application such as an HTTP server application
  • a second program e.g., a kernel module or another application
  • the first program can reduce its resources previously allocated to the connection.
  • the second program can send at least one message to the client over the connection after said transfer.
  • a method executed by a server interacting with a client over one or more computer communications networks involves establishing a connection with a client over one or more computer communications networks; receiving at least one message over the connection from the client; during the time the connection is open, and determining that any of the client and the connection exhibits one or more attack characteristics (e.g., based on at least one of client attributes, connection attributes, and client behavior during the connection, or otherwise).
  • the server changes its treatment of the connection such that the server thereafter (i) sends at least one transport-layer message to the client over the connection to keep the connection open, and (ii) does not send a response to application-layer messages received from the client. Subsequently the server or the client may close the connection.
  • the server transitions responsibility for handling messages arriving via the connection from a first program to a second program, while keeping the connection open.
  • the second program may send at least one transport-layer message to the client over the connection to keep the connection open, but does not send a response to application-layer messages received from the client.
  • a method executed by at least one application running on a server that is communicating with a client over one or more computer communications networks involves establishing a connection with a client over one or more computer communications networks; receiving at least one message over the connection from the client; determining that server resources allocated to the connection should be reduced; and sending one or more communications to an operating system running in the server indicating that the at least one application is releasing ownership of the connection and that cause the operating system to transfer the connection to a surrogate program, rather than closing the connection.
  • the method further may involve reducing server resources allocated to the connection, e.g., by clearing memory resources allocated for the application to keep state for the connection.
  • the functionality of a server is extended with a mechanism for identifying attacking clients or attack-related connections and for reducing server resources associated with those connections. This approach is sometimes referred to herein as “miniaturizing” or “minifying” the connection.
  • putting a connection in a minified state enables the server to free at least some resources allocated to the connection, while keeping the connection open for at least some time period afterwards.
  • the server can continue to respond to the client in some fashion, giving at least the appearance that the server is providing at least some service or functionality on that connection, while in reality the server is effectively ignoring the connection and the connection is tying up the resources of the attacking client.
  • the teachings herein are useful in HTTP servers servicing HTTP client devices over a TCP/IP computer communications network, such as the Internet. However, they are not limited to such environments.
  • FIG. 1 illustrates an exemplary client-server communication path across the Internet.
  • the client is typically a computer, laptop, or mobile device, running a client application that understands and communicates with the server using known network protocols to obtain content desired by an end user operating the client device.
  • a common example of a client application is a web browser that makes requests for and receives content from a web server using HTTP over TCP/IP protocols, though again such examples are set forth for illustrative purposes and are not limiting.
  • a server typically uses a variety of internal techniques to identify and manage communications with a given client.
  • conventional TCP/IP and other networking approaches enable a server to use socket identifiers to identify endpoints of a communication path.
  • a client socket may be designated by the combination of the client IP address and a port number, the port number being an identifier that the client device uses to distinguish amongst different communication flows in which it is participating.
  • a client may use different ports for different communication flows within a given client application.
  • a server socket can be designated by an IP address and port number.
  • port numbers include port 80 (on which a server listens for HTTP traffic) and port 443 (on which a server listens for secure traffic using TLS/SSL traffic).
  • TCP transport control protocol
  • a server can use the combination of the client socket and server socket to uniquely identify a connection to a client. Using such connection identifiers, a server can manage connections to different clients and amongst multiple connections to the same client device.
  • FIG. 2 is a block diagram illustrating a computing machine configured as a server 200 which comprises commodity hardware 202 (e.g., one or more processors, memory, network interface cards, etc.) on which runs an operating system 204 with a kernel (such as Linux, Unix, Windows, etc.) that supports one or more applications 206 a - n .
  • the machine typically runs a set of applications, such as an HTTP server application 207 , a name server application 208 , a local monitoring process 210 , a distributed data collection process 212 , and the like.
  • the HTTP server application 207 may include a manager process for managing a cache and delivery of content from the machine.
  • the machine might include one or more media server applications, such as a Windows Media Server (WMS) or Flash 2.0 server, as required by the supported media formats.
  • the machine 200 may be part of a distributed computing system such as a content delivery network (CDN), as will be described in more detail below, and as such may run an HTTP proxy that maintains a local cache of objects for retrieval and delivery to requesting clients.
  • CDN content delivery network
  • the machine 200 can be configured to run one or more applications that provide clients with remote data storage services, enterprise application services, gaming services, or otherwise.
  • FIG. 3 provides an example of a high-level logical flow within server 200 of FIG. 2 , in accordance with one embodiment of the invention.
  • the server determines that a particular connection poses a problem and its impact on the server needs to be mitigated, e.g., because it has characteristics of an attack or threat.
  • the server may make this determination based on a variety of factors. It may be based on, for example, (1) attributes of the client device (e.g., its IP address may be blacklisted or its geographic location may indicate a threat), (2) attributes of client messages (e.g., they may violate security/firewall rules, such as those available from a web application firewall), and/or (3) the behavior of the client device and/or connection.
  • attributes of the client device e.g., its IP address may be blacklisted or its geographic location may indicate a threat
  • attributes of client messages e.g., they may violate security/firewall rules, such as those available from a web application firewall
  • the behavior of the client device and/or connection e.
  • the behavior of the client device may be flagged because the client device is sending too much traffic (exceeding rate limits in the manner of a DoS attack, for example) or slowly sending traffic in the manner of a slow GET or POST attack. More information about monitoring and accounting for client traffic can be obtained from commonly-owned U.S. application Ser. No. 13/471,079, titled ‘Server With Message Exchange Accounting’ and filed May 14, 2012 (published as US Publication No. 2013/0254343), and from US Publication No. 2011/0225647, titled ‘Cloud Based Firewall System and Service’, the teachings of which are hereby incorporated by reference in their entirety.
  • the server 200 reduces server resources allocated to the connection, such as server memory and processing resources.
  • server resources allocated to the connection such as server memory and processing resources.
  • the server application that is handling the connection gracefully abdicates its responsibilities to the connection, freeing resources within that application.
  • the responsibilities abdicated by the handling application are transitioned to and assumed by a surrogate, such as another server application with a lighter resource footprint, or to particular operating system logic, for example. This will be described in more detail below in conjunction with FIG. 4 , but is designated by subroutine 303 in FIG. 3 .
  • the server reduces the resources allocated to the connection, but the server does not terminate or close the connection.
  • the server maintains the connection and continues to respond to at least some messages from the client over the connection.
  • the server may provide little or no service on the connection beyond that necessary to keep the connection alive. In one implementation, this means that the server continues to provide network and transport layer responses, but does not provide application layer services (and indeed may simply ignore application layer messages).
  • FIG. 4 illustrates a more detailed logical flow operable in the server 200 in accordance with one embodiment of the invention.
  • the client-server connection is established. Assume for illustrative purposes that a client establishes a connection with the server using known TCP/IP protocols and handshaking, and subsequently sends to the server HTTP messages, such as requests for web content like an html file, image, video object, etc.
  • the operating system kernel 204 allocates memory internally to keep state for the connection and to store data related to the connection, and completes the TCP handshake with the client (e.g., according to TCP/IP protocols).
  • the kernel notifies the HTTP server application 207 of the connection and passes it a file descriptor that identifies the client socket.
  • the HTTP server application 204 reads the HTTP messages from the client.
  • the HTTP server application 207 establishes internal data structures to store data related to the connection, and so forth, consuming memory resources accordingly.
  • the HTTP server application 207 may also need to retrieve user-configurable instructions, such as metadata instructions in a control file, that direct how the HTTP server is to handle the request. This also involves a memory and processing cost.
  • the client and server may communicate one or more HTTP messages.
  • the HTTP server application 204 determines that the connection is a threat or otherwise a problem and that the connection should be put into a minified state. (Step 402 .)
  • the server may make this determination based on any of a wide array of factors, as described previously.
  • the HTTP server application 207 informs the kernel of the particular connection that should be put into a minified state. This can be accomplished, for example, via a system call that passes an appropriate connection identifier to the kernel.
  • An example of a suitable connection identifier is the 4-tuple containing the client IP address, client port number, server IP address, and server port number, but any unique connection identifier can be used.
  • the application 207 performs a termination routine for the connection, releasing memory and other resources allocated to it, as if the connection were closed.
  • the application 207 may log information about the client and/or connection for later use in analyzing the client and the circumstances surrounding the offending connection.
  • the kernel 204 receives the notification from the HTTP server application 207 .
  • the kernel does not close the connection (e.g., it does not send a TCP FIN). Rather the kernel gives the connection to a surrogate that will serve as the new owner of the connection and as the endpoint for future messages with the client over the connection.
  • the surrogate is a packet filter in the kernel 204 .
  • the kernel 204 can insert the identifying 4-tuple into a table associated with its packet filter so that future packets matching the 4-tuple are intercepted at the IP layer. This can be done by inserting the 4-tuple in a table entry used by the kernel's packet filter.
  • the kernel checks incoming packets to see if they match an entry in the table.
  • the packet filter preferably contains logic to respond to the client in order to keep the connection open and the client engaged for as long as possible.
  • the packet filter may send and respond to TCP messages (e.g., acknowledgements, keep-alives, window-sizing messages, sequence number updates, etc.).
  • Acknowledgment and other response messages may be scheduled so as to introduce delay into the communication process.
  • the packet filter may simply drop incoming packets after noting the information used to formulate a response, such as a timestamp and TCP sequence number. Packets that do not match the 4-tuple are passed for further processing in the kernel and up to the application associated therewith (assuming no other filtering rules were triggered).
  • Known packet filters for the desired operating system e.g., Windows, Linux, Unix, or other OS packet filter frameworks
  • OS packet filter frameworks may be modified in accordance with the teachings hereof to provide the foregoing functionality.
  • the packet filter may drop packets from the minified connection (rather than attempting to respond to the client). Because the packet filter does not respond and also refrains from sending a TCP reset on the connection, the client can be kept engaged with an ostensibly open connection for longer than might otherwise be the case.
  • the kernel transfers ownership of the connection to another application, referred to as the surrogate application in FIG. 4 .
  • the surrogate application can be, for example, a user-space application that contains logic to respond to the client's messages as described previously with respect to the packet filter module, but that consumes fewer resources than the original handling application (the HTTP server application 207 in this example) to do so.
  • the surrogate application can provide functionality to provide responses to the client, while ignoring most messages.
  • the surrogate application may contain logic that responds to client messages in order to keep the client engaged but also largely ignores or deletes data sent by the client and available on the socket.
  • the surrogate application may log the messages sent by the client or other information about the client. Further, in some cases, the surrogate may have logic that simulates aspects of an HTTP server application. The behavior of the surrogate application may be managed or configurable by a system administrator through a user interface, so that the server's handling of minified connections may be dynamically configured. Note that in some cases, the functions of the surrogate application may be implemented as a module within the HTTP server application 207 .
  • the surrogate application described above may be a user-space counterpart to a surrogate kernel module, where the kernel module implements the logic to keep the client engaged, while the surrogate application provides assistance for non-critical tasks, like computing delays to use in responding to client messages, and other support functionality, and providing a service interface to facilitate retrieval of connection statistics, debugging, testing, and the like. It may also provide an interface for a system administrator as described above.
  • FIG. 5 illustrates the notion of transferring ownership of the connection to a combination of a surrogate application/module upon an appropriate system call.
  • the surrogate kernel module intercepts the packets pertaining to the minified connection below the TCP/IP stack in the kernel, in the queuing layer, although this is not limiting.
  • step 408 having arranged for a new owner for the connection, the kernel 204 frees as many resources as possible that are allocated to the connection, such as associated state information and queued send/receive buffers. The kernel may simply delete this data. Note that the implementation of 406 b may require the kernel to retain some information in order to be able to service the surrogate user-space application.
  • the server 200 keeps the minified connection open until the client closes it. (Step 410 .) However, the server 200 may decide to close the connection itself. (Step 412 .) In particular, the server 200 may need to manage and at times reduce the number of minified connections. Preferably, the packet filter module and/or the surrogate application close minified connections when they represent a burden on the surrogate or the server generally. For example, there may be too many minified connections (e.g., the number of such connections exceed a threshold) or the server load is high (e.g., resource utilization exceeds a threshold), or resource utilization of surrogate may reach a constraint.
  • a first-in first-out (FIFO), least recently used (LRU), or other algorithm can be used to select which minified connections to drop.
  • the kernel can employ a timestamp with received messages and measure idle time on each connection to determine which to drop.
  • the server 200 may close the minified connection regardless of server load or other metrics.
  • the server 200 may just close the minified connection after a configurable time period following the initial decision to put the connection into a minified state.
  • a server's name server application 208 typically handles UDP traffic for DNS messages. Assume the name server application 208 determines that a particular DNS client or other client is a threat, and that client handling should be delegated to a surrogate. The name server application 208 can provide the kernel 204 with a client identifier (e.g., the client IP address, or in other implementations the client socket). The name server application 208 notifies the kernel of this determination through a system call, and is thereafter to free up memory and other resources devoted to, for example, maintaining application layer state.
  • client identifier e.g., the client IP address, or in other implementations the client socket
  • the kernel 204 notifies the packet filter of the offending client with the client identifier, and the filter thereafter captures packets from that client.
  • the filter may simply drop such packets, or may respond to them using logic simulating a DNS response.
  • the handling application may pass a parameter in the minify system call that indicates the response that the packet filter should give.
  • the name server application 208 can set a parameter in the system call to indicate that the original handling application is a DNS service, which parameter the kernel will give to the packet filter, so that the packet filter knows to respond to incoming packets for that client (or client socket) with a dummy DNS message.
  • the original handling application (be it the HTTP server application, the name server application, or otherwise) notifies the kernel of the offending client (e.g., via client identifier such as client IP address or set of addresses) and the surrogate then takes over for not just a particular connection/socket but for all connections or traffic from that client.
  • the HTTP proxy server may be part of a content delivery network (CDN) which is managed by a service provider and offered as a managed delivery service to participating content providers.
  • CDN content delivery network
  • FIGS. 6-7 illustrate a suitable CDN with a suitable HTTP proxy server application 707 running on machines 700 .
  • a “content delivery network” or “CDN” is a distributed computer system and is often operated and managed by a service provider.
  • the service provider typically provides the content delivery service on behalf of third parties.
  • a “distributed system” of this type typically refers to a collection of autonomous computers linked by a network or networks, together with the software, systems, protocols and techniques designed to facilitate various services, such as content delivery or the support of outsourced site infrastructure.
  • content delivery refers to the storage, caching, or transmission of content—such as web pages, streaming media and applications—on behalf of content providers, and ancillary technologies used therewith including, without limitation, DNS query handling, provisioning, data monitoring and reporting, content targeting, personalization, and business intelligence.
  • an exemplary distributed computer system 600 is configured as a content delivery network (CDN) and is assumed to have a set of machines distributed around the Internet.
  • CDN content delivery network
  • machines typically, most of the machines are servers 602 located near the edge of the Internet, i.e., at or adjacent end user access networks.
  • a network operations command center (NOCC) 604 may be used to administer and manage operations of the various machines in the system.
  • Third party sites affiliated with content providers, such as web site 606 offload delivery of content (e.g., HTML, embedded page objects, streaming media, software downloads, and the like) to the distributed computer system 600 and, in particular, to the CDN servers 602 (which are sometimes referred to as “edge” servers in light of the possibility that they are near an “edge” of the Internet).
  • Such servers may be grouped together into a point of presence (POP) 607 .
  • POP point of presence
  • content providers offload their content delivery by aliasing (e.g., by a DNS CNAME) given content provider domains or sub-domains to domains that are managed by the service provider's authoritative domain name service.
  • End user client machines 622 that desire such content may be directed to the distributed computer system to obtain that content more reliably and efficiently.
  • the CDN servers respond to the client requests, for example by obtaining requested content from a local cache, from another CDN server, from an origin server 606 , or other source.
  • the distributed computer system may also include other infrastructure, such as a distributed data collection system 608 that collects usage and other data from the CDN servers, aggregates that data across a region or set of regions, and passes that data to other back-end systems 610 , 612 , 614 and 616 to facilitate monitoring, logging, alerts, billing, management and other operational and administrative functions.
  • Distributed network agents 618 monitor the network as well as the server loads and provide network, traffic and load data to a DNS query handling mechanism 615 , which is authoritative for content domains being managed by the CDN.
  • a distributed data transport mechanism 620 may be used to distribute control information (e.g., metadata to manage content, to facilitate load balancing, and the like) to the CDN servers.
  • a given machine 700 in the CDN (sometimes referred to as an “edge machine”) comprises commodity hardware (e.g., an Intel processor) 702 running an operating system kernel (such as Linux or variant) 704 that supports one or more applications 706 a - n .
  • given machines typically run a set of applications, such as an HTTP proxy 707 , a name server 708 , a local monitoring process 710 , a distributed data collection process 712 , and the like.
  • the HTTP proxy 707 (sometimes referred to herein as a global host or “ghost”) typically includes a manager process for managing a cache and delivery of content from the machine.
  • the machine typically includes one or more media servers, such as a Windows Media Server (WMS) or Flash server, as required by the supported media formats.
  • WMS Windows Media Server
  • the machine shown in FIG. 7 may be configured to provide one or more extended content delivery features, preferably on a domain-specific, customer-specific basis, preferably using configuration files that are distributed to the content servers using a configuration system.
  • a given configuration file preferably is XML-based and includes a set of content handling rules and directives that facilitate one or more advanced content handling features.
  • the configuration file may be delivered to the CDN server via the data transport mechanism.
  • U.S. Pat. No. 7,111,057 illustrates a useful infrastructure for delivering and managing CDN server content control information and this and other content server control information (sometimes referred to as “metadata”) can be provisioned by the CDN service provider itself, or (via an extranet or the like) the content provider customer who operates or is otherwise associated with the origin server.
  • the CDN may include a network storage subsystem (sometimes referred to herein as “NetStorage”) which may be located in a network datacenter accessible to the content servers, such as described in U.S. Pat. No. 7,472,178, the disclosure of which is incorporated herein by reference.
  • the CDN may operate a server cache hierarchy to provide intermediate caching of customer content; one such cache hierarchy subsystem is described in U.S. Pat. No. 7,376,716, the disclosure of which is incorporated herein by reference.
  • the CDN may include a live media delivery subsystem, such as described in U.S. Pat. No. 7,296,082, and U.S. Publication No. 2011/0173345, the disclosures of which are incorporated herein by reference.
  • the teachings hereof are applicable to machines in mobile operator network environments or transmitting data through such networks.
  • the client devices referred to above may be not only a conventional desktop, laptop or other Internet-accessible machine running a web browser or other rendering engine, but also may be a mobile device.
  • a mobile device includes any wireless client device, e.g., a cellphone, pager, a personal digital assistant (PDA, e.g., with GPRS network interface card), including a mobile computer with a smartphone client, tablet or the like.
  • PDA personal digital assistant
  • Other mobile devices in which the technique may be practiced include any access protocol- enabled device (e.g., iOSTM-based device, an AndroidTM-based device, other mobile-OS based device, or the like) that is capable of sending and receiving data in a wireless manner using a wireless protocol.
  • Typical wireless protocols include: WiFi, GSM/GPRS, CDMA or WiMax. These protocols implement the ISO/OSI Physical and Data Link layers (Layers 1 & 2) upon which a traditional networking stack is built, complete with IP, TCP, SSL/TLS and HTTP.
  • the WAP wireless access protocol
  • WAP wireless access protocol
  • WTP wireless access protocol
  • WTP wireless access protocol
  • a set of network communication layers e.g., WDP, WTLS, WTP
  • corresponding functionality used with GSM and CDMA wireless networks, among others.
  • the mobile device is a cellular telephone that operates over GPRS (General Packet Radio Service), which is a data technology for GSM networks.
  • GPRS General Packet Radio Service
  • a mobile device as used herein is a 3G- (or next generation) compliant device that includes a subscriber identity module (SIM), which is a smart card that carries subscriber-specific information, mobile equipment (e.g., radio and associated signal processing devices), a man-machine interface (MMI), and one or more interfaces to external devices (e.g., computers, PDAs, and the like).
  • SIM subscriber identity module
  • MMI man-machine interface
  • the techniques disclosed herein are not limited for use with a mobile device that uses a particular access protocol.
  • a mobile device may also have support for wireless local area network (WLAN) technologies, such as Wi-Fi.
  • WLAN is based on IEEE 802.11 standards.
  • the clients, servers, and other devices described herein may be implemented with conventional computer systems, as modified by the teachings hereof, with the functional characteristics described above realized in special-purpose hardware, general-purpose hardware configured by software stored therein for special purposes, or a combination thereof.
  • Software may include one or several discrete programs. Any given function may comprise part of any given module, process, execution thread, or other such programming construct. Generalizing, each function described above may be implemented as computer code, namely, as a set of computer instructions, executable in one or more processors to provide a special purpose machine. The code may be executed using conventional apparatus—such as a processor in a computer, digital data processing device, or other computing apparatus—as modified by the teachings hereof. In one embodiment, such software may be implemented in a programming language that runs in conjunction with a proxy on a standard Intel hardware platform running an operating system such as Linux. The functionality may be built into the proxy code, or it may be executed as an adjunct to that code.
  • FIG. 8 is a block diagram that illustrates hardware in a computer system 800 upon which such software may run in order to implement embodiments of the invention.
  • the computer system 800 may be embodied in a client device, server, personal computer, workstation, tablet computer, wireless device, mobile device, network device, router, hub, gateway, or other device.
  • Representative machines on which the subject matter herein is provided may be Intel-based computers running a Linux or Linux-variant operating system and one or more applications to carry out the described functionality.
  • Computer system 800 includes a processor 804 coupled to bus 801 . In some systems, multiple processor and/or processor cores may be employed. Computer system 800 further includes a main memory 810 , such as a random access memory (RAM) or other storage device, coupled to the bus 801 for storing information and instructions to be executed by processor 804 . A read only memory (ROM) 808 is coupled to the bus 801 for storing information and instructions for processor 804 . As another form of memory, a non-volatile storage device 806 , such as a magnetic disk, solid state memory (e.g., flash memory), or optical disk, is provided and coupled to bus 801 for storing information and instructions. Other application-specific integrated circuits (ASICs), field programmable gate arrays (FPGAs) or circuitry may be included in the computer system 800 to perform functions described herein.
  • ASICs application-specific integrated circuits
  • FPGAs field programmable gate arrays
  • the system 800 may have a peripheral interface 812 communicatively couples computer system 800 to a user display 814 that displays the output of software executing on the computer system, and an input device 815 (e.g., a keyboard, mouse, trackpad, touchscreen) that communicates user input and instructions to the computer system 800 .
  • the peripheral interface 812 may include interface circuitry, control and/or level-shifting logic for local buses such as RS-485, Universal Serial Bus (USB), IEEE 1394, or other communication links.
  • Computer system 800 is coupled to a communication interface 816 that provides a link (e.g., at a physical layer, data link layer, or otherwise) between the system bus 801 and an external communication link.
  • the communication interface 816 provides a network link 818 .
  • the communication interface 816 may represent a Ethernet or other network interface card (NIC), a wireless interface, modem, an optical interface, or other kind of input/output interface.
  • NIC network interface card
  • Network link 818 provides data communication through one or more networks to other devices. Such devices include other computer systems that are part of a local area network (LAN) 826 . Furthermore, the network link 818 provides a link, via an internet service provider (ISP) 820 , to the Internet 822 . In turn, the Internet 822 may provide a link to other computing systems such as a remote server 830 and/or a remote client 831 . Network link 818 and such networks may transmit data using packet-switched, circuit-switched, or other data-transmission approaches.
  • ISP internet service provider
  • the computer system 800 may implement the functionality described herein as a result of the processor executing code.
  • code may be read from or stored on a non-transitory computer-readable medium, such as memory 810 , ROM 808 , or storage device 806 .
  • a non-transitory computer-readable medium such as memory 810 , ROM 808 , or storage device 806 .
  • Other forms of non-transitory computer-readable media include disks, tapes, magnetic media, CD-ROMs, optical media, RAM, PROM, EPROM, and EEPROM. Any other non-transitory computer-readable medium may be employed.
  • Executing code may also be read from network link 818 (e.g., following storage in an interface buffer, local memory, or other circuitry).

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Virology (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

According to certain non-limiting embodiments disclosed herein, the functionality of a server is extended with a mechanism for identifying connections with clients that have exhibited attack characteristics (for example, characteristics indicating a DoS attack), and for transitioning internal ownership of those connections such that server resources consumed by the connection are reduced, while keeping the connection open. The connection thus moves from a state of relatively high resource use to a state of relatively low server resource use. According to certain non-limiting embodiments disclosed herein, the functionality of a server is extended by enabling the server to determine that any of a client and a connection exhibits one or more attack characteristics (e.g., based on at least one of client attributes, connection attributes, and client behavior during the connection, or otherwise). As a result of the determination, the server changes its treatment of the connection.

Description

  • This application is a continuation of U.S. application Ser. No. 15/253,059, filed Aug. 31, 2016 (now published as U.S. Patent Publication 2016-0373371 A1), which is a continuation of U.S. application Ser. No. 14/521,370, filed Oct. 22, 2014 (now issued as U.S. Pat. No. 9,525,701) which is a continuation of U.S. application Ser. No. 13/837,140, filed Mar. 15, 2013 (now issued as U.S. Pat. No. 8,875,287), which is based on and claims the benefit of priority of U.S. Provisional Application No. 61/709,370, filed Oct. 4, 2012. The disclosures of all of the foregoing applications are hereby incorporated by reference in their entireties.
  • BACKGROUND Technical Field
  • This application generally relates to client-server data processing systems, to the delivery of content over computer networks, to systems and methods for conserving server resources, and to systems and method for handling computer-based attacks.
  • Brief Description of the Related Art
  • Computer-based attacks are an increasing problem for servers that provide remote services, such as cloud storage and web applications, that serve websites, or that provide other online solutions.
  • In a typical denial of service (DoS) attack, for example, an attacker attempts to disrupt the operation of a target server such that the target server cannot provide an acceptable quality-of-service to legitimate clients. Such attacks are a significant problem, as an outage at a website may cause considerable interruptions to the services provided by web applications, loss of revenue for e-commerce businesses, as well as negative publicity.
  • In one kind of DoS attack, an attacker (via their own computer or a set of conscripted computers often referred to as ‘bots’) sends a high volume of requests to a target server. Eventually, the target server is unable to respond to the volume of requests, resulting in slow performance or an outright failure.
  • Another kind of DoS attack is a ‘slow’ DoS attack. Generally, in such attacks an attacker attempts to tie up its resources by interacting with a target server in an artificially slow fashion. One kind of a slow attack is known as a slow ‘GET’ attack (aka Slow Loris), in which an attacker slowly sends the headers that make up an HTTP ‘GET’ request. The target server dutifully waits for the attacker to complete the GET request. Normally, the server would receive the entire GET request, process it, and move on to other requests, closing the connection and releasing associated resources allocated to the connection. But the attacker's slow GET request delays or prevents this from happening, tying up the server's memory, processing and other resources allocated to the connection. It thus impacts the target server's ability to service other, legitimate clients. Oftentimes, an attacker will seek to open a large number of such bogus connections with intentionally slow requests, multiplying the effect of the attack. A single web client can hold open hundreds to thousands of such connections, each one sending only a few bytes of data each second. Another kind of slow attack is a slow ‘POST’ attack, in which an attacker sends an HTTP POST message body at a low data rate, forcing the target server to hold open the client connection for an extended period of time as it waits for the message body to complete, leading to the same resource issues as with the slow ‘GET’ attack.
  • The goal of these attacks is to try to impact or exhaust server resources. Hence, there is a need for improved ways of conserving server resources in the face of such attacks and threats. There is also a need for improved ways of combating identified attacking clients and gathering information about them when they are encountered. Such improvements would be useful not only against known threats like DoS attacks, but against future resource-exhaustion attacks and moreover against any clients and/or connections that a server determines are behaving in an undesirable way. The teachings herein address these needs and offer other advantages, features, and uses that will become apparent in view of this disclosure.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • The teachings hereof will be more fully understood from the following detailed description taken in conjunction with the accompanying drawings, in which:
  • FIG. 1 shows an example of a client device communicating with a server over a computer communications network, in accordance with one embodiment of the invention;
  • FIG. 2 is a schematic diagram of a server with components therein, in accordance with one embodiment of the invention;
  • FIG. 3 is a flowchart showing an example of logic flow in the server shown in FIG. 2, in accordance with one embodiment of the invention;
  • FIG. 4 is a flowchart showing an example of logic flow in the server shown in FIG. 2, in accordance with one embodiment of the invention;
  • FIG. 5 is a schematic diagram illustrating the transfer of a connection to a surrogate, in accordance with one embodiment of the invention;
  • FIG. 6 is a schematic diagram illustrating one embodiment of a known distributed computer system configured as a content delivery network (CDN);
  • FIG. 7 is a schematic diagram illustrating one embodiment of a machine on which a content delivery network server in the system of FIG. 6 can be implemented; and,
  • FIG. 8 is a block diagram illustrating hardware in a computer system that may be used to implement the teachings hereof.
  • SUMMARY
  • According to certain non-limiting embodiments, the functionality of a server is extended with a mechanism for identifying connections with clients that have exhibited attack characteristics (for example, characteristics indicating a DoS attack), and for transitioning internal ownership of those connections such that server resources consumed by the connection are reduced, while keeping the connection open. The connection thus moves from a state of relatively high resource use to a state of relatively low server resource use, and the server is able to free resources such as memory and processing cycles previously allocated to the connection.
  • Preferably, the server uses the connection to keep the client occupied so that it does not launch—or has fewer resources to launch—further attacks, and possibly to log information about the client for later analysis. Hence, in one embodiment, the server keeps the connection alive, continuing to communicate with the client device as if the connection were being serviced, while actually ignoring or performing reduced processing on messages received on the connection. For example, the server may respond to transport-layer control messages to keep the connection open (e.g., sending TCP acknowledgements, etc.) while ignoring the client's application-layer messages. The server may also perform some minimal processing to log information about the client and/or the connection. Preferably, the result is that the attacking client believes that the connection is still valid for communicating with the server, and its resources are tied up with the connection, while in reality the server is using reduced resources to maintain the connection and ignoring or doing less processing with respect to the connection.
  • Eventually, the client may end the connection of its own volition, or the server may kill the connection to free up the remaining resources allocated to the connection, or for other reasons.
  • By way of further illustration, in one embodiment, a method executed by a server interacting with a client over one or more computer communications networks includes establishing a connection with a client over one or more computer communications networks (such as a TCP connection), receiving at least one message over the connection from the client, and determining that server resources allocated to the connection should be reduced. The determination may involve analyzing at least one of client attributes, connection attributes, and client behavior during the connection. The method further may include while keeping the connection open, reducing server resources (e.g., memory or processing resources) allocated to the connection. Further the method may include sending at least one message to the client over the connection after the reduction in server resources.
  • In some cases, the reduction of server resources involves transferring responsibility for the handling of messages arriving over the connection from a first program (e.g., an application such as an HTTP server application) to a second program (e.g., a kernel module or another application) executing in the server. After the transfer, the first program can reduce its resources previously allocated to the connection. The second program can send at least one message to the client over the connection after said transfer.
  • In another embodiment, a method executed by a server interacting with a client over one or more computer communications networks involves establishing a connection with a client over one or more computer communications networks; receiving at least one message over the connection from the client; during the time the connection is open, and determining that any of the client and the connection exhibits one or more attack characteristics (e.g., based on at least one of client attributes, connection attributes, and client behavior during the connection, or otherwise). As a result of the determination, the server changes its treatment of the connection such that the server thereafter (i) sends at least one transport-layer message to the client over the connection to keep the connection open, and (ii) does not send a response to application-layer messages received from the client. Subsequently the server or the client may close the connection.
  • In some cases, as a result of said determination, the server transitions responsibility for handling messages arriving via the connection from a first program to a second program, while keeping the connection open. The second program may send at least one transport-layer message to the client over the connection to keep the connection open, but does not send a response to application-layer messages received from the client.
  • In yet another embodiment, a method executed by at least one application running on a server that is communicating with a client over one or more computer communications networks involves establishing a connection with a client over one or more computer communications networks; receiving at least one message over the connection from the client; determining that server resources allocated to the connection should be reduced; and sending one or more communications to an operating system running in the server indicating that the at least one application is releasing ownership of the connection and that cause the operating system to transfer the connection to a surrogate program, rather than closing the connection. The method further may involve reducing server resources allocated to the connection, e.g., by clearing memory resources allocated for the application to keep state for the connection.
  • As those skilled in the art will recognize, the foregoing description merely refers to examples of the invention. It is not limiting and the teachings hereof may be realized in a variety of systems, methods, apparatus, and non-transitory computer-readable media. Further non-limiting embodiments of the invention will be described in more detail below.
  • DETAILED DESCRIPTION
  • The following description sets forth embodiments of the invention to provide an overall understanding of the principles of the structure, function, manufacture, and use of the methods and apparatus disclosed herein. The systems, methods and apparatus described herein and illustrated in the accompanying drawings are non-limiting examples; the scope of the invention is defined solely by the claims. The features described or illustrated in connection with one exemplary embodiment may be combined with the features of other embodiments. Such modifications and variations are intended to be included within the scope of the present invention. All patents, publications and references cited herein are expressly incorporated herein by reference in their entirety.
  • According to one embodiment, the functionality of a server is extended with a mechanism for identifying attacking clients or attack-related connections and for reducing server resources associated with those connections. This approach is sometimes referred to herein as “miniaturizing” or “minifying” the connection.
  • Preferably, putting a connection in a minified state enables the server to free at least some resources allocated to the connection, while keeping the connection open for at least some time period afterwards. Preferably, the server can continue to respond to the client in some fashion, giving at least the appearance that the server is providing at least some service or functionality on that connection, while in reality the server is effectively ignoring the connection and the connection is tying up the resources of the attacking client.
  • The teachings herein are useful in HTTP servers servicing HTTP client devices over a TCP/IP computer communications network, such as the Internet. However, they are not limited to such environments.
  • By way of introduction, FIG. 1 illustrates an exemplary client-server communication path across the Internet. The client is typically a computer, laptop, or mobile device, running a client application that understands and communicates with the server using known network protocols to obtain content desired by an end user operating the client device. A common example of a client application is a web browser that makes requests for and receives content from a web server using HTTP over TCP/IP protocols, though again such examples are set forth for illustrative purposes and are not limiting.
  • As is known in the art, a server typically uses a variety of internal techniques to identify and manage communications with a given client. For example, conventional TCP/IP and other networking approaches enable a server to use socket identifiers to identify endpoints of a communication path. Thus, a client socket may be designated by the combination of the client IP address and a port number, the port number being an identifier that the client device uses to distinguish amongst different communication flows in which it is participating. A client may use different ports for different communication flows within a given client application.
  • Likewise, a server socket can be designated by an IP address and port number. By way of example, well-known port numbers include port 80 (on which a server listens for HTTP traffic) and port 443 (on which a server listens for secure traffic using TLS/SSL traffic). For connection oriented protocols like transport control protocol (TCP), a server can use the combination of the client socket and server socket to uniquely identify a connection to a client. Using such connection identifiers, a server can manage connections to different clients and amongst multiple connections to the same client device. It should be understood that the foregoing is provided for illustration only and that a wide variety of connection identification and endpoint identification approaches may be used in accordance with the methods and systems disclosed herein.
  • FIG. 2 is a block diagram illustrating a computing machine configured as a server 200 which comprises commodity hardware 202 (e.g., one or more processors, memory, network interface cards, etc.) on which runs an operating system 204 with a kernel (such as Linux, Unix, Windows, etc.) that supports one or more applications 206 a-n. To facilitate web content and other content delivery services, for example, the machine typically runs a set of applications, such as an HTTP server application 207, a name server application 208, a local monitoring process 210, a distributed data collection process 212, and the like. The HTTP server application 207 may include a manager process for managing a cache and delivery of content from the machine. For streaming media, the machine might include one or more media server applications, such as a Windows Media Server (WMS) or Flash 2.0 server, as required by the supported media formats. The machine 200 may be part of a distributed computing system such as a content delivery network (CDN), as will be described in more detail below, and as such may run an HTTP proxy that maintains a local cache of objects for retrieval and delivery to requesting clients. It should be understood, however, that the teachings hereof are not limited to CDNs or to HTTP servers.
  • To provide other solutions, including cloud and enterprise solutions, the machine 200 can be configured to run one or more applications that provide clients with remote data storage services, enterprise application services, gaming services, or otherwise.
  • FIG. 3 provides an example of a high-level logical flow within server 200 of FIG. 2, in accordance with one embodiment of the invention. In step 300, the server determines that a particular connection poses a problem and its impact on the server needs to be mitigated, e.g., because it has characteristics of an attack or threat. The server may make this determination based on a variety of factors. It may be based on, for example, (1) attributes of the client device (e.g., its IP address may be blacklisted or its geographic location may indicate a threat), (2) attributes of client messages (e.g., they may violate security/firewall rules, such as those available from a web application firewall), and/or (3) the behavior of the client device and/or connection. The behavior of the client device may be flagged because the client device is sending too much traffic (exceeding rate limits in the manner of a DoS attack, for example) or slowly sending traffic in the manner of a slow GET or POST attack. More information about monitoring and accounting for client traffic can be obtained from commonly-owned U.S. application Ser. No. 13/471,079, titled ‘Server With Message Exchange Accounting’ and filed May 14, 2012 (published as US Publication No. 2013/0254343), and from US Publication No. 2011/0225647, titled ‘Cloud Based Firewall System and Service’, the teachings of which are hereby incorporated by reference in their entirety.
  • In step 302, the server 200 reduces server resources allocated to the connection, such as server memory and processing resources. In one implementation, for example, once the server determines that the connection poses a problem, the server application that is handling the connection (the “handling application”) gracefully abdicates its responsibilities to the connection, freeing resources within that application. The responsibilities abdicated by the handling application are transitioned to and assumed by a surrogate, such as another server application with a lighter resource footprint, or to particular operating system logic, for example. This will be described in more detail below in conjunction with FIG. 4, but is designated by subroutine 303 in FIG. 3.
  • In this implementation, the server reduces the resources allocated to the connection, but the server does not terminate or close the connection. Preferably, the server maintains the connection and continues to respond to at least some messages from the client over the connection. The server may provide little or no service on the connection beyond that necessary to keep the connection alive. In one implementation, this means that the server continues to provide network and transport layer responses, but does not provide application layer services (and indeed may simply ignore application layer messages). (Step 304.)
  • With the foregoing by way of overview, a more detailed embodiment is now described.
  • FIG. 4 illustrates a more detailed logical flow operable in the server 200 in accordance with one embodiment of the invention. In step 400, the client-server connection is established. Assume for illustrative purposes that a client establishes a connection with the server using known TCP/IP protocols and handshaking, and subsequently sends to the server HTTP messages, such as requests for web content like an html file, image, video object, etc.
  • On the server side, to handle the new connection the operating system kernel 204 allocates memory internally to keep state for the connection and to store data related to the connection, and completes the TCP handshake with the client (e.g., according to TCP/IP protocols). The kernel notifies the HTTP server application 207 of the connection and passes it a file descriptor that identifies the client socket. The HTTP server application 204 reads the HTTP messages from the client. As with the kernel, the HTTP server application 207 establishes internal data structures to store data related to the connection, and so forth, consuming memory resources accordingly. The HTTP server application 207 may also need to retrieve user-configurable instructions, such as metadata instructions in a control file, that direct how the HTTP server is to handle the request. This also involves a memory and processing cost.
  • Once the connection is established, the client and server (via the HTTP server application 207) may communicate one or more HTTP messages. At some point during the communication session, assume the HTTP server application 204 determines that the connection is a threat or otherwise a problem and that the connection should be put into a minified state. (Step 402.) The server may make this determination based on any of a wide array of factors, as described previously.
  • In step 404, the HTTP server application 207 informs the kernel of the particular connection that should be put into a minified state. This can be accomplished, for example, via a system call that passes an appropriate connection identifier to the kernel. An example of a suitable connection identifier is the 4-tuple containing the client IP address, client port number, server IP address, and server port number, but any unique connection identifier can be used. Then, the application 207 performs a termination routine for the connection, releasing memory and other resources allocated to it, as if the connection were closed. The application 207 may log information about the client and/or connection for later use in analyzing the client and the circumstances surrounding the offending connection.
  • In step 406, the kernel 204 receives the notification from the HTTP server application 207. The kernel does not close the connection (e.g., it does not send a TCP FIN). Rather the kernel gives the connection to a surrogate that will serve as the new owner of the connection and as the endpoint for future messages with the client over the connection.
  • In one implementation (alternate step 406 a), the surrogate is a packet filter in the kernel 204. For example, the kernel 204 can insert the identifying 4-tuple into a table associated with its packet filter so that future packets matching the 4-tuple are intercepted at the IP layer. This can be done by inserting the 4-tuple in a table entry used by the kernel's packet filter. The kernel checks incoming packets to see if they match an entry in the table. The packet filter preferably contains logic to respond to the client in order to keep the connection open and the client engaged for as long as possible. For example, the packet filter may send and respond to TCP messages (e.g., acknowledgements, keep-alives, window-sizing messages, sequence number updates, etc.). Acknowledgment and other response messages may be scheduled so as to introduce delay into the communication process. The packet filter may simply drop incoming packets after noting the information used to formulate a response, such as a timestamp and TCP sequence number. Packets that do not match the 4-tuple are passed for further processing in the kernel and up to the application associated therewith (assuming no other filtering rules were triggered). Known packet filters for the desired operating system (e.g., Windows, Linux, Unix, or other OS packet filter frameworks) may be modified in accordance with the teachings hereof to provide the foregoing functionality.
  • It should be noted that in alternate embodiments, the packet filter may drop packets from the minified connection (rather than attempting to respond to the client). Because the packet filter does not respond and also refrains from sending a TCP reset on the connection, the client can be kept engaged with an ostensibly open connection for longer than might otherwise be the case.
  • In another implementation (alternate step 406 b), the kernel transfers ownership of the connection to another application, referred to as the surrogate application in FIG. 4. Subsequent messages on that connection are, accordingly, directed to the surrogate application. The surrogate application can be, for example, a user-space application that contains logic to respond to the client's messages as described previously with respect to the packet filter module, but that consumes fewer resources than the original handling application (the HTTP server application 207 in this example) to do so. The surrogate application can provide functionality to provide responses to the client, while ignoring most messages. For example, the surrogate application may contain logic that responds to client messages in order to keep the client engaged but also largely ignores or deletes data sent by the client and available on the socket. In some cases, the surrogate application may log the messages sent by the client or other information about the client. Further, in some cases, the surrogate may have logic that simulates aspects of an HTTP server application. The behavior of the surrogate application may be managed or configurable by a system administrator through a user interface, so that the server's handling of minified connections may be dynamically configured. Note that in some cases, the functions of the surrogate application may be implemented as a module within the HTTP server application 207.
  • In yet another implementation (shown in FIG. 5), the surrogate application described above may be a user-space counterpart to a surrogate kernel module, where the kernel module implements the logic to keep the client engaged, while the surrogate application provides assistance for non-critical tasks, like computing delays to use in responding to client messages, and other support functionality, and providing a service interface to facilitate retrieval of connection statistics, debugging, testing, and the like. It may also provide an interface for a system administrator as described above. FIG. 5 illustrates the notion of transferring ownership of the connection to a combination of a surrogate application/module upon an appropriate system call. In this example, the surrogate kernel module intercepts the packets pertaining to the minified connection below the TCP/IP stack in the kernel, in the queuing layer, although this is not limiting.
  • In step 408, having arranged for a new owner for the connection, the kernel 204 frees as many resources as possible that are allocated to the connection, such as associated state information and queued send/receive buffers. The kernel may simply delete this data. Note that the implementation of 406 b may require the kernel to retain some information in order to be able to service the surrogate user-space application.
  • In many cases, the server 200 keeps the minified connection open until the client closes it. (Step 410.) However, the server 200 may decide to close the connection itself. (Step 412.) In particular, the server 200 may need to manage and at times reduce the number of minified connections. Preferably, the packet filter module and/or the surrogate application close minified connections when they represent a burden on the surrogate or the server generally. For example, there may be too many minified connections (e.g., the number of such connections exceed a threshold) or the server load is high (e.g., resource utilization exceeds a threshold), or resource utilization of surrogate may reach a constraint. A first-in first-out (FIFO), least recently used (LRU), or other algorithm can be used to select which minified connections to drop. For the LRU approach, the kernel can employ a timestamp with received messages and measure idle time on each connection to determine which to drop.
  • In other implementations, it should be noted, the server 200 may close the minified connection regardless of server load or other metrics. For example, the server 200 may just close the minified connection after a configurable time period following the initial decision to put the connection into a minified state.
  • While the foregoing examples have focused on putting a connection into a minified state, the techniques disclosed herein are also applicable to connection-less protocols. For instance, a server's name server application 208, as is shown in FIG. 2, typically handles UDP traffic for DNS messages. Assume the name server application 208 determines that a particular DNS client or other client is a threat, and that client handling should be delegated to a surrogate. The name server application 208 can provide the kernel 204 with a client identifier (e.g., the client IP address, or in other implementations the client socket). The name server application 208 notifies the kernel of this determination through a system call, and is thereafter to free up memory and other resources devoted to, for example, maintaining application layer state.
  • The kernel 204 notifies the packet filter of the offending client with the client identifier, and the filter thereafter captures packets from that client. The filter may simply drop such packets, or may respond to them using logic simulating a DNS response. For minified clients of other applications, other types of responses are required to keep the client engaged. Thus to facilitate the functionality for multiple applications (including the name server application 208), the handling application may pass a parameter in the minify system call that indicates the response that the packet filter should give. For example, the name server application 208 can set a parameter in the system call to indicate that the original handling application is a DNS service, which parameter the kernel will give to the packet filter, so that the packet filter knows to respond to incoming packets for that client (or client socket) with a dummy DNS message.
  • It should be noted that while the packet filter surrogate has been used as a non-limiting example above, any kind of surrogate as previously described can be used with a connection-less protocol implementation.
  • Further, as suggested above, it may be desirable to thwart all traffic from a particular client (rather than just a particular connection from the client, or a particular client socket). Hence, in some implementations the original handling application (be it the HTTP server application, the name server application, or otherwise) notifies the kernel of the offending client (e.g., via client identifier such as client IP address or set of addresses) and the surrogate then takes over for not just a particular connection/socket but for all connections or traffic from that client.
  • Use with Proxy Servers and CDNs
  • While in no way limiting, the teachings hereof are advantageously implemented in an HTTP proxy server so that an HTTP server application can minify problematic connections as described above. The HTTP proxy server may be part of a content delivery network (CDN) which is managed by a service provider and offered as a managed delivery service to participating content providers. FIGS. 6-7 illustrate a suitable CDN with a suitable HTTP proxy server application 707 running on machines 700.
  • As is known in the art, a “content delivery network” or “CDN” is a distributed computer system and is often operated and managed by a service provider. The service provider typically provides the content delivery service on behalf of third parties. A “distributed system” of this type typically refers to a collection of autonomous computers linked by a network or networks, together with the software, systems, protocols and techniques designed to facilitate various services, such as content delivery or the support of outsourced site infrastructure. Typically, “content delivery” refers to the storage, caching, or transmission of content—such as web pages, streaming media and applications—on behalf of content providers, and ancillary technologies used therewith including, without limitation, DNS query handling, provisioning, data monitoring and reporting, content targeting, personalization, and business intelligence.
  • In FIG. 6, an exemplary distributed computer system 600 is configured as a content delivery network (CDN) and is assumed to have a set of machines distributed around the Internet. Typically, most of the machines are servers 602 located near the edge of the Internet, i.e., at or adjacent end user access networks. A network operations command center (NOCC) 604 may be used to administer and manage operations of the various machines in the system. Third party sites affiliated with content providers, such as web site 606, offload delivery of content (e.g., HTML, embedded page objects, streaming media, software downloads, and the like) to the distributed computer system 600 and, in particular, to the CDN servers 602 (which are sometimes referred to as “edge” servers in light of the possibility that they are near an “edge” of the Internet). Such servers may be grouped together into a point of presence (POP) 607.
  • Typically, content providers offload their content delivery by aliasing (e.g., by a DNS CNAME) given content provider domains or sub-domains to domains that are managed by the service provider's authoritative domain name service. End user client machines 622 that desire such content may be directed to the distributed computer system to obtain that content more reliably and efficiently. The CDN servers respond to the client requests, for example by obtaining requested content from a local cache, from another CDN server, from an origin server 606, or other source.
  • Although not shown in detail in FIG. 6, the distributed computer system may also include other infrastructure, such as a distributed data collection system 608 that collects usage and other data from the CDN servers, aggregates that data across a region or set of regions, and passes that data to other back- end systems 610, 612, 614 and 616 to facilitate monitoring, logging, alerts, billing, management and other operational and administrative functions. Distributed network agents 618 monitor the network as well as the server loads and provide network, traffic and load data to a DNS query handling mechanism 615, which is authoritative for content domains being managed by the CDN. A distributed data transport mechanism 620 may be used to distribute control information (e.g., metadata to manage content, to facilitate load balancing, and the like) to the CDN servers.
  • As illustrated in FIG. 7, a given machine 700 in the CDN (sometimes referred to as an “edge machine”) comprises commodity hardware (e.g., an Intel processor) 702 running an operating system kernel (such as Linux or variant) 704 that supports one or more applications 706 a-n. To facilitate content delivery services, for example, given machines typically run a set of applications, such as an HTTP proxy 707, a name server 708, a local monitoring process 710, a distributed data collection process 712, and the like. The HTTP proxy 707 (sometimes referred to herein as a global host or “ghost”) typically includes a manager process for managing a cache and delivery of content from the machine. For streaming media, the machine typically includes one or more media servers, such as a Windows Media Server (WMS) or Flash server, as required by the supported media formats.
  • The machine shown in FIG. 7 may be configured to provide one or more extended content delivery features, preferably on a domain-specific, customer-specific basis, preferably using configuration files that are distributed to the content servers using a configuration system. A given configuration file preferably is XML-based and includes a set of content handling rules and directives that facilitate one or more advanced content handling features. The configuration file may be delivered to the CDN server via the data transport mechanism. U.S. Pat. No. 7,111,057 illustrates a useful infrastructure for delivering and managing CDN server content control information and this and other content server control information (sometimes referred to as “metadata”) can be provisioned by the CDN service provider itself, or (via an extranet or the like) the content provider customer who operates or is otherwise associated with the origin server.
  • The CDN may include a network storage subsystem (sometimes referred to herein as “NetStorage”) which may be located in a network datacenter accessible to the content servers, such as described in U.S. Pat. No. 7,472,178, the disclosure of which is incorporated herein by reference. The CDN may operate a server cache hierarchy to provide intermediate caching of customer content; one such cache hierarchy subsystem is described in U.S. Pat. No. 7,376,716, the disclosure of which is incorporated herein by reference. For live streaming delivery, the CDN may include a live media delivery subsystem, such as described in U.S. Pat. No. 7,296,082, and U.S. Publication No. 2011/0173345, the disclosures of which are incorporated herein by reference.
  • Use with Mobile Devices and Wireless Networks
  • The teachings hereof are applicable to machines in mobile operator network environments or transmitting data through such networks. Hence, the client devices referred to above may be not only a conventional desktop, laptop or other Internet-accessible machine running a web browser or other rendering engine, but also may be a mobile device. A mobile device includes any wireless client device, e.g., a cellphone, pager, a personal digital assistant (PDA, e.g., with GPRS network interface card), including a mobile computer with a smartphone client, tablet or the like. Other mobile devices in which the technique may be practiced include any access protocol- enabled device (e.g., iOS™-based device, an Android™-based device, other mobile-OS based device, or the like) that is capable of sending and receiving data in a wireless manner using a wireless protocol. Typical wireless protocols include: WiFi, GSM/GPRS, CDMA or WiMax. These protocols implement the ISO/OSI Physical and Data Link layers (Layers 1 & 2) upon which a traditional networking stack is built, complete with IP, TCP, SSL/TLS and HTTP. The WAP (wireless access protocol) also provides a set of network communication layers (e.g., WDP, WTLS, WTP) and corresponding functionality used with GSM and CDMA wireless networks, among others.
  • In a representative embodiment, the mobile device is a cellular telephone that operates over GPRS (General Packet Radio Service), which is a data technology for GSM networks. Generalizing, a mobile device as used herein is a 3G- (or next generation) compliant device that includes a subscriber identity module (SIM), which is a smart card that carries subscriber-specific information, mobile equipment (e.g., radio and associated signal processing devices), a man-machine interface (MMI), and one or more interfaces to external devices (e.g., computers, PDAs, and the like). The techniques disclosed herein are not limited for use with a mobile device that uses a particular access protocol. A mobile device may also have support for wireless local area network (WLAN) technologies, such as Wi-Fi. WLAN is based on IEEE 802.11 standards.
  • Implementation with Computer-Based Technologies
  • The clients, servers, and other devices described herein may be implemented with conventional computer systems, as modified by the teachings hereof, with the functional characteristics described above realized in special-purpose hardware, general-purpose hardware configured by software stored therein for special purposes, or a combination thereof.
  • Software may include one or several discrete programs. Any given function may comprise part of any given module, process, execution thread, or other such programming construct. Generalizing, each function described above may be implemented as computer code, namely, as a set of computer instructions, executable in one or more processors to provide a special purpose machine. The code may be executed using conventional apparatus—such as a processor in a computer, digital data processing device, or other computing apparatus—as modified by the teachings hereof. In one embodiment, such software may be implemented in a programming language that runs in conjunction with a proxy on a standard Intel hardware platform running an operating system such as Linux. The functionality may be built into the proxy code, or it may be executed as an adjunct to that code.
  • While in some cases above a particular order of operations performed by certain embodiments is set forth, it should be understood that such order is exemplary and that they may be performed in a different order, combined, or the like. Moreover, some of the functions may be combined or shared in given instructions, program sequences, code portions, and the like. References in the specification to a given embodiment indicate that the embodiment described may include a particular feature, structure, or characteristic, but every embodiment may not necessarily include the particular feature, structure, or characteristic.
  • FIG. 8 is a block diagram that illustrates hardware in a computer system 800 upon which such software may run in order to implement embodiments of the invention. The computer system 800 may be embodied in a client device, server, personal computer, workstation, tablet computer, wireless device, mobile device, network device, router, hub, gateway, or other device. Representative machines on which the subject matter herein is provided may be Intel-based computers running a Linux or Linux-variant operating system and one or more applications to carry out the described functionality.
  • Computer system 800 includes a processor 804 coupled to bus 801. In some systems, multiple processor and/or processor cores may be employed. Computer system 800 further includes a main memory 810, such as a random access memory (RAM) or other storage device, coupled to the bus 801 for storing information and instructions to be executed by processor 804. A read only memory (ROM) 808 is coupled to the bus 801 for storing information and instructions for processor 804. As another form of memory, a non-volatile storage device 806, such as a magnetic disk, solid state memory (e.g., flash memory), or optical disk, is provided and coupled to bus 801 for storing information and instructions. Other application-specific integrated circuits (ASICs), field programmable gate arrays (FPGAs) or circuitry may be included in the computer system 800 to perform functions described herein.
  • Although the computer system 800 is typically managed remotely via a communication interface 816, for local administration purposes the system 800 may have a peripheral interface 812 communicatively couples computer system 800 to a user display 814 that displays the output of software executing on the computer system, and an input device 815 (e.g., a keyboard, mouse, trackpad, touchscreen) that communicates user input and instructions to the computer system 800. The peripheral interface 812 may include interface circuitry, control and/or level-shifting logic for local buses such as RS-485, Universal Serial Bus (USB), IEEE 1394, or other communication links.
  • Computer system 800 is coupled to a communication interface 816 that provides a link (e.g., at a physical layer, data link layer, or otherwise) between the system bus 801 and an external communication link. The communication interface 816 provides a network link 818. The communication interface 816 may represent a Ethernet or other network interface card (NIC), a wireless interface, modem, an optical interface, or other kind of input/output interface.
  • Network link 818 provides data communication through one or more networks to other devices. Such devices include other computer systems that are part of a local area network (LAN) 826. Furthermore, the network link 818 provides a link, via an internet service provider (ISP) 820, to the Internet 822. In turn, the Internet 822 may provide a link to other computing systems such as a remote server 830 and/or a remote client 831. Network link 818 and such networks may transmit data using packet-switched, circuit-switched, or other data-transmission approaches.
  • In operation, the computer system 800 may implement the functionality described herein as a result of the processor executing code. Such code may be read from or stored on a non-transitory computer-readable medium, such as memory 810, ROM 808, or storage device 806. Other forms of non-transitory computer-readable media include disks, tapes, magnetic media, CD-ROMs, optical media, RAM, PROM, EPROM, and EEPROM. Any other non-transitory computer-readable medium may be employed. Executing code may also be read from network link 818 (e.g., following storage in an interface buffer, local memory, or other circuitry).
  • It should be understood that the foregoing has presented certain embodiments of the invention that should not be construed as limiting. It is contemplated that those skilled in the art will recognize other possible implementations in view of this disclosure and in accordance with its scope and spirit. The appended claims are considered to be part of the disclosure of this application. The appended also claims define the subject matter for which protection is sought.

Claims (17)

1.-55. (canceled)
56. A method executed by a computer having circuitry forming one or more processors and memory holding computer program instructions for execution on the one or more processors to provide an operating system, and a plurality of applications, the method comprising:
A. establishing a particular TCP connection with a client device over one or more communication networks, the particular TCP connection being associated with a socket and a first application in the computer that sends and receives application layer messages;
B. determining whether to minify the particular TCP connection, based at least in part on any of: client device attributes, client device behavior;
C. upon a determination to minify the particular TCP connection:
i) minifying the particular TCP connection, wherein the minification comprises:
(a) the first application making a call to a kernel of the operating system, the call being to minify the particular TCP connection;
(b) the kernel transferring the particular TCP connection to a surrogate, the surrogate comprising a second application and a module in the kernel;
(c) both the first application and the kernel reducing memory allocated to the particular TCP connection;
ii) after the minification, the module in the kernel intercepting packets pertaining to the particular TCP connection in a queuing layer.
57. The method of claim 56, wherein the queuing layer resides below a TCP/IP layer in the kernel.
58. The method of claim 56, wherein the module in the kernel intercepts the packets in the queuing layer before the packets reach a TCP/IP layer.
59. The method of claim 56, wherein the minification comprises the kernel reducing memory by deleting any of state information for the TCP connection, and send/receive buffers.
60. The method of claim 56, wherein the second application provides a service interface for retrieving connection statistics.
61. The method of claim 56, wherein the module implements logic to engage the client device via the TCP connection.
62. The method of claim 56, further comprising the surrogate dropping the TCP connection to the client after a configured time period.
63. The method of claim 56, wherein the determination whether to minify the particular TCP connection includes a determination that the client is conducting an attack against the computer.
64. An apparatus, comprising:
a computer having circuitry forming one or more processors and memory holding computer program instructions for execution on the one or more processors to provide an operating system, and a plurality of applications, including a first and second applications;
the computer program instructions including instructions for the computer to:
A. establish a particular TCP connection with a client device over one or more communication networks, the particular TCP connection being associated with a socket and a first application in the computer that sends and receives application layer messages;
B. determine whether to minify the particular TCP connection, based at least in part on any of: client device attributes, client device behavior;
C. upon a determination to minify the particular TCP connection:
i) minify the particular TCP connection, wherein the minification comprises:
(a) the first application making a call to a kernel of the operating system, the call being to minify the particular TCP connection;
(b) the kernel transferring the particular TCP connection to a surrogate, the surrogate comprising a second application and a module in the kernel;
(c) both the first application and the kernel reducing memory allocated to the particular TCP connection;
ii) after the minification, the module in the kernel intercept packets pertaining to the particular TCP connection in a queuing layer.
65. The apparatus of claim 64, wherein the queuing layer resides below a TCP/IP layer in the kernel.
66. The apparatus of claim 64, wherein the module in the kernel intercepts the packets in the queuing layer before the packets reach a TCP/IP layer.
67. The apparatus of claim 64, wherein the minification comprises the kernel reducing memory by deleting any of state information for the TCP connection, and send/receive buffers.
68. The apparatus of claim 64, wherein the second application provides a service interface for retrieving connection statistics.
69. The apparatus of claim 64, wherein the module implements logic to engage the client device via the TCP connection.
70. The apparatus of claim 64, further comprising the surrogate dropping the TCP connection to the client after a configured time period.
71. The apparatus of claim 64, wherein the determination whether to minify the particular TCP connection includes a determination that the client is conducting an attack against the computer.
US15/462,802 2012-10-04 2017-03-18 Server with queuing layer mechanism for changing treatment of client connections Active US9794282B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/462,802 US9794282B1 (en) 2012-10-04 2017-03-18 Server with queuing layer mechanism for changing treatment of client connections

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
US201261709370P 2012-10-04 2012-10-04
US13/837,140 US8875287B2 (en) 2012-10-04 2013-03-15 Server with mechanism for reducing internal resources associated with a selected client connection
US14/521,370 US9525701B2 (en) 2012-10-04 2014-10-22 Server with mechanism for changing treatment of client connections determined to be related to attacks
US15/253,059 US9634957B2 (en) 2012-10-04 2016-08-31 Systems and methods for reducing server resources associated with a client connection
US15/462,802 US9794282B1 (en) 2012-10-04 2017-03-18 Server with queuing layer mechanism for changing treatment of client connections

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US15/253,059 Continuation US9634957B2 (en) 2012-10-04 2016-08-31 Systems and methods for reducing server resources associated with a client connection

Publications (2)

Publication Number Publication Date
US9794282B1 US9794282B1 (en) 2017-10-17
US20170302585A1 true US20170302585A1 (en) 2017-10-19

Family

ID=50433851

Family Applications (4)

Application Number Title Priority Date Filing Date
US13/837,140 Active US8875287B2 (en) 2012-10-04 2013-03-15 Server with mechanism for reducing internal resources associated with a selected client connection
US14/521,370 Active US9525701B2 (en) 2012-10-04 2014-10-22 Server with mechanism for changing treatment of client connections determined to be related to attacks
US15/253,059 Active US9634957B2 (en) 2012-10-04 2016-08-31 Systems and methods for reducing server resources associated with a client connection
US15/462,802 Active US9794282B1 (en) 2012-10-04 2017-03-18 Server with queuing layer mechanism for changing treatment of client connections

Family Applications Before (3)

Application Number Title Priority Date Filing Date
US13/837,140 Active US8875287B2 (en) 2012-10-04 2013-03-15 Server with mechanism for reducing internal resources associated with a selected client connection
US14/521,370 Active US9525701B2 (en) 2012-10-04 2014-10-22 Server with mechanism for changing treatment of client connections determined to be related to attacks
US15/253,059 Active US9634957B2 (en) 2012-10-04 2016-08-31 Systems and methods for reducing server resources associated with a client connection

Country Status (3)

Country Link
US (4) US8875287B2 (en)
EP (1) EP2904539B1 (en)
WO (1) WO2014055337A1 (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130097358A (en) * 2012-02-24 2013-09-03 삼성전자주식회사 Method for providing direct push e-mail service and an e-mail client and an e-mail server threrfor
US8875287B2 (en) 2012-10-04 2014-10-28 Akamai Technologies, Inc. Server with mechanism for reducing internal resources associated with a selected client connection
US9518980B2 (en) * 2012-10-10 2016-12-13 Howard Hughes Medical Institute Genetically encoded calcium indicators
US9900408B2 (en) * 2012-11-08 2018-02-20 At&T Intellectual Property I, L.P. Delivery of media content to a media device via multiple data packet streams
US9866655B2 (en) 2014-03-31 2018-01-09 Akamai Technologies, Inc. Server initiated multipath content delivery
CN103957284B (en) * 2014-04-04 2015-09-09 北京奇虎科技有限公司 The processing method of DNS behavior, Apparatus and system
US9954816B2 (en) * 2015-11-02 2018-04-24 Nominum, Inc. Delegation of content delivery to a local service
CN113259415B (en) 2016-07-30 2023-03-10 华为技术有限公司 Network message processing method and device and network server
US9667619B1 (en) 2016-10-14 2017-05-30 Akamai Technologies, Inc. Systems and methods for utilizing client side authentication to select services available at a given port number
US11088940B2 (en) 2017-03-07 2021-08-10 Akamai Technologies, Inc. Cooperative multipath
CN110120932B (en) * 2018-02-06 2020-10-23 华为技术有限公司 Multipath establishing method and device
US10931695B2 (en) 2018-08-22 2021-02-23 Akamai Technologies, Inc. Nonce injection and observation system for detecting eavesdroppers
US12069092B2 (en) * 2018-10-30 2024-08-20 Charter Communications Operating, Llc Network security attack detection and mitigation solution using honeypots
US10917857B2 (en) * 2019-04-18 2021-02-09 Comcast Cable Communications, Llc Methods and systems for wireless communication
AU2021347266A1 (en) 2020-09-23 2023-05-25 Howard Hughes Medical Institute GENETICALLY ENCODED CALCIUM INDICATORS (GECIs) AND METHODS OF MAKING AND USING
US11489815B2 (en) * 2021-02-21 2022-11-01 Path Network Inc. Methods and systems for synchronizing state amongst monitoring nodes

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6377994B1 (en) * 1996-04-15 2002-04-23 International Business Machines Corporation Method and apparatus for controlling server access to a resource in a client/server system
US20030145226A1 (en) * 2002-01-28 2003-07-31 International Business Machines Corporation Integrated intrusion detection services
US20060101514A1 (en) * 2004-11-08 2006-05-11 Scott Milener Method and apparatus for look-ahead security scanning
US20060143620A1 (en) * 2004-12-29 2006-06-29 Kim Elms Object space with active objects
US20060272025A1 (en) * 2005-05-26 2006-11-30 Nokia Corporation Processing of packet data in a communication system
US20080256623A1 (en) * 2007-03-09 2008-10-16 Worley William S Method and system for protecting a computer system from denial-of-service attacks and other deleterious resource-draining phenomena related to communications
US20090007266A1 (en) * 2007-06-29 2009-01-01 Reti Corporation Adaptive Defense System Against Network Attacks
US20090049552A1 (en) * 2005-09-16 2009-02-19 Sana Security Method and Apparatus for Removing Harmful Software
US20090172162A1 (en) * 2008-01-02 2009-07-02 Stephen Wood Method of throttling unwanted network traffic on a server
US20100131673A1 (en) * 2002-05-23 2010-05-27 New York University System and method for distributing foveated data in a network
US20100281539A1 (en) * 2009-04-29 2010-11-04 Juniper Networks, Inc. Detecting malicious network software agents
US20110035802A1 (en) * 2009-08-07 2011-02-10 Microsoft Corporation Representing virtual object priority based on relationships
US20110246936A1 (en) * 2010-04-06 2011-10-06 F-Secure Corporation Program removal
US20110320617A1 (en) * 2010-06-24 2011-12-29 Saravanakumar Annamalaisami Systems and methods for detecting incomplete requests, tcp timeouts and application timeouts
US20120117267A1 (en) * 2010-04-01 2012-05-10 Lee Hahn Holloway Internet-based proxy service to limit internet visitor connection speed
US20120311705A1 (en) * 2005-05-03 2012-12-06 Mcafee, Inc. System, method, and computer program product for presenting an indicia of risk reflecting an analysis associated with search results within a graphical user interface
US9391832B1 (en) * 2011-12-05 2016-07-12 Menlo Security, Inc. Secure surrogate cloud browsing

Family Cites Families (41)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5774660A (en) 1996-08-05 1998-06-30 Resonate, Inc. World-wide-web server with delayed resource-binding for resource-based load balancing on a distributed resource multi-node network
US6182139B1 (en) 1996-08-05 2001-01-30 Resonate Inc. Client-side resource-based load-balancing with delayed-resource-binding using TCP state migration to WWW server farm
US6108703A (en) 1998-07-14 2000-08-22 Massachusetts Institute Of Technology Global hosting system
KR100668207B1 (en) 1999-12-13 2007-01-11 주식회사 케이티 Method For User Admission Control Based On Run-Time Resource Measurements
US6665726B1 (en) 2000-01-06 2003-12-16 Akamai Technologies, Inc. Method and system for fault tolerant media streaming over the internet
US6820133B1 (en) 2000-02-07 2004-11-16 Netli, Inc. System and method for high-performance delivery of web content using high-performance communications protocol between the first and second specialized intermediate nodes to optimize a measure of communications performance between the source and the destination
US7240100B1 (en) 2000-04-14 2007-07-03 Akamai Technologies, Inc. Content delivery network (CDN) content server request handling mechanism with metadata framework support
US6996616B1 (en) 2000-04-17 2006-02-07 Akamai Technologies, Inc. HTML delivery from edge-of-network servers in a content delivery network (CDN)
US7111057B1 (en) 2000-10-31 2006-09-19 Akamai Technologies, Inc. Method and system for purging content from a content delivery network
US7274658B2 (en) 2001-03-01 2007-09-25 Akamai Technologies, Inc. Optimal route selection in a content delivery network
US7340505B2 (en) 2001-04-02 2008-03-04 Akamai Technologies, Inc. Content storage and replication in a managed internet content storage environment
US7607062B2 (en) 2002-03-25 2009-10-20 Akamai Technologies, Inc. System for fast recovery from losses for reliable data communication protocols
US7133905B2 (en) 2002-04-09 2006-11-07 Akamai Technologies, Inc. Method and system for tiered distribution in a content delivery network
US7353538B2 (en) 2002-11-08 2008-04-01 Federal Network Systems Llc Server resource management, analysis, and intrusion negation
US7373416B2 (en) 2003-04-24 2008-05-13 Akamai Technologies, Inc. Method and system for constraining server usage in a distributed network
US8423662B1 (en) 2003-04-28 2013-04-16 Akamai Technologies, Inc. Forward request queuing in a distributed edge processing environment
US8473635B1 (en) 2003-05-19 2013-06-25 Akamai Technologies, Inc. Provisioning tool for a distributed computer network
DE602004011689T2 (en) 2004-04-14 2009-02-05 Telecom Italia S.P.A. Method and system for handling the transmission of content in communication networks
US7362705B2 (en) 2004-05-13 2008-04-22 International Business Machines Corporation Dynamic load-based credit distribution
US7478429B2 (en) 2004-10-01 2009-01-13 Prolexic Technologies, Inc. Network overload detection and mitigation system and method
US8145908B1 (en) 2004-10-29 2012-03-27 Akamai Technologies, Inc. Web content defacement protection system
US7356545B2 (en) * 2004-12-22 2008-04-08 Oracle International Corporation Enabling relational databases to incorporate customized intrusion prevention policies
US7607170B2 (en) * 2004-12-22 2009-10-20 Radware Ltd. Stateful attack protection
US7636323B2 (en) * 2005-06-14 2009-12-22 Broadcom Corporation Method and system for handling connection setup in a network
US7660296B2 (en) 2005-12-30 2010-02-09 Akamai Technologies, Inc. Reliable, high-throughput, high-performance transport and routing mechanism for arbitrary data flows
US20070226375A1 (en) 2006-03-23 2007-09-27 Chu Hsiao-Keng J Plug-in architecture for a network stack in an operating system
EP2069950A4 (en) 2006-09-13 2017-06-21 Asankya Networks, Inc. Systems and methods of improving performance of transport protocols in a multi-path environment
US8079076B2 (en) * 2006-11-02 2011-12-13 Cisco Technology, Inc. Detecting stolen authentication cookie attacks
US7701856B2 (en) 2006-12-14 2010-04-20 Oracle America, Inc. Method and system for bi-level congestion control for multipath transport
US7872975B2 (en) 2007-03-26 2011-01-18 Microsoft Corporation File server pipelining with denial of service mitigation
US9537967B2 (en) 2009-08-17 2017-01-03 Akamai Technologies, Inc. Method and system for HTTP-based stream delivery
KR20110028106A (en) 2009-09-11 2011-03-17 한국전자통신연구원 Apparatus for controlling distribute denial of service attack traffic based on source ip history and method thereof
KR101077135B1 (en) 2009-10-22 2011-10-26 한국인터넷진흥원 Apparatus for detecting and filtering application layer DDoS Attack of web service
US8458769B2 (en) 2009-12-12 2013-06-04 Akamai Technologies, Inc. Cloud based firewall system and service
US8400923B2 (en) 2010-10-15 2013-03-19 Telefonaktiebolaget L M Ericsson (Publ) Multipath transmission control protocol proxy
US20120150993A1 (en) 2010-10-29 2012-06-14 Akamai Technologies, Inc. Assisted delivery of content adapted for a requesting client
US20120265853A1 (en) 2010-12-17 2012-10-18 Akamai Technologies, Inc. Format-agnostic streaming architecture using an http network for streaming
US8688817B2 (en) 2011-03-14 2014-04-01 Edgecast Networks, Inc. Network connection hand-off using state transformations
US20130254260A1 (en) 2012-03-22 2013-09-26 Akamai Technologies Inc. Network threat assessment system with servers performing message exchange accounting
US8875287B2 (en) 2012-10-04 2014-10-28 Akamai Technologies, Inc. Server with mechanism for reducing internal resources associated with a selected client connection
US20150281367A1 (en) 2014-03-26 2015-10-01 Akamai Technologies, Inc. Multipath tcp techniques for distributed computing systems

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6377994B1 (en) * 1996-04-15 2002-04-23 International Business Machines Corporation Method and apparatus for controlling server access to a resource in a client/server system
US20030145226A1 (en) * 2002-01-28 2003-07-31 International Business Machines Corporation Integrated intrusion detection services
US20100131673A1 (en) * 2002-05-23 2010-05-27 New York University System and method for distributing foveated data in a network
US20060101514A1 (en) * 2004-11-08 2006-05-11 Scott Milener Method and apparatus for look-ahead security scanning
US20060143620A1 (en) * 2004-12-29 2006-06-29 Kim Elms Object space with active objects
US20120311705A1 (en) * 2005-05-03 2012-12-06 Mcafee, Inc. System, method, and computer program product for presenting an indicia of risk reflecting an analysis associated with search results within a graphical user interface
US20060272025A1 (en) * 2005-05-26 2006-11-30 Nokia Corporation Processing of packet data in a communication system
US20090049552A1 (en) * 2005-09-16 2009-02-19 Sana Security Method and Apparatus for Removing Harmful Software
US20080256623A1 (en) * 2007-03-09 2008-10-16 Worley William S Method and system for protecting a computer system from denial-of-service attacks and other deleterious resource-draining phenomena related to communications
US20090007266A1 (en) * 2007-06-29 2009-01-01 Reti Corporation Adaptive Defense System Against Network Attacks
US20090172162A1 (en) * 2008-01-02 2009-07-02 Stephen Wood Method of throttling unwanted network traffic on a server
US20100281539A1 (en) * 2009-04-29 2010-11-04 Juniper Networks, Inc. Detecting malicious network software agents
US20110035802A1 (en) * 2009-08-07 2011-02-10 Microsoft Corporation Representing virtual object priority based on relationships
US20120117267A1 (en) * 2010-04-01 2012-05-10 Lee Hahn Holloway Internet-based proxy service to limit internet visitor connection speed
US20110246936A1 (en) * 2010-04-06 2011-10-06 F-Secure Corporation Program removal
US20110320617A1 (en) * 2010-06-24 2011-12-29 Saravanakumar Annamalaisami Systems and methods for detecting incomplete requests, tcp timeouts and application timeouts
US9391832B1 (en) * 2011-12-05 2016-07-12 Menlo Security, Inc. Secure surrogate cloud browsing

Also Published As

Publication number Publication date
US20150040221A1 (en) 2015-02-05
WO2014055337A1 (en) 2014-04-10
US9525701B2 (en) 2016-12-20
US9634957B2 (en) 2017-04-25
US9794282B1 (en) 2017-10-17
US20140101758A1 (en) 2014-04-10
US20160373371A1 (en) 2016-12-22
EP2904539B1 (en) 2020-09-23
EP2904539A4 (en) 2016-03-30
US8875287B2 (en) 2014-10-28
EP2904539A1 (en) 2015-08-12

Similar Documents

Publication Publication Date Title
US9794282B1 (en) Server with queuing layer mechanism for changing treatment of client connections
US10091237B2 (en) Systems and methods for network access control
US10193911B2 (en) Techniques for automatically mitigating denial of service attacks via attack pattern matching
US8856913B2 (en) Method and protection system for mitigating slow HTTP attacks using rate and time monitoring
US9838421B2 (en) Systems and methods utilizing peer measurements to detect and defend against distributed denial of service attacks
US8677473B2 (en) Network intrusion protection
US10666680B2 (en) Service overload attack protection based on selective packet transmission
US10552417B2 (en) System and methods for leveraging an object cache to monitor network traffic
Choi Implementation of content-oriented networking architecture (CONA): a focus on DDoS countermeasure
JP2024020524A (en) Methods and systems for efficient cyber protections of mobile devices
WO2017088397A1 (en) Ddos attack protection method and system for cdn server group
US20180183830A1 (en) Method and system for detecting and mitigating denial-of-service attacks
US9306957B2 (en) Proactive security system for distributed computer networks
François et al. Network security through software defined networking: a survey
Arafat et al. A practical approach and mitigation techniques on application layer DDoS attack in web server
US20170149821A1 (en) Method And System For Protection From DDoS Attack For CDN Server Group
Beckett et al. HTTP/2 Cannon: Experimental analysis on HTTP/1 and HTTP/2 request flood DDoS attacks
Boteanu et al. A comprehensive study of queue management as a DoS counter-measure
Nguyen et al. Abusing TCP retransmission for DoS Attack inside virtual network
Song et al. Two types of novel dos attacks against cdns based on http/2 flow control mechanism
Bonafiglia et al. Enforcement of dynamic HTTP policies on resource-constrained residential gateways
Lin et al. Unveiling the Bandwidth Nightmare: CDN Compression Format Conversion Attacks
CN116015841A (en) Message processing method, device, equipment and storage medium
Shafiq et al. Detection and prevention of distributed denial of services attacks by collaborative effort of software agents, first prototype implementation
Lin et al. CDN Cannon: Exploiting CDN Back-to-Origin Strategies for Amplification Attacks

Legal Events

Date Code Title Description
AS Assignment

Owner name: AKAMAI TECHNOLOGIES, INC., MASSACHUSETTS

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:LUDIN, STEPHEN L.;LISIECKI, PHILIP A.;NYGREN, ERIK;AND OTHERS;SIGNING DATES FROM 20130418 TO 20130426;REEL/FRAME:041652/0001

STCF Information on status: patent grant

Free format text: PATENTED CASE

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 4TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1551); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Year of fee payment: 4