summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-10-07fix typo in how-to-review guidelinestor-0.4.2.2-alphaRoger Dingledine
2019-10-04Merge remote-tracking branch 'tor-github/pr/1392'teor
2019-10-03Pick a release date for 0.4.2.2-alphaNick Mathewson
2019-10-03Light edits on 0.4.2.2-alpha changelog.Nick Mathewson
2019-10-03lightly sort changelog entriesNick Mathewson
2019-10-03Run format_changelogNick Mathewson
2019-10-03Sort changes entries into a changelog for 0.4.2.2-alphaNick Mathewson
2019-10-03Merge branch 'tor-github/pr/1377'George Kadianakis
2019-10-03Merge branch 'tor-github/pr/1276'George Kadianakis
2019-10-03Unit tests for dirserv_reject_tor_version().Nick Mathewson
2019-10-03Authorities reject relays running unsupported Tor release series.Nick Mathewson
Our minimum version is now 0.2.9.5-alpha. Series 0.3.0, 0.3.1, 0.3.2, 0.3.3, and 0.3.4 are now rejected. Also, extract this version-checking code into a new function, so we can test it. Closes ticket 31549. Also reject 0.3.5.0 through 0.3.5.6-rc as unstable.
2019-10-03bump to 0.4.2.2-alphaNick Mathewson
2019-10-03Merge remote-tracking branch 'tor-github/pr/1376'Nick Mathewson
2019-10-03Merge remote-tracking branch 'tor-github/pr/1358'Nick Mathewson
2019-10-03Merge remote-tracking branch 'tor-github/pr/1382'Nick Mathewson
2019-10-03util/map_anon_nofork: Add a cast to avoid passing -48 to memsetNick Mathewson
This fixes coverity CID 1454593, and bug 31948. Bug not in any released version of Tor.
2019-10-03control/control: Refactor some error handling codeteor
Split some protocol error handling out of connection_control_process_inbuf(). This refactor reduces the size of a practracker exception. Closes 31840.
2019-10-02Merge remote-tracking branch 'tor-github/pr/1374'Nick Mathewson
2019-10-02Merge branch 'tor-github/pr/1385'David Goulet
2019-10-02Merge branch 'tor-github/pr/1344'David Goulet
2019-10-02Merge branch 'tor-github/pr/1363'David Goulet
2019-10-02Merge branch 'maint-0.4.1'Nick Mathewson
2019-10-02Merge branch 'maint-0.4.0' into maint-0.4.1Nick Mathewson
2019-10-02Merge branch 'maint-0.3.5' into maint-0.4.0Nick Mathewson
2019-10-02Merge branch 'maint-0.2.9' into maint-0.3.5Nick Mathewson
2019-10-02Update geoip and geoip6 to the October 1 2019 database.Karsten Loesing
2019-10-02log: fix a typo in the function comment for log_fn_()teor
Closes 31923.
2019-10-01Fix a crash bug in max_u16_in_sl()Nick Mathewson
The documentation for this function says that the smartlist can contain NULLs, but the code only handled NULLs if they were at the start of the list. We didn't notice this for a long time, because when Tor is run normally, the sequence of msg_id_t is densely packed, and so this list (mapping msg_id_t to channel_id_t) contains no NULL elements. We could only run into this bug: * when Tor was running in embedded mode, and starting more than once. * when Tor ran first with more pubsub messages enabled, and then later with fewer. * When the second run (the one with fewer enabled pubsub messages) had at least some messages enabled, and those messages were not the ones with numerically highest msg_id_t values. Fixes bug 31898; bugfix on 47de9c7b0a828de7fb8129413db70bc4e4ecac6d in 0.4.1.1-alpha.
2019-10-01Add a test for max_u16_in_sl().Nick Mathewson
This test does not currently pass, because of bug 31898.
2019-10-01Rename max_in_sl to max_in_u16_sl, and expose it as STATIC.Nick Mathewson
Since we want to make this function slightly more visible for testing purposes, it needs a better name.
2019-10-01Add comments to try to prevent recurrence of #31495.Nick Mathewson
There is a bad design choice in two of our configuration types, where the empty string encodes a value that is not the same as the default value. This design choice, plus an implementation mistake, meant that config_dup() did not preserve the value of routerset_t, and thereby caused bug #31495. This comment-only patch documents the two types with the problem, and suggests that implementors try to avoid it in the future. Closes ticket 31907.
2019-10-01Help users who try to use v2 client auth in v3 onions.George Kadianakis
2019-10-01Improve v3 client auth documentation in the man page.George Kadianakis
2019-09-30Re-run "make autostyle" with improved annotate_ifdef_directivesNick Mathewson
2019-09-30log: When initialising log domain masks, only set known log domainsteor
And add a runtime test that checks for unknown domains and flags. Fixes bug 31854; bugfix on 0.2.1.1-alpha.
2019-09-30log: Define count, boundary, and all macros for domains and flagsteor
And do static checks on those macro definitions. Part of 31854.
2019-09-30log: Remove duplicate code and an outdated commentteor
Preparation for 31854.
2019-09-30Merge branch 'tor-github/pr/1366'George Kadianakis
2019-09-30Merge branch 'tor-github/pr/1346'George Kadianakis
2019-09-30Merge branch 'tor-github/pr/1302'George Kadianakis
2019-09-30Merge branch 'tor-github/pr/1356'George Kadianakis
2019-09-30Merge branch 'tor-github/pr/1339'George Kadianakis
2019-09-30Appveyor: Avoid spurious errors in Appveyor CI buildsteor
When Appveyor fails before the install step, some of the finish step's functions were not defined. Fixes bug 31884; bugfix on 0.3.4.2-alpha.
2019-09-30test: Avoid a map_anon_nofork test failure on SunOSteor
This test failure happened due to a signed/unsigned integer comparison. This bug occurred on SunOS, it may also occur on other systems that use signed char as the default. (And cast 1-byte integer constants to an unsigned integer.) Fixes bug 31897; bugfix on 0.4.1.1-alpha.
2019-09-27annotate_ifdef_directives: test edge-case of 80-char lineNick Mathewson
An 80-character line (79 characters if you don't count the newline) should not be truncated, and should not have a "..." insterted.
2019-09-27Annotate_ifdef_directives: doctest for 80-column lines.Nick Mathewson
2019-09-27Rename annotate_ifdef_directives to end with .py.Nick Mathewson
This allows the python doctest module to process it correctly when invoked as: python -m doctest -v annotate_ifdef_directives.py
2019-09-27annotate_ifdef_directives: Allow it to be imported as a module.Nick Mathewson
2019-09-27Use Doctests to test the behavior of annotate_ifdef_directives.Nick Mathewson
2019-09-27annotate_ifdef_directives: generate paren-balanced expressionsNick Mathewson
This algorithm is not fully general, but it strikes a balance between efficiency, simplicity, and correctness.