Skip to content

chy616/qtunnel-libev

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qtunnel-libev

qtunnel in c

As qtunnel can not run on my loongson 8089d (alloc memory error, gccgo), I write this.

Because of lacking knowledge of openssl and aes, it could only support rc4 now.

it can work with qtunnel in go.

install

at first you should install openssl and libev

# install openssl
sudo apt-get install libssl-dev


#install libev
sudo apt-get install libev-dev

then git clone and make

git clone https://github.com/messyidea/qtunnel-c.git
cd qtunnel-c
make

usage

server: ./qtunnel-c --listen=0.0.0.0:server_port --backend=127.0.0.1:7655 --clientmod=false --secret=secret

client: ./qtunnel-c --listen=127.0.0.1:local_port --backend=server_host:server_port --clientmod=true --secret=secret

todo

  • support more encryption method

License

MIT

Packages

No packages published

Languages

  • C 97.6%
  • CMake 1.2%
  • Makefile 1.2%