• 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: 4in6
CHANGE BRANCH
x
Reset
  • 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 4in6
  • 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
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