Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
peero-server
Advanced tools
WebSocket server which facilitates discovery between Peero client peers.
WebRTC peers are unable to connect to each other without exchanging connection data (IP adresses, etc). The way this exchange is performed is not a part of the WebRTC spec, so it's up to the developer to come up with a way to do this. There are already signaling servers which do exactly this, but Peero server is just a different type of implementation that's supposed to be simple and open source.
The only thing the server does is keep a list of online peers, and passes SDP data from one peer to another to make those peers connect. All communication between peers is strictly peer-to-peer. There is also an implementation of a Peero client, which connects to the server and available peers.
To run the server, you will need to have Node.js and npm installed, so you can:
$ npm install peero-server
const PeeroServer = require('peero-server')
const server = new PeeroServer({
port: '80',
log: '/path/to/log/directory'
})
The constructor accepts the following options:
error.log
and combined.log
. The former contains only errors when they're caught, the latter contains error
, warn
and info
log levels. When process.env.NODE_ENV !== 'production'
, logs are output to stdout. Default: null.The instance emits the following events:
FAQs
Websocket server which facilitates discovery between Peero client peers.
The npm package peero-server receives a total of 3 weekly downloads. As such, peero-server popularity was classified as not popular.
We found that peero-server demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.