-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: adding SNIConfig to provider and load it * feat: check if there's a SNIConfig available for the provider and use it if there's a enabled SNIConfig; also adding function for verifying the certificate * feat: updating go version to 1.22.3; go mod tidy and updating workflow for using the go version from go.mod * chore: updating workflow for using actions/setup-go@v4 * fix: replacing IntN old reference, reverting expected argument type to *Masquerade instead of masquerade and add function for finding provider from a given masquerade * fix: removing deprecated references and updating NewProvider references for using a nil SNIConfig * chore: updating some old domains * chore: updating default masquerade IPs * chore: returning custom errors when verifying peer certificates * fix: updating old test URLs and references so tests can work * chore: adding more test certificates and akamai default masquerades used for testing purposes * feat: adding feat for sending the provided SNI verify the domain if it maches with masquerade * chore: adding note about default_masquerades.go with old IP addresses * fix: updating SNIConfig comment * fix: hashing IP addresses and setting SNI to masquerades * fix: removing unused verifiedChains parameter, replacing fmt errors %v by %w and unused test log * fix: adding comment suggestion explaining about ensuring the use of hashing for consistently retrieving a SNI for the masquerade IP address
- Loading branch information
1 parent
7fec719
commit 9369ca3
Showing
11 changed files
with
185 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,9 +11,9 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Go | ||
uses: actions/setup-go@v2 | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.18 | ||
go-version-file: "go.mod" | ||
- name: Granting private modules access | ||
run: | | ||
git config --global url."https://${{ secrets.GH_TOKEN }}:[email protected]/".insteadOf "https://github.com/" | ||
|
@@ -24,4 +24,4 @@ jobs: | |
- name: Send coverage | ||
env: | ||
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: goveralls -coverprofile=profile.cov -service=github | ||
run: goveralls -coverprofile=profile.cov -service=github |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.