![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
uproxy-networking
Advanced tools
uProxy's networking library provides a localhost SOCKS5 proxy that sends traffic over WebRTC to the peer, or recieves traffic from a peer over WebRTC and sends it to the destination website.
There are two main freedom modules: socks-to-rtc and rtc-to-net.
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-rtc-net/samples/socks-rtc-net-freedom-chromeapp/
which contains a Chrome app. The chrome app when started will run a socks proxy on localhost, and requests will over two peerconnections (in this case both in the same chrome app admitedly), and then to the net.
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 a standard path location (see https://code.google.com/p/selenium/wiki/ChromeDriver#Requirements)grunt
to build the chrome app in the build/socks-rtc-net/samples/socks-rtc-net-freedom-chromeapp/
directory.chrome://extensions
, ensure developer mode is enabled, and load unpacked extension from the build/socks-rtc-net/samples/socks-rtc-net-freedom-chromeapp/
directory.localhost:9999
.cfx run
from the build/socks-rtc-net/samples/socks-rtc-net-freedom-firefoxapp/
directory.At the moment, the way to test that this works is to just curl a webpage through the socks-rtc proxy. For example:
curl -x socks5h://localhost:9999 www.google.com
(the 'h' indicates that DNS requests are made through the proxy as well, and not resolved locally.)
You can also use an extension like SwitchyProxySharp to set Chrome's proxy settings and then just browse stuff.
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-rtc-net/samples/socks-rtc-net-freedom-chromeapp/
and then run the command cfx run
which should startup firefox with the Firefox echo-server app running.telnet 127.0.0.1 9998
to verify that echo server echo's what you send it. (type some stuff and see the same stuff repeated back to you). Ctrl-]
then type quit
exit telnet.Prerequisites:
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.
Congiure and build:
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
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
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.