summaryrefslogtreecommitdiff
path: root/src/tools
AgeCommit message (Collapse)Author
2009-09-29Make tor-gencert build on AndroidNick Mathewson
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]
2009-09-29Include util.h and log.h as relative paths.Nathan Freitas
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.)
2009-09-01Merge commit 'origin/maint-0.2.1'Nick Mathewson
2009-09-01Fix compile warnings on Snow LeopardSebastian Hahn
Big thanks to nickm and arma for helping me with this!
2009-06-18Merge commit 'origin/maint-0.2.1'Nick Mathewson
2009-06-18tor-resolve: Don't automatically refuse .onion addresses.Nick Mathewson
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.
2009-06-12Update Tor to use Libevent 2.0 APIs when available.Nick Mathewson
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).
2009-05-23Add support for dynamic OpenSSL hardware crypto acceleration engines.Martin Peck
2009-05-04Update copyright to 2009.Karsten Loesing
2009-05-02Update copyright to 2009.Karsten Loesing
2009-03-10In tor-resolve, when the Tor client to use is specified by ↵Steven Murdoch
<hostname>:<port>, actually use the specified port rather than defaulting to 9050 svn:r18833
2009-02-10Enhance tor-checkkey tool so it can generate key hashes too.Nick Mathewson
svn:r18478
2009-01-04Remove svn $Id$s from our source, and remove tor --version --version.Nick Mathewson
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
2008-12-12Add cross-certification to authority key certificates. Partial ↵Nick Mathewson
implementation of proposal 157. svn:r17610
2008-12-02Change logging code to use fds instead of stdio. Fixes bug 861, and ↵Nick Mathewson
probably makes logging slightly faster. Not a backport candidate: bug 861 is too obscure and harmless. svn:r17456
2008-12-02#include "orconfig.h" in tor-checkkey.c to see if we can resolveRoger Dingledine
an obscure compile warning on solaris svn:r17453
2008-09-29Make tor-resolve take a -p port option in addition to the current host:port ↵Nick Mathewson
syntax. svn:r17002
2008-09-05Fix a memory leak in tor-gencert.cNick Mathewson
svn:r16776
2008-08-26and then make the indentation rightRoger Dingledine
svn:r16663
2008-08-26fix typos from jake's patch earlier (one pointed out by fabian, thanks!)Roger Dingledine
svn:r16662
2008-08-25and make it compile with warnings onRoger Dingledine
svn:r16658
2008-08-25commit jake's patch to include strings with socks5 error numbersRoger Dingledine
svn:r16657
2008-07-25 r17358@pc-10-8-1-079: nickm | 2008-07-25 16:41:03 +0200Nick Mathewson
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
2008-05-09 r15558@tombo: nickm | 2008-05-09 04:35:12 -0400Nick Mathewson
New (temporary) tool to dump the modulus of a key. May help with a project of weasel's. svn:r14580
2008-03-21and one moreRoger Dingledine
svn:r14152
2008-03-13 r18804@catbus: nickm | 2008-03-13 18:18:31 -0400Nick Mathewson
Refactor log domain mask code so that nobody outside of log.c has to use SEVERITY_MASK_IDX. It is error-prone. svn:r14016
2008-03-05 r18632@catbus: nickm | 2008-03-05 17:38:52 -0500Nick Mathewson
Patch from karsten: proper error message from tor-gencert when no argument is given to --passphrase-fd svn:r13876
2008-03-05 r18630@catbus: nickm | 2008-03-05 17:31:33 -0500Nick Mathewson
Implement domain-selection for logging. Source is documented; needs documentation in manpage (maybe). For now, see doxygen comment on parse_log_severity_config in log.c svn:r13875
2008-02-22 r14396@tombo: nickm | 2008-02-22 14:07:37 -0500Nick Mathewson
Add --passphrase-fd to tor-gencert. svn:r13679
2008-02-07Update some copyright notices: it is now 2008.Nick Mathewson
svn:r13412
2008-02-06 r17947@catbus: nickm | 2008-02-06 11:57:53 -0500Nick Mathewson
Fix a bunch of DOCDOC items; document the --quiet flag; refactor a couple of XXXX020 items. svn:r13405
2008-01-16 r17639@catbus: nickm | 2008-01-15 19:09:21 -0500Nick Mathewson
Fix some hard to trigger but nonetheless real memory leaks spotted by an anonymous contributor. Needs review. Partial backport candidate. svn:r13147
2008-01-12 r17584@catbus: nickm | 2008-01-12 18:52:01 -0500Nick Mathewson
Fix output of "tor-gencert --help" svn:r13118
2008-01-10 r17550@catbus: nickm | 2008-01-10 12:08:01 -0500Nick Mathewson
Add a manual page for tor-gencert. Also implement the missing -s option in tor-gencert, and fix the info message for when no cert file is specified. svn:r13091
2008-01-03 r17459@catbus: nickm | 2008-01-03 17:44:25 -0500Nick Mathewson
add init_logging calls to tor_gencert and tor_resolve svn:r13028
2007-12-12clean up copyrights, and assign 2007 copyrights to The Tor Project, IncRoger Dingledine
svn:r12786
2007-10-19 r15956@catbus: nickm | 2007-10-19 11:18:14 -0400Nick Mathewson
Encode address in certificates. Also, make it possible to create certs reusing an old key. svn:r12046
2007-09-04 r14323@kushana: nickm | 2007-09-04 14:27:33 -0400Nick Mathewson
Patch from sjmurdoch to fix dnsleak warning when reverse-resolving via socks5. svn:r11373
2007-08-29 r14832@catbus: nickm | 2007-08-29 15:00:27 -0400Nick Mathewson
Use (and debug) new file-writing functions in order to simplify code that formerly built big strings in RAM. svn:r11301
2007-08-08 r13953@Kushana: nickm | 2007-08-08 07:40:46 -0700Nick Mathewson
Fix osx compilation. svn:r11065
2007-08-08 r14093@catbus: nickm | 2007-08-08 01:49:54 -0400Nick Mathewson
Include fewer redundant headers; use the compiler search paths better. svn:r11060
2007-06-17 r13477@catbus: nickm | 2007-06-17 14:22:03 -0400Nick Mathewson
Sun CC likes to give warnings for the do { } while(0) construction for making statement-like macros. Define STMT_BEGIN/STMT_END macros that do the right thing, and use them everywhere. svn:r10645
2007-06-13 r13385@catbus: nickm | 2007-06-13 14:14:47 -0400Nick Mathewson
In tor-gencert, write BEGIN SIGNATURE, not BEGIN_SIGNATURE. svn:r10585
2007-06-04 r13239@catbus: nickm | 2007-06-04 11:30:37 -0400Nick Mathewson
Fix the fix for bug 445: set umask properly. Also use open+fdopen rather than just umask+fopen, and create authority identity key with mode 400. svn:r10485
2007-06-03 r13191@catbus: nickm | 2007-06-03 19:38:18 -0400Nick Mathewson
Set umask(0700) when starting tor-gencert; resolves bug 445. svn:r10475
2007-05-25 r12945@catbus: nickm | 2007-05-25 10:37:12 -0400Nick Mathewson
Add a "force" option to tor-resolve so we can make it look up .onion addresses if we know that this will create a virtual mapping we want. svn:r10323
2007-05-16 r12768@catbus: nickm | 2007-05-16 17:25:33 -0400Nick Mathewson
Fix GCC warnings related to local parameters/variables getting shadowed. svn:r10198
2007-05-15 r12764@catbus: nickm | 2007-05-15 17:17:39 -0400Nick Mathewson
Enable (and cope with) more GCC 4.2 warnings. svn:r10196
2007-05-01 r12611@catbus: nickm | 2007-04-30 22:49:00 -0400Nick Mathewson
For reasons which make sense to somebody, I'm sure, mingw gcc wants the libraries to appear at the end of the command line. This is done by specifying them with LDADD in Makefile.am, not LDFLAGS. If anybody can explain to me why mingw thinks "gcc -o foo foo.o -lbar" is fine, whereas "gcc -lbar -o foo foo.o" is Doubleplusbad UnMingwThink, I'd quite appreciate it. Until then, I'll just do what seems to work, and hope we don't blunder across any other great slumbering cthonian deities of arbitrary syntax. svn:r10082
2007-05-01 r12607@catbus: nickm | 2007-04-30 21:36:28 -0400Nick Mathewson
More attempt to fix win32 building. This time, with extra linking. svn:r10080