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

Re: Spying on svnserve

From: Kip Warner <Kip_at_TheVertigo.com>
Date: 2006-10-22 23:11:18 CEST

On Sun, 2006-22-10 at 12:55 -0500, Ryan Schmidt wrote:
> On Oct 22, 2006, at 12:26, Kevin Greiner wrote:
>
> > On 10/21/06, Kip Warner wrote:
> >
> >> Is there any further way that someone creative might come up with to
> >> find out or log who (user) is connecting from where (ip address) and
> >> what they are doing (commit, checkout, etc.)? I would like to be
> >> able to
> >> do this without installing Apache.
> >
> > Have you thought about using hooks to write or append to a log
> > file? Chapter 5 of the Subversion book contains a section on hooks
> > for committing, change revprops, and modifying a file's lock
> > status. There aren't any plans to implement checkout or export
> > hooks though. See http://svn.haxx.se/dev/archive-2005-10/0920.shtml
> > for some details.
>
> Checkout, export and update hooks are available with my hook
> dispatcher script:
>
> http://www.ryandesign.com/svnhookdispatcher/
>
> It does require that you serve the repository using Apache though.
> This would also be somewhat backward: The Subversion Apache module as
> of Subversion 1.3 provides a high-level log; it is this log that my
> script uses to dispatch the extra hooks. So to use the hooks just to
> write a log file wouldn't be that sensible; you could just use the
> log that mod_dav_svn already provides.

Thanks Kevin. I will look into hook scripts for now.

-- 
Kip Warner
Vertigo
http://TheVertigo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Oct 22 23:12:07 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.