messyidea / qtunnel-libev

qtunnel in c

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

qtunnel in c

License:MIT License


Languages

Language:C 97.7%Language:CMake 1.2%Language:Makefile 1.1%