git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* The git protocol and DoS
@ 2005-10-19 20:00 H. Peter Anvin
  2005-10-19 20:50 ` Junio C Hamano
  2005-10-19 22:20 ` Petr Baudis
  0 siblings, 2 replies; 12+ messages in thread
From: H. Peter Anvin @ 2005-10-19 20:00 UTC (permalink / raw)
  To: Git Mailing List

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

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

end of thread, other threads:[~2005-10-20  8:16 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-19 20:00 The git protocol and DoS H. Peter Anvin
2005-10-19 20:50 ` 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

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).