Index: ports/tor/index.html |
diff --git a/ports/tor/index.html b/ports/tor/index.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..242c52e4f28f6c86f76aabd4785cd59d42684bcd |
--- /dev/null |
+++ b/ports/tor/index.html |
@@ -0,0 +1,49 @@ |
+<!DOCTYPE html> |
+<html> |
+ <head> |
+ <title>KroTor</title> |
+ <META HTTP-EQUIV="Pragma" CONTENT="no-cache" /> |
+ <META HTTP-EQUIV="Expires" CONTENT="-1" /> |
+ <script type="text/javascript" src="hterm.concat.js"></script> |
+ <script type="text/javascript" src="pipeserver.js"></script> |
+ <script type="text/javascript" src="naclprocess.js"></script> |
+ <script type="text/javascript" src="naclterm.js"></script> |
+ <script type="text/javascript" src="tor.js"></script> |
+ |
+ |
+ <style type="text/css"> |
+ body { |
+ position: absolute; |
+ padding: 2px; |
+ margin: 0; |
+ height: 100%; |
+ width: 100%; |
+ overflow: scroll; |
+ } |
+ |
+ #terminal { |
+ height: 450px; |
+ position: relative; |
+ padding: 5px; |
+ } |
+ </style> |
+ |
+ </head> |
+ <body> |
+ <h4 style="text-align: center;">KroTor</h4> |
+ <div> |
+ <p style="text-align: center;">This is port of Tor(core) to NaCl platfrom.<br/> To learn more about Tor Project,please visit https://www.torproject.org/</p> |
+ <ul> |
+ <li>Since Chrome Socket API is required,"NaCl Socket API" flag[chrome://flags] must be enabled for testing. |
binji
2015/08/24 22:28:01
Shouldn't be needed -- let's try to figure out why
deepankar-tyagi
2015/08/25 18:14:44
Issue resolved,turns out I messed up in permission
|
+ <br/> Alternatively you can launch chrome with --allow-nacl-socket-api=localhost (or whatever host |
+ you are loading this page from</li> |
+ <li>On successful run(see the logs in terminal), a tor (socks) proxy will be available system wide at 127.0.0.1:9999, point your browser/ |
+ application accordingly to the proxy</li> |
+ <li>Config options can be added/modified in torrc file, alternatively they can be added in tor.js [see line 27 for example]<br/> |
+ To see all the config options visit https://www.torproject.org/docs/tor-manual.html.en</li> |
+ </ul> |
+ </div> |
+ |
+ <div id="terminal"></div> |
+ </body> |
+</html> |