# apt-get install git dialog
# git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt
#!/bin/bash | |
# (c) 2014 by Johannes Fürmann | |
# Licensed under WTFPL. See http://www.wtfpl.net/txt/copying/ | |
if [ $1 == "" ]; then | |
echo "depdl.sh" | |
echo "Download package and Dependencies" | |
echo "" | |
echo "USAGE:" | |
echo "depdl.sh PKGNAME" |
import os | |
import tarfile | |
import stem | |
from stem.descriptor.reader import DescriptorReader | |
class MyDescriptorReader(DescriptorReader): | |
def __init__(self, interesting_fingerprints, *args, **kwargs): | |
DescriptorReader.__init__(self, *args, **kwargs) | |
self._interesting_fingerprints = interesting_fingerprints |
Managing multiple Tor processes on one host | |
=========================================== | |
Due to Tor's internal architecture, running only one Tor process per physical | |
host is often not enough. As a thumb rule, you should run one Tor process per | |
physical CPU core to make full use of the host's CPU power. This, however | |
brings with it other difficulties: The tor network limits the number of Tor | |
relays per IP in the consensus to 2. Also, the relay nodes should be rechable | |
on Port 80 and 443 since those ports are often unfiltered and unblocked. |