summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-12-19Add two hidden-service related statistics.George Kadianakis
The two statistics are: 1. number of RELAY cells observed on successfully established rendezvous circuits; and 2. number of .onion addresses observed as hidden-service directory. Both statistics are accumulated over 24 hours, obfuscated by rounding up to the next multiple of a given number and adding random noise, and written to local file stats/hidserv-stats. Notably, no statistics will be gathered on clients or services, but only on relays.
2014-12-10Add better support to obfuscate statistics.Karsten Loesing
2014-12-02Constify crypto_pk_get_digest().George Kadianakis
2014-11-28Fix some 32-bit build issues in the testsNick Mathewson
When comparing 64-bit types, you need to use tt_[ui]64_op(). Found by Jenkins
2014-11-28Fix a signed/unsigned comparison warning in scheduler_runNick Mathewson
2014-11-27Fix a memory leak in rend_services_introduceNick Mathewson
This is CID 1256187 ; bug not in any released tor.
2014-11-27Fix a likely bug found by coverity in test_scheduler.c.Nick Mathewson
Andrea, do you agree with this? This is CID 1256186
2014-11-27One more, appease "make check-spaces"Nick Mathewson
2014-11-27Fix some issues with the scheduler configuration optionsNick Mathewson
1) Set them to the values that (according to Rob) avoided performance regressions. This means that the scheduler won't get much exercise until we implement KIST or something like it. 2) Rename the options to end with a __, since I think they might be going away, and nobody should mess with them. 3) Use the correct types for the option variables. MEMUNIT needs to be a uint64_t; UINT needs to be (I know, I know!) an int. 4) Validate the values in options_validate(); do the switch in options_act(). This way, setting the option to an invalid value on a running Tor will get backed out.
2014-11-27Fix a 64-bit clang warningNick Mathewson
2014-11-27Merge remote-tracking branch 'andrea/cmux_refactor_configurable_threshold'Nick Mathewson
Conflicts: src/or/or.h src/test/Makefile.nmake
2014-11-26Merge remote-tracking branch 'public/bug13126'Nick Mathewson
Conflicts: src/or/or.h
2014-11-25Merge branch 'feature9503_squashed'Nick Mathewson
2014-11-25Sending response to SIGNAL HEARTBEAT controller command.rl1987
2014-11-25Adding 'SIGNAL HEARTBEAT' message that causes unscheduled heartbeat.rl1987
2014-11-24Merge remote-tracking branch 'origin/maint-0.2.5'Nick Mathewson
2014-11-24Merge remote-tracking branch 'origin/maint-0.2.4' into maint-0.2.5Nick Mathewson
2014-11-24Merge remote-tracking branch 'karsten/geoip6-nov2014' into maint-0.2.4Nick Mathewson
2014-11-24Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4Nick Mathewson
2014-11-24Update geoip6 to the November 15 2014 database.Karsten Loesing
2014-11-24Update geoip to the November 15 2014 database.Karsten Loesing
2014-11-24Use consistent formatting for list of directory authoritiesNick Mathewson
Based on a patch from grpamp on tor-dev.
2014-11-20Make can_complete_circuits a static variable.Nick Mathewson
2014-11-20Don't build introduction circuits until we know we can build circuitsNick Mathewson
Patch from akwizgran. Ticket 13447.
2014-11-19Merge remote-tracking branch 'origin/maint-0.2.5'Nick Mathewson
2014-11-19Merge remote-tracking branch 'origin/maint-0.2.4' into maint-0.2.5Nick Mathewson
2014-11-19Update longclaw dirauth IP to be a more stable locationMicah Anderson
2014-11-17Remove Support022HiddenServicesNick Mathewson
This has been already disabled in the directory consensus for a while; it didn't seem to break anything. Finally closes #7803.
2014-11-16Rewriting comment for control_event_hs_descriptor_failed().rl1987
2014-11-16Adding REASON field to HS_DESC FAILED controller event.rl1987
2014-11-12Merge remote-tracking branch 'origin/maint-0.2.5'Nick Mathewson
2014-11-12Merge remote-tracking branch 'origin/maint-0.2.4' into maint-0.2.5Nick Mathewson
Conflicts: src/or/config.c
2014-11-12Remove turtles as a directory authority (#13296)Micah Anderson
2014-11-12Add longclaw as a directory authority (#13296)Micah Anderson
2014-11-12Merge remote-tracking branch 'public/bug7484'Nick Mathewson
Conflicts: src/test/test_addr.c
2014-11-12Fix wide lines (from 13172)Nick Mathewson
2014-11-12Replace operators used as macro arguments with OP_XX macrosNick Mathewson
Part of fix for 13172
2014-11-12Merge branch 'ticket13172'Nick Mathewson
2014-11-12Reenhappy make check-spacesNick Mathewson
2014-11-12Merge remote-tracking branch 'rl1987/bug13644'Nick Mathewson
2014-11-12Merge remote-tracking branch 'rl1987/bug9812'Nick Mathewson
2014-11-12Merge remote-tracking branch 'public/bug13698_024_v1'Nick Mathewson
2014-11-11Renaming ROUTER_WAS_NOT_NEW to ROUTER_IS_ALREADY_KNOWN.rl1987
2014-11-11Comment possible values of was_router_added_t.rl1987
2014-11-10Fix: don't report timeout when closing parallel intro pointsDavid Goulet
When closing parallel introduction points, the given reason (timeout) was actually changed to "no reason" thus when the circuit purpose was CIRCUIT_PURPOSE_C_INTRODUCE_ACK_WAIT, we were reporting an introduction point failure and flagging it "unreachable". After three times, that intro point gets removed from the rend cache object. In the case of CIRCUIT_PURPOSE_C_INTRODUCING, the intro point was flagged has "timed out" and thus not used until the connection to the HS is closed where that flag gets reset. This commit adds an internal circuit reason called END_CIRC_REASON_IP_NOW_REDUNDANT which tells the closing circuit mechanism to not report any intro point failure. This has been observed while opening hundreds of connections to an HS on different circuit for each connection. This fix makes this use case to work like a charm. Fixes #13698. Signed-off-by: David Goulet <dgoulet@ev0ke.net>
2014-11-09Print a warning when extra info document is found incompatible with router ↵rl1987
descriptor.
2014-11-09Downgrade RSA signature verification failure error message to info loglevel.rl1987
2014-11-07Wrong format in log statementDavid Goulet
Fixes bug 13701.
2014-11-07test_checkdir.c: Perhaps this is what will make this test pass on windows?Nick Mathewson
2014-11-07test_checkdir.c: try to make it pass on windowsNick Mathewson
also fix memory-leak on failing tests.