Commit graph

42 commits

Author SHA1 Message Date
shortcutme
b0b9a4d33c
Change to Python3 coding style 2019-03-15 21:06:59 +01:00
shortcutme
468666cdc8
Optimize getOnion function with less lock 2019-01-20 16:51:42 +01:00
shortcutme
00972f5d73
Fix stuck starting when tor client is already running 2019-01-20 16:51:13 +01:00
shortcutme
bffe6e7a32
Tor service ipv6 support 2019-01-20 16:50:55 +01:00
shortcutme
8738817eab
Fix tor logging on message fail 2018-08-26 02:56:41 +02:00
redfish
9bd10d5102 TorManager: correct the Tor error log message
On Linux, there is no self-bundled Tor, so the message was not correct
because it was stating that self-bundled Tor was being started.
2018-08-02 23:47:24 +00:00
redfish
4c62840cef TorManager: escalate log error for Tor auth
This errorr is fatal for Tor usage (on Linux). Let's make escalate
it. Also see the previous commit, without which, this error doesn't
even get printed at all.
2018-08-02 23:42:50 +00:00
shortcutme
b87ad9cd2f
Fix disabled tor startup 2018-07-10 03:31:39 +02:00
shortcutme
329e885da7
Wait tor connections until tor client startup 2018-06-03 12:46:47 +02:00
saber28
94bc33f61c
Improve Orbot Compatibility
Use password auth first to work with orbot
2018-05-05 09:58:14 +08:00
shortcutme
d7c1c0d04c
Tor subprocess check separate function 2018-04-29 02:45:56 +02:00
shortcutme
4fa43fdf60
Trust that shutdown signal will kill tor 2018-04-29 02:45:39 +02:00
shortcutme
24a7c26819
Fix tor status logging with foreign languages 2018-04-28 21:53:36 +02:00
shortcutme
13019941b3
Make sure to shutdown tor client if we started it 2018-04-28 21:53:12 +02:00
shortcutme
a0451065a2
Start with bridges if tor_use_bridges enabled 2018-04-28 21:52:01 +02:00
shortcutme
54b87c19b1
Fix TorManager without main module loaded 2018-04-28 21:51:35 +02:00
shortcutme
8828f21f2e
Always create TorManager object with ConnectionServer, move tormanager start to sperate function 2018-04-28 21:51:14 +02:00
shortcutme
7fee135bf5
Check if we can enable meek bridges 2018-04-28 21:50:01 +02:00
shortcutme
c401cabee7
Only start separate HS for every site in tor always mode 2018-03-14 22:33:41 +01:00
shortcutme
1549f2aa4d
Don't share global HS with any site 2018-03-14 22:33:21 +01:00
shortcutme
89beb12d59
Set up HS for global at startup 2018-03-14 22:32:49 +01:00
shortcutme
4083e552fd
Formatting 2018-03-14 22:32:28 +01:00
shortcutme
39568737dd
Tor connect error and uPnP punch error are not critical 2018-02-10 15:33:54 +01:00
shortcutme
3b7750c24e
Send serverChanged event on Tor status change 2017-11-05 23:43:03 +01:00
shortcutme
d8453384ab
Separate socket creation and connection to be able to cancel it 2017-10-03 14:30:19 +02:00
shortcutme
75d94aaf06
Choose from current hidden services if over tor_hs_limit 2017-04-09 11:58:18 +02:00
MuxZeroNet
0aa6358938 Update TorManager.py 2017-02-23 23:39:45 +00:00
MuxZeroNet
a724dd472f Update TorManager.py 2017-02-23 23:09:47 +00:00
MuxZeroNet
ddc3f72afb Make TorManager accept plugins 2017-02-17 01:17:51 +00:00
shortcutme
2113b03a42
Rev1845, Hide Tor console window 2017-01-23 00:31:52 +01:00
shortcutme
a0c3d7f8a6
Rev1833, Fix utf8 system paths 2017-01-22 21:22:53 +01:00
anonym
6679baadbb TorManager.send(): read until repsonse terminator.
Tor command responses terminate with "250 OK\r\n" so we have to read
until that sequence is encountered.

The previous implementation is racy: after sending a command it would
accept whatever that is found on the socket as its response, no matter
if it is correctly terminated or not.

This commit fixes: https://github.com/HelloZeroNet/ZeroNet/issues/756
2017-01-20 10:53:31 +01:00
shortcutme
77e07dd5b5
Rev1815, Request tor version using GETINFO 2017-01-11 19:56:33 +01:00
erqan
a3f62f56f6 tor_password argument... 2016-12-27 17:15:02 +03:00
shortcutme
9a1735f37d Rev1791, Fix gevent 1.2 compatibility 2016-12-27 11:37:58 +01:00
shortcutme
2a7f03af8a Try to reconnect to Tor on send error 2016-09-04 18:00:08 +02:00
HelloZeroNet
0ccc81f46b Try to fix non-english Tor error messages 2016-03-18 19:17:15 +01:00
HelloZeroNet
61b4d97832 Silent Tor terminate error 2016-03-16 00:33:56 +01:00
HelloZeroNet
e891a10e54 Rev957, Sidebar displays onion peers in graph, Sidebar display bad file retry number, Sidebar site Update/Pause/Delete, Ratelimit sidebar update, Encoded typo, Fix onion findHashId, More retry for bad files, Log file path errors, Testcase for self findhashIds, Testcase for Tor findHashId, Better Tor version parse, UiWebsocket callback on update/pause/resume/delete, Skip invalid postMessage messages 2016-03-09 00:48:57 +01:00
HelloZeroNet
779075c4a5 Rev915, Fix Tor version detection, Better Tor connection error logging 2016-03-02 09:37:24 +01:00
HelloZeroNet
7d35797749 Rev838, Better running Tor detection 2016-01-09 01:17:04 +01:00
HelloZeroNet
e9d2cdfd37 Version 0.3.5, Rev830, Full Tor mode support with hidden services, Onion stats in Sidebar, GeoDB download fix using Tor, Gray out disabled sites in Stats page, Tor hidden service status in stat page, Benchmark sha256, Skyts tracker out expodie in, 2 new tracker using ZeroNet protocol, Keep SSL cert option between restarts, SSL Certificate pinning support for connections, Site lock support for connections, Certificate pinned connections using implicit SSL, Flood protection whitelist support, Foreign keys support for DB layer, Not support for SQL query helper, 0 length file get bugfix, Pex onion address support, Faster port testing, Faster uPnP port opening, Need connections more often on owned sites, Delay ZeroHello startup message if port check or Tor manager not ready yet, Use lockfiles to avoid double start, Save original socket on proxy monkey patching to get ability to connect localhost directly, Handle atomic write errors, Broken gevent https workaround helper, Rsa crypt functions, Plugin to Bootstrap using ZeroNet protocol 2016-01-05 00:20:52 +01:00