Commit graph

1463 commits

Author SHA1 Message Date
Renovate Bot
6c38c605bd chore(deps): update module github.com/miekg/dns to v1.1.59 2024-04-17 20:11:37 +00:00
Renovate Bot
47bf72ca86
chore(deps): update module github.com/refraction-networking/utls to v1.6.4
Signed-off-by: Cecylia Bocovich <cohosh@torproject.org>
2024-04-15 16:52:21 -04:00
Renovate Bot
abf45d3fd5
chore(deps): update module golang.org/x/net to v0.23.0 [security]
Signed-off-by: Cecylia Bocovich <cohosh@torproject.org>
2024-04-15 16:51:21 -04:00
Renovate Bot
adffd43ceb
chore(deps): update module github.com/pion/sdp/v3 to v3.0.9
Signed-off-by: Cecylia Bocovich <cohosh@torproject.org>
2024-04-15 16:49:35 -04:00
Renovate Bot
2b5fa62588
chore(deps): update module github.com/aws/aws-sdk-go-v2/config to v1.27.11
Signed-off-by: Cecylia Bocovich <cohosh@torproject.org>
2024-04-15 16:46:50 -04:00
Renovate Bot
228e757a37 chore(deps): update module golang.org/x/crypto to v0.22.0 2024-04-04 17:39:39 +00:00
meskio
01588d99db
Merge remote-tracking branches 'gitlab/mr/289' and 'gitlab/mr/293' 2024-04-04 12:27:14 +02:00
Sky
cec3c2df21 Update README.md to include all available CLI options 2024-04-04 08:21:56 +00:00
Sky
d439f89536 Allow to set listen address for metrics service via cl flags 2024-04-04 06:28:33 +00:00
Renovate Bot
debd473977 chore(deps): update module github.com/prometheus/client_model to v0.6.1 2024-04-03 14:14:06 +00:00
Renovate Bot
9997b4ac24 chore(deps): update module github.com/aws/aws-sdk-go-v2 to v1.26.1 2024-03-29 19:17:08 +00:00
Micah Anderson
095e9727ed CI: Remove echo in container stage.
This was here for debugging and is no longer necessary.

It also resulted in the following command being run:

$ echo "Building Docker image with tag: $TAG" /kaniko/executor --context "${CI_PROJECT_DIR}" --dockerfile "${CI_PROJECT_DIR}/Dockerfile" --destination "${CI_REGISTRY_IMAGE}:${TAG}_${ARCH}"

which does not produce the image properly.
2024-03-25 19:23:05 +00:00
Micah Anderson
1a620dd21b CI: make tag-container-release job depend on previous stages 2024-03-25 19:23:05 +00:00
Cecylia Bocovich
96422e0db3
Update torrc file to match Tor Browser builtins
We switched to a CDN77, a cloud provider that supports domain fronting.
2024-03-24 12:41:23 -04:00
David Fifield
1bde730b39 Comment typo. 2024-03-22 00:43:58 +00:00
Renovate Bot
ec36fd4287
chore(deps): update module github.com/aws/aws-sdk-go-v2/service/sqs to v1.31.3 2024-03-20 17:28:00 +00:00
Renovate Bot
27e76279d4
chore(deps): update module github.com/aws/aws-sdk-go-v2/config to v1.27.8 2024-03-20 17:05:21 +00:00
Renovate Bot
a1d3d28ff3
chore(deps): update module github.com/pion/ice/v2 to v2.3.14 2024-03-19 15:40:51 +00:00
Renovate Bot
f681b1c556 chore(deps): update module github.com/aws/aws-sdk-go-v2/credentials to v1.17.8 2024-03-18 20:47:07 +00:00
Cecylia Bocovich
05a95802c1
Bump version to v2.9.2 2024-03-18 14:47:44 -04:00
Micah Anderson
eef46b9512 CI: tag containers in a meaningful way (Fixes #40345).
If there was a push to `main`, build a container with the tag `latest. If there
was a tag pushed, then build a container with the container tag set to the git
tag, additionally setting a `stable` tag that matches.

Because the process creates a number of temporary intermediary containers before
they are merged into one with the `merge-manifests` job (`$tag_amd64`,
`$tag_arm64`, `$tag_s390x`, `latest_amd64`, `latest_arm64`, `latest_s390x`)
which are only useful for the `merge-manifests` job, we clean these up in the
`clean_image_tags` job using the gitlab API
2024-03-18 18:39:58 +00:00
Renovate Bot
7b74b9e01a
chore(deps): update module golang.org/x/net to v0.22.0
Signed-off-by: Cecylia Bocovich <cohosh@torproject.org>
2024-03-18 14:36:47 -04:00
Renovate Bot
712f2667eb
chore(deps): update module github.com/xtaci/kcp-go/v5 to v5.6.8
Signed-off-by: Cecylia Bocovich <cohosh@torproject.org>
2024-03-18 14:34:14 -04:00
Renovate Bot
b05f059ce4
chore(deps): update module github.com/prometheus/client_golang to v1.19.0
Signed-off-by: Cecylia Bocovich <cohosh@torproject.org>
2024-03-18 14:31:53 -04:00
Renovate Bot
e7dfbebf56
chore(deps): update module github.com/prometheus/client_model to v0.6.0 2024-03-12 11:58:27 +00:00
meskio
f502eca67d
Merge remote-tracking branch 'origin/mr/258' 2024-03-12 08:28:53 -03:00
meskio
d657098340
Merge remote-tracking branch 'origin/mr/264' 2024-03-12 08:26:04 -03:00
Renovate Bot
52fcd3d58a chore(deps): update docker.io/library/golang docker tag to v1.22 2024-03-12 09:29:03 +00:00
Renovate Bot
d1175dac82
chore(deps): update golang docker tag to v1.22 2024-03-12 09:00:37 +00:00
Renovate Bot
2b11f56950
chore(deps): update module github.com/pion/webrtc/v3 to v3.2.29 2024-03-11 20:03:53 +00:00
Michael Pu
8968535c56 Update doc with new lines in metrics output 2024-03-09 13:36:26 -05:00
Michael Pu
b512e242e8 Implement better client IP per rendezvous method tracking for clients
Implement better client IP per rendezvous method tracking for clients

Add tests for added code, fix existing tests

chore(deps): update module github.com/miekg/dns to v1.1.58

Implement better client IP tracking for http and ampcache

Add tests for added code, fix existing tests

Implement GetCandidateAddrs from SDP

Add getting client IP for SQS

Bug fixes

Bug fix for tests
2024-03-09 13:36:25 -05:00
Michael Pu
91b8da423b update docs 2024-03-09 13:35:16 -05:00
Michael Pu
9fe2ca58a0 Switch to sqscreds param for passing in SQS credentials 2024-03-09 13:35:16 -05:00
Cecylia Bocovich
fe56eaddf4
Fix grep command to check output of shadow tests 2024-03-08 13:24:20 -05:00
Renovate Bot
b42966a652
chore(deps): update module github.com/aws/aws-sdk-go-v2/service/sqs to v1.31.2
Signed-off-by: Cecylia Bocovich <cohosh@torproject.org>
2024-03-08 13:11:49 -05:00
Renovate Bot
1c51e432ae
chore(deps): update module golang.org/x/crypto to v0.21.0
Signed-off-by: Cecylia Bocovich <cohosh@torproject.org>
2024-03-08 11:45:59 -05:00
Renovate Bot
c4beb91a6c
chore(deps): update module github.com/refraction-networking/utls to v1.6.3
Signed-off-by: Cecylia Bocovich <cohosh@torproject.org>
2024-03-08 11:43:02 -05:00
Renovate Bot
22bca0fb6b
chore(deps): update module github.com/aws/aws-sdk-go-v2/config to v1.27.7
Signed-off-by: Cecylia Bocovich <cohosh@torproject.org>
2024-03-08 11:40:27 -05:00
Cecylia Bocovich
0c8efb4e2b
Only run shadow tests on compatible runners 2024-03-07 17:51:16 -05:00
Renovate Bot
5093c8886b chore(deps): update module google.golang.org/protobuf to v1.33.0 [security] 2024-03-06 05:11:40 +00:00
Michael Pu
0777f0191e
update docs
Signed-off-by: Cecylia Bocovich <cohosh@torproject.org>
2024-03-05 12:38:50 -05:00
Michael Pu
1e1f827248
Update tests 2024-03-05 12:38:33 -05:00
Michael Pu
9cd362f42d
Move SQS client ID generation to Exchange 2024-03-05 12:38:33 -05:00
Micah Anderson
c4c22fa2a0 Build multi-arch image.
This will build only those architectures that we have runners to build on
2024-03-03 14:07:33 +00:00
Micah Anderson
9b689a105e Build multi-arch image.
This will build only those architectures that we have runners to build on
2024-03-03 14:07:33 +00:00
Micah Anderson
913732356a Build multi-arch image.
This will build only those architectures that we have runners to build on
2024-03-03 14:07:33 +00:00
Micah Anderson
0e593edc9a Build multi-arch image.
This will build only those architectures that we have runners to build on
2024-03-03 14:07:33 +00:00
Micah Anderson
5ee90a78b4 Build multi-arch image.
This will build only those architectures that we have runners to build on
2024-03-03 14:07:33 +00:00
Micah Anderson
9175e86321 Automatically build container on release and push to our registry.
Now that Tor's gitlab has the container registry enabled, we can build a
snowflake container on release, and push the built container to the snowflake
registry.

This is accomplished without using privileged gitlab runners, via kaniko.

This would speed up snowflake updates for people running the docker
container. It would also mean that the 'docker-snowflake-proxy' project would no
longer need to exist.

Fixes docker-snowflake-proxy#10
Fixes docker-snowflake-proxy#13
2024-03-03 14:07:33 +00:00