8000 GitHub - ecchanger/TcpProxy: A high performance tcp poxy server.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ecchanger/TcpProxy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TcpProxy

Yet another tcp proxy server.

Features

  • Simple, small code base
  • Very fast, high performance
  • Totally non-blocking IO operations.
  • Multi IO thread

Simple tutorial

####1.Edit application.conf in the release folder to add proxy hosts.

tcpProxyServer {
	hosts = [{
				localPort = 465
				remoteHost = smtp.gmail.com
				remotePort = 465
			},{
				localPort = 993
				remoteHost = imap.gmail.com
				remotePort = 993
			},{
				localPort = 995
				remoteHost = pop.gmail.com
				remotePort = 995
		 	},{
				localPort = 25
				remoteHost = smtp.qq.com
				remotePort = 25
			 },{
				localPort = 143
				remoteHost = imap.qq.com
				remotePort = 143
			 }]
	so_backlog = 1000
	connect_timeout_millis = 15000
	so_timeout = 15000
	ioThreadNum = 5
	debug = true
}

####2. startup server...

./tcpProxy.sh   or  ./tcpProxy.bat

Build

To build the JAR file of TcpProxy, you need to install Maven (http://maven.apache.org), then type the following command:

$ mvn package

To generate project files (.project, .classpath) for Eclipse, do

$ mvn eclipse:eclipse

About

A high performance tcp poxy server.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0