moxie0 / tortunnel

A partial Onion Proxy implementation that's designed to build single-hop circuits through Tor exit nodes
http://www.thoughtcrime.org/software/tortunnel/
GNU General Public License v3.0
140 stars 39 forks source link

fail to compile on fedora 16 64bit #3

Open sheepdestroyer opened 12 years ago

sheepdestroyer commented 12 years ago

hi, i get the following error when trying to compile :

g++ -ggdb -g -O2 -lssl -lboost_system-mt -lcrypto -o torproxy TorProxy.o HybridEncryption.o Connection.o Cell.o Directory.o ServerListing.o Util.o Circuit.o CellEncrypter.o RelayCellDispatcher.o CellConsumer.o ProxyShuffler.o CreateCell.o CreatedCell.o TorTunnel.o SocksConnection.o Network.o
/usr/bin/ld: TorProxy.o: undefined reference to symbol 'pthread_key_delete@@GLIBC_2.2.5' /usr/bin/ld: note: 'pthread_key_delete@@GLIBC_2.2.5' is defined in DSO /lib64/libpthread.so.0 so try adding it to the linker command line /lib64/libpthread.so.0: could not read symbols: Invalid operation collect2: ld returned 1 exit status make: *\ [torproxy] Error 1

anything i can do to solve this?

sheepdestroyer commented 12 years ago

i added this args to the makefile and now it works. i don't with ones where necessary however.

LIBS = -lpthread LDFLAGS = -L/lib64 CFLAGS = -pthread

sheepdestroyer commented 12 years ago

compilation worked but i get the following "Error opening stream: system:111" when trying it :

[sheepdestroyer@sheepora tortunnel]$ ./torproxy -p 9050 -r torproxy 0.3 by Moxie Marlinspike. Retrieving directory listing... Choosing exit node at index: 677 out of 1566 listings... Connecting to exit node: 90.190.27.125:5190 SSL Connection to node complete. Setting up circuit. Connected to Exit Node. SOCKS proxy ready on 9050. Got SOCKS Connection... Got SOCKS Request: 74.125.235.176:80 Error opening stream: system:111

this happens with any attempt to use it, for exemple with the folllowing test :

[sheepdestroyer@sheepora ~]$ curl --socks5 localhost:9050 google.com curl: (7) Can't complete SOCKS5 connection to 127.0.0.1:1024. (4)