aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-10-06Only use -levent when checking functions if we will use it to link.Nick Mathewson
Fixes 19904; bugfix on b62abf9f21499ab; patch from Rubiate.
2016-10-05dircollate: Use correct tor_calloc args.Muhammad Falak R Wani
Flip the tor_calloc arguments in the call. Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
2016-10-03Add TAGS to gitignore.Nick Mathewson
2016-10-03Merge remote-tracking branch 'arma/bug20277'Nick Mathewson
2016-10-03Teach 'make tags' about MOCK_IMPL.Nick Mathewson
Patch from nherring; closes ticket 16869
2016-10-03Avoid reordering IPv6 interface addressescypherpunks
When deleting unsuitable addresses in get_interface_address6_list(), to avoid reordering IPv6 interface addresses and keep the order returned by the OS, use SMARTLIST_DEL_CURRENT_KEEPORDER() instead of SMARTLIST_DEL_CURRENT(). This issue was reported by René Mayrhofer. [Closes ticket 20163; changes file written by teor. This paragraph added by nickm]
2016-10-03Fix parse_virtual_addr_network minimum network sizePaolo Inglese
2016-10-02remove whitespace accidentally added in 4f1a04ffRoger Dingledine
2016-10-02remove confusing comment about conditional consensus downloadRoger Dingledine
We removed that feature in 0.2.4.2-alpha, but some comments seem to have lingered. I didn't add a changes/ file since this is just internal code cleanup.
2016-09-28Fix memory leak from prop264 branch. CID 1373401Nick Mathewson
2016-09-26fix a warning in protover.Nick Mathewson
2016-09-26Merge remote-tracking branch 'public/ticket20001_v2'Nick Mathewson
2016-09-26Merge branch 'protover_v2_squashed'Nick Mathewson
2016-09-26protovers: during voting, assert that we are not voting to shut down.Nick Mathewson
As a failsafe, we should make sure that no authority ever votes for a set of protocol versions that it does not itself support.
2016-09-26Remove version_known, and subtly change the meaning of protocols_knownNick Mathewson
2016-09-26Rename "proto " to "pr " in consensusesNick Mathewson
2016-09-26Update prop264 implementation to split HSMid->HS{Intro,Rend}Nick Mathewson
2016-09-26prop264: sometimes check client _and_ server versions.Nick Mathewson
As before, we check server protocols whenever server_mode(options) is true and we check client protocols whenever server_mode(options) is false. Additionally, we now _also_ check client protocols whenever any client port is set.
2016-09-26Rename get_supported_protocols to protover_get_supported_protocolsNick Mathewson
2016-09-26Rename compute_protover_vote to protover_compute_voteNick Mathewson
2016-09-26Changes file for prop264 / ticket 19958.Nick Mathewson
2016-09-26Update authority votes to match updated proposal.Nick Mathewson
2016-09-26Clean whitespace, add missing documentationNick Mathewson
2016-09-26Remove DoS vector in protover.c voting codeNick Mathewson
2016-09-26Use protocols to see when EXTEND2 support exists.Nick Mathewson
(Technically, we could just remove extend2 cell checking entirely, since all Tor versions on our network are required to have it, but let's keep this around as an example of How To Do It.)
2016-09-26Vote on 'proto' lines and include them after 'v' lines.Nick Mathewson
(Despite the increased size of the consensus, this should have approximately zero effect on the compressed consensus size, since the "proto" line should be completely implied by the "v" line.)
2016-09-26Include protocol versions in votes.Nick Mathewson
2016-09-26Workaround a test bugNick Mathewson
2016-09-26Implement voting on the protocol-version optionsNick Mathewson
2016-09-26Include protocol version lines in votes.Nick Mathewson
2016-09-26Remove a little duplicated code before it becomes a lotNick Mathewson
2016-09-26Add code to infer protocol versions for old Tor versions.Nick Mathewson
2016-09-26Cover the error cases of parsing protocol versionsNick Mathewson
Also, detect an additional failure type. Thanks, tests! (How distinctly I recall thee)
2016-09-26Unit tests for protover_all_supportedNick Mathewson
2016-09-26Basic backend for the protocol-versions voting algorithm.Nick Mathewson
[This is a brute-force method that potentially uses way too much RAM. Need to rethink this a little. Right now you can DOS an authority by saying "Foo=1-4294967295".]
2016-09-26Actually check for missing protocols and exit as appropriate.Nick Mathewson
2016-09-26Add necessary code to parse and handle required/recommended protocolsNick Mathewson
2016-09-26Emit and parse protocol lists in router descriptorsNick Mathewson
2016-09-26checkpoint basic protover backendNick Mathewson
2016-09-24Merge branch 'osx_sierra_028'Nick Mathewson
2016-09-24changes file for osx sierra fixesNick Mathewson
2016-09-24Fix pthread_cond_timedwait() on OSX SierraNick Mathewson
Sierra provides clock_gettime(), but not pthread_condattr_setclock. So we had better lot try to use CLOCK_MONOTONIC as our source for time when waiting, since we ccan never actually tell the condition that we mean CLOCK_MONOTONIC. This isn't a tor bug yet, since we never actually pass a timeout to tor_cond_wait() outside of the unit tests.
2016-09-24Fix compilation on OSX Sierra (10.12)Nick Mathewson
2016-09-23Merge branch 'maint-0.2.8'Nick Mathewson
2016-09-23Bump to 0.2.9.3-alpha-devNick Mathewson
2016-09-23Bump to 0.2.8.8-dev.Nick Mathewson
2016-09-23Add 0.2.8.8 to ChangeLogtor-0.2.9.3-alphaNick Mathewson
2016-09-23Add 0.2.8.8 to releasenotesNick Mathewson
2016-09-23Reflow changelog againNick Mathewson
2016-09-23Lightly edit the changelogNick Mathewson