Skip to content
This repository has been archived by the owner on Jan 27, 2025. It is now read-only.

Sync with upstream #10

Merged
merged 62 commits into from
Jan 27, 2025
Merged

Sync with upstream #10

merged 62 commits into from
Jan 27, 2025

Conversation

amber-higgins
Copy link

@amber-higgins amber-higgins commented Jan 27, 2025

Part of fixing https://github.com/intercom/intercom/issues/377754 (followup action is to bump the git SHA in DVA)

JulesDT and others added 30 commits April 14, 2023 08:25
* STORY-25143 - Add prometheus metrics to smokescreen

* STORY-25143 - Cleanup

* STORY-25143 - Fix tests to compare new metric labels

* STORY-25143 - Host prometheus endpoint on separate port

* STORY-25143 - Use value provided via command line flag

* STORY-25143 - Add prometheus timing metrics

* STORY-25143 - Fix nil map assignment and prometheus metric name sanitisation

* STORY-25143 - Cleanup comments

* STORY-25143 - Remove some repetition + add further unit testing

* STORY-25143 - Document new prometheus features in README + add port flag to prometheus config

* STORY-25143 - Make PR requested changes:
* Don't export metrics list
* Follow project sytlistic choices

* STORY-25143 - Rename only one receiver

* STORY-25143 - Add new `--expose-prometheus-metrics` flag to CLI to toggle exposing prometheus metrics

* Small cleanup of timer metrics

* Fix go module vendoring
fix/test use ElementsMatch to ignore order
…st-handler-after-the-main-check

Move the custom request handler call after the main ACL check
* dont return denial errors for dns resolution failures

* fix test

* move DNSError check into net.Error assertion, extend test

* fix integration test
* add AcceptResponseHandler to modify accepted responses

* customer->custom
* update docs to clarify global_deny_list behavior

* consistent example domain

* be more concise
* pipe AcceptResponseHandler into new goproxy hook

* update comment

* go mod vendor

* unit test

* use smokescreenctx in acceptresponsehandler

* fix unit tests
* export SmokescreenContext type

* also export AclDecision

* ResolvedAddr too

* consistent caps

* Update pkg/smokescreen/smokescreen.go

Co-authored-by: jjiang-stripe <[email protected]>

* export Decision

---------

Co-authored-by: jjiang-stripe <[email protected]>
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.7.0 to 0.17.0.
- [Commits](golang/net@v0.7.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…addrs

Configurable http and https proxy addrs
* update docs to clarify how IP filtering works
* Introduce CONNECT Proxy URL ACL Support

Add gitignore debug changes

WIP

Basic concept working

WIP

Cleaned up some things prereview

fixed tests

Removed extraneous yaml file

Add correctly failing test

tmp

WIP

WIP

WIP

WIP

WIP

WIP

* WIP

* WIP

* PR feedback 1

* Fixed tests

* testing again

* WIP

* Added extra test
@amber-higgins amber-higgins deleted the amber/sync-with-upstream branch January 27, 2025 11:56
@amber-higgins amber-higgins restored the amber/sync-with-upstream branch January 27, 2025 12:10
@amber-higgins amber-higgins reopened this Jan 27, 2025
@amber-higgins amber-higgins reopened this Jan 27, 2025
@amber-higgins
Copy link
Author

image

There is some strange interplay between github actions for pushes and prs which is causing them to be run multiple times / cancel each other out, the above is a successful run. We can follow up with changes to the workflow yml if needed but otherwise I think we are good here.

@amber-higgins amber-higgins merged commit 5ef31cf into master Jan 27, 2025
8 of 20 checks passed
amber-higgins added a commit that referenced this pull request Jan 27, 2025
amber-higgins added a commit that referenced this pull request Jan 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.