Adam Dobrawy
a98ec61e84
Fix count torrents on homepage in magneticow
2017-05-14 22:06:34 +02:00
Richard Kiss
635fbe8cb1
More clean-up and simplification.
2017-05-14 13:03:01 -07:00
Richard Kiss
f3ae493308
More clean-up in error cases.
2017-05-14 12:03:50 -07:00
Richard Kiss
4aea5df886
Reduce leakage in bittorrent.py.
2017-05-14 11:41:11 -07:00
Richard Kiss
2f68ac3c7a
Improve naming.
2017-05-13 22:55:49 -07:00
Richard Kiss
eb8a2c72e6
Fix conditional.
2017-05-13 22:52:43 -07:00
Richard Kiss
8da8d20b53
First crack at porting to asyncio.
2017-05-13 22:49:14 -07:00
Bora M. ALPER
a3adf88b45
Statistics page added to magneticow.
2017-05-06 01:25:44 +04:00
Bora M. Alper
8b837be714
Updated README to include our gitter.im channel
...
Feel free to join people!
2017-05-01 17:51:29 +04:00
Bora M. Alper
818667b363
Merge pull request #58 from ad-m/patch-1
...
Limit metadata size, move constants to a new file, allow custom database paths
2017-05-01 09:24:09 +04:00
Adam Dobrawy
18f6617214
Add humanfriendly.format_path in --database-file help
2017-05-01 06:47:21 +02:00
Adam Dobrawy
17bd563909
Fix import error in persistence
2017-05-01 06:37:51 +02:00
Adam Dobrawy
0bb1a98415
Introduce requested changes, log when malicious / empty metadata received
2017-05-01 06:34:42 +02:00
Bora M. Alper
57edd024ba
Merge pull request #63 from ad-m/flush-buffer
...
Flush metadata buffer when exiting gracefully
2017-05-01 07:33:34 +04:00
Adam Dobrawy
fd654f25b8
Flush metadata buffer when exiting gracefully
2017-05-01 03:14:50 +02:00
Adam Dobrawy
9b12c25966
Add missing comment to PENDING_INFO_HASHES
2017-05-01 00:41:32 +02:00
Adam Dobrawy
cde5728019
Fix typo in SybilNode & __max_metadata_size
2017-05-01 00:28:34 +02:00
Adam Dobrawy
fa2a135e06
Add --debug argument
2017-04-30 23:47:08 +02:00
Adam Dobrawy
ed081e9399
Clean up parse_ip_port
2017-04-30 23:38:28 +02:00
Adam Dobrawy
e826494453
Extract constants ( fixes #37 ), allows you to specify a size limit and database path as an argument
2017-04-30 23:10:09 +02:00
Adam Dobrawy
14979c96ce
Limit metadata size
...
Malicious or malfunctioning peer can try send a huge metadata size what causes huge memory usage and to overflow them.
2017-04-30 21:00:33 +02:00
Bora M. Alper
2251664dbd
Merge pull request #54 from s723138643/master
...
if there is no data to send, we should unregister WRITE event
2017-04-29 15:12:34 +04:00
s723138643
ed13036588
if there is no data to send, we should unregister WRITE event
2017-04-29 10:22:38 +08:00
Bora M. ALPER
3b39c99206
v0.3.0 released, with very significant improvements!
...
magneticod:
* Stalled DisposablePeers are shut down after 120 seconds (fixes #47 and #38 )
* Improved performance, thanks to @ngosang, @ad-m, and all other contributors (fixes #48 )
* Default logging level is now set to INFO (since many users would freak out after seeing "peer failed" messages...)
magneticow:
* Search speed improved A LOT, like "A L O T"! (fixes #8 )
(for the curious, the problem was that magneticow initialised database *every* *single* *time* a request is made because
"the global application context" (`flask.g`) didn't work for some reason I don't know. Now it's blazing fast!
* A bit of logging added to assist the user. This is especially important as magneticow now takes a bit of time to initialize itself
(as reasonably expected) and will not be able to handle any requests until it's complete.
* A faster but possibly less accurate (and not-guaranteed behaviour dependent) calculation of the number of torrents.
* Thousands separator for the torrent count in the homepage.
2017-04-26 01:47:13 +04:00
Bora M. Alper
9dc1684e75
Merge pull request #33 from ngosang/feature/exceptions
...
Handle ConnectionReset and ConnectionRefused errors in dht.py
2017-04-25 21:52:05 +04:00
Bora M. Alper
8063480fe5
Merge pull request #43 from ngosang/speedup_find_nodes
...
optimize find_nodes bencoding and random_bytes generation
2017-04-21 01:11:23 +04:00
Diego
fb4c897ec6
improve __random_bytes function performance
2017-04-20 22:53:32 +02:00
Diego
bc1ceac530
optimize find_nodes bencoding
2017-04-20 22:43:51 +02:00
Bora M. Alper
36b13e2e4c
Merge pull request #40 from JeffreyVdb/feature-ignore-override-compose
...
Ignore docker-compose.override.yml
2017-04-19 01:49:37 +04:00
Jeffrey Vandenborne
32bff60ff3
Ignore docker-compose.override.yml
...
Information on this change can be found on:
https://docs.docker.com/compose/extends/
A docker-compose.override.yml can override configuration in
docker-compose.yml as the name suggests.
2017-04-17 21:03:17 +02:00
Diego
4f020cfad1
Handle connection exceptions in dht
2017-04-16 21:02:34 +02:00
Bora M. Alper
7ffe670147
Merge pull request #13 from offbyone/master
...
Dockerize magnetico as a pair of conjoined containers
2017-04-16 22:08:37 +04:00
Bora M. Alper
98fac967d2
Merge pull request #24 from g-goessel/add_index_counter
...
Adds a counter of indexed torrents on the homepage
2017-04-14 00:14:10 +04:00
g_goessel
059330c188
Remove unused variable and resolve styling issues
2017-04-13 22:07:18 +02:00
guimoz
d3ff2419aa
Refactoring of the counter code
2017-04-13 19:20:34 +02:00
guimoz
28109eb586
Adds a counter of indexed torrents on the homepage
2017-04-12 21:06:59 +02:00
Chris Rose
dd40222fd6
Dockerize magnetico as a pair of conjoined containers
...
docker-compose links them, they share a DB on a volume container, and
expose the web interface on the host port 12345
2017-04-10 09:13:14 -07:00
Bora M. Alper
f9cb28f31a
Absence notice
...
finals are coming...
2017-04-10 18:01:13 +04:00
Bora M. Alper
0e48dff4fc
Updated PATH instructions for macOS
2017-04-10 17:57:59 +04:00
Bora M. Alper
8b598da790
Updated PATH instructions for macOS
2017-04-10 17:56:27 +04:00
Bora M. ALPER
1c15afb45a
v0.2.0 released
...
## Changes
### mangeticod
* Cython-based bencoder.pyx is used instead of our own pure Python solution.
* `--node-addr` commandline argument added.
* TCP QUICKACK is automatically enabled (instead of by default) so that magneticod can work on macOS as well.
* Database index added for `info_hash` column of `torrents` table.
### magneticow
* Some small performance improvements for search.
2017-04-10 17:44:09 +04:00
Bora M. Alper
dd37830b80
Merge pull request #16 from nneonneo/master
...
Fix magneticod on macOS.
2017-04-10 15:47:44 +04:00
Robert Xiao
a6ee9d509d
Fix magneticod on macOS.
...
macOS lacks the `TCP_QUICKACK` option. Since this is simply an
optimization, we can safely skip it on macOS.
2017-04-09 20:03:23 -04:00
Bora M. Alper
d848d02da0
removed (c) infringing SS from README.rst
...
and replaced with greater Ubuntu!
2017-04-05 19:27:31 +04:00
Bora M. ALPER
42b2d64d20
screenshots are added to README.rst
2017-04-03 12:11:57 +04:00
Bora M. ALPER
8a62e6bc2a
fixed installation instructions to install locally
2017-04-03 02:59:09 +04:00
Bora M. ALPER
257912a12f
initial commit
2017-04-03 00:11:58 +04:00