aboutsummaryrefslogtreecommitdiff
path: root/src/tools
AgeCommit message (Collapse)Author
2020-07-15Add support for patterns on %include #25140Daniel Pinto
Also adds generic tor_glob function to expand globs.
2020-04-30net: Make all address bytes functions take uint8_t *teor
Part of 33817.
2020-01-09Merge branch 'pre_formatter_cleanups_squashed'Nick Mathewson
2020-01-09Use new ENABLE/DISABLE_GCC_WARNINGNick Mathewson
This is an automated commit, generated by: perl -i -pe 'next if /define/; s/((?:ENABLE|DISABLE)_GCC_WARNING)\(([A-Za-z0-9_\-]+)\)/$1(\"-W$2\")/' src/*/*/*.[ch] src/*/*.[ch]
2020-01-08It's 2020. Update the copyright dates with "make update-copyright"Nick Mathewson
2019-12-04practracker: Add missing .may_include filesteor
All of these files contain "*.h", except for: * src/app/config/.may_include * src/test/.may_include which also contain "*.inc". This change prevents includes of "*.c" files, and other unusually named files. Part of 32609.
2019-11-15Doxygen: rename all .dox files to end with .mdNick Mathewson
Using a standard ending here will let other tools that expect markdown understand our output here. This commit was automatically generated with: for fn in $(find src -name '*.dox'); do \ git mv "$fn" "${fn%.dox}.md"; \ done
2019-11-15Doxygen: remove /** and **/ from all .dox filesNick Mathewson
This is an automatically generated commit, made with: find src -name '*.dox' | \ xargs perl -i -ne 'print unless (m#^\s*/?\*\*/?\s*$#);'
2019-11-04Doxygen: Avoid ambiguity in @dir directivesNick Mathewson
This commit was automatically generated with: find src -name '*.dox' |xargs perl -i -pe 's{\@dir ([^/])}{\@dir /$1};'
2019-11-04Document our top-level directoriesNick Mathewson
2019-11-04Add stub directory-level documentation for most source directoriesNick Mathewson
This includes app, core, feature, lib, and tools, but excludes ext, test, and trunnel. This was generated by the following shell script: cd src for dname in $(find lib core feature app tools -type d |grep -v \\.deps$); do keyword="$(echo "$dname" |sed -e "s/\//_/" )" target="${dname}/${keyword}.dox" echo "$target" cat <<EOF >"$target" /** @dir ${dname} @brief ${dname} **/ EOF git add "$target" done
2019-10-23Tidy whitespace around some STMT_BEGINs and STMT_ENDsteor
2019-07-10Make tor-print-ed-signing-cert output RFC1123 and unix timestamps as wellrl1987
2019-06-05Run "make autostyle."Nick Mathewson
2019-04-11Fix a memory leak in tor-resolve.cNick Mathewson
Closes bug 30151/coverity CID 1441830. Bugfix on 0.4.0.1-alpha when we started doing trunnel parsing in tor-resolve.c.
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.