Skip to content

caesarleong/dog-tunnel

 
 

Repository files navigation

Dog Tunnel

Introduction

Dog tunnel provide a P2P tunnel between your any two network, via UDP protocol on top of KCP. It's amazing fast and stable , gain better performance than other tunnel solution. It's written with pure golang by vzex.

Installation

Build From Source:

go get -u -d github.com/vzex/dog-tunnel && cd $GOPATH/src/github.com/vzex/dog-tunnel/ && make

Install dtunnel on Fedora 20/21 or CentOS 6/7

We provided a bash scripts to install dtunnel on fresh linux box.

see scripts/install_linux.sh

Install dtunnel on Ubuntu/Kubuntu 14.04 and 14.10

See scripts/install_ubuntu.sh

Specification

udp make session flow :

s -> c1 : query_addrlist_a
c1 -> s : report_addrlist
s -> c2 : query_addrlist_b  c2 have c1's addresses
c2 -> s : report_addrlist
s -> c1 : tell_bust_a  c1 have c2's addresses
c1 -> s : success_bust_a
s -> c2 : tell_bust_b
c2 -> s : makeholeok or makeholefail

Thanks

netroby

License

MIT License

Credits

Welcome donate with Alipay && 欢迎使用支付宝对该项目进行捐赠

author: [email protected]

Packages

No packages published

Languages

  • Go 97.5%
  • Shell 2.2%
  • Makefile 0.3%