Security News
JSR Working Group Kicks Off with Ambitious Roadmap and Plans for Open Governance
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
blind-relay
Advanced tools
Blind relay for UDX over Protomux channels. By acting as a blind relay, a host may accept pairing requests from other hosts and relay UDX stream messages between them, similar to Traversal Using Relays around NAT (TURN).
npm i blind-relay
sequenceDiagram
actor a as peer a
actor r as relay
actor b as peer b
par
a ->> r: pair { isInitiator: true, token, id, seq }
and
b ->> r: pair { isInitiator: false, token, id, seq }
end
note over r: The relay pairs peers a and b based on the token, allocates a new stream for both peers, and sends back the stream info
par
r -->> a: pair { isInitiator: true, token, id, seq }
and
r -->> b: pair { isInitiator: false, token, id, seq }
end
par
a ->> r: unpair { token }
note left of r: The relay deallocates the stream previously allocated to peer a
and
b ->> r: unpair { token }
note right of r: The relay deallocates the stream previously allocated to peer b
end
All types are specified as their corresponding compact-encoding codec.
pair
(0
)bitfield(1)
Flags.
isInitiator
fixed32
Preexchanged token.uint
Stream ID of the sender.uint
Initial stream sequence no. of the sender.unpair
(1
)bitfield(0)
Flags, reserved.fixed32
Preexchanged token.Apache-2.0
FAQs
Blind relay for UDX over Protomux channels
The npm package blind-relay receives a total of 1,248 weekly downloads. As such, blind-relay popularity was classified as popular.
We found that blind-relay demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
Security News
Research
An advanced npm supply chain attack is leveraging Ethereum smart contracts for decentralized, persistent malware control, evading traditional defenses.
Security News
Research
Attackers are impersonating Sindre Sorhus on npm with a fake 'chalk-node' package containing a malicious backdoor to compromise developers' projects.