Permalink
Browse files

Merge pull request #1 from fs111/master

fixed includes and linker flags
  • Loading branch information...
2 parents 80601d6 + a294d57 commit fb37988b7f12b2a5664ca2013164830748b8880a @moxie0 committed Sep 20, 2011
Showing with 5 additions and 2 deletions.
  1. +2 −2 Makefile.am
  2. +2 −0 README
  3. +1 −0 protocol/Directory.h
View
@@ -6,8 +6,8 @@ bin_PROGRAMS = torproxy torscanner
torproxy_SOURCES = TorProxy.cpp TorProxy.h ShuffleStream.h protocol/RelayCellDispatcher.h protocol/HybridEncryption.h protocol/HybridEncryption.cpp protocol/Connection.cpp protocol/Connection.h protocol/Cell.cpp protocol/Cell.h protocol/Directory.cpp protocol/Directory.h protocol/RelayDataCell.h protocol/CreatedCell.h protocol/RelayCell.h protocol/RelayEndCell.h protocol/RelaySendMeCell.h protocol/ServerListing.cpp protocol/ServerListing.h util/Util.cpp protocol/Circuit.cpp protocol/Circuit.h protocol/CellEncrypter.cpp protocol/CellEncrypter.h protocol/RelayBeginCell.h protocol/CellListener.h protocol/RelayCellDispatcher.cpp protocol/CellConsumer.cpp protocol/CellConsumer.h ProxyShuffler.cpp protocol/CreateCell.cpp protocol/CreateCell.h protocol/CreatedCell.cpp TorTunnel.cpp TorTunnel.h SocksConnection.cpp SocksConnection.h util/Network.cpp ProxyShuffler.h util/Network.h util/Util.h
-torproxy_LDFLAGS = -lssl -lboost_system-mt
+torproxy_LDFLAGS = -lssl -lboost_system-mt -lcrypto
torscanner_SOURCES = TorScanner.cpp TorScanner.h ShuffleStream.h protocol/RelayCellDispatcher.h protocol/HybridEncryption.h protocol/HybridEncryption.cpp protocol/Connection.cpp protocol/Connection.h protocol/Cell.cpp protocol/Cell.h protocol/Directory.cpp protocol/Directory.h protocol/RelayDataCell.h protocol/CreatedCell.h protocol/RelayCell.h protocol/RelayEndCell.h protocol/RelaySendMeCell.h protocol/ServerListing.cpp protocol/ServerListing.h util/Util.cpp protocol/Circuit.cpp protocol/Circuit.h protocol/CellEncrypter.cpp protocol/CellEncrypter.h protocol/RelayBeginCell.h protocol/CellListener.h protocol/RelayCellDispatcher.cpp protocol/CellConsumer.cpp protocol/CellConsumer.h ProxyShuffler.cpp protocol/CreateCell.cpp protocol/CreateCell.h protocol/CreatedCell.cpp TorTunnel.cpp TorTunnel.h util/Network.cpp protocol/ServerListingGroup.cpp protocol/ServerListingGroup.h util/Network.h util/Util.h
-torscanner_LDFLAGS = -lssl -lboost_system-mt
+torscanner_LDFLAGS = -lssl -lboost_system-mt -lcrypto
View
2 README
@@ -13,3 +13,5 @@ To expose a SOCKS interface on localhost:5060 to a specific Tor exit node IP add
torproxy -p 5060 -n <ip>
These commands will open a SOCKS interface on localhost:5060, which you can then point applications which support SOCKS proxies to. Be careful, though, remember that this is not useful for anything approaching strict anonymity requirements.
+
+To see if it works, you can try a "curl --socks5 localhost:5060 ifconfig.me" and compare it with the output of "curl ifconfig.me".
View
@@ -34,6 +34,7 @@
#include <boost/asio.hpp>
#include <boost/function.hpp>
#include <boost/bind.hpp>
+#include <list>
#include <string>
#include <stdio.h>

0 comments on commit fb37988

Please sign in to comment.