Commit graph

1500 commits

Author SHA1 Message Date
shortcutme
4f472982da
Use broken ssl ip list instead of peer_id 2018-03-14 22:26:59 +01:00
shortcutme
f1396b65b9
Blacklist myself on peer id match 2018-03-14 22:26:08 +01:00
shortcutme
ba12489c34
Log my and remote handshake 2018-03-14 22:25:53 +01:00
shortcutme
4586d3be78
Send my local time as int in the handshake 2018-03-14 22:25:27 +01:00
shortcutme
2204e0cf9c
Fix message parsing after data left in unpacker 2018-03-14 22:24:38 +01:00
shortcutme
8787774764
Use implicit ssl for connections 2018-03-14 22:24:06 +01:00
shortcutme
feb00d5b8a
Option to force encryption to all outgoing connection 2018-03-14 22:22:45 +01:00
shortcutme
1189c76691
Add existing bigfiles to piecefield if they were downloaded outside of ZeroNet 2018-03-14 22:21:45 +01:00
shortcutme
fbc10b8e32
Rev3356 2018-03-10 02:06:09 +01:00
shortcutme
511731f0b4
Add current timestamp to handshake for future time consensus feature 2018-03-10 02:04:14 +01:00
shortcutme
738fd1a09b
Rev3354, Fix ajax loading files from archives 2018-03-09 15:01:45 +01:00
shortcutme
645249afa9
Rev3353, Pass arguments of storage walk, Email notify of build fail 2018-03-08 14:27:40 +01:00
shortcutme
a51d794885
Rev3352 2018-03-08 14:20:18 +01:00
shortcutme
7048987157
Rev3351, Fix sites with utf8 title 2018-03-07 10:23:13 +01:00
shortcutme
e03731fd24
Allow html formatting in wrapper prompt display 2018-03-07 03:10:13 +01:00
shortcutme
7097859b79
Rev3350 2018-03-06 12:09:54 +01:00
shortcutme
e87df8a57a
NOSANDBOX is as dangerous as ADMIN command 2018-03-06 12:09:39 +01:00
shortcutme
982fb27f58
Close notification on input enter 2018-03-06 12:07:07 +01:00
shortcutme
16efba2b91
Merge wrapper js 2018-03-06 12:03:10 +01:00
shortcutme
e93b5c3c1c
Create wrapper html tags based on attributes instead of raw html 2018-03-06 12:02:39 +01:00
shortcutme
9dabd1f344
Wrapper escape apos characters 2018-03-06 12:01:39 +01:00
shortcutme
e96dd14e0d
Display wrapper security errors and fix Firefox navigation blank pages 2018-03-06 12:01:21 +01:00
shortcutme
3e970df09b
Simple replace wrapper template variables instead of python formatting to allow use braces 2018-03-06 12:00:30 +01:00
shortcutme
b0a8c4d278
Change http headers from list to dict 2018-03-06 11:58:56 +01:00
shortcutme
4c7013644f
Rev3340 2018-02-27 02:49:04 +01:00
shortcutme
bca5d8a6c5
Use msgpack pip package everywhere 2018-02-27 02:48:15 +01:00
shortcutme
af57083afd
Handle ip change on onion connection correctly 2018-02-27 02:46:56 +01:00
shortcutme
f10233a0a6
New msgpack compatible stream handling 2018-02-27 02:46:26 +01:00
shortcutme
357fd895bf
Add msgpack test 2018-02-23 15:44:07 +01:00
shortcutme
bda31aea59
Rev3337, Fix big site download button 2018-02-22 23:34:18 +01:00
shortcutme
dea669ac26
Rev3335 2018-02-21 03:15:16 +01:00
shortcutme
40693471e9
Merge sidebar and wrapper js 2018-02-21 03:15:04 +01:00
shortcutme
b57a9f5c58
Make cert selection compatible with wrapper modifications 2018-02-21 03:13:27 +01:00
shortcutme
6afe2dd720
New NOSANDBOX permission to remove sandboxed iframe restrictions 2018-02-21 03:12:51 +01:00
shortcutme
aef3ecc3f2
Stop page load if opener is present 2018-02-21 03:11:50 +01:00
shortcutme
01ce86ce18
Don't display permission request if site already has 2018-02-21 03:10:23 +01:00
shortcutme
99362c78bf
Move handleMessage to separate function 2018-02-21 03:09:48 +01:00
shortcutme
c0bf9a9a76
Add cmd function to Wrapper 2018-02-21 03:09:36 +01:00
shortcutme
1833b3e89f
Remove logging injected html 2018-02-21 03:09:01 +01:00
shortcutme
6b71f91775
Verify mouse and keyboard events to avoid non-user verification on notification prompts 2018-02-21 03:08:52 +01:00
shortcutme
5275988f37
Move isProxyRequest and gotoSite to minimal ZeroFrame wrapper 2018-02-21 03:06:48 +01:00
shortcutme
93162beaa0
Allow to set get parameter to reload 2018-02-21 03:06:21 +01:00
shortcutme
61699c7477
Allow small tag in messages 2018-02-21 03:05:11 +01:00
shortcutme
a1a2434d98
Rename wrapper onLoad to onPageLoad 2018-02-21 03:05:02 +01:00
shortcutme
fd56ddaa54
Remove wrapper object reference before loading iframe to enhance security 2018-02-21 03:03:01 +01:00
shortcutme
c438b9f8a5
Create a restricted ZeroFrame wrapper 2018-02-21 03:02:00 +01:00
shortcutme
3d0a20452f
Fix site archived download test 2018-02-20 10:18:35 +01:00
shortcutme
c5b8495477
Rev3329 2018-02-18 05:49:35 +01:00
shortcutme
62ecc1cbc1
Rename Unique to site to No certificate 2018-02-18 05:46:49 +01:00
shortcutme
cd822156c9
Rev3328, Fix CLI siteDownload, siteAnnounce, siteNeedFile commands 2018-02-13 13:18:40 +01:00
shortcutme
e85c5e3b36
Rev3327, Add compatbility with new msgpack version 2018-02-13 01:35:21 +01:00
shortcutme
02ab6d8f59
Rev3326 2018-02-12 17:07:50 +01:00
shortcutme
a548426c39
Formatting 2018-02-12 17:06:36 +01:00
shortcutme
5f851c7880
Maximum 10 findhash in one round 2018-02-12 17:06:18 +01:00
shortcutme
f91e264889
Only try peers that is not working currently 2018-02-12 17:05:58 +01:00
shortcutme
514f8396b7
Add missing import for port checking 2018-02-12 17:05:20 +01:00
shortcutme
c39ff89fab
Read only what we need 2018-02-12 14:28:45 +01:00
shortcutme
3f19f64efd
Properly recover extra data from unpacker 2018-02-12 14:27:38 +01:00
shortcutme
39366bfbf1
Rev3323, Fix bigfile download to non-existent directory 2018-02-11 01:48:17 +01:00
shortcutme
56f057143e
Rev3321 2018-02-10 15:34:01 +01:00
shortcutme
39568737dd
Tor connect error and uPnP punch error are not critical 2018-02-10 15:33:54 +01:00
shortcutme
13e0d9b306
Configurable file logging level 2018-02-10 15:32:13 +01:00
shortcutme
d6b7159db1
Rev3319 2018-02-10 01:09:16 +01:00
shortcutme
2575476086
Some trackers does not accept port 0, so we send port 1 as not-connectable 2018-02-10 01:08:31 +01:00
shortcutme
211d68f590
Only parse dict result from udp tracker 2018-02-10 01:08:20 +01:00
shortcutme
3e51b888cb
Add left bytes to request to improve tracker compatibility 2018-02-10 01:04:23 +01:00
shortcutme
ff8f41c1eb
Request less peers in update mode 2018-02-10 01:03:49 +01:00
shortcutme
c6fd61ddf3
Don't display warnings if not in debug mode 2018-02-10 01:01:15 +01:00
shortcutme
9ca4b823bb
Add tracker countries 2018-02-10 01:00:50 +01:00
shortcutme
f513737628
Change to more reliable trackers 2018-02-10 01:00:35 +01:00
shortcutme
47db295088
Rev3318 2018-02-09 17:47:58 +01:00
shortcutme
3028a8ebc9
Rev3313, Remove local announcer binding to ip to make test pass on linux 2018-02-09 14:15:43 +01:00
shortcutme
644f65b5e4
Version 0.6.2, Rev3312 2018-02-09 11:42:44 +01:00
shortcutme
9f35efc31d
Revert "Version 0.6.2, Rev3310"
This reverts commit 98c6add637.
2018-02-09 11:39:36 +01:00
shortcutme
98c6add637
Version 0.6.2, Rev3310 2018-02-08 18:16:50 +01:00
shortcutme
ae0a78dfb1
Message from local peer does not means internet connection 2018-02-08 18:12:08 +01:00
shortcutme
1ad021ffa9
Fix comment formatting 2018-02-08 18:11:56 +01:00
shortcutme
ee6ab8e82a
Store site manager to file server 2018-02-08 18:11:45 +01:00
shortcutme
b56c985a63
FileServer accept plugins 2018-02-08 18:09:57 +01:00
shortcutme
abbf6ae2c8
Fix peer added count 2018-02-08 18:08:08 +01:00
shortcutme
403ec56ef8
Remove from recent peers of peer remove 2018-02-08 18:07:09 +01:00
shortcutme
a6e67fa9c3
Generalized tracker result log format for pex 2018-02-08 18:06:45 +01:00
shortcutme
b6a401d697
Get loading status based on property 2018-02-08 18:06:19 +01:00
shortcutme
23be1d18a4
Store site list change time 2018-02-08 18:05:50 +01:00
shortcutme
d721d459eb
Sites always a dict to keep the reference 2018-02-08 18:05:23 +01:00
shortcutme
e1dd0f0979
Only recover sites from sites.json that had peers 2018-02-08 18:04:41 +01:00
shortcutme
866947c445
Fix symlinked data site deletion 2018-02-08 18:03:55 +01:00
shortcutme
8ff3bbc9a7
Local ip not added to ips 2018-02-08 18:02:40 +01:00
shortcutme
498191261c
Don't log local ips on query 2018-02-08 18:02:25 +01:00
shortcutme
f9091ea951
Don't connect to myself 2018-02-08 18:01:48 +01:00
shortcutme
8b9d75d726
Don't mark passive local connections as not connectable 2018-02-08 18:01:34 +01:00
shortcutme
7e4a4459b4
Don't multiplex local connection 2018-02-08 17:59:27 +01:00
shortcutme
70fd33e587
Message from local peer does not means internet connection 2018-02-08 17:58:44 +01:00
shortcutme
a265c2a7ca
Pass peer discovery source to addPeer 2018-02-08 17:57:26 +01:00
shortcutme
64b4789bc1
Generalize tracker logging 2018-02-08 17:54:09 +01:00
shortcutme
13e651c822
Store and prefer recent peers from trackers and local peer discovery 2018-02-08 17:53:17 +01:00
shortcutme
7d3fd6f5b6
Only add recent peers if there is more 2018-02-08 17:51:44 +01:00
shortcutme
0c91fd396e
De-duplicate peers before publishing 2018-02-08 17:51:10 +01:00
shortcutme
1827e1e033
Force announce on startup 2018-02-08 17:50:40 +01:00
shortcutme
771dce4c8c
Pre-generate site address hash 2018-02-08 17:50:23 +01:00