aboutsummaryrefslogtreecommitdiff
path: root/src/or/directory.c
Commit message (Collapse)AuthorAge
* Merge remote-tracking branch 'karsten/bug11683'Nick Mathewson2014-06-19
|\
| * Believe that v3 dirauths always serve extra infos.Karsten Loesing2014-05-05
| | | | | | | | | | | | | | | | Clients should always believe that v3 directory authorities serve extra-info documents, regardless of whether their server descriptor contains a "caches-extra-info" line or not. Fixes part of #11683.
* | Merge remote-tracking branch 'public/bug11469_024'Nick Mathewson2014-05-15
|\ \
| * | Use DirPort for uploading descriptors.Nick Mathewson2014-05-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we converted the horrible set of options that previously controlled "use ORPort or DirPort? Anonymously or Non-anonymouly?" to a single 'indirection' argument, we missed directory_post_to_dirservers. The problematic code was introduced in 5cbeb6080, which went into 0.2.4.3-alpha. This is a fix for bug 11469.
* | | Quench clang's complaints with -Wshorten-64-to-32 when time_t is not long.dana koch2014-05-11
| | | | | | | | | | | | | | | | | | On OpenBSD 5.4, time_t is a 32-bit integer. These instances contain implicit treatment of long and time_t as comparable types, so explicitly cast to time_t.
* | | Remove /tor/dbg-stability.txt URL.Karsten Loesing2014-05-05
| |/ |/| | | | | | | | | | | The /tor/dbg-stability.txt URL was meant to help debug WFU and MTBF calculations, but nobody was using it. Fixes #11742.
* | Merge remote-tracking branch 'public/bug10849_025'Nick Mathewson2014-05-01
|\ \ | | | | | | | | | | | | Conflicts: src/or/config.c
| * | 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 'public/bug4645'Nick Mathewson2014-04-01
|\ \ \ | | | | | | | | | | | | | | | | Conflicts: src/or/dirserv.c
| * | | Add one more missing heck on bug4645 fixesNick Mathewson2014-04-01
| | | |
| * | | Using proper functions to create tor_addr_t.rl19872014-02-03
| | | |
| * | | Removing is_internal_IP() function. Resolves ticket 4645.rl19872014-02-03
| | | |
* | | | Take out remaining V1 directory code.Karsten Loesing2014-03-18
| | | |
* | | | Merge remote-tracking branch 'arma/ticket5528'Nick Mathewson2014-03-05
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/or/router.c src/test/test_dir.c
| * | | | stop passing "address" around the directory_initiate_command* funcsRoger Dingledine2013-02-09
| | | | | | | | | | | | | | | | | | | | since it was always just the string version of "addr" anyway
* | | | | tristate->enum in rendcommon functionsNick Mathewson2014-02-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we have more than two return values, we should really be using an enum rather than "-2 means this, -1 means that, 0 means this, and 1 or more means a number."
* | | | | Remove remaining v0 hidden service descriptor code.Karsten Loesing2014-02-12
| | | | | | | | | | | | | | | | | | | | | | | | | Fixes the rest of #10841 after #10881 already removed some hidden service authority code.
* | | | | 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.
* | | | | Suppress warning in networks with only 1 dirauth.Karsten Loesing2014-02-08
|/ / / /
* | / / 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()
* | | Merge remote-tracking branch 'houqp/hs_control'Nick Mathewson2014-02-03
|\ \ \
| * | | add hidden service descriptor async control eventQingping Hou2014-01-29
| | | |
* | | | 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.
* | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-10-08
|\ \ \ | | |/ | |/| | | | | | | Conflicts: src/or/relay.c
| * | Generate bootstrapping status messages for microdescs tooNick Mathewson2013-10-08
| | | | | | | | | | | | Fix for 9927.
* | | don't lie about bootstrap progress when clients use bridgesRoger Dingledine2013-10-08
| | | | | | | | | | | | | | | we were listing 50% as soon as we got a bridge's relay descriptor, even if we didn't have any consensus, certificates, etc yet.
* | | fix whitespace in log messageRoger Dingledine2013-09-29
| | |
* | | Fix some "ISO C90 forbids mixed declarations and code" warningsNick Mathewson2013-09-03
| | |
* | | Handle HTTP minor versions greater than 9Nick Mathewson2013-09-03
| | | | | | | | | | | | | | | | | | | | | (In practice they don't exist, but so long as we're making changes for standards compliance...) Also add several more unit tests for good and bad URL types.
* | | Tougher validation for parsing urls from HTTP headers. Fixes #2767.Kevin Butler2013-09-03
| | |
* | | Add transport information to the GeoIP database.George Kadianakis2013-07-18
| | |
* | | Tweak #6752 patch based on comments by nickm.Karsten Loesing2013-05-24
| | |
* | | Lower dir fetch retry schedules in testing networks.Karsten Loesing2013-05-16
|/ / | | | | | | | | | | | | Also lower maximum interval without directory requests, and raise maximum download tries. Implements #6752.
* | Merge bug5595-v2-squashed into maint-0.2.4Andrea Shepard2013-05-10
|\ \
| * | Clean up ugly constants in connection_dir_download_cert_failed(), and fix a ↵Andrea Shepard2013-05-09
| | | | | | | | | | | | broken one
| * | When downloading certificates, distinguish requesting by identity digest ↵Andrea Shepard2013-05-09
| | | | | | | | | | | | from requesting by ID digest, signing key pair; fixes bug 5595
* | | Add a DisableV2DirectoryInfo_ option to 404 all v2 ns requestsNick Mathewson2013-03-10
| | | | | | | | | | | | | | | | | | | | | I have no idea whether b0rken clients will DoS the network if the v2 authorities all turn this on or not. It's experimental. See #6783 for a description of how to test it more or less safely, and please be careful!
* | | Restore the entry/dirguard distinction.Nick Mathewson2013-02-12
| | | | | | | | | | | | | | | We shouldn't be calling choose_random_entry() for directory conncetions; that's what choose_random_dirguard() is for.
* | | generalize choose_random_entry()'s dirinfo parameterRoger Dingledine2013-02-02
| | | | | | | | | | | | | | | | | | | | | | | | Now we can specify to skip bridges that wouldn't be able to answer the type of dir fetch we're launching. It's still the responsibility of the rest of the code to prevent us from launching a given dir fetch if we have no bridges that could handle it.
* | | use microdescriptors if *any* of our bridges can handle themRoger Dingledine2013-02-02
| |/ |/| | | | | | | | | Now as we move into a future where most bridges can handle microdescs we will generally find ourselves using them, rather than holding back just because one of our bridges doesn't use them.
* | Rename log() to tor_log() for loggingNick Mathewson2013-02-01
| | | | | | | | | | | | | | | | | | | | | | | | | | This is meant to avoid conflict with the built-in log() function in math.h. It resolves ticket 7599. First reported by dhill. This was generated with the following perl script: #!/usr/bin/perl -w -i -p s/\blog\(LOG_(ERR|WARN|NOTICE|INFO|DEBUG)\s*,\s*/log_\L$1\(/g; s/\blog\(/tor_log\(/g;
* | Remove dirreq-v2-* lines from extra-info descriptors.Karsten Loesing2013-01-17
| | | | | | | | Implements the rest of #5823.
* | Update the copyright date to 201.Nick Mathewson2013-01-16
| |
* | Fix a possibly-unused-var warning. Thank you, GCC.Nick Mathewson2012-12-25
| |
* | Add configuration options for directory guardsNick Mathewson2012-12-25
| | | | | | | | | | In addition to all the other ways to make directory gurads not go, you can now set UseEntryGuardsAsDirGuards to 0.
* | Directory guard implementation.Nick Mathewson2012-12-25
| | | | | | | | Implements proposal 207; ticket 6526.
* | Split choosing a regular directory into its own fnNick Mathewson2012-12-25
| |
* | Rename trusted_dir_server_t to dir_server_t. Automatic renaming.Nick Mathewson2012-12-06
| |
* | Start refactoring trusted_dir_servers into trusted and fallback listsNick Mathewson2012-12-06
| | | | | | | | | | | | | | | | | | We use trusted_dir_server_t for two pieces of functionality: a list of all directory authorities, and a list of initial places to look for a directory. With this patch we start to separate those two roles. There is as of now no actual way to be a fallback directory without being an authority.