git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Corporate firewall braindamage
@ 2008-04-10 21:11 H. Peter Anvin
  2008-04-10 23:14 ` Junio C Hamano
  0 siblings, 1 reply; 6+ messages in thread
From: H. Peter Anvin @ 2008-04-10 21:11 UTC (permalink / raw)
  To: Git Mailing List; +Cc: ftpadmin

The apparent commonality of corporate firewall braindamage, and the 
resulting "need" of people to pull over dumb (http) transport, is an 
ongoing problem on kernel.org.

I have thought some about what can be done to improve the situation, and 
I have come up with the following list of possibilities, pretty much 
listed in order from easiest and least generic to hardest and most generic.

It would be very interesting if people who have familiarity with this 
particular class of braindamaged firewalls could comment on how many 
users would be helped by which ones of these solutions.


1. git protocol via CONNECT http proxy

    Connect to http proxy, and use a CONNECT method to establish a link
    to the git server, using the normal git protocol.

    Minor change to TCP connection setup, but no other changes needed.
    No changes on the server side.


2. git protocol over SSL via CONNECT http proxy

    Same as #1, but encapsulate the data stream in an SSL connection.
    If the git server is run on port 443, then the fact that the data
    on the SSL connection isn't actually HTTP should be invisible to the
    proxy, and thus this *should* work anywhere which allows https://
    traffic.

    Requires the git server to speak SSL.


3. git protocol encapsulated in HTTP POST transaction

    git protocol is already fundamentally a RPC protocol, where the
    client sends a query and the server responds.  Furthermore, it
    tries to minimize the number of round trips (RPC calls), which is
    of course desirable.

    Each such RPC transaction could be formulated as an HTTP POST
    transaction.

    This requires modifications to both the client and the server;
    furthermore, the server can no longer rely on the invariant "one TCP
    connection == one session"; a proxy might break a single session
    into arbitrarily many TCP connections.

Thoughts?

	-hpa

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-04-11  8:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-10 21:11 Corporate firewall braindamage H. Peter Anvin
2008-04-10 23:14 ` Junio C Hamano
2008-04-10 23:33   ` Shawn O. Pearce
2008-04-10 23:50     ` H. Peter Anvin
2008-04-11  1:03       ` H. Peter Anvin
2008-04-11  8:25   ` david

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).