aboutsummaryrefslogtreecommitdiff
path: root/src/tools
AgeCommit message (Collapse)Author
2019-01-16Bump copyright date to 2019Nick Mathewson
2018-12-01Use tor_strdup() in place of malloc+strncpy+terminate.Nick Mathewson
2018-12-01Fix coverage buildrl1987
2018-12-01tor-resolve: Rework SOCKS5 response parsing with trunnelrl1987
2018-12-01tor-resolve: Rework SOCKS5 method negotiation client part with trunnelrl1987
2018-12-01tor-resolve: parse SOCKS4a replyrl1987
2018-12-01tor-resolve: Use trunnel code for SOCKS5 request generationrl1987
2018-12-01tor-resolve: link tor-resolve binary with trunnel librl1987
2018-12-01tor-resolve: generate SOCKS4a request with trunnelrl1987
2018-11-19Add missing library to build tor-print-ed-signing-cert.Alexander Færøy
To succesful compile tor-print-ed-signing-cert.exe on Windows we sometimes need to include the @TOR_LIB_GDI@ library. See: https://bugs.torproject.org/28485
2018-11-14Merge branch 'maint-0.3.4' into maint-0.3.5Nick Mathewson
2018-11-14Merge branch 'maint-0.3.3' into maint-0.3.4Nick Mathewson
2018-11-14Work around check-spaces.Nick Mathewson
2018-11-14libtorrunner: fix memory leak in child() error pathMartin Kepplinger
This avoids leaking memory in case libtorrunner's child() function fails.
2018-10-16Add a tor_free() in tor_gencert to fix a coverity warningNick Mathewson
2018-09-21Move the non-crypto parts of onion.c out of src/core/cryptoNick Mathewson
The parts for handling cell formats should be in src/core/or. The parts for handling onionskin queues should be in src/core/or. Only the crypto wrapper belongs in src/core/crypto.
2018-09-10Bugfix: sizeof(socklen) doesn't make sense when calling connect()rl1987
Bugfix on 2f657a1416f2f81dd1be900269c4ae9bdb29f52d; bug not in any Tor release.
2018-09-04Merge branch 'nss_squashed' into nss_mergeNick Mathewson
2018-09-04Merge branch 'tor_api_owning_control'Nick Mathewson
2018-08-21When enabling NSS, disable OpenSSL.Nick Mathewson
We used to link both libraries at once, but now that I'm working on TLS, there's nothing left to keep OpenSSL around for when NSS is enabled. Note that this patch causes a couple of places that still assumed OpenSSL to be disabled when NSS is enabled - tor-gencert - pbkdf2
2018-08-21Rename openssl-bridging functions in crypto_rsaNick Mathewson
These functions exist only to expose RSA keys to other places in Tor that use OpenSSL; let's be specific about their purpose.
2018-08-01tor_api: Extend tor_api code so it can pass extra arguments to main.Nick Mathewson
We need this so that the tor_api user can specify some arguments, while the tor_api implementation adds others. This implementation detail should not be visible to tor_api users.
2018-07-31Merge branch 'nss_dh_squashed' into nss_dh_squashed_mergedNick Mathewson
2018-07-31Add a new function, tor_api_get_provider_version()Nick Mathewson
Closes ticket 26947.
2018-07-31Use Windows-compatible format strings in tor-print-ed-signing-cert.cteor
Fixes bug 26986; bugfix on master.
2018-07-30Update include in tor-print-ed-signing-certNick Mathewson
2018-07-30Merge remote-tracking branch 'rl1987/feature19506_3'Nick Mathewson
2018-07-11Rename crypto.c to crypto_cipher.c (since that's all it still has.)Nick Mathewson
2018-07-11Extract and rename crypto_log_errors().Nick Mathewson
2018-07-11Move the initialization and cleanup parts of crypto.cNick Mathewson
These are now part of crypto_init.c. The openssl-only parts now live in crypto_openssl_mgt.c. I recommend reviewing this patch with -b and --color-moved.
2018-07-11Make our crypto library symbolic in the makefiles.Nick Mathewson
2018-07-10Rename torlog.[ch] to log.[ch]Nick Mathewson
Fun fact: these files used to be called log.[ch] until we ran into conflicts with systems having a log.h file. But now that we always include "lib/log/log.h", we should be fine.
2018-07-10Rename util_malloc to malloc.Nick Mathewson
2018-07-10Remove all users of addr_port_lookup outside of address.cNick Mathewson
This function has a nasty API, since whether or not it invokes the resolver depends on whether one of its arguments is NULL. That's a good way for accidents to happen. This patch incidentally makes tor-resolve support socks hosts on IPv6.
2018-07-10Refactor ipv[46].[ch]Nick Mathewson
These are now combined into an inaddr.[ch], since their purpose is to implement functions for struct in_addr and struct in6_addr. The definitions for in6_addr and its allies are now in a separate header, inaddr_st.h. Closes ticket 26532.
2018-07-08Tool to print expiration date of ed25519_signing_certrl1987
2018-07-05Fix our build system to know the new locations of the src/or stuffNick Mathewson
2018-07-05Fix every include path changed in the previous commit (automated)Nick Mathewson
I am very glad to have written this script.
2018-07-05Move socks5_status.h to src/lib/netNick Mathewson
There might be a better place for it in the long run, but this is the best I can think of for now.
2018-07-01Tabify all of the .am files.Nick Mathewson
2018-06-29Stop using util.h and compat.h in src/toolsNick Mathewson
2018-06-29Extract socks5_status_tNick Mathewson
I'm not sure of the best place to put this header long-term, since both or/*.c and tools/tor-resolve.c use it.
2018-06-29Remove read_all and write_allNick Mathewson
These had become wrappers around their fd and socket variants; there were only a few users of the original functions still remaining.
2018-06-27Move util_format into a new libtor-encoding libraryNick Mathewson
libtor-encoding is about various ways to transform data to and from character sequences.
2018-06-27Fix up include paths for sandbox.h (automated)Nick Mathewson
2018-06-27rectify include paths (automatic) for address.hNick Mathewson
2018-06-27Link GetAdaptersAddresses, rather than loading it on-demand.Nick Mathewson
This function has been present since Windows XP.
2018-06-22Automated fixup of include paths after torlog.h movement.Nick Mathewson
2018-06-21Rectify include paths (automated)Nick Mathewson
2018-06-21Refactor makefiles to keep list of internal libraries in one place.Nick Mathewson
This change makes it possible for us to change the list of libraries more easily, without changing every single linker line.