aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/versions.c
AgeCommit message (Collapse)Author
2020-06-24Make summarize_protover_flags() handle NULL and empty string the sameNeel Chauhan
2020-06-09Merge remote-tracking branch 'tor-github/pr/1888/head'Nick Mathewson
2020-05-16Fix spacing in if statement in tor_version_parse()Neel Chauhan
2020-05-15versions: Improve the protover summary commentsteor
Part of 33222.
2020-05-15protover: Add defines for recent protocol versionsteor
Also update the protover/supported_protocols test. Part of 33226.
2020-05-11protover: Add node functions for IPv6 extend supportteor
Part of 33226.
2020-05-11protover: Sort version flags by their underlying protocolsteor
Also fix some comment typos, mainly ">=" when the code says "=". Part of 33226.
2020-01-08It's 2020. Update the copyright dates with "make update-copyright"Nick Mathewson
2019-08-26hs-v3: Add protover HSIntro=5David Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2019-08-12Bug 31356: Propogate protover padding support to circpadMike Perry
2019-01-16Bump copyright date to 2019Nick Mathewson
2019-01-02Circuit padding ProtoVer plumbing.Mike Perry
This helps us to determine if a middle node can pad to us or not. Co-authored-by: George Kadianakis <desnacked@riseup.net>
2018-12-11Merge remote-tracking branch 'github/prop297'Nick Mathewson
2018-11-26Try silencing Coverity false positive CID 1441482rl1987
Bugfix on 469f47ef8dc8b18104108f0437c860ec88fca6ad; bug not in any released Tor version.
2018-11-24No longer exit for missing required protocolversions on an old consensusNick Mathewson
Specifically, if the consensus is older than the (estimted or measured) release date for this version of tor, we assume that the required versions may have changed in between that consensus and this release. Implements ticket 27735 and proposal 297.
2018-11-21Fix a fun heisenbug in memoize_protover_flags()Nick Mathewson
After we clear the protover map for getting full, we need to re-create it, since we are about to use it. This is a bugfix for bug 28558. It is a bugfix for the code from ticket 27225, which is not in any released Tor. Found by Google OSS-Fuzz, as issue 11475.
2018-11-07Memoize summarize_protover_flags()Nick Mathewson
Our tests showed that this function is responsible for a huge number of our malloc/free() calls. It's a prime candidate for being memoized. Closes ticket 27225.
2018-10-01Move summarize_protover_flags to versions.cNick Mathewson
2018-10-01Extract the version-managing code from routerparse.cNick Mathewson
Leave the versions.h include in routerparse.h for now; I'll remove it later.