Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

r_socks

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

r_socks

  • 0.2.11
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

RSocks

an proxy server base on EventMachine.

protocol type support: http, https, socks5

Installation

Add this line to your application's Gemfile:

gem 'r_socks'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install r_socks

Usage

use ENV set auth username and password

by default both user and password is: default

export RSOCKS_USER=some_user_name
export RSOCKS_PASSWORD=some_password

run server

server = RSocks::TcpServer.new
server.config.auth_method = :password
server.config.proxy_buffer_size = 10 * 1024 * 1024
server.config.proxy_type = :http

# if true then you need attach cert and private key
server.config.enable_ssl = false
# server.config.ssl_private_key = './server_key.txt'
# server.config.ssl_cert = './server_cert.txt'

# start multi process
server.config.instances = 2



server.run!

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/nickoan/r_socks.

FAQs

Package last updated on 03 May 2020

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc