summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Only run config.status once at configure timenewmakeRobert Hogan2011-02-27
|
* Add missing doc/Makefile.amRobert Hogan2011-02-27
|
* Remove check that init() has been calledRobert Hogan2011-02-27
| | | | I think the pthread_mutex takes care of this problem now.
* Fix funny malloc statementRobert Hogan2011-02-27
|
* Move patches directory to docs and update DEBUG readmeRobert Hogan2011-02-27
|
* Move man pages and configuration files to docs folderRobert Hogan2011-02-27
|
* Clean up and comment configure.inRobert Hogan2011-02-24
|
* Fix compile warning on some versions of gccRobert Hogan2011-02-22
| | | | Seen on i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5659)
* Fix build on systems that export res_query a strange wayRobert Hogan2011-02-22
| | | | Reported by starslights.
* Replace Makefile.cvs with autogen.shRobert Hogan2011-02-22
| | | | There, that wasn't so hard - was it. Autogen.sh stolen from tor.
* Make tests compile and run on OSXRobert Hogan2011-02-20
|
* Compile and run tests on FreeBSDRobert Hogan2011-02-20
|
* Make tests compile and run on OpenBSDRobert Hogan2011-02-20
|
* Fix compile warning in test_torsocks.cRobert Hogan2011-02-20
|
* Fix segfaultRobert Hogan2011-02-20
| | | | | Occurred when tor not running, torsocks run in debug/test mode, and gethostbyaddr() fails.
* Fix copyright noticeRobert Hogan2011-02-20
|
* Fix typo in test/Makefile.amRobert Hogan2011-02-19
|
* Set environment variable for test runRobert Hogan2011-02-19
|
* Add a rudimentary test suiteRobert Hogan2011-02-19
|
* Split SOCKS functions into separate fileRobert Hogan2011-02-19
|
* Fix -lresolv on linux builds againRobert Hogan2011-02-18
|
* Compile and (apparently) work on OpenBSDRobert Hogan2011-02-15
| | | | Need more testing to be sure, but it looks like it works OK.
* More renaming of tsocks to torsocksRobert Hogan2011-02-14
|
* More whitespace cleanupsRobert Hogan2011-02-14
|
* Whitespace cleanup in parser.hRobert Hogan2011-02-14
|
* Tidy up copyright in parser.hRobert Hogan2011-02-14
|
* Rename functions from tsocks* to torsocks*Robert Hogan2011-02-14
|
* Whitespace cleanups in common.cRobert Hogan2011-02-14
|
* Remove socksdns, tordns and hostnames configure options.Robert Hogan2011-02-14
| | | | | | | | | | | These options are defunct: 1. socksdns (force dns lookups to use tcp) torsocks does this by default, no reason to make it optional. 2. tordns (force dns lookups through tor) torsocks does this by default, option has been a no-op for a long time. 3. hostnames (resolve name of socks server if required) potentially useful, but not really a good idea for tor.
* Rename tsocks.h to torsocks.hRobert Hogan2011-02-14
|
* Tidy up the file copyrightsRobert Hogan2011-02-14
|
* Rename tsocks.c to torsocks.cRobert Hogan2011-02-14
|
* Remove unused source filesRobert Hogan2011-02-14
| | | | | | Removing these supplementary utilities as they've been disabled for some time now. They can be restored by popular demand if necessary.
* Fix 'symbol res_send() was not found in any shared library'Robert Hogan2011-02-13
| | | | | | | | | | | | | | | | | Solution found by Nicolas Pouillard (nicolas.pouillard@gmail.com). However I am still not clear why this is necessary for just this symbol on Linux. To test that it works: cd test/ gcc -fPIC -g -O2 -Wall -I. -o resinit resinit.c -lc -lresolv cd .. export TORSOCKS_DEBUG=2 torsocks test/resinit Expected result: 12:45:33 libtorsocks(21307): Got res_send request http://code.google.com/p/torsocks/issues/detail?id=3
* Rename and clean up whitespace in the signature expansion headerRobert Hogan2011-02-13
|
* Refuse connections to local network addresses.Robert Hogan2011-02-12
| | | | | | | | If a DNS request is made to a DNS server on a local network over TCP we need to reject it. So for now, reject all attempts to connect to servers on the local network using torsocks. If torsocks is used with programs that expect to use local network services - this will probably break them. I'm not aware of any.
* Prevent execution of suid/sgid programs by torsocksRobert Hogan2011-01-02
| | | | | We already do this in usewithtor. Closes off http://code.google.com/p/torsocks/issues/detail?id=5
* Use @libdir@ instead of @prefix@ in src/Makefile.amRobert Hogan2010-12-12
| | | | | | Patch from Hicham Haouari. Fixes build for Fedora 64-bit.
* Update Changelog for v1.1 releaseRobert Hogan2010-12-11
|
* Partially revert commit c8c6c60b.Robert Hogan2010-09-20
| | | | | | | | | | The SO_DOMAIN socket() option is Linux only. So revert to inspecting the sock_addr_t in sendmsg() and sendto() but ensure it is non-null before doing so. Move the address inspection to the end of sendmsg() and sendto() so that we can exit early if the socket is not SOCK_STREAM (i.e. tcp).
* Exit if Tor DNS is disabledRobert Hogan2010-09-20
| | | | | | Exit with an error code if Tor DNS is disabled in the configuration or if we cannot reserve the deadpool address space for .onion addresses.
* Always print error messages.Robert Hogan2010-09-20
| | | | Allow error logging by default.
* Style cleanupRobert Hogan2010-09-20
| | | | No brackets for single-statement conditionals
* Whitespace fixes in tsocks.cRobert Hogan2010-09-20
|
* Remove USE_TOR_DNS compile guardRobert Hogan2010-09-20
| | | | | This is a leftover from the tsocks days. We always want this option enabled.
* Only enable debug output for debug buildsRobert Hogan2010-09-19
| | | | | Debug output was printing on release builds and getting suppressed on debug builds - which is the wrong way round!
* Make a global variable less genericRobert Hogan2010-09-19
| | | | | | | | | | | | Exporting a global variable called 'progname' is not a good idea if you are a library. Exporting global variables at all is probably a bad idea. For now, make the name less generic - it was causing crashes when torsocks was used with dig. Part of the fix for: http://code.google.com/p/torsocks/issues/detail?id=15
* Use socket rather than address to determine connection typeRobert Hogan2010-09-19
| | | | | | | | | | | | | | | In sendmsg() and sendto() we were inspecting the sock_addr_t structure to determine if the connection was Internet or not. Since msg->msg_name is an optional value in sendmsg() and sendto() this could result in crashes because we weren't ensuring it was non-null. Since it's optional we should have been inspecting the SO_DOMAIN of the connection's socket anyway - it will always be there. Part of the fix for: http://code.google.com/p/torsocks/issues/detail?id=15
* Whitespace cleanups on tsocks.cRobert Hogan2010-09-18
|
* Major refactor of symbol hookingRobert Hogan2010-09-18
| | | | | | | | | | | | | Patch by alex@ohmantics.net Make torsocks fully compatible with Snow Leopard OSX. Slim down the symbol hooking code considerably. Alex's notes: "http://developer.apple.com/mac/library/releasenotes/Darwin/SymbolVariantsRelNotes/index.html explains the one of the problems that people have run into. 64-bit applications don't have the $UNIX2003 variants. For working 10.6 support, we'll need to conditionalize the UNIX2003 variants off when compiling for 64-bit."