Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Nov 18, 2012
@benoitc benoitc use new external upnp application 67282b5
@benoitc benoitc fix indentation. Use spaces not tabs. 73323cc
@benoitc benoitc use hackney as HTTP client
Since the upnp module is using hackney, juste use it in etorrent too.
@benoitc benoitc use upstream repo. be8bf74
Commits on Dec 16, 2012
@jlouis Merge pull request #11 from benoitc/upnp
extract upnp port mapping as a standalone application
Commits on Feb 10, 2013
@arcusfelis arcusfelis Delete lhttpc completely. 9a6b888
@arcusfelis arcusfelis Start developing magnet-links support (BEP-9)..
Add etorrent_bcoding2.
First succesful extracting of metadata from DHT nodes.
Commits on Feb 11, 2013
@arcusfelis arcusfelis Add etorrent_ext. 17d775c
@arcusfelis arcusfelis Add etorrent_ext_ut_metadata. c680a3f
Commits on Feb 12, 2013
@arcusfelis arcusfelis Fix a race condition (in assignor switching) and a full basket of tin…
…y bugs.
@arcusfelis arcusfelis Add information about the reached_max_restart_intensity error. ca7a074
@arcusfelis arcusfelis Add cascadae, downgrade cowboy, add types back to etorrent_dht_net (t…
…ests are still failing with missing_type error).
@arcusfelis arcusfelis Fix crashing of the endgame assignor in the moment, when engame mode …
…is activated ({stored,...} message from peers that completed assignment from the previous mode.
Commits on Feb 13, 2013
@arcusfelis arcusfelis Fix endgame mode. d6fcf5d
Commits on Feb 14, 2013
@arcusfelis arcusfelis Moved common tests from etorrent application. Add etorrent_console - …
…torrent progress logger.
@arcusfelis arcusfelis Add speed info into etorrent_console. d620247
@arcusfelis arcusfelis Add an initial code for BEP-9 common test. cda58ee
Commits on Feb 15, 2013
@arcusfelis arcusfelis Add listen_ip() as an optional parameter. fad124d
@arcusfelis arcusfelis Improve logging. b4e2b92
Commits on Feb 16, 2013
@arcusfelis arcusfelis Fix a bug in etorrent_dotdir:info_hash_to_hex/1. ff34efe
@arcusfelis arcusfelis BEP-9 meta_info transmitting is passed correctly. 71de627
@arcusfelis arcusfelis Improve the test for bep9. aa9f3d6
@arcusfelis arcusfelis Fixed badrpc. 24c3f3e
Commits on Feb 17, 2013
@arcusfelis arcusfelis Fixed dht_iter_search. Improved logging and fixed common tests. Passe…
…d all 4 common tests.
@arcusfelis arcusfelis Fix warnings in test suites. 19ab837
@jlouis Merge pull request #13 from arcusfelis/arc-magnet-links
Add the magnet links support
@arcusfelis arcusfelis Fix a etorrent_dht_state server's crash after calling etorrent_dht_st…
…ate:safe_insert_node/2 for unreachable DHT server.
@jlouis Allow R16 a bit ahead of time. 702025b
@jlouis Lock the version of bullet to one that can compile for now. 8472e61
@jlouis Fix a dialyzer type specification, such that we can run the dialyzer …
…on the code base.
@arcusfelis arcusfelis Fix duplicated calls to nodes in etorrent_dht_state:search_find_node/2. 9ca1fb2
@arcusfelis arcusfelis Fix common tests covering. 604a785
@jlouis Fix registered processes set. 58c721e
@jlouis Fix dependencies. 8f25bd4
Commits on Feb 18, 2013
@arcusfelis arcusfelis Add etorrent_info:mask_to_filelist/2. bf9733b
@arcusfelis arcusfelis Fix total_size handling for large torrent files. 75b2a49
@arcusfelis arcusfelis Add mochiweb_util, add etorrent_magnet:parse_url/1. 23db199
@arcusfelis arcusfelis Add trackers into a generated from a magnet link torrent file. 3db7efb
@arcusfelis arcusfelis Add tests for etorrent_info:mask_to_filelist/2. c047001
Commits on Feb 19, 2013
@arcusfelis arcusfelis Fix bugs in etorrent_mktorrent (making a torrent for a directiory) an…
…d in etorrent_info (wrong piece count calculation).
@arcusfelis arcusfelis The first goal is achived: progress process stops staring new pieces. a913e84
@arcusfelis arcusfelis Add etorrent_info:mask_to_size/2. f128af7
@arcusfelis arcusfelis Add partial as a new torrent state. aead2b2
Commits on Feb 20, 2013
@arcusfelis arcusfelis Added debug messages. Optimized etorrent_io_file_sup. f6751eb
@arcusfelis arcusfelis Add few comments. 8d64788
@arcusfelis arcusfelis Add left_or_skipped and wanted fields. Calculate the left metric in t…
…he right way.
@arcusfelis arcusfelis Disable ut_metadata extension for private torrents. c502b4a
@arcusfelis arcusfelis Fix tiny syntax mistake. de159ed
Commits on Feb 21, 2013
@arcusfelis arcusfelis Merge branch 'arc-magnet-v2' into cleaning-merging 71cd411
@arcusfelis arcusfelis Merge branch 'arc-part-download' into cleaning-merging 71098a4
@arcusfelis arcusfelis Drop old webui, fix dependencies of upnp. Upgrade cowboy to 0.8.0. 9839c4a
@arcusfelis arcusfelis Remove common tests. 4edd368
@arcusfelis arcusfelis Fix fast_resume for partial downloading. 996957a
Commits on Feb 22, 2013
@arcusfelis arcusfelis Fix skipping borders. 01958df
Commits on Feb 23, 2013
@arcusfelis arcusfelis Fix etorrent_torrent_sup restarting behaviour. Modified etorrent_info…
…:tree_children/2 for the partial downloading support in cascadae.
Commits on Feb 24, 2013
@arcusfelis arcusfelis Corrected etorrent_torrent:do_state_change/2. Fix division by 0, if `…
…wanted = 0`.
Commits on Feb 26, 2013
@arcusfelis arcusfelis Add a comment about what seeders and leechers are. Add info about a t…
…orrent type (public, private) to console logger.
@arcusfelis arcusfelis Bring lhttpc back. 57765b2
@arcusfelis arcusfelis Add peer id substitution. c925056
Commits on Feb 27, 2013
@arcusfelis arcusfelis Fix a bunch of bugs. 188ca80
Commits on Feb 28, 2013
@arcusfelis arcusfelis Made the endgame mode more aggressive. 4921b3b
Commits on Mar 01, 2013
@arcusfelis arcusfelis Enable peer id rewriting for tcp-connections.
Fix the messange "Reject Request" (BEP-06).
Add `etorrent_peer_control:has_incoming_requests/1` for interspection.
Enable fast extension (buggy).
[INCOMPLETE] Add a reject timeout.
@arcusfelis arcusfelis Add reject_after_choke_timeout handler. 6babeea
Commits on Mar 04, 2013
@arcusfelis arcusfelis Update the magnet link support. b9082f0
Commits on Mar 06, 2013
@arcusfelis arcusfelis Disable IO while the torrent is paused. c1243f2
Commits on Mar 07, 2013
@arcusfelis arcusfelis Modified etorrent_ctl:start, adding the optional Options parameter. 617385e
Commits on Mar 11, 2013
@arcusfelis arcusfelis Add etorrent_info:file_diff/2. 39d39f3
Commits on Mar 14, 2013
@arcusfelis arcusfelis Remote rate_mgr.hrl, add few helpers for getting peer info. 0c7fc74
Commits on Mar 16, 2013
@arcusfelis arcusfelis Cleaned and added comments for UDP-tracker. 672646c
@arcusfelis arcusfelis Add a special supervisor branch for metadata downloaders (etorrent_ma…
Commits on Mar 18, 2013
@arcusfelis arcusfelis Improved magnet link support. 99d2b27
Commits on Mar 19, 2013
@arcusfelis arcusfelis Replace now() with os:tomestamp().
Fix peer receiving speed rate.
Add etorrent_console:set_enabled/1.
Add a manual garbage collection, hibernation and fullsweep_after for idle processes.
Commits on Mar 21, 2013
@arcusfelis arcusfelis Fix a race condition with timers in scarcity. 460e6da
Commits on Mar 26, 2013
@arcusfelis arcusfelis Improved readability of UDP-tracker modules, fix a bug with sending t…
…he wrong local peer BT-port number to the UDP tracker.
@arcusfelis arcusfelis Moved dht_tracker under torrent supervision. 6a0e48d
Commits on Mar 27, 2013
@arcusfelis arcusfelis Make the fast extention configurable. f25a965
@arcusfelis arcusfelis Fix a race condition beetween spawn_requestor and register_connid_gat…
Commits on Mar 29, 2013
@arcusfelis arcusfelis Add etorrent_tracker. a7b27d4
@arcusfelis arcusfelis Choker asks config about settings only once.
Make etorrent_tracker independible from etorrent_tracker_communication (for getting a list of trackers while offline).
Improved error reporting of UDP-tracker communication.
Commits on Mar 30, 2013
@arcusfelis arcusfelis Passing values to etorrent_tracker to form a table. 8b3f5f9
Commits on Mar 31, 2013
@arcusfelis arcusfelis Improved the tracker table. e49e789
Commits on Apr 03, 2013
@arcusfelis arcusfelis Fix the bep9 test, the error was in tracker communication. d82baca
@arcusfelis arcusfelis Remove "tasks". be1f966
Commits on Apr 05, 2013
@arcusfelis arcusfelis Add few new functions to etorrent_rlimit. c099083
Commits on Apr 08, 2013
@arcusfelis arcusfelis Added connected_leechers and connected_seeders counters for each torr…
…ent. Fix an error in endgame-mode.
Commits on Apr 17, 2013
@arcusfelis arcusfelis Fix a function clause in etorrent_tracker_communication:first_tracker…
Commits on Apr 28, 2013
@arcusfelis arcusfelis Fix errors in edoc. 2e65092
Commits on May 07, 2013
@arcusfelis arcusfelis Rewrote etorrent_app:load_config/1. Handle the noproc error in etorre…
Commits on May 21, 2013
@arcusfelis arcusfelis Add a debug message for DHT. bb4ebc9
@arcusfelis arcusfelis Fixed directory duplicates in the file tree. 81291a7
Commits on May 22, 2013
@arcusfelis arcusfelis etorrent_info: Rewrote file-list minimization. 140fbda
@arcusfelis arcusfelis Allow specific download_dir for each torrent. 4916181
@arcusfelis arcusfelis torrent_ctl: register torrent before checking. Add `directory' as a s…
…tarting option.
Commits on May 23, 2013
@arcusfelis arcusfelis Rewrote torrent checking. It do not block torrent control process. d305a4f
Commits on May 24, 2013
@arcusfelis arcusfelis Improved checking. 2e952a1
Commits on May 25, 2013
@arcusfelis arcusfelis Fixed and tested checking. e0df4ca
@arcusfelis arcusfelis Fixed file allocation. b84cf38
Commits on May 30, 2013
@arcusfelis arcusfelis Fix a race condition in delayed initialization. ac77b13
Commits on Jun 01, 2013
@arcusfelis arcusfelis Add DHT-port handling during hanshake. 90ffd57
@arcusfelis arcusfelis Add peer's version into the peer table. Fix peer state changing (leec…
…hing => seeding).
Commits on Jun 05, 2013
@arcusfelis arcusfelis Add verbose debugging in endgame mode. e8bab20
Commits on Jun 11, 2013
@arcusfelis arcusfelis Add TODO for mlDHT. 1537bd3
Commits on Jun 13, 2013
@arcusfelis arcusfelis Add a azDHT support. ec20394
Commits on Jun 14, 2013
@arcusfelis arcusfelis Fixed UPNP. 0c17dc1
Commits on Jun 15, 2013
@arcusfelis arcusfelis Improved torrent checking (fixed timeouts, added progress tracking). …
…Decode/encode ut_pex message.
@arcusfelis arcusfelis Added read-only PEX. Fix fast resume, torrent checking (not a good br…
…anch for it).
@arcusfelis arcusfelis Fixed wanted field value after fast resume. 8f875de
@arcusfelis arcusfelis Fixed typo. 1acf347
Commits on Jun 16, 2013
@arcusfelis arcusfelis Moved azdht into config-file. 9ddd27c
Commits on Jun 17, 2013
@arcusfelis arcusfelis Add a config parameter for PEX. 2f6ddac
@arcusfelis arcusfelis Forward port for azDHT using UPNP only when it is needed. f80ecca
@arcusfelis arcusfelis Do not start application azdht, if it is disabled. 9389b7b
@arcusfelis arcusfelis Fixed a bug in initialization of a torrent control process. 6d70e09
@arcusfelis arcusfelis Start DHT before torrents. f8bc71a
Commits on Jun 19, 2013
@arcusfelis arcusfelis Fixed an error with fast_resume getting valid_pieces for a metadata-d…
Commits on Jun 20, 2013
@arcusfelis arcusfelis Fix a race condition in pausing. d41c2d3
Commits on Jun 21, 2013
@arcusfelis arcusfelis Fixed an error in the endgame-mode. aac5890
Commits on Jun 22, 2013
@arcusfelis arcusfelis Improved debug messages. Do not attempt to connect to the peers twice. 630e4e6
@arcusfelis arcusfelis Peer table: added progress field, fixed state=leeching for seeders. fd3707d
Commits on Jun 23, 2013
@arcusfelis arcusfelis Do not announce all torrents using DHT at once. 0eacc37
Commits on Jun 27, 2013
@arcusfelis arcusfelis Fixed endgame. b2cc180
Commits on Jun 29, 2013
@arcusfelis arcusfelis Fixed the argument order in code_change/3. c738d48
Commits on Jun 30, 2013
@arcusfelis arcusfelis Add mDNS support. Fixed a race condition with etorrent_ctl:stop/1 in …
…the metadata downloader.
@arcusfelis arcusfelis Moved random:seed/1 calls into etorrent_utils:init_random_generator/0. 72999d7
@jlouis Merge pull request #17 from arcusfelis/arc-merge-and-clean
Merge with upstream
@jlouis Fix call to crypto:sha/1. Use crypto:hash/2 instead. 1354025
Commits on Jul 01, 2013
@arcusfelis arcusfelis Fixed badarg error with listen_ip.
Fixed a test for etorrent_ext:filter_supported.
Add mochiweb as a dependency (for parsing and constructing magnet links).
Add a compatibility layer for crypto functions.
@arcusfelis arcusfelis Removed mochiweb_util. 34c04c0
Commits on Jul 02, 2013
@jlouis Merge pull request #18 from arcusfelis/arc-fix-listen-ip
Fixed badarg error with listen_ip
Commits on Jul 08, 2013
@dewolfe dewolfe Change rebar.config for mochiweb to avoid Servname not supported for …
…ai_socktype error.
@jlouis Merge pull request #19 from dewolfe/master
 Servname not supported for ai_socktype
Commits on Jul 19, 2013
@eryx67 eryx67 buckets must be grouped by distance from node id,
fix inserion in full bucket,
bug fixes
Commits on Aug 02, 2013
@jlouis Merge pull request #20 from eryx67/master
buckets must be grouped by distance from node id, fix inserion in full bucket, bug fixes
@jlouis Add support in anticipation of a new build driver. fbcf278
@jlouis Remove an unused type. 086aac8
@jlouis Kill unused functions. aa73875
@jlouis Remove warnings about unused variables. eca6aa8
@jlouis Reinstate the security check.
You need a really good reason for removing this check.
@jlouis Rid the world of the lhttpc client. a82792f
Commits on Aug 07, 2013
@jlouis Update Makefile with a proper analyze target. 1f6719f
@jlouis Use `hackney` over `lhttpc` for requests. da89021
Commits on Aug 08, 2013
@jlouis Update the Makefile and include needed applications. 0715462
@jlouis Update the main .app.src file. f6a9fbb
@jlouis Remove two unused dependencies. bce798f
@jlouis Use arcusfelis azdht branch
While here, update dialyzer apps to include inets
@jlouis Dialyzer fixes
All fixes pertaining to record constructions have been fixed.
@jlouis Fix a decoder error in the udp tracker protocol. 17c7be7
@jlouis Fix specs fe5908e
@jlouis Fix fast_resume warnings. 9ac4ec2
@jlouis Dialyzer fixes.
Some of these are unused functions, or cases that can never match.
Others are code errors which have now been fixed.
@jlouis Fix endgame warnings
None of these were dangerous. They were all okayishly sheepish.
Commits on Aug 09, 2013
@jlouis Dialyze `tools` as well since it contains `eprof` 0d52a59
@jlouis Remove a large slew of Dialyzer warnings 08de998
@jlouis Mark stuff as transient rather than permanent in the peer_supervisor. ff1776a
@jlouis Simplify supervisor tree around peers. 92dc8ba
@jlouis Fix progress startup. 4966c7b
@jlouis More progress startup fix. 2a33a4d
@jlouis Simplify supervisor tree around peers.
Just hook everything on the control process and link everyone to each
other. This way, a crash in a sender or receiver is now propagated as
a crash in the control process which are marked temporary. It quells
some warning messages that came up all the time.
@jlouis Monitor pids
This should fix and close down stale workers.
@jlouis Merge branch 'gh-7-2' into next