[PR #78] [CLOSED] 1.4.0 #1199

Closed
opened 2026-07-14 19:53:20 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fosrl/gerbil/pull/78
Author: @oschwartz10612
Created: 5/1/2026
Status: Closed

Base: mainHead: dev


📝 Commits (10+)

  • b9261b8 Add optional tc
  • 7985f97 perf(relay): scale packet workers and queue depth for throughput
  • b118fef perf(relay): cache resolved UDP destinations with TTL
  • abc744c perf(relay): index WireGuard sessions by receiver index
  • c7d9c72 Add HTTP client reuse and buffer pooling for performance
  • a955aa6 Merge pull request #61 from LaurenceJJones/split/upstream-dev-relay-addr-cache
  • 20dad7b Merge pull request #60 from LaurenceJJones/split/upstream-dev-relay-worker-scaling
  • fcead8c Add rate limit to hole punch
  • 3af64d8 Merge branch 'dev' of github.com:fosrl/gerbil into dev
  • 40da387 Update logging

📊 Changes

24 files changed (+4358 additions, -86 deletions)

View changed files

.github/CODEOWNERS (+1 -0)
📝 .github/workflows/test.yml (+1 -1)
📝 README.md (+19 -1)
docs/observability.md (+273 -0)
examples/otel-collector-config.yaml (+47 -0)
examples/prometheus.yml (+24 -0)
📝 go.mod (+30 -3)
📝 go.sum (+73 -4)
internal/metrics/metrics.go (+908 -0)
internal/metrics/metrics_test.go (+262 -0)
internal/observability/config.go (+129 -0)
internal/observability/metrics.go (+153 -0)
internal/observability/metrics_test.go (+263 -0)
internal/observability/noop.go (+64 -0)
internal/observability/noop_test.go (+102 -0)
internal/observability/otel/backend.go (+309 -0)
internal/observability/otel/backend_test.go (+175 -0)
internal/observability/otel/exporter.go (+68 -0)
internal/observability/otel/resource.go (+25 -0)
internal/observability/prometheus/backend.go (+310 -0)

...and 4 more files

📄 Description

  • Add otel support
  • Add support for proxy protocol for client relay functionality to preserve functionality behind reverse proxies
  • perf(relay): scale packet workers and queue depth for throughput
  • perf(relay): index WireGuard sessions by receiver index
  • Add HTTP client reuse and buffer pooling for performance
  • Add optional rate limiting with tc
  • Add rate limiting on the hole punch endpoint

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/fosrl/gerbil/pull/78 **Author:** [@oschwartz10612](https://github.com/oschwartz10612) **Created:** 5/1/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `dev` --- ### 📝 Commits (10+) - [`b9261b8`](https://github.com/fosrl/gerbil/commit/b9261b8fea620d5254ecffee996d0ef88d4c9b1b) Add optional tc - [`7985f97`](https://github.com/fosrl/gerbil/commit/7985f97eb65d6f0289c32569402a70a5f6ff11b8) perf(relay): scale packet workers and queue depth for throughput - [`b118fef`](https://github.com/fosrl/gerbil/commit/b118fef2654c57be8870d772d629fa85040d720f) perf(relay): cache resolved UDP destinations with TTL - [`abc744c`](https://github.com/fosrl/gerbil/commit/abc744c647e7267f9bb161ffb1bf1a410a8ea3c5) perf(relay): index WireGuard sessions by receiver index - [`c7d9c72`](https://github.com/fosrl/gerbil/commit/c7d9c72f2937c3d8594eaf58694d7dd8bc55b6d9) Add HTTP client reuse and buffer pooling for performance - [`a955aa6`](https://github.com/fosrl/gerbil/commit/a955aa6169a5e0ae6f8cbe3753b6e1f5841f7d8b) Merge pull request #61 from LaurenceJJones/split/upstream-dev-relay-addr-cache - [`20dad7b`](https://github.com/fosrl/gerbil/commit/20dad7bb8e1ba0764fcb49afcfeb9e2df5368848) Merge pull request #60 from LaurenceJJones/split/upstream-dev-relay-worker-scaling - [`fcead8c`](https://github.com/fosrl/gerbil/commit/fcead8cc15c8f225a9b46138ea48ca6cdbff7b87) Add rate limit to hole punch - [`3af64d8`](https://github.com/fosrl/gerbil/commit/3af64d8bd3e8443d2066fb62962ce63afcbd0958) Merge branch 'dev' of github.com:fosrl/gerbil into dev - [`40da387`](https://github.com/fosrl/gerbil/commit/40da38708cd71fa266d146c3757d995d32b76ecc) Update logging ### 📊 Changes **24 files changed** (+4358 additions, -86 deletions) <details> <summary>View changed files</summary> ➕ `.github/CODEOWNERS` (+1 -0) 📝 `.github/workflows/test.yml` (+1 -1) 📝 `README.md` (+19 -1) ➕ `docs/observability.md` (+273 -0) ➕ `examples/otel-collector-config.yaml` (+47 -0) ➕ `examples/prometheus.yml` (+24 -0) 📝 `go.mod` (+30 -3) 📝 `go.sum` (+73 -4) ➕ `internal/metrics/metrics.go` (+908 -0) ➕ `internal/metrics/metrics_test.go` (+262 -0) ➕ `internal/observability/config.go` (+129 -0) ➕ `internal/observability/metrics.go` (+153 -0) ➕ `internal/observability/metrics_test.go` (+263 -0) ➕ `internal/observability/noop.go` (+64 -0) ➕ `internal/observability/noop_test.go` (+102 -0) ➕ `internal/observability/otel/backend.go` (+309 -0) ➕ `internal/observability/otel/backend_test.go` (+175 -0) ➕ `internal/observability/otel/exporter.go` (+68 -0) ➕ `internal/observability/otel/resource.go` (+25 -0) ➕ `internal/observability/prometheus/backend.go` (+310 -0) _...and 4 more files_ </details> ### 📄 Description * Add otel support * Add support for proxy protocol for client relay functionality to preserve functionality behind reverse proxies * perf(relay): scale packet workers and queue depth for throughput * perf(relay): index WireGuard sessions by receiver index * Add HTTP client reuse and buffer pooling for performance * Add optional rate limiting with tc * Add rate limiting on the hole punch endpoint --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-07-14 19:53:20 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gerbil#1199