FlowerWrong / tun2socks

Redirect tun flow to socks 5 in golang, support tcp and udp.
425 stars 107 forks source link

../netstack/tcpip/transport/udp/udp_packet_list.go:1:1: expected 'package', found 'EOF' #44

Closed skygate2012 closed 6 years ago

skygate2012 commented 6 years ago

Followed the readme.md but failed at step 3 go get ./... returned

tun2socks/stack.go:14:2: 
../netstack/tcpip/transport/udp/udp_packet_list.go:1:1: expected 'package', found 'EOF'
FlowerWrong commented 6 years ago

Sorry for this error. The netstack package is broken, you can checkout this commit by hand. It worked well.

FlowerWrong commented 6 years ago

I have fixed the master branch of netstack, you can try it now.