aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2010-02-07 07:39:00 +0100
committerSebastian Hahn <sebastian@torproject.org>2010-02-16 06:41:36 +0100
commitf164a76f72cc8e3447a733dcb129239b4afdf8c5 (patch)
tree4f8afa71abdd17215057046dba35537bdc8ea806 /contrib
parent3a7e7f1be48b8c0b384be23398517f7a7d7597ad (diff)
downloadtor-f164a76f72cc8e3447a733dcb129239b4afdf8c5.tar
tor-f164a76f72cc8e3447a733dcb129239b4afdf8c5.tar.gz
Remove legacy files from main source distribution
The AUTHORS file was pretty outdated. Its contents moved onto the people page. Design paper and roadmaps moved to the projects directory in svn.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/privoxy-tor-toggle73
-rw-r--r--contrib/proxy-some-domains52
-rw-r--r--contrib/tor-0.1.2.17.tar.gz.metalink.in41
3 files changed, 0 insertions, 166 deletions
diff --git a/contrib/privoxy-tor-toggle b/contrib/privoxy-tor-toggle
deleted file mode 100644
index 8f9cd51bd..000000000
--- a/contrib/privoxy-tor-toggle
+++ /dev/null
@@ -1,73 +0,0 @@
-#!/bin/sh
-# A script to turn Tor SOCKS4a in Privoxy on or off.
-
-CONFFILE=/etc/privoxy/config # privoxy config file.
-TOR_REG="forward.*localhost:9050" # Regular expression to find Tor in privoxy
-PRIVOXY="/etc/init.d/privoxy restart" # command to reload privoxy config file.
-SED="/bin/sed" # sed command, of course.
-GREP="/bin/grep" # grep command.
-
-usage () {
-echo "\
-privoxy-tor-toggle: Change Privoxy's configuration to use/not use Tor.
-Usage:
- privoxy.tor <-- Switch Tor on or off.
- privoxy.tor [on|off] <-- Set Tor on or off.
- privoxy.tor status <-- Display Tor's current status.
- privoxy.tor [-h|--help|-?] <-- Print usage.
-"
-}
-
-# Find out the current status of tor. Set $tor_status
-get_status () {
- gret=`$GREP -l -e "^$TOR_REG" $CONFFILE`
- if [ x$gret = x ] ; then
- tor_status=off;
- else
- tor_status=on;
- fi
- return
-}
-
-# Turn tor on/off according to $1
-set_tor () {
- tor_gate=$1
- get_status
- if [ $tor_status = $tor_gate ] ; then
- echo "Tor is already $1."
- return
- elif [ $tor_gate = flip ] ; then
- if [ $tor_status = on ] ; then
- tor_gate=off
- elif [ $tor_status = off ] ; then
- tor_gate=on
- fi
- fi
- echo "Turning Tor $tor_gate..."
- if [ $tor_gate = on ] ; then
- reg=s/^#\($TOR_REG\)/\\1/
- $SED -i.bak -r "$reg" $CONFFILE
- else
- reg=s/^\($TOR_REG\)/#\\1/
- $SED -i.bak -r "$reg" $CONFFILE
- fi
- $PRIVOXY
- return 0;
-}
-
-if [ x$1 = x ] ; then
- set_tor flip
-elif [ $1 = on ] ; then
- set_tor on
-elif [ $1 = off ] ; then
- set_tor off
-elif [ $1 = status ] ; then
- get_status
- echo "Tor is $tor_status"
-elif [ $1 = --help ] || [ $1 = -h ] || [ $1 = "-?" ] ; then
- usage
- exit 0
-else
- echo "Unrecognized option: \"$1\""
-fi
-
diff --git a/contrib/proxy-some-domains b/contrib/proxy-some-domains
deleted file mode 100644
index eb238a2fe..000000000
--- a/contrib/proxy-some-domains
+++ /dev/null
@@ -1,52 +0,0 @@
-Subject:
-Re: Anonymous/Nonymous Communication Coexisting?
-From:
-Kristian Köhntopp <kris@xn--khntopp-90a.de>
-Date:
-Fri, 10 Jun 2005 08:56:19 +0200
-To:
-or-talk@freehaven.net
-
-On Wednesday 08 June 2005 04:20, yancm@sdf.lonestar.org wrote:
-
->> Is it possible to have a single application, such as a web
->> browser or a p2p client behave normally with normal url's but
->> use tor if the url is an xyz.onion address? Or is it
->> everything or nothing?
-
-
-This is basically a question of using your proxy or not. You can
-control the behaviour of your browser in great detail writing a
-proxy.pac program in Javascript and setting that program as the
-proxy autoconfiguration URL in your browser.
-
-An example:
-
-kris@jordan01:~> cat /srv/www/htdocs/proxy.pac
-
-function FindProxyForURL(url, host)
-{
- var proxy_yes = "PROXY jordan01.int.cinetic.de:3128";
- var proxy_no = "DIRECT";
-
- // Redirect all accesses to mlan hosts to the mlan proxy
- if (dnsDomainIs(host, ".mlan.cinetic.de")) {
- return proxy_yes;
- }
-
- // Everything else is direct
- return proxy_no;
-}
-
-So here the program checks if the destination is a mlan-Host, and
-if so, uses the appropriate proxy on jordan for the access,
-while all other accesses are direct.
-
-You could do a similar thing with .onion accesses with a trivial
-modification.
-
-Docs:
-http://wp.netscape.com/eng/mozilla/2.0/relnotes/demo/proxy-live.html
-
-Kristian
-
diff --git a/contrib/tor-0.1.2.17.tar.gz.metalink.in b/contrib/tor-0.1.2.17.tar.gz.metalink.in
deleted file mode 100644
index 559748865..000000000
--- a/contrib/tor-0.1.2.17.tar.gz.metalink.in
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<metalink version="3.0" generator="Metalink Editor version 1.1.0" xmlns="http://www.metalinker.org/">
- <publisher>
- <name>The Tor Project</name>
- <url>https://www.torproject.org</url>
- </publisher>
- <license>
- <name>BSD</name>
- <url>http://opensource.org/licenses/bsd-license.php</url>
- </license>
- <identity>Tor</identity>
- <version>@VERSION@</version>
- <copyright>2007 The Tor Project, Inc.</copyright>
- <description>Anonymity Online</description>
- <files>
- <file name="tor-@VERSION@.tar.gz">
- <size>1251636</size>
- <language>en</language>
- <os>Source</os>
- <verification>
- <hash type="md5">ef8fc7f45d167875c337063d437c9832</hash>
- <hash type="sha1">01092fb75c407b5c1d7f33db069cf7641973d94d</hash>
- <hash type="sha256">fc0fb0c2891ae09854a69512c6b4988964f2eaf62ce80ed6644cb21f87f6056a</hash>
- <pieces type="sha1" length="262144">
- <hash piece="0">c778dd01e05734d57f769082545f9802386e42bb</hash>
- <hash piece="1">39b172ed8b9290884c7bd129db633a79e28d5ae9</hash>
- <hash piece="2">28d708e7489a1e9951e757443672535aedfa3abe</hash>
- <hash piece="3">a7623e07081819a37300de0511bbdda0bdc960bd</hash>
- <hash piece="4">f246021e55affe320a1f86eac5b049dd0caad828</hash>
- </pieces>
- </verification>
- <resources>
- <url type="http" location="at">http://tor.cypherpunks.at/dist/</url>
- <url type="http" location="ca">http://tor.depthstrike.com/dist/</url>
- <url type="http" location="ca">http://tor.hermetix.org/dist/</url>
- <url type="http" location="ch">http://tor.boinc.ch/dist/</url>
- <url type="http" location="cn">http://tor.anonymity.cn/dist/</url>
- </resources>
- </file>
- </files>
-</metalink>