🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #174249

Re: TOR - Privoxy - JAP - anonymity

#174249
From: starwars
Date: Fri, 27 Aug 2004 17:57
123 lines
6661 bytes
In article <412657b3$0$771$3a628fcd@reader10.nntp.hccnet.nl>
"Thomas J. Boschloo" <nospam@hccnet.nl.invalid> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
>
> Tarapia Tapioco wrote:
>
> Privoxy will remove most IP addresses by filtering them from the flow
> that goes into the Socks proxy.

Silly: Privoxy will not remove your IP adress because otherwise you 
would get no answere.

The tor-design.pdf says the following:

Constructing a circuit

A user’s OP (Onion Proxy) constructs circuits incrementally, 
negotiating a symmetric key with each OR (Onion Router) on the circuit, 
one hop at a time.

To begin creating a new circuit, the OP (call her Alice) sends a create 
cell to the first node in her chosen path (call him Bob). (She chooses 
a new circID CAB not currently used on the connection from her to Bob.) 
The create cell’s payload contains the first half of the Diffie-Hellman 
handshake (gx), encrypted to the onion key of the OR (call him Bob). 
Bob responds with a created cell containing gy along with a hash of the 
negotiated key K = gxy.

Once the circuit has been established, Alice and Bob can send one 
another relay cells encrypted with the negotiated key. More detail is 
given in the next section.

To extend the circuit further, Alice sends a relay extend cell to Bob, 
specifying the address of the next OR (call her Carol), and an 
encrypted gx2 for her. Bob copies the half-handshake
into a create cell, and passes it to Carol to extend the circuit. (Bob 
chooses a new circID CBC not currently used on the connection between 
him and Carol. Alice never needs to know this circID; only Bob 
associates CAB on his connection with Alice to CBC on his connection 
with Carol.) When Carol responds with a created cell, Bob wraps the 
payload into a relay extended cell and passes it back to Alice. Now the 
circuit is extended to Carol, and Alice and Carol share a common key K2 
= gx2y2 .

To extend the circuit to a third node or beyond, Alice proceeds as 
above, always telling the last node in the circuit to extend one hop 
further.

(....)

4.3 Opening and closing streams

When Alice’s application wants a TCP connection to a given address and 
port, it asks the OP (via SOCKS) to make the connection. The OP chooses 
the newest open circuit (or creates one if needed), and chooses a 
suitable OR on that circuit to be the exit node (usually the last node, 
but maybe others due to exit policy conflicts; see Section 6.2.) The OP 
then opens the stream by sending a relay begin cell to the exit node, 
using a new random streamID. Once the exit node connects to the remote 
host, it responds with a relay connected cell. Upon receipt, the OP 
sends a SOCKS reply to notify the application of its success. The OP 
now accepts data from the application’s TCP stream, packaging it into 
relay data cells and sending those cells along the circuit to the 
chosen OR.

There’s a catch to using SOCKS, however—some applications pass the 
alphanumeric hostname to the Tor client, while others resolve it into 
an IP address first and then pass the IP address to the Tor client. If 
the application does DNS resolution first, Alice thereby reveals her 
destination to the remote DNS server, rather than sending the hostname 
through the Tor network to be resolved at the far end. Common 
applications like Mozilla and SSH have this flaw.

With Mozilla, the flaw is easy to address: the filtering HTTP proxy 
called Privoxy gives a hostname to the Tor client, so Alice’s computer 
never does DNS resolution. But a portable general solution, such as is 
needed for SSH, is an open problem. Modifying or replacing the local 
nameserver can be invasive, brittle, and unportable. Forcing the 
resolver library to prefer TCP rather than UDP is hard, and also has 
portability problems. Dynamically intercepting system calls to the 
resolver library seems a promising direction. We could also provide a 
tool similar to dig to perform a private lookup through the Tor 
network. Currently, we encourage the use of privacy-aware proxies like 
Privoxy wherever possible.
(....)


Conclusion:

The first OR Bob strips the IP of Alice. The second OR Carol knows only 
that Bob is sending a request but does not know that the originator of 
that request was Alice.

If the first OR strips the IP of Alice how can Alice then receive an 
answere for her request? That is because Bob correlates Alice's IP to 
the circID CAB. After Bob the correlation back to Alice is accomplished 
via the circIDs: CAB, CBC, CCD, etc.. The exit OR knows the request and 
sends it out with his IP. If he receives the answere he hands it back 
down the OR chain until it reaches Bob. Bob correlates the answere to 
Alice and sends it to Alice.

Privoxy must be used together with TOR to prevent applications to 
initiate DNS resolution before handing the request over to TOR in that 
case revealing the IP of Alice to the remote DNS server.

>
> Regards,
> Thomas
> - --
> Mean Guns, The Three Bears, Deedee: "So she is Goldilocks",
> Lou: "Yeah, and you're a stupid",
> Deedee: "I have just about had it with you Lou"
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.5 (MingW32)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iQB5AwUBQSZRmgEP2l8iXKAJAQF1QAMeNEQ7BwV30dlMt7rq/o+yAQ4RTLTBvCyJ
> 1LgEDWtlW2ZOpKJ5IRANXYYQ5509oRK/mZj8iWk6uojUXbBZgzgMBm1jRwPY6vqc
> /RYkUGMfL9jAmnXyRJ3H9yr3Qx4HJfmBoht6Hg==
> =v7y0
> -----END PGP SIGNATURE-----
Technical Details
Message-ID: <5caf3766f8350af172b0ad0abd3eaeec@tatooine.homelinux.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!number1.nntp.dca.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news.zanker.org!news.bananasplit.info!news.dizum.com!sewer-output!mail2news
References: <b135ba8b6d2ec9b6b4456ae09a4110d9@firenze.linux.it> <412657b3$0$771$3a628fcd@reader10.nntp.hccnet.nl>

Show Full Headers
Complete Article Headers
Message-ID: <5caf3766f8350af172b0ad0abd3eaeec@tatooine.homelinux.net>
Subject: Re: TOR - Privoxy - JAP - anonymity
Date: Fri, 27 Aug 2004 17:57:57 +0000
From: starwars <nobody@tatooine.homelinux.net>
References: <b135ba8b6d2ec9b6b4456ae09a4110d9@firenze.linux.it> <412657b3$0$771$3a628fcd@reader10.nntp.hccnet.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!number1.nntp.dca.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news.zanker.org!news.bananasplit.info!news.dizum.com!sewer-output!mail2news
Comments: This message did not originate from the Sender address above.
 It was remailed automatically by anonymizing remailer software.
 Please report problems or inappropriate use to the
 remailer administrator at <abuse@tatooine.homelinux.net>.
Newsgroups: alt.privacy.anon-server
Mail-To-News-Contact: abuse@dizum.com
Organization: mail2news@dizum.com