Commit Graph

4535 Commits (b5f22ba216c35e517c01f508b2765df0a5fa18e2)

Author SHA1 Message Date
Tatsuhiro Tsujikawa b5f22ba216 Use https for git clone link 2015-01-25 11:39:24 +09:00
Nils Maier 81bdd5f61a Revise getRandom facilities
Use one of the following to provide random bytes:
- Windows CryptGenRandom
- Linux getrandom (syscall interface to urandom, without nasty corner
  cases such as file descriptor exhaustion or re-linked /dev/urandom)
- std::device_random (C++ random device, which usually will be urandom)

This also equalizes util::getRandom and SimpleRandomizer (the former
will now use the latter) instead of having essentially two different
PRNG interfaces with potentially different quality.

Closes GH-320
2015-01-20 22:37:24 +01:00
Tatsuhiro Tsujikawa 747131a06c Merge branch 'dfandrich-comments' 2015-01-16 22:21:13 +09:00
Tatsuhiro Tsujikawa bec6461262 Merge branch 'comments' of https://github.com/dfandrich/aria2 into dfandrich-comments 2015-01-16 21:36:22 +09:00
Tatsuhiro Tsujikawa 9d473060ee Merge branch 'dfandrich-master' 2015-01-16 21:34:40 +09:00
Dan Fandrich 0538aa40da Fixed some typos in code comments 2015-01-16 01:17:35 +01:00
Dan Fandrich 8c53e37c21 Added debug log of all Metalink URLs with final priorities 2015-01-16 00:29:17 +01:00
Tatsuhiro Tsujikawa d0c20e158e Fix typo 2015-01-13 23:41:59 +09:00
Tatsuhiro Tsujikawa 06bde9f70c Merge branch 'ITriskTI-patch-3' 2015-01-13 23:39:58 +09:00
Tatsuhiro Tsujikawa 8bbb17561f Merge branch 'patch-3' of https://github.com/ITriskTI/aria2 into ITriskTI-patch-3 2015-01-13 23:39:01 +09:00
Tatsuhiro Tsujikawa 226d28fcd7 Merge branch 'ITriskTI-patch-1' 2015-01-13 23:37:53 +09:00
ITriskTI b8e6ae2a55 Update aria2c.rst 2015-01-13 16:13:44 +03:00
ITriskTI 9c78825fa5 Update aria2c.rst 2015-01-13 16:05:15 +03:00
ITriskTI 1aa4f33333 Fix typo 2015-01-13 16:00:17 +03:00
Tatsuhiro Tsujikawa 7e7b628cc2 Use gcc-4.9 and android-16 API level for android build 2015-01-12 18:55:22 +09:00
Tatsuhiro Tsujikawa 7bbf209a02 Escape \ in rst doc 2015-01-12 17:50:24 +09:00
Tatsuhiro Tsujikawa 9f4e76d1b7 Fix indentation in usage output 2015-01-12 17:49:45 +09:00
Tatsuhiro Tsujikawa c653c72dc8 Add --bt-force-encryption option
This option requires BitTorrent message payload encryption with
arc4. This is a shorthand of --bt-requre-crypto
--bt-min-crypto-level=arc4.  If true is given, deny legacy BitTorrent
handshake and only use Obfuscation handshake and always encrypt
message payload. This option defaults to false.
2015-01-12 17:46:20 +09:00
Tatsuhiro Tsujikawa cc36df2625 Merge branch 'sslwarn' 2015-01-05 18:57:24 +09:00
Nils Maier 590aa21c68 Add backward-compatible libuv defs 2014-12-30 22:36:24 +01:00
Nils Maier 0895008e5c Fix SSLv3 warnings being issued on connection reuse.
And also improve tlsHandshake code a bit in the process, mostly by being
more explicit about error conditions.
2014-12-30 22:36:24 +01:00
Nils Maier e0812d5ad1 Fix another printf related warning 2014-12-29 03:15:50 +01:00
Tatsuhiro Tsujikawa ff2a630efe GNUTLS: Remove ifdef for GNUTLS_TLS* since they are not macros
Since they are not macros, we get always TLS_PROTO_NONE (otherwise you
are using SSLv3 and you will get warning nonetheless) and get warning.
2014-12-26 18:08:41 +09:00
Tatsuhiro Tsujikawa d755df2505 TLS: Fix memory leak with OpenSSL
Based on the patch submitted by midnight2k
2014-12-26 18:04:50 +09:00
Tatsuhiro Tsujikawa 962b8ccb05 Merge branch 'warn-ssl3' 2014-12-15 23:45:13 +09:00
Tatsuhiro Tsujikawa 701e5df790 Merge branch 'master' into warn-ssl3 2014-12-15 23:44:41 +09:00
Nils Maier 48bcb47a30 Refine messages to include peer info 2014-12-14 10:34:09 +01:00
Nils Maier 3c8704178a Move warn logic into SocketCore
Also fiddle a bit with the WinTLS implementation, forcing "strong"
crypto only for > SSLv3.
2014-12-14 10:34:09 +01:00
Nils Maier b0cdbfe9e7 Fix ASYNC_DNS code in LibuvEventPoll 2014-12-13 08:14:07 +01:00
Nils Maier c5c38bf3a4 Warn about insecure SSL connections.
Fixed GH-313
2014-12-12 18:24:19 +01:00
Nils Maier 811c0f758d Port poll changes to LibuvEventPoll 2014-12-12 12:21:39 +01:00
Nils Maier 6f9ea555c2 Fix compiler warning 2014-12-12 10:34:53 +01:00
Nils Maier 46aa2f6af3 Fix AppleTLSContext protocol selection 2014-12-12 09:29:33 +01:00
Nils Maier 0e5ed611d1 AppleTLS: Set error state when handshake fails...
+ some minor formatting issues.
2014-12-11 12:12:04 +01:00
Tatsuhiro Tsujikawa 24a472850e Merge branch 'ITriskTI-patch-1' 2014-12-06 21:38:27 +09:00
ITriskTI 634e1fe73f Update aria2c.rst 2014-12-06 14:21:43 +03:00
Tatsuhiro Tsujikawa 73d752fb1c Add --min-tls-version option
The --min-tls-version option specifies minimum SSL/TLS version to
enable. Possible Values: SSLv3, TLSv1, TLSv1.1, TLSv1.2 Default: TLSv1
2014-12-06 17:50:35 +09:00
Tatsuhiro Tsujikawa 62fba76666 Compile with old OpenSSL 2014-12-05 22:43:16 +09:00
Tatsuhiro Tsujikawa 6d3bd60905 LibgnuTLSSession: Disable SSLv3 2014-11-29 20:00:46 +09:00
Tatsuhiro Tsujikawa 71d8424318 LibsslTLSContext: Disable SSLv3 and enable ECDHE cipher suites 2014-11-29 19:33:50 +09:00
Tatsuhiro Tsujikawa bb6fae2f00 LibsslTLSSession: Strict clean shutdown detection 2014-11-14 21:46:06 +09:00
Tatsuhiro Tsujikawa ae50b93795 Fix typo 2014-10-27 21:33:32 +09:00
Tatsuhiro Tsujikawa d47a37eeda Add Dockerfile.mingw
Dockerfile.mingw builds aria2 Windows binary.  It is probably the
easiest way to build the Windows binary.
2014-10-19 16:45:18 +09:00
Tatsuhiro Tsujikawa 1185972042 Update .gitignore 2014-10-18 19:00:02 +09:00
Tatsuhiro Tsujikawa 2cec9df2a2 Fix crash when JSON batch response vector is empty 2014-10-16 22:56:23 +09:00
Tatsuhiro Tsujikawa 3b68e1d08c Fix doc: Wrong rpc secret token prefix 2014-10-16 22:37:13 +09:00
Tatsuhiro Tsujikawa 46d4644267 Merge branch 'ITriskTI-patch-1' 2014-10-14 21:21:08 +09:00
ITriskTI 199029143b Update aria2c.rst 2014-10-13 22:16:27 +03:00
Tatsuhiro Tsujikawa f72a303b8d Add --bt-detach-seed-only option
This option excludes seed only downloads when counting concurrent
active downloads (-j option).  This means that if -j3 is given and
this option is turned on and 3 downloads are active and one of those
enters seed mode, then it is excluded from active download count (thus
it becomes 2), and the next download waiting in queue gets started.
But be aware that seeding item is still recognized as active download
in RPC method.
2014-10-14 00:13:29 +09:00
Tatsuhiro Tsujikawa 09d7956537 mingw: Use MoveFileExW for better atomic move 2014-10-10 23:49:53 +09:00