From: "H. Peter Anvin" <hpa@zytor.com>
To: Git Mailing List <git@vger.kernel.org>
Cc: ftpadmin <ftpadmin@kernel.org>
Subject: Corporate firewall braindamage
Date: Thu, 10 Apr 2008 14:11:19 -0700 [thread overview]
Message-ID: <47FE8277.8070503@zytor.com> (raw)
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
next reply other threads:[~2008-04-10 21:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-10 21:11 H. Peter Anvin [this message]
2008-04-10 23:14 ` Corporate firewall braindamage 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47FE8277.8070503@zytor.com \
--to=hpa@zytor.com \
--cc=ftpadmin@kernel.org \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).