Skip to content

permission: add permission for udp#53398

Closed
theanarkh wants to merge 1 commit intonodejs:mainfrom
theanarkh:add-permission-for-dns
Closed

permission: add permission for udp#53398
theanarkh wants to merge 1 commit intonodejs:mainfrom
theanarkh:add-permission-for-dns

Conversation

@theanarkh
Copy link
Copy Markdown
Contributor

@theanarkh theanarkh commented Jun 9, 2024

Refs: #44004

This PR add permission check or UDP module. Usage:
node --allow-net-udp=domain1,127.0.0.1/80 --allow-net-udp-in=domain2/9999

The format can be *, */*, host, host:*, host:port, host/netmask:port,*/port ...(host can be domain or IP).

  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Loading
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++. lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run. permission Issues and PRs related to the Permission Model

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants