All Projects → Snawoot → firefox-secure-proxy

Snawoot / firefox-secure-proxy

Licence: MIT license
Standalone wrapper for Firefox Private Network

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to firefox-secure-proxy

mps
MPS is a high-performance HTTP(S) proxy library that supports forward proxies, reverse proxies, man-in-the-middle proxies, tunnel proxies, Websocket proxies. MPS 是一个高性能HTTP(s)中间代理库,它支持正向代理、反向代理、中间人代理、隧道代理、Websocket代理
Stars: ✭ 64 (+326.67%)
Mutual labels:  proxy-server, http-proxy, https-proxy
C-Sharp-Proxy-Server
A proxy server built with c# can be both normal and MITM Proxy
Stars: ✭ 86 (+473.33%)
Mutual labels:  proxy-server, http-proxy, https-proxy
node-proxy
High performance HTTP and reverse proxy server based on Node.js. 基于 Node.js 的高性能 HTTP 及反向代理服务器,类似nginx。
Stars: ✭ 71 (+373.33%)
Mutual labels:  proxy-server, http-proxy
Proxy requests
a class that uses scraped proxies to make http GET/POST requests (Python requests)
Stars: ✭ 357 (+2280%)
Mutual labels:  proxy-server, http-proxy
Noginx
High performance HTTP and reverse proxy server based on Node.js. 基于 Node.js 的高性能 HTTP 及反向代理服务器,类似nginx。
Stars: ✭ 53 (+253.33%)
Mutual labels:  proxy-server, http-proxy
FullProxy
Bind and reverse connection based, SOCKS5, HTTP and PortForward based portable proxy
Stars: ✭ 22 (+46.67%)
Mutual labels:  proxy-server, http-proxy
userscript-proxy
HTTP proxy to inject scripts and stylesheets into existing sites.
Stars: ✭ 66 (+340%)
Mutual labels:  proxy-server, http-proxy
Citadelcore
Cross platform filtering HTTP/S proxy based on .NET Standard 2.0.
Stars: ✭ 28 (+86.67%)
Mutual labels:  proxy-server, http-proxy
Goproxy
🔥 Proxy is a high performance HTTP(S) proxies, SOCKS5 proxies,WEBSOCKET, TCP, UDP proxy server implemented by golang. Now, it supports chain-style proxies,nat forwarding in different lan,TCP/UDP port forwarding, SSH forwarding.Proxy是golang实现的高性能http,https,websocket,tcp,socks5代理服务器,支持内网穿透,链式代理,通讯加密,智能HTTP,SOCKS5代理,黑白名单,限速,限流量,限连接数,跨平台,KCP支持,认证API。
Stars: ✭ 11,334 (+75460%)
Mutual labels:  http-proxy, https-proxy
Beyond
BeyondCorp-inspired Access Proxy. Secure internal services outside your VPN/perimeter network during a zero-trust transition.
Stars: ✭ 151 (+906.67%)
Mutual labels:  proxy-server, http-proxy
Flynet
A powerful TCP/UDP tool, which support socks5 proxy by tcp and udp, http proxy and NAT traversal. This tool can help you bypass gfw easily
Stars: ✭ 124 (+726.67%)
Mutual labels:  proxy-server, http-proxy
Smartproxy
HTTP(S) Rotating Residential proxies - Code examples & General information
Stars: ✭ 205 (+1266.67%)
Mutual labels:  proxy-server, http-proxy
Mubeng
An incredibly fast proxy checker & IP rotator with ease.
Stars: ✭ 234 (+1460%)
Mutual labels:  proxy-server, http-proxy
Free Proxy List
🔥Free proxy servers list / Updated hourly!
Stars: ✭ 326 (+2073.33%)
Mutual labels:  proxy-server, http-proxy
LiveProxies
Asynchronous proxy checker
Stars: ✭ 17 (+13.33%)
Mutual labels:  proxy-server, http-proxy
Awslambdaproxy
An AWS Lambda powered HTTP/SOCKS web proxy
Stars: ✭ 571 (+3706.67%)
Mutual labels:  proxy-server, http-proxy
Dproxy
Massive Distributed Dynamic Proxy
Stars: ✭ 23 (+53.33%)
Mutual labels:  http-proxy, https-proxy
zorp
Zorp GPL
Stars: ✭ 102 (+580%)
Mutual labels:  http-proxy, https-proxy
Httpproxy
Go HTTP proxy server library
Stars: ✭ 110 (+633.33%)
Mutual labels:  proxy-server, http-proxy
Proxybroker
Proxy [Finder | Checker | Server]. HTTP(S) & SOCKS 🎭
Stars: ✭ 2,767 (+18346.67%)
Mutual labels:  proxy-server, http-proxy

firefox-secure-proxy

NOTICE: Project is archived because beta extension API has been disabled and newer API has severe limitations. See hola-proxy-list for alternative.

Standalone wrapper for Firefox Secure Proxy. Offers plain HTTP proxy interface for all compatible applications.

Walkthrough

  1. Install firefox-secure-proxy package. Use command pip3 install firefox-secure-proxy to install package from PyPI or run: pip3 install . within source directory. Python 3.5+ is required.
  2. Login into Firefox Accounts. Run fxsp-login and follow instructions on screen. It's OK if OAuth2 redirected URL is dead, wait for it to bail out and just copy its address into console.
  3. Update proxy token with command fxsp-getproxytoken.
  4. Run HTTP stub proxy server based on haproxy. There is docker-compose recipe in stub-server directory. Get into it, copy file ~/.config/fxsp/haproxy_maps into it and run docker-compose up. Local proxy will be running on port 8080, wrapping and authenticating connections to Firefox Secure Proxy.

Updating proxy access token

Proxy access tokens requested by firefox-secure-proxy are valid for 24 hours. In order to update it run in following commands in your local stub-server directory:

cp -v ~/.config/fxsp/haproxy_map .
docker-compose kill -s HUP haproxy

These actions can be scheduled to be performed automatically. Running haproxy server will be reloaded with no downtime.

Synopsis

$ fxsp-login --help
usage: fxsp-login [-h] [-d DATADIR]

Performs login into Firefox services and retrieves permanent authentication
token, which is used to refresh proxy service token

optional arguments:
  -h, --help            show this help message and exit
  -d DATADIR, --datadir DATADIR
                        data directory location (default:
                        /home/user/.config/fxsp)
$ fxsp-getproxytoken --help
usage: fxsp-getproxytoken [-h] [-d DATADIR] [-a AGE]

Retrieves or updates proxy service token using persistent Firefox refresh
token (login token)

optional arguments:
  -h, --help            show this help message and exit
  -d DATADIR, --datadir DATADIR
                        data directory location (default:
                        /home/user/.config/fxsp)
  -a AGE, --age AGE     update token if it's age greater than AGE seconds
                        (default: 0)

See also

  • transocks - transparent proxy adapter which can be used to redirect network traffic into HTTP/SOCKS5 proxy on gateway or a single Linux host. Compatible with firefox-secure-proxy.
  • python-proxy - HTTP/Socks4/Socks5/Shadowsocks/ShadowsocksR/SSH/Redirect/Pf TCP/UDP asynchronous tunnel proxy implemented in Python3 asyncio. Can be used to wrap firefox-secure-proxy to SOCKS5 and other protocols.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].