OperatorFoundation / shapeshifter-dispatcher

Shapeshifter Dispatcher converts Pluggable Transports that implement the Go API from the Pluggable Transports 2.1 specification into proxies usable by applications. Several proxy modes are provided, including proxying of both TCP and UDP traffic.
https://OperatorFoundation.org/
MIT License
177 stars 28 forks source link

Unable to build on any platform, Ubuntu 15/18 Centos 6 #9

Closed shaynem closed 6 years ago

shaynem commented 6 years ago

Tried with different versions of go, including the latest.

go get -u github.com/OperatorFoundation/shapeshifter-dispatcher/shapeshifter-dispatcher
# github.com/OperatorFoundation/shapeshifter-dispatcher/modes/pt_socks5
go/src/github.com/OperatorFoundation/shapeshifter-dispatcher/modes/pt_socks5/pt_socks5.go:116:10: cannot use transport.Dial (type func(string) base.TransportConn) as type func(string) net.Conn in assignment
go/src/github.com/OperatorFoundation/shapeshifter-dispatcher/modes/pt_socks5/pt_socks5.go:123:13: cannot use transport.Dial (type func(string) base.TransportConn) as type func(string) net.Conn in assignment
go/src/github.com/OperatorFoundation/shapeshifter-dispatcher/modes/pt_socks5/pt_socks5.go:201:11: cannot use transport.Listen (type func(string) base.TransportListener) as type func(string) net.Listener in assignment
go/src/github.com/OperatorFoundation/shapeshifter-dispatcher/modes/pt_socks5/pt_socks5.go:208:14: cannot use transport.Listen (type func(string) base.TransportListener) as type func(string) net.Listener in assignment
# github.com/OperatorFoundation/shapeshifter-dispatcher/modes/transparent_tcp
go/src/github.com/OperatorFoundation/shapeshifter-dispatcher/modes/transparent_tcp/transparent_tcp.go:102:10: cannot use transport.Dial (type func(string) base.TransportConn) as type func(string) net.Conn in assignment
go/src/github.com/OperatorFoundation/shapeshifter-dispatcher/modes/transparent_tcp/transparent_tcp.go:109:13: cannot use transport.Dial (type func(string) base.TransportConn) as type func(string) net.Conn in assignment
go/src/github.com/OperatorFoundation/shapeshifter-dispatcher/modes/transparent_tcp/transparent_tcp.go:126:12: cannot use transport.Dial (type func(string) base.TransportConn) as type func(string) net.Conn in assignment
go/src/github.com/OperatorFoundation/shapeshifter-dispatcher/modes/transparent_tcp/transparent_tcp.go:194:11: cannot use transport.Listen (type func(string) base.TransportListener) as type func(string) net.Listener in assignment
go/src/github.com/OperatorFoundation/shapeshifter-dispatcher/modes/transparent_tcp/transparent_tcp.go:197:11: cannot use transport.Listen (type func(string) base.TransportListener) as type func(string) net.Listener in assignment
go/src/github.com/OperatorFoundation/shapeshifter-dispatcher/modes/transparent_tcp/transparent_tcp.go:215:11: cannot use transport.Listen (type func(string) base.TransportListener) as type func(string) net.Listener in assignment
# github.com/OperatorFoundation/shapeshifter-dispatcher/modes/transparent_udp
go/src/github.com/OperatorFoundation/shapeshifter-dispatcher/modes/transparent_udp/transparent_udp.go:188:10: cannot use transport.Dial (type func(string) base.TransportConn) as type func(string) net.Conn in assignment
go/src/github.com/OperatorFoundation/shapeshifter-dispatcher/modes/transparent_udp/transparent_udp.go:195:13: cannot use transport.Dial (type func(string) base.TransportConn) as type func(string) net.Conn in assignment
go/src/github.com/OperatorFoundation/shapeshifter-dispatcher/modes/transparent_udp/transparent_udp.go:249:11: cannot use transport.Listen (type func(string) base.TransportListener) as type func(string) net.Listener in assignment
go/src/github.com/OperatorFoundation/shapeshifter-dispatcher/modes/transparent_udp/transparent_udp.go:256:14: cannot use transport.Listen (type func(string) base.TransportListener) as type func(string) net.Listener in assignment
# github.com/OperatorFoundation/shapeshifter-dispatcher/modes/stun_udp
go/src/github.com/OperatorFoundation/shapeshifter-dispatcher/modes/stun_udp/stun_udp.go:177:5: cannot use transport.Dial (type func(string) base.TransportConn) as type func(string) net.Conn in assignment
go/src/github.com/OperatorFoundation/shapeshifter-dispatcher/modes/stun_udp/stun_udp.go:184:8: cannot use transport.Dial (type func(string) base.TransportConn) as type func(string) net.Conn in assignment
go/src/github.com/OperatorFoundation/shapeshifter-dispatcher/modes/stun_udp/stun_udp.go:237:10: cannot use transport.Listen (type func(string) base.TransportListener) as type func(string) net.Listener in assignment
go/src/github.com/OperatorFoundation/shapeshifter-dispatcher/modes/stun_udp/stun_udp.go:244:13: cannot use transport.Listen (type func(string) base.TransportListener) as type func(string) net.Listener in assignment
blanu commented 6 years ago

This should be resolved now.