Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

fixed includes and linker flags #1

Merged
merged 3 commits into from

2 participants

@fs111

The code did not compile and later on link. I added a missing include and linker flag to make it work. Have fun! :-)

@fs111

I also added a quick curl example to show the usage.

@moxie0
Owner

Thanks!

@moxie0 moxie0 merged commit fb37988 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 5 additions and 2 deletions.
  1. +2 −2 Makefile.am
  2. +2 −0  README
  3. +1 −0  protocol/Directory.h
View
4 Makefile.am
@@ -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
1  protocol/Directory.h
@@ -34,6 +34,7 @@
#include <boost/asio.hpp>
#include <boost/function.hpp>
#include <boost/bind.hpp>
+#include <list>
#include <string>
#include <stdio.h>
Something went wrong with that request. Please try again.