This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /var/lib | |
mkdir tor2 | |
chown debian-tor tor2 | |
chmod 2700 tor2 | |
cd /usr/share | |
cp -r tor tor2 | |
cd tor2 | |
(edit tor-service-defaults-torrc) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "ed25519.h" | |
ed25519_secret_key sk; | |
Botan::AutoSeeded_RNG rng; | |
rng.randomize(sk, sizeof(ed25519_secret_key)); | |
ed25519_public_key pk; | |
ed25519_publickey(sk, pk); | |
std::string msg("hello world"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/bash | |
# tor-onions-common MUST be built first before the others | |
# push for Trusty to see if it builds | |
./OnioNS_BuildOne.sh tor-onions-common OnioNS-common trusty | |
./OnioNS_BuildOne.sh tor-onions-server OnioNS-server trusty | |
./OnioNS_BuildOne.sh tor-onions-client OnioNS-client trusty | |
./OnioNS_BuildOne.sh tor-onions-hs OnioNS-HS trusty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/local/sbin/dnscrypt-proxy --resolver-address=<address> --provider-key=<publicKey> --provider-name=<name> --ephemeral-keys --local-address=127.0.53.1 --daemonize |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/resolv.conf | |
nameserver 127.5.3.53 |