Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance the flexibility of the proxy configuration #8

Open
wants to merge 20 commits into
base: main
Choose a base branch
from

Conversation

weiiwang01
Copy link
Collaborator

Revise the existing proxy configuration by splitting it into two separate configurations: http-proxy and https-proxy. These configurations align more closely with standard conventions. If http-proxy or https-proxy is not set, respective HTTP and HTTPS connections will be directly passed through to the original destination, without proxy.

To address issues of infinite connections that may arise from this direct passthrough, introducing an additional option, fwmark. This feature tags all traffic sent by aproxy with a fwmark, assisting the firewall in differentiating between traffic received and sent by aproxy.

The aproxy snap has been updated to reflect these changes but still maintains compatibility with previous versions of the snap.

commit b25da766910df0259ef692c3874fa94a1d705a6a
Author: Weii Wang <weii.wang@canonical.com>
Date:   Mon Dec 4 19:06:16 2023 +0800

    Enhance the flexibility of the proxy configuration

commit 73529f776ee3e5ebe1790961980600b66abc5ba5
Merge: 476c1c8 c31edfd
Author: Weii Wang <weii.wang@canonical.com>
Date:   Thu Nov 30 22:12:31 2023 +0800

    Merge branch 'main' into feat-stable

commit 476c1c8bd72fed14ed7e9d34fe5887f623fdaf9c
Author: Weii Wang <weii.wang@canonical.com>
Date:   Thu Nov 30 13:36:06 2023 +0800

    temp
@weiiwang01 weiiwang01 mentioned this pull request Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant