goprox

command module
v0.0.0-...-ce7be32 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2019 License: MIT Imports: 7 Imported by: 0

README

Why?

Just need a simple proxy that supports unauthenticated or authenticated connections? Don't want to edit another squid config? Need simple pivoting in, out, or within a network? This may be the proxy for you!

About

This project contains two forks:

The primary additions are making configuration options controllable at runtime.

You can use the following environment variables to configure the socks5 server:

  • SOCKS_USER
  • SOCKS_PASSWORD
  • SOCKS_PORT
  • SOCKS_LISTEN

And the following variables to configure the HTTP server:

  • HTTP_PROXY_PORT
  • HTTP_PROXY_LISTEN

Authentication is not supported on the HTTP proxy.

You can also use command line arguments to control how the server listens and accepts connections:

Usage of ./socksprox:
  -listen string
    	Socks5 Listen (default "0.0.0.0")
  -password string
    	Socks5 Password
  -port string
    	Socks5 Port (default "1080")
  -user string
    	Socks5 User

Limitations

The base socks5 library by armon does not support the following commands:

  • BIND
  • ASSOCIATE

Building

Simply run:

$ make build
$ ./bin/socksprox
$ ./bin/httpproxy

Cross Compiling

Simply run:

$ make build-all

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL