summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-11-01rewrap changelogtor-0.4.5.1-alphaNick Mathewson
2020-11-01Edits on ChangeLog from seborn.Nick Mathewson
2020-10-30Full round of edits on ChangeLogNick Mathewson
2020-10-30Bump version to 0.4.5.1-alphaNick Mathewson
2020-10-30Sorting and editing on the changelog.Nick Mathewson
2020-10-30Run format_changelogNick Mathewson
2020-10-30Minor edits to changelog headersNick Mathewson
2020-10-30Start a changelog for 0.4.5.1-alpha.Nick Mathewson
2020-10-30Merge branch 'bug40080_035'Nick Mathewson
2020-10-30Merge remote-tracking branch 'tor-gitlab/mr/174' into masterGeorge Kadianakis
2020-10-28Fix duplicate typedef in metrics_store_entry.hNick Mathewson
Fixes #40171. Bug not in any released Tor.
2020-10-28Merge branch 'maint-0.4.4'Alexander Færøy
2020-10-28Merge branch 'maint-0.4.3' into maint-0.4.4Alexander Færøy
2020-10-28Merge branch 'maint-0.3.5' into maint-0.4.3Alexander Færøy
2020-10-28Merge remote-tracking branch 'tor-gitlab/mr/171'Alexander Færøy
2020-10-28test: Missing tor_free() in metrics unit testsDavid Goulet
Found by coverity: *** CID 1468664: Resource leaks (RESOURCE_LEAK) /src/test/test_metrics.c: 83 in test_config() 77 tt_int_op(ret, OP_EQ, false); 78 79 done: 80 SMARTLIST_FOREACH(ports, port_cfg_t *, c, port_cfg_free(c)); 81 smartlist_free(ports); 82 or_options_free(options); >>> CID 1468664: Resource leaks (RESOURCE_LEAK) >>> Variable "err_msg" going out of scope leaks the storage it points to. 83 } 84 85 static char _c_buf[256]; 86 #define CONTAINS(conn, msg) \ 87 do { \ 88 tt_int_op(buf_datalen(conn->outbuf), OP_EQ, (strlen(msg))); \ Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-10-27lib/metrics: Fix wrong macro expansionDavid Goulet
The "METRICS_PREFIX" was not expanded but rather used as a litteral. Fix that by just removing the define and using "tor_" directly. Reviewed-by: Alexander Færøy <ahf@torproject.org> Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-10-27metrics: Add tor_ namespace to all metricsDavid Goulet
Closes #40063 Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-10-27test: Add test for onion service metrics moduleDavid Goulet
Related to #40063 Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-10-27test: Metrics tests for lib/ and feature/David Goulet
Related to #40063 Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-10-27tests: Fix unit tests after adding new HS metrics moduleDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-10-27changes: File for ticket 40063, the MetricsPortDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-10-27doc: Initial documentation of the lib/metricsDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-10-27man: Add the MetricsPort manpage entryDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-10-27hs: Collect introduction circuit metricsDavid Goulet
Tracks the total number of established introduction circuit. Related to #40063 Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-10-27hs: Collect rendezvous circuit metricsDavid Goulet
The total number of rendezvous circuit created and the number of established ones which is a gauge that decreases to keep an updated counter. Related to #40063 Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-10-27hs: Collect service traffic metricsDavid Goulet
Related to #40063 Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-10-27hs: Always note the virtual port in the identDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-10-27hs: New metrics moduleDavid Goulet
At this commit, a new service registers to the module and a store is created. It also remove itself from the metrics module if it goes away. In order to hook into the metrics subsystem, this commit attaches the HS subsystem into the subsystem global list so its get_metrics() call can be accessible. HS initialization is still _not_ done through the subsys module as it is likely require much more testing. Related to #40063 Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-10-27conn: New Metrics listener portDavid Goulet
If MetricsPort is defined, listen on it and handle the incoming request. Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-10-27metrics: New feature module to track tor metricsDavid Goulet
Related to #40063 Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-10-27lib: New metrics libraryDavid Goulet
Used to provide an interface to create metrics store and update the entries. Related to #40063 Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-10-27Merge branch 'maint-0.4.4'David Goulet
2020-10-27Merge branch 'tor-gitlab/mr/176' into maint-0.4.4David Goulet
2020-10-27Merge branch 'tor-gitlab/mr/173'David Goulet
2020-10-27Merge branch 'tor-gitlab/mr/176'David Goulet
2020-10-26Merge branch 'maint-0.4.4'Nick Mathewson
2020-10-26Make ticket40164 compliant with styleNick Mathewson
2020-10-26Merge remote-tracking branch 'tor-gitlab/mr/169' into masterGeorge Kadianakis
2020-10-23Merge remote-tracking branch 'tor-gitlab/mr/127'Nick Mathewson
2020-10-23Update required/recommended protocol lists more systematicallyNick Mathewson
First I began with a set of candidates: The client's _required_ list starts with all the protocols supported by every release in 0.2.9-stable through current master. The client's _required_ list starts with all the protocols supported by every release in 0.3.5-stable through current master. Everybody's _recommended_ list starts with all the protocols supported by every release in 0.3.5-stable through current master. Then I removed the protocol versions that we do not actually want to require or recommend: DirCache=1 (deprecated) HSDir=1, HSIntro=1-3, HSRend=1 (deprecated) (All HS* protocol requirements for clients) Link=1-3 (deprecated) LinkAuth=1 (obsolete) Relay=1 (obsolete)
2020-10-23Merge branch 'combined_libs'Nick Mathewson
2020-10-23Changes file for ticket 40127Nick Mathewson
2020-10-22Turn ConsensusParams into a LinelistRoger Dingledine
Make it possible to specify multiple ConsensusParams torrc lines. Now directory authority operators can for example put the main ConsensusParams config in one torrc file and then add to it from a different torrc file. Closes ticket 40164.
2020-10-21main: Off by one when dumping subsystem listDavid Goulet
Fixes #40163 Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-10-21Make "check-changes" work on bug32671.Nick Mathewson
2020-10-21Allow mutiple lines on configuration for ROUTERSET entries. #28361Daniel Pinto
Affected entries are: EntryNodes, ExcludeNodes, ExcludeExitNodes, ExitNodes, MiddleNodes, HSLayer2Nodes and HSLayer3Nodes.
2020-10-20Set is_padding_timer_scheduled to 0Guinness
When calling `circpad_send_padding_cell_for_callback()`, the flag `is_padding_timer_scheduled` was not resetted to 0 which caused an issue in the circpad simulator. This commit fixes this problem. Fixes #32671.
2020-10-20reindent changes/ticket40053Nick Mathewson
2020-10-20Merge branch 'mr_175_squashed'Nick Mathewson