Age | Commit message (Collapse) | Author | Files | Lines |
|
cc @indutny >_<
|
|
|
|
|
|
|
|
Update the default cipher list from RC4-SHA:AES128-SHA:AES256-SHA
to ECDHE-RSA-AES128-SHA256:AES128-GCM-SHA256:RC4:HIGH:!MD5:!aNULL:!EDH
in order to mitigate BEAST attacks.
The documentation suggested AES256-SHA but unfortunately that's a CBC cipher
and therefore susceptible to attacks.
Fixes #3900.
|
|
Fixes #3861.
|
|
|
|
And fix last failing tests
|
|
socket.authorizationError should always be string. Also make sni test
pass.
|
|
|
|
|
|
Moving it out would require an anonymous function, or bind(), anyway.
Luckily It's a tiny function. Fixes crash in strict mode.
|
|
Make CLIENT_RENEG_LIMIT inclusive instead of exclusive, i.e. a limit of 2
means the peer can renegotiate twice, not just once.
Update pummel/test-tls-ci-reneg-attack accordingly and make it less timing
sensitive (and run faster) while we're at it.
|
|
|
|
|
|
Conflicts:
ChangeLog
deps/uv/include/uv-private/uv-unix.h
deps/uv/src/unix/core.c
deps/uv/src/unix/sunos.c
deps/v8/src/runtime.cc
doc/api/crypto.markdown
lib/http.js
src/node_version.h
test/gc/test-http-client-timeout.js
wscript
|
|
Fixes #2845.
|
|
|
|
Instead of allocating a new 64KB buffer each time when checking if there is
something to transform, continue to use the same buffer. Once the buffer is
exhausted, allocate a new buffer. This solves the problem of huge allocations
when small fragments of data are processed, but will also continue to work
well with big pieces of data.
|
|
|
|
Fixes #2864.
|
|
Binds to a local address before making the outgoing connection.
|
|
|
|
- fix crash calling ClientRequest::setKeepAlive if the underlying request is
HTTPS.
- fix discarding of callback parameter when calling ClientRequest::setTimeout on
HTTPS requests.
- fix discarding of noDelay parameter when calling ClientRequest::setNoDelay on
HTTPS requests.
|
|
Documented how to mitigate BEAST attacks.
|
|
|
|
|
|
Conflicts:
AUTHORS
ChangeLog
Makefile
doc/about/index.html
doc/api/tls.markdown
doc/community/index.html
doc/index.html
doc/logos/index.html
doc/template.html
lib/http.js
lib/tls.js
src/node_version.h
src/platform_win32.cc
test/simple/test-tls-connect-given-socket.js
|
|
The TLS protocol allows (and sometimes requires) clients to renegotiate the
session. However, renegotiation requires a disproportional amount of server-side
resources, particularly CPU time, which makes it a potential vector for
denial-of-service attacks.
To mitigate this issue, we keep track of and limit the number of renegotiation
requests over time, emitting an error if the threshold is exceeded.
|
|
|
|
Replace the ondrain hack with a regular 'drain' listener. Speeds up the
bytes/1024 http benchmark by about 1.2%.
|
|
Conflicts:
ChangeLog
doc/template.html
lib/cluster.js
lib/http.js
lib/tls.js
src/node.h
src/node_version.h
test/simple/test-cluster-kill-workers.js
|
|
Fixes #2549.
|
|
This is necessary to use SSL over HTTP tunnels.
Refs #2259, #2474.
Fixes #2489.
|
|
Previous API used form:
tls.connect(443, "google.com", options, ...)
now it's replaced with:
tls.connect({port: 443, host: "google.com", ...}, ...)
It simplifies argument parsing in `tls.connect` and makes the API
consistent with other parts.
Fixes #1983.
|
|
Fixes #2417.
|
|
Conflicts:
Makefile
lib/_debugger.js
|
|
Fixes #2308.
Fixes #2246.
|
|
|
|
Fiexes #2247.
|
|
Fixes #2185.
Fixes #2198.
|
|
options.ciphers existed but didn't work, the cipher list was effectively
hard-coded to RC4-SHA:AES128-SHA:AES256-SHA.
Fixes #2066.
|
|
Fixes #1925.
|
|
Fixes #758.
Fixes #1055.
|
|
de09168 and 4cdf9d4 breaks `test/pummel/test-https-large-response.js`.
It is never finished.
Fixes #1936.
|
|
Conflicts:
ChangeLog
Makefile
deps/libev/wscript
doc/index.html
doc/template.html
lib/net.js
src/node_version.h
src/platform_cygwin.cc
test/pummel/test-net-write-callbacks.js
test/simple/test-buffer.js
|
|
Fixes test/simple/test-tls-peer-certificate.js on Windows
Patch from bnoordhuis.
See also 75a0cf970fb48440a93a62796ab1f128fcbe7d76
|
|
Add 'secureConnect' event to tls.CleartextStream.
Fixes #1467.
|
|
Fixes #1516.
|
|
Fixes #1775.
|