aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-12-02Travis: Set pipefailteor
2019-12-01Merge remote-tracking branch 'tor-github/pr/1574'teor
2019-11-29control: Update an outdated function commentteor
Cleanup after 31531.
2019-11-29control: Remove an unused function return valueteor
Cleanup after 31531.
2019-11-29control: Rename a function variableteor
Cleanup after 31531.
2019-11-29control: Remove an unnecessary header in control_events.hteor
And replace it with a struct forward declaration. Also, move all the headers in the file before the forward declaration. Cleanup after 31531.
2019-11-27Merge branch 'tor-github/pr/1573'George Kadianakis
2019-11-27hs: Add changes file for 32020David Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2019-11-27test: Add unit tests for closing intro circ on failureDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2019-11-27hs-v3: Remove unused hs_service_intro_circ_has_closed()David Goulet
Since the removal of ip->circuit_established, this function does litterally nothing so clean it up. Part of #32020 Signed-off-by: David Goulet <dgoulet@torproject.org>
2019-11-27hs-v3: Give a cleanup type to hs_circ_cleanup()David Goulet
By centralizing the circuit cleanup type that is: on close, free and repurpose, some actions on the circuit can not happen for a certain cleanup type or for all types. This passes a cleanup type so the HS subsystem (v2 and v3) can take actions based on the type of cleanup. For instance, there is slow code that we do not run on a circuit close but rather only on free. Part of #32020 Signed-off-by: David Goulet <dgoulet@torproject.org>
2019-11-27hs-v3: Note client intro circuit failureDavid Goulet
Report back to the v3 subsystem any introduction point client circuit failure so they can be noted down in the failure cache. Fixes #32020 Signed-off-by: David Goulet <dgoulet@torproject.org>
2019-11-27hs-v2: Modernize rend_client_circuit_cleanup() codeDavid Goulet
Old and messy code path. Structure it in a more pleasant and readable way. No behavior change with this refactor. Part of #32020 Signed-off-by: David Goulet <dgoulet@torproject.org>
2019-11-26Make control_event_conf_changed() take a config_line_tNeel Chauhan
2019-11-26If statements to getresuid() and getresgid() in setuid.c shouldn't have an ↵Neel Chauhan
extra space
2019-11-26practracker/includes.py: Don't read editor temp filesteor
(Or any files that start with "." or "#".) Obviously correct changes to already-reviewed code.
2019-11-26Merge remote-tracking branch 'tor-github/pr/1564'teor
2019-11-26Makefile: Fix more targets for out-of-tree buildsteor
Support callgraph and rectify-includes in out-of-tree builds. Part of 32522.
2019-11-26crypt_ops: Fix some weird macro spacingteor
2019-11-26Code Style: Remove double newlines in win32/orconfig.hteor
There's no reason for them to be in there. Part of 32522.
2019-11-26check-spaces: Fix an outdated commentteor
2019-11-26test/controller: Stop including a ".c" source fileteor
Part of 32522.
2019-11-26practracker: Fix a typo in a logging function callteor
Obviously correct changes to already-reviewed code.
2019-11-26test: Fix a python double-spaceteor
2019-11-25configure: reject Python 2.Nick Mathewson
Python 2 will be end-of-life as of 1 Jan 2020, so we can finally stop supporting it. As a first step, we should make our configure script stop accepting python 2 as something acceptable to run our tests with. Closes ticket 32608.
2019-11-25Merge branch 'stream-socks-auth' into bug19859_mergedNick Mathewson
2019-11-25Merge branch 'maint-0.4.2'teor
Merge tor_free() notes with whitespace fixes.
2019-11-25CodingStandards: Use consistent spacingteor
* 2 newlines before ====== headers * 1 newline before ------ headers
2019-11-25Merge branch 'maint-0.4.2'teor
2019-11-25Merge branch 'maint-0.4.1' into maint-0.4.2teor
2019-11-25Merge branch 'maint-0.4.0' into maint-0.4.1teor
2019-11-25Merge branch 'maint-0.3.5' into maint-0.4.0teor
2019-11-25Merge remote-tracking branch 'tor-github/pr/1441' into maint-0.4.0teor
2019-11-25Merge remote-tracking branch 'tor-github/pr/1396' into maint-0.4.0teor
2019-11-25Merge remote-tracking branch 'tor-github/pr/1464' into maint-0.3.5teor
2019-11-25Merge remote-tracking branch 'tor-github/pr/1422' into maint-0.3.5teor
2019-11-25Merge remote-tracking branch 'tor-github/pr/1405' into maint-0.3.5teor
2019-11-25Merge remote-tracking branch 'tor-github/pr/1395' into maint-0.3.5teor
2019-11-25Merge remote-tracking branch 'tor-github/pr/1394' into maint-0.3.5teor
2019-11-25Merge remote-tracking branch 'tor-github/pr/1557'teor
2019-11-25CodingStandards: Use the correct changes file formatteor
And remove a duplicate description of the format. Obviously correct changes to documentation.
2019-11-23rename_c_identifier: don't crash when doing only one replacement.Nick Mathewson
2019-11-22Fix a low-impact memory leak in options_act_reversible()Nick Mathewson
Found by Coverity as CID 1455953 Fixes bug 32575; bug not in any released Tor.
2019-11-21ht.h: improve documentation for HT_NEXT_RMV.Nick Mathewson
2019-11-21Merge branch 'ticket32209'Nick Mathewson
2019-11-21config.md: suggestions from teorNick Mathewson
2019-11-21Merge branch 'reversible_3'Nick Mathewson
2019-11-21Merge branch 'tor-github/pr/1555'George Kadianakis
2019-11-21hs-v3: Add changes file for ticket #30382David Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2019-11-21hs-v3: Return bad address SOCKS5 extended errorDavid Goulet
If ExtendedErrors is set for the SocksPort, an invalid .onion address now returns the 0xF6 error code per prop304. Closes #30022 Signed-off-by: David Goulet <dgoulet@torproject.org>