[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Denial of service using SVNServe on WinXp

From: Ayende Rahien <ayende_at_gmail.com>
Date: 2005-05-13 03:43:29 CEST

Here is the scenario, I've a WinXP Pro computer that I used to run SVN &
CruiseControl.Net. I started to get a lot of broken build emails, all of
them pointing the blame to SVN connectivity (the message was: "the target
machine actively refused the connection"). The CC.Net & SVN are on the same
machine.

After investigating a little bit, I found out that after a while, it seems
that all attempts to connect to the svnserve (which is running as a service
using svnservice) failed. Trying to test that, I wrote the following batch
script:

 

@echo off

set /a Count = 1

:start

echo Trying for the #%Count%

Set /A Count=%Count%+1

svn log -v -r "{2005-04-29T17:03:05Z}:{2005-05-01T06:30:16Z}" --xml
--non-interactive svn://localhost/nqa/ > recent%Count%.txt

if errorlevel = 1 goto exit

goto start

:exit

 

I run this thingie, and at iteration 1200 - 1500, I get a machine shutdown!

I mean a hard shutdown, the kind where you need to push the power button to
restart!

 

I've no idea what is causing this, but I'm able to reproduce it reliably.

There is nothing else that runs on this machine, btw.

 

Any ideas ??
Received on Fri May 13 02:46:21 2005

This is an archived mail posted to the Subversion Users mailing list.