aboutsummaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2019-10-17Merge branch 'cmdline_refactor'Nick Mathewson
2019-10-17Use an enum for quiet_level.Nick Mathewson
2019-10-17mainloop: Disable periodic events before a destroyDavid Goulet
When tearing down all periodic events during shutdown, disable them first so their enable flag is updated. This allows the tor_api.h to relaunch tor properly after a clean shutdown. Fixes #32058 Signed-off-by: David Goulet <dgoulet@torproject.org>
2019-10-17Merge remote-tracking branch 'tor-github/pr/1416'Nick Mathewson
2019-10-16address_set.c: doxygen comment repair.Nick Mathewson
2019-10-16channel.h: fix various doxygen warningsNick Mathewson
There were a bunch of items where the doxygen comments were formatted incorrectly (with /* instead of /**)
2019-10-16Rename authcert_members.i to .h, and have it define a macro.Nick Mathewson
Including a file in the middle of a declaration seems to confuse Doxygen, and Coccinelle doesn't much like it either.l
2019-10-16Doxygen: Fix things that looked like links.Nick Mathewson
Doxygen thinks that saying #foo is linking to a "foo" anchor someplace.
2019-10-16Doxygen: fix unrecognized commands.Nick Mathewson
Doxygen seems to interpret anything starting with \ as a command, even when we don't mean it that way.
2019-10-16Doxygen: fix warnings about mismatched HTML tags.Nick Mathewson
2019-10-14Replace a unicode character which doxygen cannot handle.Nick Mathewson
Merging without review, as this is an editorial fix in a comment.
2019-10-09Merge branch 'bug30344_squashed_035'Nick Mathewson
2019-10-09Stop libevent from reading data from closed connections.George Kadianakis
Code adapted from Rob's proposed patch in #30344. Also add a comment in connection_mark_for_close_internal_() on why we should not be adding extra code there without a very good reason.
2019-10-08Extract the enumeration that tells Tor what command it is running.Nick Mathewson
2019-10-02Merge branch 'tor-github/pr/1344'David Goulet
2019-09-30Re-run "make autostyle" with improved annotate_ifdef_directivesNick Mathewson
2019-09-18Merge branch 'bug31466_035' into bug31466_042Nick Mathewson
2019-09-18Merge branch 'bug31466_029' into bug31466_035_tmpNick Mathewson
2019-09-17Correct a comment in channel_tls_process_cell.Nick Mathewson
2019-09-17Move PROCESS_CELL macros outside of channel_tls_process_cell().Nick Mathewson
These macros are used in multiple functions, and as such really don't belong within a single function. Also #undef them once we are done with them. This change makes practracker pass again.
2019-09-17Merge branch 'bug31107_041' into bug31107_masterNick Mathewson
2019-09-17Merge branch 'bug31107_040' into bug31107_041Nick Mathewson
2019-09-17Merge branch 'bug31107_035' into bug31107_040Nick Mathewson
2019-09-17Merge branch 'maint-0.3.5' into bug31107_035Nick Mathewson
2019-09-17Merge branch 'tor-github/pr/1323'George Kadianakis
2019-09-12Merge branch 'ticket31687_035' into ticket31687_040Nick Mathewson
2019-09-11Update include.am files to refer to new location of confparse.[ch]Nick Mathewson
Tests should now pass again.
2019-09-11Update #includes to point to confparse.h in its new location.Nick Mathewson
This commit was automatically generated by running scripts/maint/rectify_include_paths.py .
2019-09-10pf: when extracting an IPv6 address, make sure we got an IPv6 addressNick Mathewson
Our code assumes that when we're configured to get IPv6 addresses out of a TRANS_PF transparent proxy connection, we actually will. But we didn't check that, and so FreeBSD started warning us about a potential NULL pointer dereference. Fixes part of bug 31687; bugfix on 0.2.3.4-alpha when this code was added.
2019-09-09Merge branch 'ticket30924_042_04_squashed' into ↵Nick Mathewson
ticket30924_042_04_squashed_merged
2019-09-05Merge commit '763fd0ad66' into maint-0.4.0teor
tor-github/pr/1174, but with the last commit re-worded to remove the fixup, because fixups break our push rules.
2019-08-27Merge branch 'tor-github/pr/1258'George Kadianakis
2019-08-26hs-v3: Parse ESTABLISH_INTRO cell extensionDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2019-08-26hs-v3: Add protover HSIntro=5David Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2019-08-23Remove the unused circuit_type field from hs_ident_circuit_t and ↵Neel Chauhan
hs_ident_circuit_new()
2019-08-22Merge branch 'ticket30935' into ticket30935_mergedNick Mathewson
2019-08-21Merge branch 'ticket31176' into ticket31176_mergedNick Mathewson
2019-08-19Merge remote-tracking branch 'tor-github/pr/1231'Nick Mathewson
2019-08-19Merge remote-tracking branch 'tor-github/pr/1224'Nick Mathewson
2019-08-19Merge remote-tracking branch 'mike/bug31356+logs-rebased2' into bug31356_finalGeorge Kadianakis
2019-08-12Clarify comment for bug30942 and improve logline.Mike Perry
2019-08-12Bug 31356: Propogate protover padding support to circpadMike Perry
2019-08-12Bug 31356: Bump protover for new padding machinesMike Perry
By binding the protover numbering to specific padding machines, we can make our padding negotiation simpler. We probably should have done this in the first place. This has the side effect that earlier 0.4.1.x-alpha clients won't negotiate with 0.4.1.x-stable relays, and 0.4.1.x-stable clients won't negotiate with earlier 0.4.1.x-alpha relays (or 0.4.0.x relays). Since we don't support alphas after the stable is released, this is fine, so long as it gets in before the first stable of 0.4.1.x.
2019-08-12Bug 30992: Demote logline of wronghop padding to protocol warn.Mike Perry
This can happen, it's not great, but it's not the worst thing in the world either. Deferring full fix for 0.4.2/later.
2019-08-12Additional circpad diagnostic logsMike Perry
Also add controller circuit id to all relevant circpad loglines. This will make debugging any future issues like #30992 much easier.
2019-08-12Merge branch 'maint-0.3.5' into maint-0.4.0teor
2019-08-12Merge remote-tracking branch 'tor-github/pr/1077' into maint-0.3.5teor
2019-08-12Merge remote-tracking branch 'tor-github/pr/1056' into maint-0.3.5teor
2019-08-09Merge remote-tracking branch 'tor-github/pr/920' into maint-0.3.5teor
2019-08-08Move the connection_edge_process_relay_cell() assignments out of if ↵Neel
statements in circuit_receive_relay_cell()