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

stripe / smokescreen
68%

Build:
DEFAULT BRANCH: master
Repo Added 10 Nov 2020 04:12PM UTC
Token p3r3qYDPNxVPUXqvYLjFKjFquJXwV6ERu regen
Build 1193 Last
Files 28
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 master
branch: master
CHANGE BRANCH
x
Reset
Sync Branches
  • master
  • acl-validate
  • allow-different-resolvers
  • allow-private-ranges-default-option
  • alternative-ip
  • anuragm/add-server-ip-headers
  • anuragm/print-more-error-details
  • arvan/v0.1.0-keep-accept-encoding
  • asawhney/validate-upstream-proxy-after-role
  • bump-goproxy
  • bump-gp-version
  • cds/bump-go-version.1
  • cds/bump-goproxy
  • cds/connection-timing
  • cds/fix-ca-tests
  • cds/fix-lookup-denials
  • cds/fix-shutdown-behavior
  • cds/fix-timeout-test
  • cds/go-1.15
  • cds/ipv4-only-lookups
  • cds/log-outbound-host
  • cds/per-conn-duration-metric
  • cds/smokescreen-metrics
  • cgnat-ssrf
  • client-timeout
  • cmoresco/bump
  • cmoresco/bump-statsd
  • cmoresco/config
  • cmoresco/conn-success
  • cmoresco/connstats
  • cmoresco/contributors
  • cmoresco/docs
  • cmoresco/docs-ip
  • cmoresco/export
  • cmoresco/hooks
  • cmoresco/interface
  • cmoresco/metrics-package
  • cmoresco/response
  • cmoresco/server
  • connect-local
  • conntrack-atomic-last-activity
  • conntrack-project-tag
  • cschen-conntrack-project-tag
  • denylist-log
  • dependabot/go_modules/github.com/sirupsen/logrus-1.9.1
  • dependabot/go_modules/golang.org/x/net-0.17.0
  • dependabot/go_modules/golang.org/x/net-0.23.0
  • dependabot/go_modules/google.golang.org/protobuf-1.33.0
  • dependabot/go_modules/gopkg.in/yaml.v2-2.2.8
  • dos-timeout
  • example-com
  • expose-resolver-request-context
  • feature/AddPrometheusMetrics
  • fishdev/add-cn-metric-tags
  • fix-crl-enforcement
  • fix-mitm-nil-url-panic
  • fix/acl-disabled-action-revalidation
  • fix/connect-timeout-default
  • fix/prometheus-listen-hardening
  • fix/rate-limit-default-burst
  • fix/rfc8215-nat64
  • fix/self-connection-any-port
  • flag
  • gauthamw/add-domain-ip-filter-bypass
  • gauthamw/add-ip-rule-precedence
  • gauthamw/bump-x-net-to-v0-62-0
  • gauthamw/container-releases
  • gauthamw/extract-ip-policies
  • gauthamw/fill-configuration-doc-gaps
  • gauthamw/fix-govulncheck-install
  • gauthamw/fix-issue-149
  • gauthamw/fix-nil-connection-error
  • gauthamw/fix-stats-server-shutdown
  • gauthamw/global-metric-tags
  • gauthamw/hermetic-ci-tests
  • gauthamw/hermetic-integration-tests
  • gauthamw/http-request-completion-logging
  • gauthamw/https-proxy
  • gauthamw/metric-name-overrides
  • gauthamw/metrics-tag-preparation-perf
  • gauthamw/modernize-ci
  • gauthamw/most-specific-ip-rules
  • gauthamw/pin-lint-go-1-27-1
  • gauthamw/prefix-test-acl-fixtures
  • gauthamw/prometheus-v2-metrics
  • gauthamw/protect-proxy-listener-from-self-connections
  • gauthamw/proxy-hooks
  • gauthamw/require-client-cert-with-client-ca
  • gauthamw/rotate-resolvers
  • gauthamw/smokescreen-cleanhttp
  • gauthamw/smokescreen-cli
  • gauthamw/smokescreen-datadog
  • gauthamw/smokescreen-godeps
  • gauthamw/smokescreen-logrus
  • gauthamw/smokescreen-prometheus
  • gauthamw/smokescreen-proxyproto
  • gauthamw/smokescreen-testify
  • gauthamw/smokescreen-version
  • gauthamw/smokescreen-xid
  • gauthamw/smokescreen-yaml
  • gauthamw/split-smokescreen-tests
  • gauthamw/update-staticcheck
  • gauthamw/vendor-goproxy-update
  • harden-release-publish-pipeline
  • harold/acl-connect-req-decide-args
  • harold/decide_interface
  • harold/goveralls-build
  • harold/mitm_support
  • harold/mitm_support_2
  • harold/update-build
  • harshalgainer/fix-crl-validation
  • idle-conn-fix
  • instrumented-conn-error-lock
  • jjiang-coverage-badge
  • jjiang-goveralls
  • jjiang-test
  • jjiang/fix-hostname
  • jjiang/fix-logging-addrs
  • jjiang/more-square-brackets
  • jjiang/normalize-hosts-in-acl-validation
  • jjiang/tag-based-metrics
  • kevinv/fix-test-map-keys
  • kevinv/tag-metrics-requested-host
  • lewandowski/connect-normalization
  • lewandowski/github-actions
  • lewandowski/idna
  • lewandowski/normalization
  • lewandowski/normalize-pkg
  • lewandowski/underscores
  • lewandowski/v6
  • lewandowski/version
  • manishsb/support-custom-middleware-for-smokescreen-requests
  • mattm-15
  • mattm-lint
  • metric-sanitize
  • metrics/private-prometheus-mux
  • mitm-acl
  • non-prefix-wildcard
  • param-allow-callbacks-for-request-verification
  • private-ip
  • pspieker-add-proxy-acl-support
  • pspieker-fix-proxy-host-url-parsing
  • pspieker-gp-scatch
  • pspieker-testing-gp-changes
  • pspieker-tmp
  • ransford-dns-query-time-metric
  • ransford-mod-update
  • ransford-readme-updates
  • ransford/bump-ci
  • ransford/connect-error-metrics
  • ransford/globs
  • ransford/metrics
  • rate-limit-dos
  • refs/tags/v0.0.3
  • refs/tags/v0.0.4
  • refs/tags/v0.1.0
  • refs/tags/v0.2.0
  • refs/tags/v1.0.0
  • refs/tags/v1.0.1
  • release-v0.1.0
  • release-v1.0.0
  • request-timeout
  • revert-262-dos-timeout
  • revert-269-client-timeout
  • revert-339-gauthamw/require-client-cert-with-client-ca
  • rishikej-missing-log-fields
  • rishikej-timeout-log
  • rwg/log-tcp-tuples.0
  • rwg/star.0
  • saurabhbhatia/add-reject-handler
  • saurabhbhatia/alert-autofix-1
  • saurabhbhatia/alert-autofix-2
  • saurabhbhatia/default_bypass_fix
  • saurabhbhatia/enhc-error-messages
  • saurabhbhatia/smokescreen-ctx-changes
  • saurabhbhatia/update-goproxy
  • saurabhbhatia/update-goproxy-again
  • sergeyrud-make-hostMatchesGlob-exportable
  • sergeyrud-move-custom-request-handler-after-the-main-check
  • shubh/acl-label-wildcards
  • shubh/acl-normalize-host-once
  • shubh/acl-v2-engine
  • shubh/acl-v2-policy
  • shubh/aclv2-1-glob
  • shubh/aclv2-2-policy
  • shubh/aclv2-3-engine
  • shubh/aclv2-4-switch
  • shubh/aclv2-5-drop-v1
  • shubh/aclv2-v1-convert
  • shubh/compatible-deps
  • shubh/configurable-self-connection-check
  • shubh/conn-error-lock
  • shubh/conntrack-log-byte-values
  • shubh/dial-races
  • shubh/downgrade-proxyproto-v014
  • shubh/egress-compatible-deps
  • shubh/fix-conntrack-cache-cleanup
  • shubh/fix-http-role-logging
  • shubh/glob-with-hostnames
  • shubh/readme-v1-tags
  • shubh/readme-versions-v1
  • shubh/readme-versions-v2
  • shubh/release-binaries
  • shubh/repo-hygiene
  • shubh/security-workflow-triggers
  • shubh/slog-01-baseline
  • shubh/slog-02-recording-handler
  • shubh/slog-03-redaction
  • shubh/slog-04-config-loading
  • shubh/slog-05-api-migration
  • shubh/slog-06-request-context
  • shubh/slog-07-mitm-correlation
  • shubh/slog-08-validation
  • shubh/slog-09-documentation
  • shubh/smokescreen-slog-migration
  • shubh/update-goproxy-mitm-cert-randomness
  • shubh/update-goproxy-stdlib-cache
  • shubh/v1-config-loading
  • shubh/v1-conn-error-lock
  • shubh/v1-conntrack-error-lock
  • shubh/v1-dial-races
  • shubh/v1-slog-01-baseline
  • shubh/v1-slog-02-migration
  • shubh/v1-slog-03-correlation
  • shubh/v1-slog-04-release-readiness
  • shubh/v1-tags-v1
  • shubh/v2-compatible-deps
  • shubh/v2-deps-parity
  • shubh/v2-docs
  • shubh/v2-port-365
  • sohamsen/dial-error-hook
  • sohamsen/fix-flaky-example.com
  • sohamsen/ipv6-embedding
  • sohamsen/metric-fix-high-cardinality
  • sohamsen/pin-github-actions
  • sohamsen/race-fix
  • sohamsen/v2-compatible-deps-dial-error-hook
  • sohamsen/v2-dial-error-hook
  • stable-log-field-names
  • subtree-merge
  • test-branch
  • tmp-sign-shubh-v1-conn-error-lock
  • tmp-sign-shubh-v1-dial-races
  • tmp-sign-shubh-v1-tags-v1
  • tunnel-limiter
  • update-docs
  • upgrade-golang
  • v1
  • v2
  • v2-compatible-deps
  • validate
  • xieyuxi-configurable-proxy-addrs

25 Nov 2026 02:55PM UTC coverage: 67.561% (-0.03%) from 67.595%
45639343770

push

github

web-flow
conntrack: fix races in InstrumentedConn.Error, Idle and Stats (#389)

* conntrack: take the connection lock in InstrumentedConn.Error

Close reads ConnError while it holds the connection's lock, and the tracker can close a connection from another goroutine at shutdown. Error wrote ConnError without the lock, so an error report and a close at the same time raced.

rohith-sierra found this race and reported it in #369.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Committed-By-Agent: claude

* conntrack: read activity and byte counters atomically in Idle and Stats

Read and Write update LastActivity, BytesIn and BytesOut with atomic operations and without the connection's lock. Idle and Stats read the same fields with plain loads, so they raced with an active tunnel. Close already reads the byte counters atomically, and Idle and Stats now do the same.

gabriela-cw found this race and reported it in #370.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Committed-By-Agent: claude

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

1 of 6 new or added lines in 1 file covered. (16.67%)

1 existing line in 1 file now uncovered.

2693 of 3986 relevant lines covered (67.56%)

253.48 hits per line

Relevant lines Covered
Build:
Build:
3986 RELEVANT LINES 2693 COVERED LINES
253.48 HITS PER LINE
Source Files on master
  • Tree
  • List 34
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
45639343770 master conntrack: fix races in InstrumentedConn.Error, Idle and Stats (#389) * conntrack: take the connection lock in InstrumentedConn.Error Close reads ConnError while it holds the connection's lock, and the tracker can close a connection from another... push 25 Nov 2026 02:55PM UTC web-flow github
67.56
45639277529 master README: tag v1 releases as v1.x.y (#385) The v1 branch now ships stable releases, starting with v1.0.0. Earlier releases keep their v0.x.y tags. Committed-By-Agent: claude Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> push 25 Nov 2026 02:55PM UTC web-flow github
67.6
45636459229 master Keep Transport dials from writing request state (#388) * smokescreen: keep Transport dials from writing request state net/http's Transport dials on its own goroutine, and it can finish a dial after RoundTrip returns. That happens when the client... push 25 Nov 2026 02:40PM UTC web-flow github
67.6
44073244792 master Expose Smokescreen request context to DNS resolvers (#381) Committed-By-Agent: codex Co-authored-by: Soham Sen <contact@sohamsen.me> Co-authored-by: codex <noreply@openai.com> push 17 Nov 2026 11:22AM UTC web-flow github
67.35
43227601555 master README: add version guidance for v1 and v2 (#378) * README: add version guidance for v1 and v2 v2 is an early release that will break its API again, and v1 gets only security fixes, major bug fixes and dependency updates for now. Users need to s... push 12 Nov 2026 01:29PM UTC web-flow github
67.25
43200644237 master docs: document the v2 ACL format and the migration from v1 The README still described only the v1 ACL format. It now covers the v2 format and says that v1 files keep loading through the converter. A new migration guide lists each breaking change ... push 12 Nov 2026 10:29AM UTC gauthamw-stripe github
67.25
43016729992 master [deps] Upgrade x/net to v0.62.0 (#374) Committed-By-Agent: codex Co-authored-by: codex <noreply@openai.com> push 11 Nov 2026 12:02PM UTC web-flow github
63.5
43007831948 master Bind Prometheus metrics to loopback by default with server timeouts (#365) * Bind Prometheus metrics to loopback by default with server timeouts When --expose-prometheus-metrics is enabled, default the listen address to 127.0.0.1 and serve metri... push 11 Nov 2026 10:57AM UTC web-flow github
63.5
41694039018 master Add outbound dial error notification hook (#362) push 03 Nov 2026 06:28PM UTC web-flow github
63.71
40768697609 master [smokescreen] Fix stats server shutdown (#358) Committed-By-Agent: codex Co-authored-by: codex <noreply@openai.com> push 28 Oct 2026 09:04PM UTC web-flow github
62.99
See All Builds (981)
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc