aboutsummaryrefslogtreecommitdiff
path: root/src/tools
Commit message (Collapse)AuthorAge
* Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-05-28
|\
| * Remove the -F option from tor-resolve.Nick Mathewson2011-05-23
| | | | | | | | | | | | | | | | | | | | | | | | | | It used to mean "Force": it would tell tor-resolve to ask tor to resolve an address even if it ended with .onion. But when AutomapHostsOnResolve was added, automatically refusing to resolve .onion hosts stopped making sense. So in 0.2.1.16-rc (commit 298dc95dfd8), we made tor-resolve happy to resolve anything. The -F option stayed in, though, even though it didn't do anything. Oddly, it never got documented. Found while fixing GCC 4.6 "set, unused variable" warnings.
* | Bump copyright statements to 2011 (master)Nick Mathewson2011-01-03
| |
* | Merge remote branch 'origin/maint-0.2.2'Nick Mathewson2011-01-03
|\|
| * Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2Nick Mathewson2011-01-03
| |\ | | | | | | | | | | | | | | | Conflicts: src/common/test.h src/or/test.c
| | * Bump copyright statements to 2011Nick Mathewson2011-01-03
| | |
* | | Stop linking src/tools/* against libeventNick Mathewson2010-11-11
| | |
* | | Fix up tor-fw-helper "INCLUDES" directiveNick Mathewson2010-11-11
| | |
* | | Split long lines in configure.in and Makefile.am filesNick Mathewson2010-11-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Having very long single lines with lots and lots of things in them tends to make files hard to diff and hard to merge. Since our tools are one-line-at-a-time, we should try to construct lists that way too, within reason. This incidentally turned up a few headers in configure.in that we were for some reason searching for twice.
* | | Fix space and formatting issuesNick Mathewson2010-09-30
| | |
* | | Turn select() usage in tor-fw-helper into a function.Nick Mathewson2010-09-30
| | |
* | | Start tor-fw-helper in the background, and log whatever it outputsSteven Murdoch2010-09-30
| | |
* | | Changes to tor-fw-helper, some based on Nick's reviewJacob Appelbaum2010-09-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * MINIUPNPC rather than the generic UPNP * Nick suggested a better abstraction model for tor-fw-helper * Fix autoconf to build with either natpmp or miniupnpc * Add AM_PROG_CC_C_O to fix automake complaint * update spec to address nickm's concern * refactor nat-pmp to match upnp state * we prefer tor_snprintf to snprintf * link properlty for tor_snprintf * rename test_commandline_options to log_commandline_options * cast this uint as an int * detect possible FD_SETSIZE errors * make note about future enhancements for natpmp * add upnp enhancement note * ChangeLog entry * doxygen and check-spaces cleanup * create tor-fw-helper.1.txt
* | | First implementation of tor-fw-helper.Jacob Appelbaum2010-09-30
|/ / | | | | | | | | | | | | | | | | | | tor-fw-helper is a command-line tool to wrap and abstract various firewall port-forwarding tools. This commit matches the state of Jacob's tor-fw-helper branch as of 23 September 2010. (commit msg by Nick)
* | Rename log.h to torlog.hNick Mathewson2010-07-09
| | | | | | | | | | | | | | | | | | | | This should make us conflict less with system files named "log.h". Yes, we shouldn't have been conflicting with those anyway, but some people's compilers act very oddly. The actual change was done with one "git mv", by editing Makefile.am, and running find . -name '*.[ch]' | xargs perl -i -pe 'if (/^#include.*\Wlog.h/) {s/log.h/torlog.h/; }'
* | clean up whitespace in src/toolsNick Mathewson2010-05-20
| |
* | Add --enable-static-zlib optionSebastian Hahn2010-04-14
| | | | | | | | | | | | | | Works like the --enable-static-openssl/libevent options. Requires --with-zlib-dir to be set. Note that other dependencies might still pull in a dynamicly linked zlib, if you don't link them in statically too.
* | Merge remote branch 'origin/maint-0.2.1'Nick Mathewson2010-02-27
|\| | | | | | | | | | | Conflicts: src/common/test.h src/or/test.c
| * Update Tor Project copyright yearsNick Mathewson2010-02-27
| |
* | Make expand_filename into a tor_strdup() alias on windows.Nick Mathewson2010-02-22
| | | | | | | | | | | | | | | | On Windows, we don't have a notion of ~ meaning "our homedir", so we were deliberately using an #ifdef to avoid calling expand_filename() in multiple places. This is silly: The right place to turn a function into a no-op on a single platform is in the function itself, not in every single call-site.
* | Expand homedirs in paths passed to tor-checkkeySebastian Hahn2010-02-22
| | | | | | | | | | This is so that coverity stops complaining about using a user-supplied string with the open() syscall. Let's see if it works.
* | Merge commit 'origin/maint-0.2.1'Nick Mathewson2010-01-24
|\| | | | | | | | | | | | | Resolved conflicts in: configure.in src/or/Makefile.am src/tools/Makefile.am
| * Add --enable-static-(openssl|libevent) optionsNick Mathewson2010-01-24
| | | | | | | | | | These options only work when using --with-(openssl|libevent)-dir to explicitly pick a libevent or openssl location.
* | Build Bug: -lm should come after passing ../common/libor.a to linkerMichael Witten2010-01-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following commit: commit e56747f9cf29ed788baf8805bfe391925d8a19da Author: Nick Mathewson <nickm@torproject.org> Date: Tue Dec 15 14:32:55 2009 -0500 Refactor a bit so that it is safe to include math.h, and mostly not needed. introduced this line: tor_resolve_LDADD = -lm ../common/libor.a @TOR_LIB_WS32@ which caused the build to fail, because only ../common/libor.a (via the embedded ../common/util.o via ../common/util.c) referenced libm's `lround' and `log' symbols, so that the linker (GNU ld) didn't bother to import those symbols before reading ../common/libor.a, thus leaving those symbols undefined. The solution was to swap the order, producing the line: tor_resolve_LDADD = ../common/libor.a -lm @TOR_LIB_WS32@ Signed-off-by: Michael Witten <mfwitten@gmail.com>
* | Refactor a bit so that it is safe to include math.h, and mostly not needed.Nick Mathewson2009-12-15
| |
* | Make tor-gencert build on AndroidNick Mathewson2009-09-29
| | | | | | | | | | | | | | | | | | | | | | | | Previously, tor-gencert would call RSA_generate_key() directly. This won't work on Android, which removes the (deprecated since OpenSSL 0.9.8) function. We can't call RSA_generate_key_ex() unconditionally either, since that didn't exist before 0.9.8. Instead, we must call our own crypto_pk_generate_key_with_bits, which knows how to call RSA_generate_key or RSA_generate_key_ex as appropriate. [Based on patch by Nathan Freitas]
* | Include util.h and log.h as relative paths.Nathan Freitas2009-09-29
| | | | | | | | | | | | | | This shouldn't be necessary, but apparently the Android cross-compiler doesn't respect -I as well as it should. (-I is supposed to add to the *front* of the search path. Android's gcc wrapper apparently likes to add to the end. This is broken, but we need to work around it.)
* | Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-09-01
|\|
| * Fix compile warnings on Snow LeopardSebastian Hahn2009-09-01
| | | | | | | | Big thanks to nickm and arma for helping me with this!
* | Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-06-18
|\|
| * tor-resolve: Don't automatically refuse .onion addresses.Nick Mathewson2009-06-18
| | | | | | | | | | | | | | | | | | | | If the Tor is running with AutomapHostsOnResolve set, it _is_ reasonable to do a DNS lookup on a .onion address. So instead we make tor-resolve willing to try to resolve anything. Only if Tor refuses to resolve it do we suggest to the user that resolving a .onion address may not work. Fix for bug 1005.
| * Update copyright to 2009.Karsten Loesing2009-05-04
| |
* | Update Tor to use Libevent 2.0 APIs when available.Nick Mathewson2009-06-12
| | | | | | | | | | | | | | | | | | | | This patch adds a new compat_libevent.[ch] set of files, and moves our Libevent compatibility and utilitity functions there. We build them into a separate .a so that nothing else in src/commmon depends on Libevent (partially fixing bug 507). Also, do not use our own built-in evdns copy when we have Libevent 2.0, whose evdns is finally good enough (thus fixing Bug 920).
* | Add support for dynamic OpenSSL hardware crypto acceleration engines.Martin Peck2009-05-23
| |
* | Update copyright to 2009.Karsten Loesing2009-05-02
|/
* In tor-resolve, when the Tor client to use is specified by ↵Steven Murdoch2009-03-10
| | | | | | <hostname>:<port>, actually use the specified port rather than defaulting to 9050 svn:r18833
* Enhance tor-checkkey tool so it can generate key hashes too.Nick Mathewson2009-02-10
| | | | svn:r18478
* Remove svn $Id$s from our source, and remove tor --version --version.Nick Mathewson2009-01-04
| | | | | | | | The subversion $Id$ fields made every commit force a rebuild of whatever file got committed. They were not actually useful for telling the version of Tor files in the wild. svn:r17867
* Add cross-certification to authority key certificates. Partial ↵Nick Mathewson2008-12-12
| | | | | | implementation of proposal 157. svn:r17610
* Change logging code to use fds instead of stdio. Fixes bug 861, and ↵Nick Mathewson2008-12-02
| | | | | | probably makes logging slightly faster. Not a backport candidate: bug 861 is too obscure and harmless. svn:r17456
* #include "orconfig.h" in tor-checkkey.c to see if we can resolveRoger Dingledine2008-12-02
| | | | | | | an obscure compile warning on solaris svn:r17453
* Make tor-resolve take a -p port option in addition to the current host:port ↵Nick Mathewson2008-09-29
| | | | | | syntax. svn:r17002
* Fix a memory leak in tor-gencert.cNick Mathewson2008-09-05
| | | | svn:r16776
* and then make the indentation rightRoger Dingledine2008-08-26
| | | | svn:r16663
* fix typos from jake's patch earlier (one pointed out by fabian, thanks!)Roger Dingledine2008-08-26
| | | | svn:r16662
* and make it compile with warnings onRoger Dingledine2008-08-25
| | | | svn:r16658
* commit jake's patch to include strings with socks5 error numbersRoger Dingledine2008-08-25
| | | | svn:r16657
* r17358@pc-10-8-1-079: nickm | 2008-07-25 16:41:03 +0200Nick Mathewson2008-07-25
| | | | | | | Split out the address manipulation functions from compat and util: they were about 21% of the total of those, and spread out too much. svn:r16208
* r15558@tombo: nickm | 2008-05-09 04:35:12 -0400Nick Mathewson2008-05-09
| | | | | | | New (temporary) tool to dump the modulus of a key. May help with a project of weasel's. svn:r14580
* and one moreRoger Dingledine2008-03-21
| | | | svn:r14152