Ben Noordhuis
3415427dbf
tls: mitigate session renegotiation attacks
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.
13 years ago
koichik
ef50bd2e54
docs: removed unnecessary STARTTLS section
13 years ago
koichik
b19b8836c3
tls: Allow establishing secure connection on the existing socket
13 years ago
Ben Noordhuis
d3f6b094c7
docs: update net.Server.address() documentation
13 years ago
Ben Noordhuis
a8f357629d
docs: clarify http 'data' callback
Fixes #2733 .
13 years ago
Ben Noordhuis
38eec57aef
docs: document tls/crypto `ciphers` option
Hitherto undocumented option that lets the user select the list of ciphers to
use or exclude in a SSL/TLS session.
13 years ago
koichik
a2cd31cbf1
doc: add the note about 'data' event
Refs #2691 .
13 years ago
Artur Adib
e282c0a081
docs: document common add-on design patterns
13 years ago
Dan Williams
091ab850aa
docs: replace expresso with mocha in appendix 1
13 years ago
Ben Noordhuis
465e22e62f
docs: clarify filename argument of vm.* functions
13 years ago
koichik
57653added
docs: small changes.
13 years ago
koichik
dd9593ccc4
http: fix ServerResponse does not emit 'close'
Refs #2453 .
13 years ago
Jeremy Martin
8c3a757ffc
docs: tiny typo in http.markdown
13 years ago
koichik
e1c043f43a
docs: fix docs to not suggest variable leaks
Fixes #2106 .
13 years ago
Ben Noordhuis
70e6f3f115
docs: document http.Server.close() semantics
13 years ago
Ryan Dahl
d85c85aac1
Change 'real example' in addon doc
13 years ago
Dave Irvine
045bfe0da5
docs: document 'encoding' arg of hash.update()
13 years ago
koichik
07c27e040e
tls: Fix node swallows openssl error on request
Fixes #2308 .
Fixes #2246 .
13 years ago
Igor Zinkovsky
d6bae2cb95
document mode argument for fs.symlink
13 years ago
koichik
c744e925df
doc: correct http.Server.listen()
Fixes #2325 .
13 years ago
Tim Oxley
871194d5fd
docs: document util.inspect's colors param
13 years ago
Roman Shtylman
1c62e807e1
doc: add note about NODE_MODULE module_name requirement
module_name needs to match the final binary name
13 years ago
kyle@dontkry.com
34f34e4411
docs: fix typo
Fixes #2193 .
13 years ago
Ben Noordhuis
16889e22cc
docs: fix dgram markdown
13 years ago
Ryan Dahl
6035651fad
Fixes #2160 . Fix tty.getWindowSize docs
13 years ago
Ben Noordhuis
8bdf6bae30
docs: document dgram error event
13 years ago
Trevor Burnham
06d71ad457
docs: document the `persistent` option for `fs.watch` and `fs.watchFile`
13 years ago
Artur Adib
960ccdc72c
docs: clarify addon docs
13 years ago
Trent Mick
2cd51ef5d4
"Trailer" header should mention "Content-MD5" trailer name in this example.
Fixes #2107
13 years ago
seebees
3222a04d5e
test for REPL .save and .load and documentation updates
13 years ago
Yoji SHIDARA
426298c8c1
docs: dgram client should be closed in the callback
13 years ago
Scott Anderson
0d19d82498
Cluster documentation added.
13 years ago
Eric Lovett
69d3bf1068
docs: minor grammar fix in cluster page
13 years ago
Eric Lovett
febe5c44c0
docs: use markdown for link, not html
13 years ago
Eric Lovett
8f2b03242d
docs: minor typo fix in child process docs
13 years ago
koichik
96fe50400d
docs: fix typo
13 years ago
Ryan Dahl
5c3954aa6f
docs: make std*Stream spawn opts explicitly internal
Fixes #1884 .
13 years ago
Jacob H.C. Kragh
c1472ac105
docs: fix some minor typos in the fs documentation
* fchmodSync: replace 'path' with 'fd'
* lchmod: replace 'fd' with 'path'
* utimes, futimes, fsync: mark 'callback' as optional
13 years ago
Ryan Dahl
1e3e6b7c15
cluster: add example for message passing
13 years ago
Ryan Dahl
d42006c80a
cluster: Remove eachWorker, workerCount
unnecessary
13 years ago
Ryan Dahl
86528489ec
new cluster api
13 years ago
Jacob H.C. Kragh
44a5452a4f
docs: fix typo in the documented fchown signature
13 years ago
Matt Robenolt
5213c39038
Close #1930 Convenience methods for zlib
This is a combination of 20 commits. Their commit messages are preserved
below for the benefit of future generations.
* Adding a shortcut to easily compress/decompress a string of text.
* Making the API consistent. unzip should accept a Buffer for input as well.
* Adding docs.
* Oops, typo.
* Propagate error through the callback.
* Adding zlib from string tests.
* Typo in test.
* Remove 'end' listeners, and join buffers properly instead of joining them
as a string.
* Oops, needs to be rendered to a string.
* Updated test to include multi-byte characters.
* unzip should return a raw Buffer. Updated docs to reflect.
* And finally updating test.
* EventEmitter.destroy() is a bit more customary
* Revert "EventEmitter.destroy() is a bit more customary"
* Renaming internal methods to "buffer" instead of string.
* Remove the 'error' listeners as well.
* @isaacs : spacing/style, and compress duplicate functions into one
* @isaacs : Update docs
* @isaacs : doc style fix
13 years ago
Ryan Dahl
a936768890
stdout and stderr are blocking when referring to regular files
Fixes message tests.
13 years ago
koichik
a6dbe0ff23
docs: make fs.mkdir()'s mode argument an option.
13 years ago
Ben Noordhuis
1ba834bd3f
docs: http: link to relevant net.Socket methods
13 years ago
Fedor Indutny
9ad27f7853
ignore undefined messages in the debugger repl
fixes #1995
13 years ago
Ben Noordhuis
672b453a76
docs: http: fix docs for the 'close' event
13 years ago
Maciej Małecki
fc61134b1a
doc: fix links
Changes:
* 'http://github.com ' => 'https://github.com '
* 'https://github.com/ry/node ' => 'https://github.com/joyent/node '
* 'https://github.com/ry/http-parser ' =>
'https://github.com/joyent/http-parser '
* old issue links
* wiki link
13 years ago
Ben Noordhuis
37bb37d151
os: rename getNetworkInterfaces() to networkInterfaces()
13 years ago