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
Colton Baker
ce485791db
Readline proposal and bugfixes. Related: #2737 #2756
- Removed extra newline from .question(); Users can input a
newline if it they require it.
- Removed .close() due to it only emulating closing, causing a bug where
readline is left open to trigger events such as .on('line', ...').
- Removed ._attemptClose()
- .pause() now triggers event .on('pause', ...)
- .resume() now triggers event .on('resume', ...)
- CTRL-C (SIGINT) in readline will now default to .pause() if no SIGINT event
is present.
- CTRL-D (delete right) will also default to .pause() if there is nothing to
delete (signaling the end of the file).
- Added new event `SIGTSTP`
- Added new event `SIGCONT`
- Added `resume` to `write` to resume the stream if paused.
- Docs updated.
- Updated repl.js
13 years ago
Mark Nottingham
1e425e3fa7
Generate Date headers on responses when not already present.
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
Andreas Madsen
23514fc946
[doc] cluster: remove part about autoFork since this do not exist
13 years ago
koichik
a2cd31cbf1
doc: add the note about 'data' event
Refs #2691 .
13 years ago
Ben Noordhuis
279e7e7341
fs: add O_EXCL support, exclusive open file
13 years ago
Andreas Madsen
836344c90e
Add disconnect method to forked child processes
This disconnect method allows the child to exit gracefully.
This also adds a disconnect event and connect property.
13 years ago
Maciej Małecki
e10ed097cb
path fs: move `path.exists*` to `fs.exists*`
`path.exists*` functions show a deprecation warning and call functions
from `fs`. They should be removed later.
test: fix references to `path.exists*` in tests
test fs: add test for `fs.exists` and `fs.existsSync`
doc: reflect moving `path.exists*` to `fs`
13 years ago
Andreas Madsen
f9a47debfc
Add cluster.setupMaster
Fixes #2470
13 years ago
Artur Adib
e282c0a081
docs: document common add-on design patterns
13 years ago
Ingmar Runge
0ca30187cf
Crypto: adding ability to turn off automatic PKCS padding
13 years ago
Dan Williams
091ab850aa
docs: replace expresso with mocha in appendix 1
13 years ago
Dan Williams
29ce743385
docs: fix syntax error on cluster api docs
13 years ago
Andreas Madsen
70884875c9
Allow calling fork() without args or options
Closes GH-2424
13 years ago
Fedor Indutny
8a98c2f1d8
http, querystring: added limits to prevent DoS
13 years ago
Ben Noordhuis
465e22e62f
docs: clarify filename argument of vm.* functions
13 years ago
koichik
08a91acd76
http: better support for CONNECT method.
Introduces 'connect' event on both client (http.ClientRequest) and
server (http.Server).
Refs: #2259 , #2474 .
Fixes #1576 .
13 years ago
koichik
c1a63a9e90
tls: Allow establishing secure connection on the existing socket
This is necessary to use SSL over HTTP tunnels.
Refs #2259 , #2474 .
Fixes #2489 .
13 years ago
koichik
70033bd960
net: make connect() accept options
This makes API even with tls.connect().
Refs #1983 .
See also:
http://groups.google.com/group/nodejs-dev/msg/3b6dbcc4a9a82d99
Fixes #2487 .
13 years ago
Maciej Małecki
0321adbcf4
tls doc: update docs to reflect API change
Refs #1983 .
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
Emerson Macedo
aa67b1f375
fs: add appendFile() and appendFileSync() functions
13 years ago
Andreas Madsen
e2f1e50c60
typos
fixes #2465
13 years ago
Andreas Madsen
5f08c3cfa1
cluster improvements: Worker class and isolate internal messages
Fixes #2388
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
Fedor Indutny
802c4c6a61
debugger: document pause and setBreakpoint(line)
Fixes #2381
13 years ago
Andreas Madsen
07b1997388
Add env argument to cluster.fork
Fixes 2378
13 years ago
Nathan Rajlich
ec11525d33
docs: Add docs for MODULE_NOT_FOUND error.
13 years ago
Andreas Madsen
b084322f52
Add silent option to child_process.fork
Fixes #2354 .
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
Robert Mustacchi
2240486d3d
Add process.abort
13 years ago
Tim Oxley
871194d5fd
docs: document util.inspect's colors param
13 years ago
koichik
f8c335d0ca
tls: enable rejectUnauthorized option to client
Fiexes #2247 .
13 years ago
Fedor Indutny
e609195202
[zlib] added dictionary support
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