Snowflake Broker Deployment 23-10-16
This deployment is needed to end ip churn collection(#40280 (closed)).
Code to be deployed: v2.7.0
Deployment Script
sv stop snowflake-broker
cp /etc/service/snowflake-broker/run ./snowflake-broker-run-23-10-16-backup-$(date +%N)
cp /usr/local/bin/broker ./snowflake-broker-23-10-16-backup-$(date +%N)
install --owner root ./snowflake-broker-run-23-10-16-candidcate /etc/service/snowflake-broker/run
install --owner root ./snowflake-broker-23-10-16-candidcate /usr/local/bin/broker
sv start snowflake-broker
New Run File
#!/bin/sh -e
setcap 'cap_net_bind_service=+ep' /usr/local/bin/broker
exec chpst -u snowflake-broker -o 32768 /usr/local/bin/broker --metrics-log /home/snowflake-broker/metrics.log --acme-hostnames snowflake-broker.bamsoftware.com,snowflake-broker.freehaven.net,snowflake-broker.torproject.net --acme-email dcf@torproject.org --acme-cert-cache /home/snowflake-broker/acme-cert-cache --bridge-list-path /home/snowflake-broker/bridge_lists.json --default-relay-pattern ^snowflake.torproject.net$ --allowed-relay-pattern snowflake.torproject.net$ 2>&1
Binary To Be Deployed
1be8764d1a9328bd0f36706fbc040557da102134c78463d0d5470d97cac90903 broker
Edited by shelikhoo