Releases: mubeng/mubeng
v0.21.0
Changelog
Amazon API Gateway
The mubeng proxy rotator also supports integration with Amazon API Gateway. This allows you to route traffic through multiple AWS regions for enhanced redundancy and geographic distribution.
Format for AWS proxy strings:
aws://AWS_ACCESS_KEY_ID:AWS_SECRET_ACCESS_KEY@REGION
Tip
Since it uses a custom parser, the AWS secret access key (or any other parts) can be quoted for better readability. Example: aws://AKIAIOSFODNN7EXAMPLE:"wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"@us-west-1
.
This quoting feature only works for the aws
protocol scheme.
To get started, you'll need to:
- Export your AWS credentials as environment variables
export AWS_ACCESS_KEY_ID="AKIAIOSFODNN7EXAMPLE"
export AWS_SECRET_ACCESS_KEY="wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"
- Create a proxy list file containing AWS regions
Generate proxy entries for multiple AWS regions:
echo "aws://{{AWS_ACCESS_KEY_ID}}:{{AWS_SECRET_ACCESS_KEY}}@"{us,eu}"-"{east,west}"-"{1,2} | tr ' ' '\n' > list.txt
This will create entries for regions like:
aws://{{AWS_ACCESS_KEY_ID}}:{{AWS_SECRET_ACCESS_KEY}}@us-east-1
aws://{{AWS_ACCESS_KEY_ID}}:{{AWS_SECRET_ACCESS_KEY}}@us-east-2
aws://{{AWS_ACCESS_KEY_ID}}:{{AWS_SECRET_ACCESS_KEY}}@us-west-1
- ...
- Start mubeng proxy server pointing to your AWS proxy list:
$ mubeng -f list.txt -a :8080
This setup enables mubeng to automatically rotate traffic through multiple AWS regions via API Gateway. When running the proxy server, mubeng will dynamically substitute your AWS credentials from environment variables using the templating feature described above.
Note
Ensure your AWS credentials have the appropriate permissions to access API Gateway in the specified regions.
v0.19.0
v0.18.0
Changelog
- 034b8aa docs(README): add notes for
max-errors
&max-retries
- 0724d5f feat(server): infinite max. errors if lt
0
- 9c37b4d docs: add
remove-on-error
option - 7f946f3 feat: add
remove-on-error
option - fd8db54 refactor(proxymanager): handle
Proxies
index - 7faca4e feat: add
errors
pkg - 711da74 feat(server): add proxy count log
- 8a90f36 feat(proxymanager): add
Count
method - e51a07a feat(proxymanager): add
RemoveProxy
method
v0.17.0
v0.16.0
Changelog
- 901e2cb feat: add
Timeout
field toProxy
- c65b80d feat: add
--max-redirects
option (#248) - 66705fe feat: defaulting max retries to
0
- 414ecaf feat(server): early returns for unsupported schemes
- aa6624e refactor(server): use
ProxyManager.Rotate
method - 96de3aa feat(proxymanager): add
Rotate
method - cc2f825 feat: retryable HTTP requests (#245)
v0.15.3
v0.15.0
v0.14.2
v0.14.1
Changelog
- 62f3832 build(deps): bump github.com/sourcegraph/conc from 0.2.0 to 0.3.0 (#187)
- 4535c2f build(deps): bump github.com/briandowns/spinner from 1.15.0 to 1.23.0 (#190)
- 629e737 build(deps): bump github.com/AlecAivazis/survey/v2 from 2.2.12 to 2.3.7 (#198)
- 236d3dc build(deps): bump github.com/henvic/httpretty from 0.0.6 to 0.1.2 (#199)
- 8459f63 build(deps): bump docker/login-action from 2.1.0 to 2.2.0 (#200)
- e3c1ced build(deps): bump docker/build-push-action from 4.0.0 to 4.1.1 (#202)
- 84f4788 build(deps): bump goreleaser/goreleaser-action from 4.2.0 to 4.4.0 (#205)
- 2d50755 misc: Update CONTRIBUTORS
- 706cba6 build(deps): bump golangci/golangci-lint-action from 3.4.0 to 3.7.0 (#206)
- 5876259 build(deps): bump github.com/valyala/fasttemplate from 1.2.1 to 1.2.2 (#172)
- f1b84c8 build(deps): bump actions/setup-go from 3 to 4 (#192)
- 00c7f87 build(deps): bump peter-evans/create-pull-request from 4 to 5 (#194)