Skip to content

inspector: don't bind to 0.0.0.0 by default (v6.x) - #21376

Closed
bnoordhuis wants to merge 4 commits into
nodejs:v6.x-stagingfrom
bnoordhuis:fix21349
Closed

inspector: don't bind to 0.0.0.0 by default (v6.x)#21376
bnoordhuis wants to merge 4 commits into
nodejs:v6.x-stagingfrom
bnoordhuis:fix21349

Conversation

@bnoordhuis

Copy link
Copy Markdown
Member

Change the bind address from 0.0.0.0 to 127.0.0.1 and start respecting
the address part of --inspect=<address>:<port> so that the bind
address can be overridden by the user.

Fixes: #21349

Trott and others added 4 commits June 14, 2018 16:35
Tool versions can be 10 and higher. Float patch from node-gyp to
accommodate this fact of life.

PR-URL: nodejs#21216
Refs: nodejs/node-gyp@293092c
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Compare versions using tuples instead of strings so that it is
future-proofed against versions that contain a number that is more than
one digit.

Backport-PR-URL: nodejs#21301
PR-URL: nodejs#21183
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Using High Sierra and `xcode-select --install` without installing full
Xcode, our build tooling breaks due to faulty regular expressions.

Update the `configure` script in our project root directory to handle
multi-digit version numbers.

`tools/gyp` and `deps/npm/node_modules/node-gyp` still need to be
updated for a complete fix.

PR-URL: nodejs#21173
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Change the bind address from 0.0.0.0 to 127.0.0.1 and start respecting
the address part of `--inspect=<address>:<port>` so that the bind
address can be overridden by the user.

Fixes: nodejs#21349
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs involving general changes in the lib/ or src/ directories. v6.x labels Jun 17, 2018
@ChALkeR ChALkeR added security Issues and PRs related to security. experimental Issues and PRs related to experimental features. labels Jun 17, 2018
@bnoordhuis

Copy link
Copy Markdown
Member Author

Linter failure is infrastructural:

./node tools/lint-js.js -j 2 -f tap -o test-eslint.tap \
	benchmark doc lib test tools
gmake: ./node: Command not found

@richardlau

Copy link
Copy Markdown
Member

Build PR for v6.x linter: nodejs/build#1349

@MylesBorins

Copy link
Copy Markdown
Contributor

@nodejs/release @nodejs/lts do we want to do a 6.x release for this?

@richardlau

Copy link
Copy Markdown
Member

do we want to do a 6.x release for this?

In 6.x the V8 inspector is an experimental feature, so I would say no to doing a release specifically for this. I would not be opposed to including it in a release if other critical fixes are found to warrant a release.

@Trott

Trott commented Aug 1, 2018

Copy link
Copy Markdown
Member

@nodejs/security-wg

@lirantal

lirantal commented Aug 1, 2018

Copy link
Copy Markdown
Member

That's a welcomed change 👍
I believe we also need to update the documentation too?

@rvagg

rvagg commented Aug 13, 2018

Copy link
Copy Markdown
Member

FYI this is queued up for inclusion in v6.14.4 as per https://nodejs.org/en/blog/vulnerability/august-2018-security-releases/

@maclover7

Copy link
Copy Markdown
Contributor

Landed in v6.14.4 by @rvagg in 08a150f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++ Issues and PRs that require attention from people who are familiar with C++. experimental Issues and PRs related to experimental features. lib / src Issues and PRs involving general changes in the lib/ or src/ directories. security Issues and PRs related to security.

Projects

None yet

Development

Successfully merging this pull request may close these issues.