aboutsummaryrefslogtreecommitdiff
path: root/src/or
AgeCommit message (Collapse)Author
2018-06-29Merge branch 'maint-0.3.1' into maint-0.3.2Nick Mathewson
2018-06-29Merge branch 'maint-0.2.9' into maint-0.3.1Nick Mathewson
2018-06-29Eliminate compat.hNick Mathewson
2018-06-29Remove windows libraries from util.h and compat.hNick 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-29Extract getpass to a new lib/term libraryNick Mathewson
(Term is short for terminal)
2018-06-29Extract get_uname to lib/osinfo.Nick Mathewson
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-29Move fd and memory-info functions.Nick Mathewson
2018-06-28Fix paths for buffers.h; automated.Nick Mathewson
2018-06-28Move buffers into containerNick Mathewson
Split the network-only and compression-only parts of buffers into the appropriate modules.
2018-06-28Remove all include common/ uses in crypto_ops and tls.Nick Mathewson
2018-06-28Fix up the include path of compat_time.h (automated)Nick Mathewson
2018-06-28Extract time functionality into lib/wallclock and lib/timeNick Mathewson
2018-06-28Move floating-point math functions into a new lib/mathNick Mathewson
2018-06-28Move compute_num_cpus to lib/threadNick Mathewson
2018-06-28Move tor_gethostname to lib/netNick Mathewson
2018-06-28Move tor_escape_str_for_pt_args into or/transports.cNick Mathewson
2018-06-28Move string_is_key_value to lib/encodingNick Mathewson
2018-06-28Move weakrng into lib/intmathNick Mathewson
2018-06-28Move lockfile code into lib/fsNick Mathewson
2018-06-28Extract process-management functionality into a new lib/processNick Mathewson
Note that procmon does *not* go here, since procmon needs to integrate with the event loop.
2018-06-28Fix the include paths for storagedir,conffile (automated)Nick Mathewson
2018-06-28Fix up the modules that include memarea.h (automated)Nick Mathewson
2018-06-27rectify include paths (automatic) for confline.hNick Mathewson
2018-06-27Split confline into confline and conffile.Nick Mathewson
The "conffile" module knows about includes and filesystem access, whereas confline doesn't. This will make it possible to put these functions into libraries without introducing a cycle.
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-27control: Make HSPOST properly parse HSADDRESS= paramDavid Goulet
For HSv3, the HSADDRESS= wasn't properly parsed for the HSPOST command. It now correctly use it and furthermore sends back a "200 OK" in case the command is successful for a v3 descriptor. Fixes #26523 Signed-off-by: David Goulet <dgoulet@torproject.org>
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-26Finish renaming digestset_contains to digestset_probably_containsNick Mathewson
Since bloom filters are probabilistic, it's nice to make it clear that the "contains" operation can have false positives.
2018-06-26Refactor bloom filter logic not to be digest-specific.Nick Mathewson
Now the address-set code and the digest-set code share the same backend. Closes ticket 26510
2018-06-26Merge branch 'log_dependencies'Nick Mathewson
2018-06-24better log line for debugging #26485Roger Dingledine
2018-06-24we've never been good at using "directory" well as a nounRoger Dingledine
2018-06-23Fix memory leak in disk_state_parse_commits().Alexander Færøy
This patch fixes a memory leak in disk_state_parse_commits() where if commit is NULL, we continue the internal loop, but without ever freeing the args variable. See: Coverity CID 1437441.
2018-06-23Fix memory leak in frac_nodes_with_descriptors().Alexander Færøy
This patch fixes a memory leak in frac_nodes_with_descriptors() where we might return without free'ing the bandwidths variable. See: Coverity CID 1437451.
2018-06-23Fix memory leak in decode_link_specifiers().Alexander Færøy
This patch fixes a memory leak in decode_link_specifiers() where the hs_spec variable might leak if the default label is taken in the switch/case expression. See: Coverity CID 1437437.
2018-06-23Fix memory leak in client_likes_consensus().Alexander Færøy
This patches fixes a memory leak in client_likes_consensus() where if consensus_cache_entry_get_voter_id_digests() would fail we would return without having free'd the voters list. See: Coverity CID 1437447
2018-06-23Fix memory leak in pick_hsdir_v3().Alexander Færøy
This patch fixes a memory leak in pick_hsdir_v3() where we might return early, but forgot to free the responsible_hsdirs variable. We solve this by not allocating storage for responsible_hsdirs until it's actually needed. See: Coverity CID 1437449
2018-06-22Update the micro-revision.i dependencies, and add a stdlib.hNick Mathewson
2018-06-22Finally extract the log library and make it build.Nick Mathewson
This patch: - introduces an fdio module for low-level fd functions that don't need to log. - moves the responsibility for opening files outside of torlog.c, so it won't need to call tor_open_cloexec.
2018-06-22Automated fixup of include paths after torlog.h movement.Nick Mathewson
2018-06-22Expunge container.hNick Mathewson
2018-06-22Extract smartlist.h from container.hNick Mathewson
2018-06-22Remove map from container.hNick Mathewson
2018-06-22Remove bloom filters, order statistics, and bitarrays from container.hNick Mathewson
2018-06-22Rectify include paths after container split (automatic)Nick Mathewson
2018-06-21Fix wide lines in dirauth/dirvote.*Nick Mathewson