• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pires / go-proxyproto
96%
master: 95%

Build:
Build:
LAST BUILD BRANCH: 4in6
DEFAULT BRANCH: master
Repo Added 26 Aug 2016 08:56PM UTC
Files 8
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH 4in6
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • 4in6
  • add-trust-proxy-header-from
  • bugfix/fix-godoc-default-text
  • bugfix/reset_conn_read_deadline_after_successful_header
  • bump-buf-size
  • client-cert
  • cm-fix-v1-tcp6-ipv4-addr
  • complete_pr36
  • dependabot/go_modules/golang.org/x/net-0.17.0
  • dependabot/go_modules/golang.org/x/net-0.23.0
  • dependabot/go_modules/golang.org/x/net-0.36.0
  • dependabot/go_modules/golang.org/x/net-0.38.0
  • doc/license
  • dynamic-buffer-size
  • feat/go_1.24
  • feat/keep_listening_when_upstream_not_trusted
  • feature/bump_coveralls
  • feature/go_1.15
  • feature/proxy_unknown
  • fix-test-len
  • fix/go_1.20_lint
  • fmt
  • gofmt
  • h2-conn-context
  • h2-err-server-closed
  • large-tlv
  • main
  • master
  • multireader-buf-truncation
  • nil-panic-test
  • pires/auto_release
  • pires/feat/bump_go
  • pires/feat/client_provided__buffer_size
  • pires/feat/dinamically_grow_header_buffer
  • pires/feat/go_1.26
  • pires/feat/linter_modernize
  • pires/feat/replace_policyfunc_with_connpolicyfunc
  • pires/feat/wrap_errors
  • pires/fix/buffer_header_only
  • pires/fix/duplicated_ci_checks
  • pires/fix/emersion-h2-conn-context
  • pires/fix/http2_nil_connctx_panics
  • pires/fix/readme_coveralls_badge
  • pires/fix/respect_deadlines
  • pires/fix/test_local
  • pires/fix/tests_cleanup
  • pires/pr_2_rework
  • pr_4
  • prepare_release
  • refs/tags/0.1.0
  • refs/tags/0.1.1
  • refs/tags/0.1.2
  • refs/tags/0.2.0
  • refs/tags/0.3.0
  • refs/tags/v0.0.0-alpha
  • refs/tags/v0.1.3
  • refs/tags/v0.2.0
  • refs/tags/v0.3.0
  • refs/tags/v0.3.1
  • refs/tags/v0.3.2
  • refs/tags/v0.3.3
  • refs/tags/v0.4.0
  • refs/tags/v0.4.1
  • refs/tags/v0.4.2
  • refs/tags/v0.5.0
  • refs/tags/v0.6.0
  • refs/tags/v0.6.1
  • refs/tags/v0.7.0
  • refs/tags/v0.8.0
  • refs/tags/v0.8.1
  • refs/tags/v0.9.0
  • refs/tags/v0.9.1
  • refs/tags/v0.9.2
  • steven-tlvs
  • tests/dedupe-protocol-test
  • unnecessary-limited-reader

22 Jun 2026 12:40PM UTC coverage: 95.918%. First build
27953320051

Pull #169

github

rbqvq
header: fallback to IPv6 when source and destination IP versions mismatch

The previous logic only checked the source IP version, which could
lead to incorrect protocol family assignment if the destination IP
used a different version.

This change ensures that TCPv6/UDPv6 is used if either address is IPv6.

The IPv4 address will be format as IPv4-mapped IPv6 address.

Signed-off-by: Coia Prant <coiaprant@gmail.com>
Pull Request #169: Improve IP address handling for v1 and version detection

18 of 18 new or added lines in 2 files covered. (100.0%)

1034 of 1078 relevant lines covered (95.92%)

59.35 hits per line

Relevant lines Covered
Build:
Build:
1078 RELEVANT LINES 1034 COVERED LINES
59.35 HITS PER LINE
Source Files on master
  • Tree
  • List 8
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
27953320051 4in6 header: fallback to IPv6 when source and destination IP versions mismatch The previous logic only checked the source IP version, which could lead to incorrect protocol family assignment if the destination IP used a different version. This change... Pull #169 22 Jun 2026 03:19PM UTC rbqvq github
95.92
27949095039 pires/fix/tests_cleanup lint: goconst on v12.x and newer is stricter Pull #172 22 Jun 2026 11:23AM UTC pires github
95.72
27942486523 tests/dedupe-protocol-test test: preserve unix-stream client close timing in runClient conversion Code review caught that TestParse_unixStream's original client closed its connection via defer the instant the goroutine returned (right after the ping/pong exchange), whereas... Pull #170 22 Jun 2026 09:27AM UTC Cedric Wang github
95.72
26928785866 tests/dedupe-protocol-test test: preserve unix-stream client close timing in runClient conversion Code review caught that TestParse_unixStream's original client closed its connection via defer the instant the goroutine returned (right after the ping/pong exchange), whereas... Pull #170 06 Jun 2026 02:07PM UTC Cedric Wang github
95.9
24414986417 cm-fix-v1-tcp6-ipv4-addr fix(v1): address PR review feedback for TCP6 IPv4 handling - Add spec-departure and lossy-conversion comments per reviewer - Refactor Is4() branch to use netip.AddrFrom16 for consistency - Remove duplicate test fixtures (TCP4 simple, TCP6 loopbac... Pull #167 14 Apr 2026 06:56PM UTC cmarker-gl github
95.72
24413708271 cm-fix-v1-tcp6-ipv4-addr fix(examples): suppress gosec G706 false positive in httpserver The remote address is logged intentionally in this example server. Pull #167 14 Apr 2026 06:00PM UTC cmarker-gl github
95.88
23261546213 cm-fix-v1-tcp6-ipv4-addr v1: accept plain IPv4 addresses in TCP6 headers Pull #167 23 Mar 2026 01:05PM UTC cmarker-gl github
95.88
21901912231 pires/feat/go_1.26 build: drop Go 1.24 (EOL) in favor of 1.26 Pull #166 11 Feb 2026 10:43AM UTC pires github
95.86
21750213106 pires/fix/http2_nil_connctx_panics http2,tests: undo changes related to ExampleServer Pull #164 06 Feb 2026 12:15PM UTC pires github
96.04
21750070695 pires/fix/http2_nil_connctx_panics http2,tests: reduce duplicated server setup logic Pull #164 06 Feb 2026 12:10PM UTC pires github
96.04
See All Builds (397)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc