HTTP Tunnel - HTTP CONNECT Tunneling

HTTP CONNECT Tunneling

A variation of HTTP tunneling when behind an HTTP Proxy Server is to use the "CONNECT" HTTP method.

In this mechanism, the client asks an HTTP Proxy server to forward the TCP connection to the desired destination using the "CONNECT" HTTP method. The server then proceeds to make the connection on behalf of the client. Once the connection has been established by the server, the Proxy server continues to proxy the TCP stream to and from the client. Note that only the initial connection request is HTTP - after that, the server simply proxies the established TCP connection.

This mechanism is how a client behind an HTTP proxy can access websites using SSL (i.e. HTTPS).

Not all HTTP Proxy Servers support this feature, and even those that do may limit the behaviour (for example only allowing connections to the default HTTPS port 443, or blocking traffic which doesn't appear to be SSL).

Read more about this topic:  HTTP Tunnel

Famous quotes containing the words connect and/or tunneling:

    Such were the first rude beginnings of a town. They spoke of the practicability of a winter road to the Moosehead Carry, which would not cost much, and would connect them with steam and staging and all the busy world. I almost doubted if the lake would be there,—the self-same lake,—preserve its form and identity, when the shores should be cleared and settled; as if these lakes and streams which explorers report never awaited the advent of the citizen.
    Henry David Thoreau (1817–1862)

    Our major universities are now stuck with an army of pedestrian, toadying careerists, Fifties types who wave around Sixties banners to conceal their record of ruthless, beaverlike tunneling to the top.
    Camille Paglia (b. 1947)