Commit Graph

4547 Commits (9d577b0ad700281549ca9f339b058df9fa7eff8e)

Author SHA1 Message Date
Nils Maier befd799d17 configure: Do not check for nettle/gcrypt when appletls or wintls 2014-04-17 18:02:42 +02:00
Tatsuhiro Tsujikawa 67aa993ca9 Enable wintls by default and remove its experimental status 2014-04-17 22:28:29 +09:00
Tatsuhiro Tsujikawa 83691981e3 mingw32: Enable wintls and compile with GMP
By enabling wintls, we can use Windows certificate store to validate
server's certificate.  Previously, we built windows build using
openssl and since we don't bundle CA certificates, aria2 fails to
validate server's certificate unless user setups their CA
certificates.  GMP provides fast big integer calculations, whic is
used in BitTorrent encryption.
2014-04-15 23:02:45 +09:00
Nils Maier e4135ca669 Fix typo: BitTorr(r)ent 2014-04-13 18:51:07 +02:00
Nils Maier aa02545fba Use mpz_pown_sec where available 2014-04-13 18:51:06 +02:00
Nils Maier ead6685b18 Warn (or error with explicit --with-libgmp) if gmp is not actually found 2014-04-13 18:51:06 +02:00
Nils Maier b223bbf308 makerelease-osx: GMP --enable-fat 2014-04-13 18:51:06 +02:00
Nils Maier 7e4644927f makerelease-osx: Explicitly put arch include and lib into flags.
For libgmp
2014-04-13 18:51:06 +02:00
Nils Maier c694a05797 Fix some warnings 2014-04-13 18:51:05 +02:00
Nils Maier 18c35f56b8 AppleTLS: Enable BEAST mitigations in ST
Only available in 10.9+, but since we might be building on a previous
version but running on 10.9+, always try to set the option.
2014-04-13 18:51:05 +02:00
Nils Maier e195dc5f00 AppleTLS: Update cipher suites
Also make the suite selection more sane.
2014-04-13 18:51:05 +02:00
Nils Maier 39d66bd560 WinTLS: Improve error reporting 2014-04-13 18:51:05 +02:00
Nils Maier 51beb4bfa7 WinTLS: Move some defines out of the header 2014-04-13 18:51:04 +02:00
Nils Maier 219fd5b4b7 WinTLS: Make ca-file rejection a warning 2014-04-13 18:51:04 +02:00
Nils Maier 8d55e30561 WinTLS: Use SCH_USE_STRONG_CRYPTO
See: #217
2014-04-13 18:50:54 +02:00
Nils Maier 0a51b8d172 WinTLS: Accept chains with no revocation information.
This is kind what browser do anyway (IE, Firefox, Chrome tested), what
AppleTLS does, what GnuTLS does and what OpenSSL does. Actually, most
browsers will also be OK with the CRL/OCSP provider being offline.
WinTLS will still fail in that case.

Should revocation information be available in the trust chain (CRL or
OCSP) the certificate still will be checked!

"Real" CAs, aka. those provided by the OS or system CA bundle, usually
provide revocation information and are thus still checked.
It should be mostly (only?) custom (organization) CAs that lack
revocation information, but those users might want to use aria2 in their
intranets and VPNs anyway ;)

See #217
2014-04-13 18:50:38 +02:00
Nils Maier 13a202df07 Fix GnuTLS 2.x compatiblity
Closes GH-216
2014-04-12 02:55:31 +02:00
Nils Maier 2d9bf0f374 AppleTLS: Use newer, non-deprecated API in 10.8+ 2014-04-12 02:55:31 +02:00
Nils Maier 7600886d3d Implement falloc equivalent in OSX 2014-04-12 02:55:31 +02:00
Tatsuhiro Tsujikawa a95674aef3 Update doc 2014-04-09 23:30:44 +09:00
Tatsuhiro Tsujikawa e5db3a4cbb Update NEWS 2014-03-30 18:22:09 +09:00
Tatsuhiro Tsujikawa 305ef84e5d Bump up version number to 1.18.5 2014-03-30 18:20:32 +09:00
Tatsuhiro Tsujikawa f0473dc34d Ignore error when setting DSCP value
Setting DSCP is additional feature and failure to enable it should not
abort download entirely.  This change fixes the bug that windows build
does not perform bittorrent downloads.
2014-03-30 14:14:28 +09:00
Tatsuhiro Tsujikawa 551adc5133 mingw: Undef localtime_r and asctime_r 2014-03-24 01:11:30 +09:00
Tatsuhiro Tsujikawa dc54b90bcc Update pre-built README 2014-03-24 00:39:21 +09:00
Tatsuhiro Tsujikawa 1188e4f1a2 Fix mingw32 build with gcc 4.8.2
Now mingw-w64 C++ compiler defines __USE_MINGW_ANSI_STDIO to 1, we
have to follow it as well.  We hope that mingw version of stdio
function behaves like Linux ones.  We have not tested them thoroughly
yet.  pthread for windows defines its own HAVE_STRUCT_TIMESPEC macro.
To avoid warning, we rename our version of it as
HAVE_A2_STRUCT_TIMESPEC.
2014-03-24 00:37:30 +09:00
Tatsuhiro Tsujikawa 96ffc3dfd4 Bump up version number to 1.18.4 2014-03-23 21:35:15 +09:00
Tatsuhiro Tsujikawa 49d4585890 Update bash_completion 2014-03-23 21:34:13 +09:00
Tatsuhiro Tsujikawa 2a1181b4a3 Update NEWS 2014-03-23 21:23:09 +09:00
Tatsuhiro Tsujikawa 644a74da01 Update .gitignore 2014-03-22 12:26:15 +09:00
Tatsuhiro Tsujikawa 31839e4cfc Merge branch 'patch-1' of https://github.com/ITriskTI/aria2 into ITriskTI-patch-1 2014-03-15 21:04:24 +09:00
Tatsuhiro Tsujikawa 169cd6a309 aria2rpc: Fix non-TLS connection 2014-03-15 19:28:46 +09:00
ITriskTI e890dac87f Update aria2c.rst 2014-03-15 13:01:42 +03:00
Tatsuhiro Tsujikawa a67096522d Merge branch 'dscp-support' of https://github.com/iavael/aria2 into iavael-dscp-support 2014-03-14 02:34:38 +09:00
Alexander Amanuel dccd8192a4 Added DSCP support for IPv6 sockets 2014-03-12 15:22:46 +04:00
David Macek 4dea7ae5cf ENH: Added support for RPC channel encryption in aria2rpc 2014-03-11 10:54:18 +01:00
Kcchouette fd2380de26 Correct a variable 2014-03-01 15:28:10 +01:00
Tatsuhiro Tsujikawa a8319a8b78 Add aria2.saveSession RPC method
This method saves the current session to a file specified by
--save-session option. This method returns "OK" if it succeeds.
2014-02-19 22:02:50 +09:00
Tatsuhiro Tsujikawa 1a24020e63 Don't allow empty string for --rpc-secret option 2014-02-19 21:46:06 +09:00
Tatsuhiro Tsujikawa de4cd8b59b Warn if neither --rpc-secret nor a combination of --rpc-user/rpc-passwd is set 2014-02-19 21:37:11 +09:00
Nils Maier 00e690a4d1 Add some missing includes to AnnounceList.h 2014-02-19 03:09:59 +01:00
ITriskTI 8aff857f76 Update aria2c.rst 2014-02-15 15:15:39 +03:00
Tatsuhiro Tsujikawa 1462d6536a Add numStoppedTotal key to aria2.getGlobalStat() RPC method response
It shows the number of stopped downloads in the current session and
not capped by --max-download-result option. On the other hand, the
existing numStopped key also shows the number of stopped downloads,
but it is capped by --max-download-result option.
2014-02-15 19:10:48 +09:00
Tatsuhiro Tsujikawa 154a3e5ffb Update doc 2014-02-12 23:53:15 +09:00
Tatsuhiro Tsujikawa b18e62dba7 Treat 30X response without Location header field as error
This is required to make segmented download work.
2014-02-05 21:20:09 +09:00
Tatsuhiro Tsujikawa ec4b729704 Better handling of 30X HTTP status codes
Reference: http://greenbytes.de/tech/tc/httpredirects/
2014-02-05 00:32:43 +09:00
Tatsuhiro Tsujikawa bdc9c8a991 Document --dscp option in manual page 2014-02-04 21:55:35 +09:00
Tatsuhiro Tsujikawa 06bb6d1ac0 Fix longer line in --dscp option help 2014-02-04 21:52:28 +09:00
Tatsuhiro Tsujikawa 1438933c97 Merge branch 'dscp-support' of https://github.com/iavael/aria2 into iavael-dscp-support
Conflicts:
	src/prefs.cc
	src/prefs.h
	src/usage_text.h
2014-02-04 21:42:00 +09:00
Alexander Amanuel a7182b9ee4 Improved dscp parameter description 2014-02-03 17:53:07 +04:00