git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git daemon inetd mode: need traffic statistics

From
Robin H. Johnson <robbat2@gentoo.org>
Date
Sep 26, 2022, 04:21 UTC
Message-ID
<robbat2-20220926T041714-401286569Z@orbis-terrarum.net>

Has anybody got patchsets that let git-daemon send traffic data (to syslog) at the end of each request, about the peer, and how many bytes in each direction?

Hoping somebody has something useful to share that isn't coming up in my research.

Gentoo's seeing a big uptick in usage on the anonymous git daemons via xinetd (we do offer HTTP/HTTPS as well, but the growth is in http).

I know it's via the git/9418 protocol because the HTTP traffic is well-metered and hasn't grown, and the overall traffic to the hosts also grew. This is confirmed by using Netflow data, which tells me it's the Git port, and some of the IPs, but doesn't let me get which repo directly (And processing the netflow data is also painful).

-- 
Robin Hugh Johnson
Gentoo Linux: Dev, Infra Lead, Foundation Treasurer
E-Mail   : robbat2@gentoo.org
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136
Next: brian m. carlson
Message 1 of 2 in “git daemon inetd mode: need traffic statistics”
  1. Robin H. JohnsonSep 26, 2022
  2. brian m. carlsonSep 27, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.