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.
proxy.stream
Advanced tools
It's a nodejs proxy, implemented steam interface, supports socks4, socks4a, socks5 and http.
It's a nodejs proxy, implemented steam interface, supports socks4, socks4a, socks5 and http.
Install by $ npm install proxy.stream
Use new Proxy({ type: 'direct' })
to create a proxy stream.
###Example 1: direct access
It start an proxy on port 2000;
var net = require('net');
var Proxy = require('proxy.stream').Proxy;
net.createServer(function (s) {
var proxy = new Proxy(); //it's equal to new Proxy({ type: 'direct' })
s.pipe(proxy).pipe(s);
}).listen(2000, function () {
console.log('http/socks4/socks5 proxy listening on port 2000');
});
###Example 2: access throw another proxy
It turns the socks5 proxy [localhost:2000] to another proxy supports http/socks4/socks5!
var net = require('net');
var Proxy = require('proxy.stream').Proxy;
net.createServer(function (s) {
s.pipe(new Proxy({ type: 'socks5', host: 'localhost', port: 2000 })).pipe(s);
}).listen(8080, function () {
console.log('http/socks4/socks5 proxy listening on port 8080');
});
###Example 3: qproxy
Proxy based on WebSocket. Source
###More
This is a stream, it can be used simply in multiple scenarios.
FAQs
It's a nodejs proxy, implemented steam interface, supports socks4, socks4a, socks5 and http.
The npm package proxy.stream receives a total of 7 weekly downloads. As such, proxy.stream popularity was classified as not popular.
We found that proxy.stream 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.