git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: Git Mailing List <git@vger.kernel.org>
Subject: The git protocol and DoS
Date: Wed, 19 Oct 2005 13:00:05 -0700	[thread overview]
Message-ID: <4356A5C5.5080905@zytor.com> (raw)

I've been concerned for a while that the git protocol may be inherently 
vulnerable to a "SYNful DoS" attack (spraying raw TCP SYN packets with 
enough data to start substantial server activity.)  Although SYN cookies 
protect against this to some degree, it makes me wonder if something 
should be added to the protocol itself.

One way to do this would be to start the transaction by having the 
server transmit a cookie to the client, and to require the client to 
send a SHA1 of the (cookie + request) together with the request.  This 
would be done with a fairly short timeout.

It would, however, require a protocol change; I would like to hear what 
people think about this at this stac=ge.

	-hpa

             reply	other threads:[~2005-10-19 20:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-19 20:00 H. Peter Anvin [this message]
2005-10-19 20:50 ` The git protocol and DoS Junio C Hamano
2005-10-19 20:55   ` H. Peter Anvin
2005-10-19 21:06     ` Junio C Hamano
2005-10-19 21:59       ` H. Peter Anvin
2005-10-19 21:31     ` Linus Torvalds
2005-10-19 21:54       ` Junio C Hamano
2005-10-19 22:01         ` H. Peter Anvin
2005-10-19 22:20 ` Petr Baudis
2005-10-19 22:39   ` Tony Luck
2005-10-20  0:20   ` David Brown
2005-10-20  8:16   ` Andreas Ericsson

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=4356A5C5.5080905@zytor.com \
    --to=hpa@zytor.com \
    --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).