![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
uproxy-networking
Advanced tools
uProxy's networking library provides a "split SOCKS5 proxy" whose two halves communicate with one another via WebRTC data channels, optionally disguising the WebRTC network traffic as some other protocol.
There are two main components: socks-to-rtc
and rtc-to-net
.
socks-to-rtc
provides a local proxy (which the user can point their browser or command-line tools at) which passes requests over a WebRTC peerconnection.rtc-to-net
acts as the "remote proxy" which receives the requests from the socks-to-rtc
peer over WebRTC, passes the request to the destination webserver, and serves the response back to socks-to-rtc
.npm install -g grunt-cli
npm install
from the base directory to obtain all prerequisites.grunt
compiles all the TypeScript into JavaScript which goes into the build/
directory.This is built on top of freedom. To make use of this library, one needs to include socks-to-rtc.js
and rtc-to-net.js
(the compiled javascript is built in build/socks-to-rtc/
and /build/rtc-to-net/
).
To see an example of using this for proxying, look at the build/socks-server/samples/
directory which contains two sample apps:
simple-socks
starts a SOCKS proxy on port 9999. socks-to-rtc
and rtc-to-net
both run in the same Chrome app, on the same machine, and communicate via direct function calls (no WebRTC datachannels).
copypaste-socks-chromeapp/
starts a SOCKS proxy on port 9999. One peer runs socks-to-rtc
and the other runs rtc-to-net
. The two peers may run on separate machines which may be located on separate private networks. Communication takes place via WebRTC datachannels and the peer-to-peer connection is established by exchanging signalling messages over some medium, e.g. email or, if the peers are on the same machine, copy and paste.
chrome://extensions
, ensure developer mode is enabled, and load unpacked extension from the build/socks-server/samples/simple-socks-chromeapp/
directory.cfx run
from the build/socks-server/samples/simple-socks-firefoxapp/
directory.curl -x socks5h://localhost:9999 www.example.com
(the h
indicates that DNS requests are made through the proxy too, i.e. not resolved locally)To see debugging output, open the background page.
You can also use an extension like SwitchyProxySharp to set Chrome's proxy settings and then just browse stuff.
grunt test
chromedriver
must be in your path. You can download it from https://sites.google.com/a/chromium.org/chromedriver/downloadschrome
must be in your path (see https://code.google.com/p/selenium/wiki/ChromeDriver#Requirements)grunt endtoend
The addon-sdk
is required for firefox. You can find it at https://developer.mozilla.org/en-US/Add-ons/SDK/Tutorials/Installation
grunt
command.cd build/socks-server/samples/simple-socks-firefoxapp/
and then run the command cfx run
.telnet 127.0.0.1 9998
and type some stuff to verify that echo server echoes what you send it (Ctrl-]
then quit
to exit telnet).android
and adb
are on your PATH (add sdk/tools
and sdk/platform-tools
to your PATH environment variable)android sdk
command.android avd
command.
grunt cca
will build the project, create an Android APK, and install it onto the device. If no device is attached, the default Android emulator is usedadb forward tcp:19999 tcp:9999
will forward localhost:19999 to the emulator's port 9999.
adb forward tcp:19998 tcp:9998
will forward localhost:19998 to the emulator's port 9998.
telnet localhost 19998
is now the echo server on the deviceFAQs
uProxy's networking library: SOCKS5 over WebRTC
The npm package uproxy-networking receives a total of 0 weekly downloads. As such, uproxy-networking popularity was classified as not popular.
We found that uproxy-networking demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.