-
Notifications
You must be signed in to change notification settings - Fork 1
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
[global.tmpl] Add custom CA and endpoint for RU #1216
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -209,7 +209,6 @@ featureoptions: | |
"IR": *FrankfurtReplicaRust | ||
|
||
# Here follows options per-country | ||
|
||
"DE": &FrankfurtBase | ||
proxypeerinfohashes: *GlobalProxyInfohashes | ||
metadatabaseurls: *AllReplicaBaseUrls | ||
|
@@ -275,8 +274,18 @@ featureoptions: | |
<<: *FrankfurtBase | ||
staticpeeraddrs: [&IranReplicaPeer "81.12.39.55:42069"] | ||
"RU": | ||
<<: *FrankfurtBase | ||
proxypeerinfohashes: *GlobalProxyInfohashes | ||
metadatabaseurls: *AllReplicaBaseUrls | ||
# Taken from https://github.com/getlantern/replica-infrastructure-metrics/blob/5df25dd/hetzner/ansible/hosts-ru | ||
replicarustendpoint: http://92.223.103.136:8080/ | ||
trackers: *GlobalTrackers | ||
webseedbaseurls: *AllReplicaBaseUrls | ||
staticpeeraddrs: [&RussiaReplicaPeers "94.242.59.118:42069"] | ||
# Generated like this: | ||
# - Checkout this branch in replica-rust: https://github.com/getlantern/replica-rust/commit/78be85984c7e91de08a08bea97837568b8cb1f79 | ||
# - Run `just make-ca-cert keys/out/lantern-ca` | ||
# - Replace new lines with literal \n: `awk '{printf "%s\\n", $0}' lantern-ca.crt.pem` | ||
customca: "-----BEGIN CERTIFICATE-----\nMIID7DCCA5OgAwIBAgIUMao3101UqbvxjBevAk5q+N41Q6gwCgYIKoZIzj0EAwIw\ngYIxCzAJBgNVBAYTAlVTMQswCQYDVQQIDAJDQTELMAkGA1UEBwwCVVMxEDAOBgNV\nBAoMB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PUGDg1Fl7ktwIDAQABoxgwFjAUBgNVHREEDTAL\ngglsb2NhbGhvc3QwCgYIKoZIzj0EAwIDRwAwRAIgBUYtZWKn5Gr44nk8UDWlWDNN\nzImCiog055BgEv36PNoCIFqE6qrC2Koc0eNzaiAI93IveEMn2JxFGsCQVitF2NBR\n-----END CERTIFICATE-----\n" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Doesn't yaml have a nice There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It does, but all the rest of the certs in this file do it like this to be handled in our own library, so I didn't wanna be an outlier. I just included the command since none of them included it. |
||
"CN": | ||
proxypeerinfohashes: *GlobalProxyInfohashes | ||
metadatabaseurls: | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't love having to use a new tool
just
when this project already usesmake
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, I don't see a
justfile
in here(?)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Plus, we're using go:generate already too, and this seems like it might be a good use for that which doesn't require any external tools.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not in this project, no. In replica-rust. I'll amend.
replica-rust had no command runners before (and doesn't use go).
EDIT: amended