trailofbits / algo-ng Goto Github PK
View Code? Open in Web Editor NEWExperimental version of Algo built on Terraform
License: GNU Affero General Public License v3.0
Experimental version of Algo built on Terraform
License: GNU Affero General Public License v3.0
$ ./algo apply
What provider would you like to use?
1. DigitalOcean
2. Amazon EC2
3. Google Compute Engine
Enter the number of your desired provider
: 3
Name the vpn server:
[algo-local]:
Enter your azure secret id (https://github.com/trailofbits/algo/blob/master/docs/cloud-azure.md)
You can skip this step if you want to use your defaults credentials from ~/.azure/credentials
[pasted values will not be displayed]
[...]:
the script algo
case "$ALGO_PROVIDER" in
1|digitalocean) ALGO_PROVIDER=digitalocean; digitalocean; ;;
2|ec2) ALGO_PROVIDER=ec2; ec2; ;;
3|azure) ALGO_PROVIDER=azure; azure; ;;
3|gce) ALGO_PROVIDER=gce; gce; ;;
# 5|non_cloud) ALGO_PROVIDER=non_cloud; non_cloud; ;;
*) exit 1 ;;
esac
duplicated entry
3-> azure
3-> gce
gce never reach.
I'm curious what the status is for this project... Are you still planning to re-write algo in terraform? Or is this idea abandoned now?
This md doc not exists
- Deploy from [Windows](docs/deploy-from-windows.md)
After, looking at source code, there is NO .md
in the docs
folder, except one.
Clean install on DigitalOcean. I have the following settings:
export WORKSPACE="default"
export ALGO_PROVIDER=1
export DIGITALOCEAN_TOKEN=<< MY TOKEN >>
export ALGO_REGION=sfo2
export ALGO_SERVER_NAME=algo
./algo apply
After connecting to the server, my machine can not resolve DNS. Was debugging the server and found this:
# service dnscrypt-proxy status
● dnscrypt-proxy.service - DNSCrypt-proxy client
Loaded: loaded (/lib/systemd/system/dnscrypt-proxy.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/dnscrypt-proxy.service.d
└─99-capabilities.conf
Active: failed (Result: exit-code) since Tue 2019-12-10 06:16:57 UTC; 2s ago
Docs: https://github.com/jedisct1/dnscrypt-proxy/wiki
Process: 1443 ExecStart=/usr/bin/dnscrypt-proxy --config /etc/dnscrypt-proxy/dnscrypt-proxy.toml (code=exited, status=255/E
Main PID: 1443 (code=exited, status=255/EXCEPTION)
Dec 10 06:16:57 solar-1575956637 dnscrypt-proxy[1443]: config option `refused_code_in_responses` is deprecated, use `blocked_
Dec 10 06:16:57 solar-1575956637 dnscrypt-proxy[1443]: dnscrypt-proxy 2.0.33
Dec 10 06:16:57 solar-1575956637 dnscrypt-proxy[1443]: Network connectivity detected
Dec 10 06:16:57 solar-1575956637 dnscrypt-proxy[1443]: /etc/dnscrypt-proxy/public-resolvers.md: open sf-y7etj5gtjqfxxjmy.tmp:
Dec 10 06:16:57 solar-1575956637 dnscrypt-proxy[1443]: Source [public-resolvers] loaded
Dec 10 06:16:57 solar-1575956637 dnscrypt-proxy[1443]: Firefox workaround initialized
Dec 10 06:16:57 solar-1575956637 dnscrypt-proxy[1443]: Loading the set of blocking rules from [blacklist.txt]
# ------> issue bellow:
Dec 10 06:16:57 solar-1575956637 dnscrypt-proxy[1443]: open blacklist.txt: no such file or directory
Dec 10 06:16:57 solar-1575956637 systemd[1]: dnscrypt-proxy.service: Main process exited, code=exited, status=255/EXCEPTION
Dec 10 06:16:57 solar-1575956637 systemd[1]: dnscrypt-proxy.service: Failed with result 'exit-code'.
to resolve the issue:
# ssh into algo machine
# cp example file
cp /etc/dnscrypt-proxy/example-blacklist.txt /etc/dnscrypt-proxy/blacklist.txt
# restart dnscrypt
service dnscrypt-proxy restart
a different solution would be set a terraform provisioner to cp example-blacklist.txt
to blacklist.txt
or setting the blacklist file to be example-blacklist.txt.
Would create a PR but can not validate this on other services (specifically GCE & Azure). Thank you for this project, please let me know if there is other way I could help.
waiting for ed25519 supported in go and tls-provider
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.