Skip to content

A TCP transparent Proxy which use poolboy manage connects and use ranch receive request

Notifications You must be signed in to change notification settings

ronalfei/stargate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#StarGate - A General TCP transparent Proxy

Build Status

A TCP transparent Proxy which use poolboy manage connects and use ranch receive request.

Usage

[root@blackanimal workbench]# wget http://meet.xpro.im/stargate/stargate.tar.gz
[root@blackanimal workbench]# tar -zxvf stargate.tar.gz
[root@blackanimal workbench]# cd stargate
[root@blackanimal workbench]# cd etc
[root@blackanimal stargate]# cp pool.config.example pool.config

then modify config

{memcache, {listen, 8605}, {handler, raw_tcp_handler},
    [
          {
            [{size, 1}, {max_overflow, 20}]
          , [{host, {10,58,41,59}}, {port, 11211}]
        }
    ]
}.

Custom Develop

  1. install erlang first

  2. clone this reop to your workbench

  3. entry src directory

  4. if you want another protocol handler, write it into the handler directory

About

A TCP transparent Proxy which use poolboy manage connects and use ranch receive request

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published