aboutsummaryrefslogtreecommitdiff
path: root/src/feature
AgeCommit message (Collapse)Author
2018-11-27Remove unused `int pid` member of `managed_proxy_t`.Alexander Færøy
See: https://bugs.torproject.org/28179
2018-11-26Merge branch 'dormant_v2_squashed'Nick Mathewson
2018-11-26Test for check_network_participation_callback()Nick Mathewson
2018-11-20Merge branch 'maint-0.3.5'Nick Mathewson
2018-11-19Update control_free_all() for #27169Taylor Yu
Reset the added bootstrap tracking state introduced by ticket 27169. Fixes bug 28524; bugfix on 0.3.5.1-alpha.
2018-11-19Merge branch 'ticket27359_v2_squashed'Nick Mathewson
2018-11-19Expose more nodelist.c functions to testsNick Mathewson
2018-11-19Use nodefamily_t in microdescriptors.Nick Mathewson
Closes ticket 27359.
2018-11-19Backend for compact node-family representation.Nick Mathewson
This representation is meant to save memory in microdescriptors -- we can't use it in routerinfo_t yet, since those families need to be encoded losslessly for directory voting to work. This representation saves memory in three ways: 1. It uses only one allocation per family. (The old way used a smartlist (2 allocs) plus one strdup per entry.) 2. It stores identity digests in binary, not hex. 3. It keeps families in a canonical format, memoizes, and reference-counts them. Part of #27359.
2018-11-16Merge remote-tracking branch 'dgoulet/ticket27471_035_02' into maint-0.3.5Nick Mathewson
2018-11-15Make the NET_PARTICIPANT role dependent on user activityNick Mathewson
This patch implements all of 28337, except for the part where we turn off the role if we've been idle for a long time.
2018-11-15Turn second_elapsed_callback into a normal periodic event.Nick Mathewson
2018-11-15Move the responsibility for delayed shutdown into the mainloopNick Mathewson
This is part of 28422, so we don't have to call consider_hibernation() once per second when we're dormant. This commit does not remove delayed shutdown from hibernate.c: it uses it as a backup shutdown mechanism, in case the regular shutdown timer mechanism fails for some reason.
2018-11-15Move control_per_second_events() into a callback with its own roleNick Mathewson
Part of making extra-dormant mode work; closes ticket 28421.
2018-11-14Merge branch 'maint-0.3.5'Nick Mathewson
2018-11-14Merge remote-tracking branch 'teor/bug28441-035' into maint-0.3.5Nick Mathewson
2018-11-14Merge branch 'maint-0.3.5'Nick Mathewson
2018-11-14log: stop talking about the Named flag in log messagesteor
Clients have ignored the Named flag since 0.3.2. Fixes bug 28441; bugfix on 0.3.2.1-alpha.
2018-11-14comment: Fix a typo in nodes_in_same_family()teor
2018-11-13Merge branch 'tor-github/pr/501'David Goulet
2018-11-13Merge branch 'maint-0.3.5'David Goulet
2018-11-13Merge branch 'tor-github/pr/487' into maint-0.3.5David Goulet
2018-11-13Comment for rend_cache_failure in feature/rend/rendcache.c: "usuable" should ↵Neel Chauhan
be "usable"
2018-11-09Merge branch 'subsystems'Nick Mathewson
2018-11-07Merge branch 'maint-0.3.5'Nick Mathewson
2018-11-07Make the hibernate.c changes for systemd compile.Nick Mathewson
2018-11-06Merge remote-tracking branch 'tor-github/pr/464'Nick Mathewson
2018-11-06Merge branch 'maint-0.3.5'Nick Mathewson
2018-11-06Merge remote-tracking branch 'tor-github/pr/474' into maint-0.3.5Nick Mathewson
2018-11-05Move the code that knows our tor version into a lowest-level libNick Mathewson
2018-11-02Add a warning if we can't write networkstatus-bridgesNick Mathewson
Fixes CID 1440818.
2018-11-02Avoid mmap leak if we get a consensus diff we can't use.Nick Mathewson
Fixes CID 1440819; bug not in any released Tor.
2018-11-02Merge branch 'ticket28100_squashed'Nick Mathewson
2018-11-02Don't overwrite the Content-Type when compressingAlex Xu (Hello71)
2018-11-01Improve log message in hs_service.cFernando Fernandez Mancera
Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net>
2018-10-31Merge branch 'ticket24393_036_01_squashed'Nick Mathewson
2018-10-31Merge branch 'networkstatus_mmap' into networkstatus_mmap_mergeNick Mathewson
2018-10-31Fix memory leak (#28257, CID 1440805).Nick Mathewson
2018-10-30Check IPv6 subnets as well as IPv4 subnets where possible when choosing ↵Neel Chauhan
client paths
2018-10-30Merge branch 'maint-0.3.5'David Goulet
2018-10-30Merge branch 'tor-github/pr/438' into maint-0.3.5David Goulet
2018-10-30Merge branch 'maint-0.3.5'David Goulet
2018-10-30Merge branch 'tor-github/pr/415' into maint-0.3.5David Goulet
2018-10-30Merge branch 'maint-0.3.5'David Goulet
2018-10-30Detect the onion service version and then check for invalid options unless ↵Neel Chauhan
we have set HiddenServiceVersion
2018-10-30Merge remote-tracking branch 'tor-github/pr/425'Nick Mathewson
2018-10-29Merge branch 'maint-0.3.5'Nick Mathewson
2018-10-26HSv3: Correctly memwipe client auth keystream.George Kadianakis
Wipe the whole thing, not just the size of the pointer.
2018-10-26In configured_nameserver_address, check if tor_addr_from_sockaddr succeededrl1987
2018-10-25Merge branch 'bug28202_033' into bug28202_035Nick Mathewson