Files
git/Documentation
Junio C Hamano 93741e4a91 daemon: --access-hook option
The --access-hook option to "git daemon" specifies an external
command to be run every time a client connects, with

 - service name (e.g. "upload-pack", etc.),
 - path to the repository,
 - hostname (%H),
 - canonical hostname (%CH),
 - ip address (%IP),
 - tcp port (%P)

as its command line arguments.  The external command can decide to
decline the service by exiting with a non-zero status (or to allow it
by exiting with a zero status).  It can also look at the $REMOTE_ADDR
and $REMOTE_PORT environment variables to learn about the requestor
when making this decision.

The external command can optionally write a single line to its
standard output to be sent to the requestor as an error message when
it declines the service.

Acked-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2012-08-15 11:01:55 -07:00
..
2011-08-08 09:30:12 -07:00
2012-01-10 14:46:22 -08:00
2011-11-08 16:38:14 -08:00
2012-08-15 11:01:55 -07:00
2011-12-22 11:27:27 -08:00
2011-08-30 12:35:51 -07:00
2011-12-12 11:52:31 -08:00
2012-01-03 14:10:03 -08:00
2011-09-06 11:42:12 -07:00
2011-05-19 10:55:54 -07:00
2011-03-11 10:59:16 -05:00
2012-01-06 12:44:07 -08:00
2012-01-27 11:31:02 -08:00
2010-07-05 13:39:02 -07:00
2010-07-20 16:59:17 -07:00