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

Re: SVN Hook doesn't know client's IP Address?

From: David Weintraub <qazwart_at_gmail.com>
Date: Tue, 24 Feb 2009 13:28:42 -0500

The user who is running the hook script is available. Why do you need
the IP address?

Since you're using ssh, the whole conversation between you and the
user is encrypted, and you've already identified the user via name.
Are you trying to prevent commits if the user is located is not at a
particular IP address?

On Tue, Feb 24, 2009 at 11:28 AM, Mike Schilli <m_at_perlmeister.com> wrote:
> On Tue, 24 Feb 2009, Andy Levy wrote:
>
>> Hook scripts are executed in an empty or near-empty environment for
>> security purposes.
>
> I figured so much, but is there another way for a hook to log the
> client's IP address? For example, is there a way to configure the server
> to make an exception and pass SSH_CLIENT on to the hook?
>
> -- Mike
>
> Mike Schilli
> m_at_perlmeister.com
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1221390
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
>

-- 
--
David Weintraub
qazwart_at_gmail.com
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1221832
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-24 19:29:34 CET

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.