<commit_before>node-Tor
===

Node.js Javascript implementation of the Tor anonymizer project (The Onion Router https://www.torproject.org/)

## Presentation:

This is an unofficial implementation of the Tor protocol (Onion Proxy and Onion Router) which anonymizes communications via the Tor network.

## Install :

For the record, you need the following to run node-Tor :

	node.js version >= v0.7.5 (getDiffieHelman function needed)
	openssl version >= 1.0.0a (aes counter mode encryption required)
	python >= 2.6 (node.js's requirement)
	
####Current release of node.js is v0.8.4 with openSSL 1.0.0f
	
Then as usual :

	npm install node-Tor

or

    git clone http://github.com/Ayms/node-Tor.git
    cd node-Tor
    npm link
	
If you encounter installation problems, you might look at :

	https://github.com/joyent/node/issues/3574 (openssl)
	https://github.com/joyent/node/issues/3504 (python)
	https://github.com/joyent/node/issues/3516 (node.js)

To launch it, you need to be in the lib directory (some small inconvenient that will be fixed) :

	node tor.js

## Tor Network principles :

Specifications of the Tor protocol and associated protocols are available here : https://www.torproject.org/docs/documentation.html.en (Design documents and official repository source tree).

As a simplified summary, the Tor network is composed of Onion Proxys (OP) and Onion Routers (OR). The OP is usually located on the device that your are using to establish communications (ie on your PC for example), because communications between the application sending the instructions to the OP and the OP are not protected. While operating, the OP does maintain a file retrieved from the Directory nodes giving it what it needs to know about the ORs to establish circuits.<commit_msg>no aes-128-ct openssl in v0.8.5<commit_after>node-Tor
===

Node.js Javascript implementation of the Tor anonymizer project (The Onion Router https://www.torproject.org/)

## Presentation:

This is an unofficial implementation of the Tor protocol (Onion Proxy and Onion Router) which anonymizes communications via the Tor network.

## Install :

For the record, you need the following to run node-Tor :

	node.js version >= v0.7.5 (getDiffieHelman function needed)
	openssl version >= 1.0.1c (aes counter mode encryption required)
	python >= 2.6 (node.js's requirement)
	
####Current release of node.js is v0.8.5 with openSSL 1.0.0f
	
Then as usual :

	npm install node-Tor

or

    git clone http://github.com/Ayms/node-Tor.git
    cd node-Tor
    npm link
	
If you encounter installation problems, you might look at :

	https://github.com/joyent/node/issues/3574 (openssl)
	https://github.com/joyent/node/issues/3504 (python)
	https://github.com/joyent/node/issues/3516 (node.js)

To launch it, you need to be in the lib directory (some small inconvenient that will be fixed) :

	node tor.js

## Tor Network principles :

Specifications of the Tor protocol and associated protocols are available here : https://www.torproject.org/docs/documentation.html.en (Design documents and official repository source tree).

As a simplified summary, the Tor network is composed of Onion Proxys (OP) and Onion Routers (OR). The OP is usually located on the device that your are using to establish communications (ie on your PC for example), because communications between the application sending the instructions to the OP and the OP are not protected. While operating, the OP does maintain a file retrieved from the Directory nodes giving it what it needs to know about the ORs to establish circuits.
{'fraction_non_alphanumeric': 0.0763615946097698, 'fraction_numerical': 0.016282987085906794, 'mean_word_length': 4.111908177905309, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 10, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7330288', 'n_tokens_mistral': 1039, 'n_tokens_neox': 960, 'n_words': 453}