aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| | * | | | | make EACCES survivable too.Nick Mathewson2014-02-10
| | | | | | |
| | * | | | | Call ENETUNREACH a case of NOROUTE, not a case of INTERNAL.Nick Mathewson2014-02-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Found by cypherpunks; fix for a part of bug 10777; bugfix on 0.1.0.1-rc.
| * | | | | | Merge remote-tracking branch 'public/bug10777_nointernal_024' into maint-0.2.4Nick Mathewson2014-02-11
| |\ \ \ \ \ \
| | * | | | | | Don't treat END_STREAM_REASON_INTERNAL as total circuit failureNick Mathewson2014-02-09
| | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It can happen because we sent something that got an ENETUNREACH response. Bugfix on 0.2.4.8-alpha; fixes a part of bug 10777.
* | | | | | / Free leakable values in the unit tests.Nick Mathewson2014-02-11
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | Thanks, Coverity! (CID 1171414, 1171415, 1171416)
* | | | | | Merge remote-tracking branch 'public/no_itime_queue_025'Nick Mathewson2014-02-11
|\ \ \ \ \ \
| * \ \ \ \ \ Merge remote-tracking branch 'public/no_itime_queue'Nick Mathewson2014-02-10
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * | | | | | Excise the insertion_time_elem_t logicNick Mathewson2014-02-10
| | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's now redundant with the inserted_time field in packed_cell_t Fixes bug 10870.
* | | | | | | Merge branch 'bug10881'Nick Mathewson2014-02-11
|\ \ \ \ \ \ \
| * | | | | | | Remove options for configuring HS authorities.Nick Mathewson2014-02-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (There is no longer meaningfully any such thing as a HS authority, since we stopped uploading or downloading v0 hs descriptors in 0.2.2.1-alpha.) Implements #10881, and part of #10841.
* | | | | | | | 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
|\ \ \ \ \