summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-02-10Merge remote-tracking branch 'public/no_itime_queue'Nick Mathewson
The conflicts here were tricky, and required me to eliminate the command-queue as well. That wasn't so hard. Conflicts: src/or/or.h src/or/relay.c
2014-02-10Excise the insertion_time_elem_t logicNick Mathewson
It's now redundant with the inserted_time field in packed_cell_t Fixes bug 10870.
2014-02-09Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson
2014-02-09Merge remote-tracking branch 'andrea/bug9602' into maint-0.2.4Nick Mathewson
2014-02-08Make sure orconn->chan gets nulled out when channels exit from ↵Andrea Shepard
channel_free_all() too
2014-02-07Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson
2014-02-07Survive fedora's openssl in our benchmarksNick Mathewson
Apparently fedora currently has ECDH but not P224. This isn't a huge deal, since we no longer use OpenSSL's P224 ever (see #9780 and 72c1e5acfe1c6). But we shouldn't have segfaulting benchmarks really. Fixes bug 10835; bugfix on 0.2.4.8-alpha.
2014-02-07Explain CURVE25519_ENABLED: closes 9774Nick Mathewson
2014-02-07Use the right functions; strncpy is usually not the answerNick Mathewson
2014-02-07Merge remote-tracking branch 'houqp/hs_control_fix'Nick Mathewson
2014-02-07Remove a needless check in channel_tls_handle_incomingNick Mathewson
This patch removes an "if (chan)" that occurred at a place where chan was definitely non-NULL. Having it there made some static analysis tools conclude that we were up to shenanigans. This resolves #9979.
2014-02-07Merge the circuit_{free,clear}_cpath functionsNick Mathewson
(Based on a suggestion by arma at #9777)
2014-02-07Merge remote-tracking branch 'public/feature9777_024_squashed'Nick Mathewson
Conflicts: src/or/circuitbuild.c
2014-02-07Discard circuit paths on which nobody supports ntorNick Mathewson
Right now this accounts for about 1% of circuits over all, but if you pick a guard that's running 0.2.3, it will be about 6% of the circuits running through that guard. Making sure that every circuit has at least one ntor link means that we're getting plausibly good forward secrecy on every circuit. This implements ticket 9777,
2014-02-07Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson
2014-02-07Attribute bug 9602 to a version.Nick Mathewson
2014-02-06NULL out conns on tlschans when freeing in case channel_run_cleanup() is ↵Andrea Shepard
late; fixes bug 9602
2014-02-06Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson
2014-02-06Merge remote-tracking branch 'public/bug9716_024' into maint-0.2.4Nick Mathewson
2014-02-06Merge remote-tracking branch 'public/bug10543_024_v2'Nick Mathewson
2014-02-06Make the handling for usable-exit counting handle ExitNodes betterNick Mathewson
It's possible to set your ExitNodes to contains only exits that don't have the Exit flag. If you do that, we'll decide that 0 of your exits are working. Instead, in that case we should look at nodes which have (or which might have) exit policies that don't reject everything. Fix for bug 10543; bugfix on 0.2.4.10-alpha.
2014-02-06add test case for node_get_verbose_nicknameQingping Hou
2014-02-06add test for node_get_verbose_nickname_by_idQingping Hou
2014-02-06remove node_describe_by_id() functionQingping Hou
This function is not used anymore
2014-02-06fix longname returned in HS_DESC control eventsQingping Hou
According to control spec, longname should not contain any spaces and is consists only of identy_digest + nickname added two functions: * node_get_verbose_nickname_by_id() * node_describe_longname_by_id()
2014-02-06Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson
2014-02-06changelog for 10793Nick Mathewson
2014-02-06Some anti-forensics paranoia...Florent Daigniere
sed -i 's/BN_free/BN_clear_free/g'
2014-02-06Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson
Conflicts: changes/bug10485 src/or/rephist.c src/or/status.c
2014-02-06Add a missing includeNick Mathewson
2014-02-06Merge branch 'bug10485_024' into maint-0.2.4Nick Mathewson
2014-02-06Deliver circuit handshake counts as part of the heartbeatNick Mathewson
Previously, they went out once an hour, unconditionally. Fixes 10485; bugfix on 0.2.4.17-rc.
2014-02-06Rename sun to s_un in test_addr.cNick Mathewson
Apparently the compiler on solaris 9 didn't like "sun" as an identifier. Fix for bug 10565; bugfix on 0.2.5.1-alpha.
2014-02-04Distcheck repair: add new python testing code to "tarballs"Nick Mathewson
'make distcheck' now passes again.
2014-02-03test_config.c: log which address should have failedNick Mathewson
2014-02-03Clean up test_hs.c: warning fix; tor_free() usage.Nick Mathewson
My OSX laptop rightly gave a warning because of sticking strlen() into an int, but once I took a closer look... it appears that the strlen() was part of a needlessly verbose implementation for tor_strdup(). While I was there, I fixed the usage of tor_free() in test_hs.c: It checks for NULL, and it zeros its argument. So instead of if (foo) { tor_free(foo); foo = NULL; } we should just say tor_free(foo);
2014-02-03TransProxyType replaces TransTPROXY optionNick Mathewson
I'm making this change now since ipfw will want its own option too, and proliferating options here isn't sensible. (See #10582 and #10267)
2014-02-03More fixes to rip out all of the v2 directory code.Karsten Loesing
(This was a squash commit, but I forgot to squash it. Sorry! --Nick)
2014-02-0310365: Close connections if the VERSIONS cell has an odd length.rl1987
Fixes issue 10365.
2014-02-03check-spaces fixes for test_router.cNick Mathewson
2014-02-03Defensive programming in control_event_hs_descriptor_*Nick Mathewson
It looks to me like these functions can never get called with NULL arguments, but better safe than sorry.
2014-02-03Merge remote-tracking branch 'houqp/hs_control'Nick Mathewson
2014-02-03slownacl's pure-python curve25519 lets us test ntor everywhere.Nick Mathewson
Improvement on f308adf8382bc7e61ea05a172, where we made the ntor unit tests run everywhere... so long as a python curve25519 module was installed. Now the unit tests don't require that module.
2014-02-03Merge remote-tracking branch 'public/bug10758'Nick Mathewson
2014-02-03changelog for 10793Nick Mathewson
2014-02-03Some anti-forensics paranoia...Florent Daigniere
sed -i 's/BN_free/BN_clear_free/g'
2014-02-02Merge branch 'feature_10582'Nick Mathewson
2014-02-02Add a sandbox rule to allow IP_TRANSPARENTNick Mathewson
2014-02-02Move the friendly warning about TPROXY and root to EPERM timeNick Mathewson
I'm doing this because: * User doesn't mean you're running as root, and running as root doesn't mean you've set User. * It's possible that the user has done some other capability-based hack to retain the necessary privileges.
2014-01-31Add support for TPROXY via new TransTPRoxy optionNick Mathewson
Based on patch from "thomo" at #10582.