Skip to content

Code structure

evilaliv3 edited this page Oct 22, 2012 · 9 revisions

This file specify what's the content of directories and files present in Tor2Web-3.0 repository. This file is part of Tor2web documentation wiki

Tor2Web-3.0/

  • config.py: config
  • Feature.md
  • fileList.py: contains the definition for classes useful to parse and update list files
  • LICENSE: GNU Affero General Public License 3
  • README.md: general project entry point
  • run.py: tarting point of Tor2web code
  • socksclient.py: socksv5 library
  • storage.py: contains a Storage (Dictionary Like) class definition
  • templating.py: contains a Templating class used for HTML rendering
  • tor2web.conf.example: contains a Tor2web configuratiuon example
  • tor2web.py: contains the Tor2web core

Tor2Web-3.0/certs

  • tor2web_cert_test.pem
  • tor2web_dh_test.pem
  • tor2web-intermediate_cert_test.pem
  • tor2web_key_test.key

Tor2Web-3.0/contrib/debian

Tor2Web-3.0/contrib/monit

Tor2Web-3.0/lists

  • blocked_ua.txt
  • blocklist_cleartext.txt
  • blocklist_hashed.txt

Tor2Web-3.0/static

  • index.html

  • tor2web.(css|js)

  • tor2web[-small].png: logos of tor2web in different size,

Tor2Web-3.0/templates

  • error_blocked_ua.xml
  • error_hs_completely_blocked.xml
  • error_invalid_hostname.xml
  • error_sock_hs_not_found.xml
  • footer.xml
  • tos.xml
  • error_generic.xml
  • error_hs_specific_page_blocked.xml
  • error_sock_generic.xml
  • error_sock_hs_not_reachable.xml
  • header.xml