This project is a fork of the
tor-bridgedb.git project. If you have that one
already cloned locally, you can use
git clone --reference /path/to/your/tor-bridgedb.git/incarnation mirror_URL
to save bandwidth during cloning.
description | none |
owner | rransom.8774@gmail.com |
last change | Wed, 29 Sep 2010 18:08:21 +0000 (29 14:08 -0400) |
URL | git://repo.or.cz/tor-bridgedb/rransom.git |
| https://repo.or.cz/tor-bridgedb/rransom.git |
push URL | ssh://repo.or.cz/tor-bridgedb/rransom.git |
| https://repo.or.cz/tor-bridgedb/rransom.git (learn more) |
bundle info | rransom.git downloadable bundles |
content tags
|
|
README
To set up:
- Install Python 2.4 or later.
- Install Twisted-Web, Twisted-Mail, PyOpenSSL, and all their dependencies.
- To run unit tests, "python setup.py test"
- python setup.py install --prefix=$HOME
- To generate translation files, run "python setup.py trans" and then run
"python setup.py install_data" to install them
- Edit bridgedb.conf; put it somewhere good.
- Make sure that the input files referred to in bridgedb.conf exist.
- You can make a self-signed certificate with
openssl req -x509 -new -nodes > cert
- Set up PYTHONPATH to include "~/lib/python2.4/site-packages/".
To re-generate the i18n template (in case translation strings have changed
in BridgeDB):
- Run "xgettext lib/bridgedb/I18n.py -dbridgedb -oi18n/templates/bridgedb.pot"
To run:
- Run "python -m TorBridgeDB bridgedb.conf"
- When you have new lists of bridges, replace the old files and send the
process a sighup.
To extract bucket files with unallocated bridges:
- Edit the configuration file value 'FILE_BUCKETS' according to your needs.
For example, the following is a possible configuration:
FILE_BUCKETS = { "name1": 10, "name2": 15, "foobar": 3 }
This configuration for buckets would result in 3 files being created for
bridge distribution: name1-2010-07-17.brdgs, name2-2010-07-17.brdgs and
foobar-2010-07-17.brdgs. The first file would contain 10 bridges from
BridgeDB's 'unallocated' pool. The second file would contain 15 bridges
from the same pool and the third one similarly 3 bridges. These files can
then be handed out to trusted parties via mail or fed to other distribution
mechanisms such as twitter.
To use with HTTPS:
- Just connect to the appropriate port.
To use with email:
- Any mail sent to the email port with a subject or a single line _exactly_
equal to "get bridges" will get answered, assuming the domain is okay.
Support
- Send your questions to nickm.