All Projects → jamesmoriarty → Forward Proxy

jamesmoriarty / Forward Proxy

Licence: mit
150 LOC Ruby forward proxy using only standard libraries.

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Forward Proxy

Proxy
C++ TCP Proxy Server
Stars: ✭ 98 (-6.67%)
Mutual labels:  proxy, proxy-server
Noginx
High performance HTTP and reverse proxy server based on Node.js. 基于 Node.js 的高性能 HTTP 及反向代理服务器,类似nginx。
Stars: ✭ 53 (-49.52%)
Mutual labels:  proxy, proxy-server
Go Fasthttp Sniproxy Chunks
Inspired by https://github.com/SadeghHayeri/GreenTunnel
Stars: ✭ 33 (-68.57%)
Mutual labels:  proxy, https
Hiproxy
🛠 hiproxy is a lightweight proxy tool for Front-End developers based on Node.js that supports an NGINX-like configuration. 🔥
Stars: ✭ 629 (+499.05%)
Mutual labels:  proxy, https
Tor Router
A SOCKS, HTTP and DNS proxy for distributing traffic across multiple instances of Tor
Stars: ✭ 69 (-34.29%)
Mutual labels:  proxy, proxy-server
Switcher
Run SSH and HTTP(S) on the same port
Stars: ✭ 877 (+735.24%)
Mutual labels:  proxy, https
Wiremockui
Wiremock UI - Tool for creating mock servers, proxies servers and proxies servers with the option to save the data traffic from an existing API or Site.
Stars: ✭ 38 (-63.81%)
Mutual labels:  proxy, proxy-server
Awslambdaproxy
An AWS Lambda powered HTTP/SOCKS web proxy
Stars: ✭ 571 (+443.81%)
Mutual labels:  proxy, proxy-server
Proxy List
A list of free, public, forward proxy servers. UPDATED DAILY!
Stars: ✭ 1,125 (+971.43%)
Mutual labels:  proxy, proxy-server
Titanium Web Proxy
A cross-platform asynchronous HTTP(S) proxy server in C#.
Stars: ✭ 1,122 (+968.57%)
Mutual labels:  proxy-server, https
Engintron
Engintron for cPanel/WHM is the easiest way to integrate Nginx on your cPanel/WHM server. Engintron will improve the performance & web serving capacity of your server, while reducing CPU/RAM load at the same time, by installing & configuring the popular Nginx webserver to act as a reverse caching proxy in front of Apache.
Stars: ✭ 587 (+459.05%)
Mutual labels:  proxy, proxy-server
Delete
(迫于压力,本项目停止维护,请尽快fork代码。1月1日之后删除项目)[免翻墙工具]A free and open-source youtube video proxy script [Written in PHP]
Stars: ✭ 1,316 (+1153.33%)
Mutual labels:  proxy, proxy-server
Blinksocks
A framework for building composable proxy protocol stack.
Stars: ✭ 587 (+459.05%)
Mutual labels:  proxy, https
Citadelcore
Cross platform filtering HTTP/S proxy based on .NET Standard 2.0.
Stars: ✭ 28 (-73.33%)
Mutual labels:  proxy, proxy-server
Php Proxy App
Web Proxy Application built on php-proxy library ready to be installed on your server
Stars: ✭ 583 (+455.24%)
Mutual labels:  proxy, proxy-server
Squid
Squid Web Proxy Cache
Stars: ✭ 981 (+834.29%)
Mutual labels:  proxy, https
Weaver
An Advanced HTTP Reverse Proxy with Dynamic Sharding Strategies
Stars: ✭ 510 (+385.71%)
Mutual labels:  proxy, proxy-server
Tor2web
Tor2web is an HTTP proxy software that enables access to Tor Hidden Services by mean of common web browsers
Stars: ✭ 531 (+405.71%)
Mutual labels:  proxy, https
Imager
Image processing proxy
Stars: ✭ 56 (-46.67%)
Mutual labels:  proxy, proxy-server
Lightsocks Nodejs
It's a simple socks5 proxy tool which based on lightsocks
Stars: ✭ 79 (-24.76%)
Mutual labels:  proxy, proxy-server

ForwardProxy

Gem Version Gem Build Status

150 LOC Ruby forward proxy using only standard libraries.

$ forward-proxy --binding 0.0.0.0 --port 3182 --threads 2
[2021-01-14 19:37:47 +1100] INFO Listening 0.0.0.0:3182
[2021-01-14 19:38:24 +1100] INFO CONNECT raw.githubusercontent.com:443 HTTP/1.1

Installation

Add this line to your application's Gemfile:

gem 'forward-proxy'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install forward-proxy

Usage

CLI

forward-proxy
Usage: forward-proxy [options]
    -p, --port=PORT                  Bind to specified port. Default: 9292
    -b, --binding=BINDING            Bind to the specified ip. Default: 127.0.0.1
    -t, --threads=THREADS            Specify the number of client threads. Default: 32
    -h, --help                       Prints this help.

Library

require 'forward_proxy'

proxy = ForwardProxy::Server.new(
  bind_address: "127.0.0.1",
  bind_port: 3000
)

proxy.start

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake test to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/jamesmoriarty/forward-proxy. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the ForwardProxy project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

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].