Closed henrythasler closed 6 years ago
Hi,
same issue
Here is my working example, following the general pattern of your example:
shapeshifter-dispatcher installed via
go get -u github.com/OperatorFoundation/shapeshifter-dispatcher/shapeshifter-dispatcher
starting service
nc -l 3333
starting shapeshifter-dispatcher
bin/shapeshifter-dispatcher -transparent -server -state state -orport 127.0.0.1:3333 -transports obfs4 -bindaddr obfs4-127.0.0.1:2222 -logLevel DEBUG -enableLogging -extorport 127.0.0.1:3334
get obfs4 fingerprint
CERT=`cat state/obfs4_bridgeline.txt | grep "^Bridge" | sed "s/=/ /g" | awk '{print $7}'`
echo "{---cert---: ---$CERT---, ---iatMode---: ---0---}" | sed 's/---/"/g' >state/obfs4.json
starting client
bin/shapeshifter-dispatcher -transparent -client -state state -target 127.0.0.1:2222 -transports obfs4 -options "`cat state/obfs4.json`" -logLevel DEBUG -enableLogging -proxylistenaddr 127.0.0.1:4443
connecting
nc localhost 4443
sending message "test" into nc client received message "test" on nc server
Test was successful.
While trying the obfs4 examples given in the readme it seems it is not working at all. Using obfs2 works nevertheless with the exact same setup. I'm giving as much details as possible. Any help is appreciated.
Server docker container (golang:1.9.0-alpine3.6) called with --net=host parameter shapeshifter-dispatcher installed via
go get -u github.com/OperatorFoundation/shapeshifter-dispatcher/shapeshifter-dispatcher
starting shapeshifter-dispatcher
check if server is up and running
get obfs4 fingerprint
see logfile
starting service
server seems ok so far
client same docker image, also --net=host starting client
check if client is up and running (line pid 7 is not shown completely)
check log
starting telnet session
nothing transmitted, client disconnect after 60s wiresharks says: