aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Remove TunnelDirConns and PreferTunnelledDirConnsNick Mathewson2014-02-11
| | | | | | | | | | These options were added back in 0.1.2.5-alpha, but no longer make any sense now that all directories support tunneled connections and BEGIN_DIR cells. These options were on by default; now they are always-on. This is a fix for 10849, where TunnelDirConns 0 would break hidden services -- and that bug arrived, I think, in 0.2.0.10-alpha.
* Merge remote-tracking branch 'karsten/one-dirauth'Nick Mathewson2014-02-11
|\
| * Suppress warning in networks with only 1 dirauth.Karsten Loesing2014-02-08
| |
* | Merge remote-tracking branch 'public/bug10722'Nick Mathewson2014-02-11
|\ \
| * | Apply StrictNodes to hidden service directories earlyNick Mathewson2014-01-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, we would sometimes decide in directory_get_from_hs_dir() to connect to an excluded node, and then later in directory_initiate_command_routerstatus_rend() notice that it was excluded and strictnodes was set, and catch it as a stopgap. Additionally, this patch preferentially tries to fetch from non-excluded nodes even when StrictNodes is off. Fix for bug #10722. Bugfix on 0.2.0.10-alpha (the v2 hidserv directory system was introduced in e136f00ca). Reported by "mr-4".
* | | fix trivial typoRoger Dingledine2014-02-10
| | |
* | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2014-02-09
|\ \ \ | |_|/ |/| |
| * | Merge remote-tracking branch 'andrea/bug9602' into maint-0.2.4Nick Mathewson2014-02-09
| |\ \
| | * | Make sure orconn->chan gets nulled out when channels exit from ↵Andrea Shepard2014-02-08
| | | | | | | | | | | | | | | | channel_free_all() too
* | | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2014-02-07
|\| | |
| * | | Survive fedora's openssl in our benchmarksNick Mathewson2014-02-07
| |/ / | | | | | | | | | | | | | | | | | | | | | 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.
* | | Explain CURVE25519_ENABLED: closes 9774Nick Mathewson2014-02-07
| | |
* | | Use the right functions; strncpy is usually not the answerNick Mathewson2014-02-07
| | |
* | | Merge remote-tracking branch 'houqp/hs_control_fix'Nick Mathewson2014-02-07
|\ \ \
| * | | add test case for node_get_verbose_nicknameQingping Hou2014-02-06
| | | |
| * | | add test for node_get_verbose_nickname_by_idQingping Hou2014-02-06
| | | |
| * | | remove node_describe_by_id() functionQingping Hou2014-02-06
| | | | | | | | | | | | | | | | This function is not used anymore
| * | | fix longname returned in HS_DESC control eventsQingping Hou2014-02-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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()
* | | | Remove a needless check in channel_tls_handle_incomingNick Mathewson2014-02-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge the circuit_{free,clear}_cpath functionsNick Mathewson2014-02-07
| | | | | | | | | | | | | | | | (Based on a suggestion by arma at #9777)
* | | | Merge remote-tracking branch 'public/feature9777_024_squashed'Nick Mathewson2014-02-07
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: src/or/circuitbuild.c
| * | | | Discard circuit paths on which nobody supports ntorNick Mathewson2014-02-07
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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,
* | | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2014-02-07
|\| | |
| * | | NULL out conns on tlschans when freeing in case channel_run_cleanup() is ↵Andrea Shepard2014-02-06
| | | | | | | | | | | | | | | | late; fixes bug 9602
| * | | Merge remote-tracking branch 'public/bug9716_024' into maint-0.2.4Nick Mathewson2014-02-06
| |\ \ \
| * | | | Some anti-forensics paranoia...Florent Daigniere2014-02-06
| | | | | | | | | | | | | | | | | | | | sed -i 's/BN_free/BN_clear_free/g'
* | | | | Merge remote-tracking branch 'public/bug10543_024_v2'Nick Mathewson2014-02-06
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | Make the handling for usable-exit counting handle ExitNodes betterNick Mathewson2014-02-06
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2014-02-06
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | Conflicts: changes/bug10485 src/or/rephist.c src/or/status.c
| * | | Add a missing includeNick Mathewson2014-02-06
| | | |
| * | | Deliver circuit handshake counts as part of the heartbeatNick Mathewson2014-02-06
| |/ / | | | | | | | | | | | | | | | Previously, they went out once an hour, unconditionally. Fixes 10485; bugfix on 0.2.4.17-rc.
* | | Rename sun to s_un in test_addr.cNick Mathewson2014-02-06
| | | | | | | | | | | | | | | | | | Apparently the compiler on solaris 9 didn't like "sun" as an identifier. Fix for bug 10565; bugfix on 0.2.5.1-alpha.
* | | Distcheck repair: add new python testing code to "tarballs"Nick Mathewson2014-02-04
| | | | | | | | | | | | 'make distcheck' now passes again.
* | | test_config.c: log which address should have failedNick Mathewson2014-02-03
| | |
* | | Clean up test_hs.c: warning fix; tor_free() usage.Nick Mathewson2014-02-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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);
* | | TransProxyType replaces TransTPROXY optionNick Mathewson2014-02-03
| | | | | | | | | | | | | | | | | | | | | 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)
* | | More fixes to rip out all of the v2 directory code.Karsten Loesing2014-02-03
| | | | | | | | | | | | (This was a squash commit, but I forgot to squash it. Sorry! --Nick)
* | | 10365: Close connections if the VERSIONS cell has an odd length.rl19872014-02-03
| | | | | | | | | | | | Fixes issue 10365.
* | | check-spaces fixes for test_router.cNick Mathewson2014-02-03
| | |
* | | Defensive programming in control_event_hs_descriptor_*Nick Mathewson2014-02-03
| | | | | | | | | | | | | | | It looks to me like these functions can never get called with NULL arguments, but better safe than sorry.
* | | Merge remote-tracking branch 'houqp/hs_control'Nick Mathewson2014-02-03
|\ \ \
| * | | add test case for node_describe_by_idQingping Hou2014-01-29
| | | |
| * | | add test case for hidden service async eventsQingping Hou2014-01-29
| | | |
| * | | add hidden service descriptor async control eventQingping Hou2014-01-29
| | | |
* | | | slownacl's pure-python curve25519 lets us test ntor everywhere.Nick Mathewson2014-02-03
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge remote-tracking branch 'public/bug10758'Nick Mathewson2014-02-03
|\ \ \ \
| * | | | Rip out all of the v2 directory code.Nick Mathewson2014-01-29
| |/ / / | | | | | | | | | | | | | | | | | | | | The remaining vestige is that we continue to publish the V2dir flag, and that, for the controller, we continue to emit v2 directory formats when requested.
* | | | Some anti-forensics paranoia...Florent Daigniere2014-02-03
| | | | | | | | | | | | | | | | sed -i 's/BN_free/BN_clear_free/g'
* | | | Add a sandbox rule to allow IP_TRANSPARENTNick Mathewson2014-02-02
| | | |
* | | | Move the friendly warning about TPROXY and root to EPERM timeNick Mathewson2014-02-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.