Skip to content

Commit d61134b

Browse files
authored
Merge branch 'canonical:main' into main
2 parents 3aabea5 + f170869 commit d61134b

File tree

6 files changed

+30
-6
lines changed

6 files changed

+30
-6
lines changed

CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* @canonical/is-charms
1+
* @canonical/platform-engineering

SECURITY.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Security policy
2+
3+
## What qualifies as a security issue
4+
5+
Credentials leakage, outdated dependencies with known vulnerabilities, and
6+
other issues that could lead to unprivileged or unauthorised access to the
7+
database or the system.
8+
9+
## Reporting a vulnerability
10+
11+
The easiest way to report a security issue is through GitHub.
12+
See [Privately reporting a security
13+
vulnerability](https://docs.github.com/en/code-security/security-advisories/guidance-on-reporting-and-writing-information-about-vulnerabilities/privately-reporting-a-security-vulnerability#privately-reporting-a-security-vulnerability)
14+
for instructions.
15+
16+
The repository admins will be notified of the issue and will work with you
17+
to determine whether the issue qualifies as a security issue and, if so, in
18+
which component. We will then handle figuring out a fix, getting a CVE
19+
assigned and coordinating the release of the fix.
20+
21+
The [Ubuntu Security disclosure and embargo policy](https://ubuntu.com/security/disclosure-policy)
22+
contains more information about what you can expect when you contact us, and what we
23+
expect from you.

aproxy.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,7 @@ func HandleConn(conn net.Conn, proxy string) {
385385
logger.Info("relay HTTP connection to proxy")
386386
RelayHTTP(consigned, proxyConn, logger)
387387
default:
388+
consigned.EndPreread()
388389
logger = logger.With("host", fmt.Sprintf("%s:%d", dst.IP.String(), dst.Port))
389390
proxyConn, err := DialProxyConnect(proxy, fmt.Sprintf("%s:%d", dst.IP.String(), dst.Port))
390391
if err != nil {

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module aproxy
22

3-
go 1.23.0
3+
go 1.24.0
44

55
toolchain go1.24.1
66

7-
require golang.org/x/crypto v0.35.0
7+
require golang.org/x/crypto v0.45.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
golang.org/x/crypto v0.35.0 h1:b15kiHdrGCHrP6LvwaQ3c03kgNhhiMgvlhxHQhmg2Xs=
2-
golang.org/x/crypto v0.35.0/go.mod h1:dy7dXNW32cAb/6/PRuTNsix8T+vJAqvuIy5Bli/x0YQ=
1+
golang.org/x/crypto v0.45.0 h1:jMBrvKuj23MTlT0bQEOBcAE0mjg8mK9RXFhRH6nyF3Q=
2+
golang.org/x/crypto v0.45.0/go.mod h1:XTGrrkGJve7CYK7J8PEww4aY7gM3qMCElcJQ8n8JdX4=

snap/snapcraft.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: aproxy
2-
version: 0.2.4
2+
version: 0.2.5
33
summary: Transparent proxy for HTTP and HTTPS/TLS connections.
44
description: |
55
Aproxy is a transparent proxy for HTTP and HTTPS/TLS connections. By

0 commit comments

Comments
 (0)