Skip to content

debugger: agent listens on 'any' address #3317

Closed
@bnoordhuis

Description

$ node --debug-brk -e 'for(;;);'
Debugger listening on port 5858

# in another window
$ netstat -tlnp | grep node
tcp6       0      0 :::5858                 :::*                    LISTEN      18770/node

It used to listen on 127.0.0.1. The current behavior may be a security liability in production environments.

/cc @indutny

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions