[PR #78] 1.4.0 #292

Open
opened 2026-05-03 02:04:24 -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: 🔄 Open

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 (+3490 additions, -82 deletions)

View changed files

.github/CODEOWNERS (+1 -0)
📝 .github/workflows/test.yml (+1 -1)
📝 README.md (+18 -0)
docs/observability.md (+269 -0)
examples/otel-collector-config.yaml (+46 -0)
examples/prometheus.yml (+24 -0)
📝 go.mod (+29 -2)
📝 go.sum (+71 -2)
internal/metrics/metrics.go (+506 -0)
internal/metrics/metrics_test.go (+258 -0)
internal/observability/config.go (+119 -0)
internal/observability/metrics.go (+152 -0)
internal/observability/metrics_test.go (+198 -0)
internal/observability/noop.go (+71 -0)
internal/observability/noop_test.go (+67 -0)
internal/observability/otel/backend.go (+210 -0)
internal/observability/otel/backend_test.go (+141 -0)
internal/observability/otel/exporter.go (+50 -0)
internal/observability/otel/resource.go (+25 -0)
internal/observability/prometheus/backend.go (+185 -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:** 🔄 Open **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** (+3490 additions, -82 deletions) <details> <summary>View changed files</summary> ➕ `.github/CODEOWNERS` (+1 -0) 📝 `.github/workflows/test.yml` (+1 -1) 📝 `README.md` (+18 -0) ➕ `docs/observability.md` (+269 -0) ➕ `examples/otel-collector-config.yaml` (+46 -0) ➕ `examples/prometheus.yml` (+24 -0) 📝 `go.mod` (+29 -2) 📝 `go.sum` (+71 -2) ➕ `internal/metrics/metrics.go` (+506 -0) ➕ `internal/metrics/metrics_test.go` (+258 -0) ➕ `internal/observability/config.go` (+119 -0) ➕ `internal/observability/metrics.go` (+152 -0) ➕ `internal/observability/metrics_test.go` (+198 -0) ➕ `internal/observability/noop.go` (+71 -0) ➕ `internal/observability/noop_test.go` (+67 -0) ➕ `internal/observability/otel/backend.go` (+210 -0) ➕ `internal/observability/otel/backend_test.go` (+141 -0) ➕ `internal/observability/otel/exporter.go` (+50 -0) ➕ `internal/observability/otel/resource.go` (+25 -0) ➕ `internal/observability/prometheus/backend.go` (+185 -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-05-03 02:04:24 -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#292