Commit graph

136 commits

Author SHA1 Message Date
shortcutme
628cc992e9
Don't send ok result when update is queued 2017-10-03 15:19:34 +02:00
shortcutme
636813c603
Reduce connection cpu usage by socket send time 2017-10-03 15:19:09 +02:00
shortcutme
2eb6cc8f55
Don't add myself to findhash result if ip detection failed 2017-10-03 15:07:26 +02:00
shortcutme
8ae9b5261e
Unify handling Stream and Get file requests 2017-10-03 15:03:56 +02:00
shortcutme
02ad7542b3
Temporary disable P2P port checking until more client start supporting it 2017-10-03 14:39:04 +02:00
shortcutme
57c042ef79
Use recent peers for P2P port checking 2017-10-03 14:38:33 +02:00
grez911
8487056edb Small fix in P2P portcheck 2017-08-18 11:43:06 +03:00
grez911
bf69d24566 Deleted unnecessary import statement 2017-08-18 11:38:26 +03:00
grez911
1fc2a917d4 Fix P2P port check 2017-08-18 11:29:41 +03:00
Sergei Bondarenko
c0a96983a7 Update FileServer.py 2017-08-16 14:32:47 +03:00
Sergei Bondarenko
a4132c9cb1 Update FileServer.py 2017-08-16 09:40:54 +03:00
grez911
5c5e4b914c Added P2P portcheck 2017-08-15 20:17:42 +03:00
shortcutme
ef4a4acbc0
Only display read error in verbose mode 2017-08-09 14:19:56 +02:00
shortcutme
eee073c103
Publish incoming updates to more peers 2017-07-27 16:30:21 +02:00
shortcutme
f08f354eb6
More detailed file size match error logging 2017-06-20 11:20:43 +02:00
shortcutme
23db93d20f
Fix invalid update logging 2017-06-20 11:20:30 +02:00
shortcutme
f773bf3336
Add file_size to request to avoid unnecessary download 2017-06-19 16:10:18 +02:00
shortcutme
9a9bd71634
Catch file verification errors on update request 2017-06-19 16:07:36 +02:00
shortcutme
25657ebdca
Log to site instead of fileserver 2017-06-19 16:04:17 +02:00
shortcutme
c7146613a1
Store inner path to variable on update request to save some complexity 2017-06-19 16:02:52 +02:00
shortcutme
c58d28861d
Raise RequestError instead of Exception of fileGet error 2017-06-19 16:01:41 +02:00
shortcutme
a4a23f3ea0
Fix site lock violation logging 2017-06-13 14:12:13 +02:00
shortcutme
de363b57ce
Rev2091, Port opening error should not prevent ZeroNet startup 2017-05-26 12:22:35 +02:00
shortcutme
89bb12de71
Search for success message instead of error when portchecking 2017-05-24 10:28:59 +02:00
shortcutme
ed11ae283f
Use https for portchecker.co 2017-05-24 10:27:02 +02:00
shortcutme
438bdbc141
Protect peers for low traffic sites from closing 2017-05-07 18:15:23 +02:00
shortcutme
14c906561d
Rev2048, Stop sending detailed exception as response to file request 2017-04-14 00:26:20 +02:00
shortcutme
25bb14037c
Better site lock violation logging 2017-04-10 12:18:21 +02:00
shortcutme
7bda72027a
Site lock validation based on target_onion 2017-04-09 12:03:25 +02:00
shortcutme
50937990e5
Fix typos 2017-03-06 15:30:31 +01:00
shortcutme
ebd00bfb9f
Separate site cleanup and announce thread 2017-02-27 00:07:29 +01:00
shortcutme
353ddd3105
Sync site checking for not so active sites 2017-02-27 00:06:40 +01:00
shortcutme
bad2a79f05
Reason for connection closing 2017-02-27 00:02:24 +01:00
shortcutme
d57d82f439
Rev1913, Support local address other than 127.0.0.1 2017-02-16 20:56:07 +01:00
shortcutme
4ec0209dd7
Invalid request detect 2017-02-09 01:54:24 +01:00
shortcutme
277d16eabb
Bad action increment on invalid file update request 2017-02-09 01:54:04 +01:00
shortcutme
4988d31aff
Rev1859, Update more active sites first 2017-02-05 18:36:58 +01:00
shortcutme
ee0176e730 Increase connection bad action on bad file location 2017-01-05 02:25:06 +01:00
shortcutme
bd51c61eb6 Findhashfield optimization and limit 2016-11-07 23:20:08 +01:00
shortcutme
9fcd456205 Return file send stats 2016-11-07 23:19:33 +01:00
shortcutme
c727443ea3 Log connection cpu time usage for non io heavy commands 2016-11-07 23:19:17 +01:00
shortcutme
efbd485f5f Update more hashfield on site check 2016-11-07 22:37:31 +01:00
shortcutme
3ba2ecedce Only try to close upnp opened port if necessary 2016-11-07 22:36:14 +01:00
shortcutme
c9efcf7389 Catch socket errors on uPnP punch 2016-10-03 19:26:37 +02:00
shortcutme
1849547133 Rev1533, Add uPnP open protocols as parameter 2016-10-02 14:39:03 +02:00
shortcutme
31077eb346 Move uPnP port remove to fileserver 2016-10-02 14:22:01 +02:00
sirMackk
bd5ebdb2de Integrates updated upnppunch with project; Makes project close ports using UPnP on exit. 2016-09-09 12:37:22 +02:00
shortcutme
cb20280530 Less verbose logging on filerequest 2016-09-05 13:54:17 +02:00
shortcutme
6806eed2ae Dont reload the whole site on content.json update 2016-09-05 13:54:03 +02:00
shortcutme
a12c639bed Dont check files on startup 2016-09-04 17:51:00 +02:00