aboutsummaryrefslogtreecommitdiff
path: root/src/or
Commit message (Expand)AuthorAge
* Fix another uninitialized var warning from GCCNick Mathewson2012-12-17
* Fixed an unused-variable warningNick Mathewson2012-12-17
* Don't use the cache when changing an IP address because of an exit policyNick Mathewson2012-12-17
* Turn off by-default use of client-side DNS cacheing.Nick Mathewson2012-12-17
* Refactor port_cfg_t creation into a port_cfg_new() function•••This function gives us a single place to set reasonable default flags for port_cfg_t entries, to avoid bugs like the one where we weren't setting ipv4_traffic_ok to 1 on SocksPorts initialized in an older way. Nick Mathewson2012-12-17
* Implement option to turn off DNS cache modification by a client port•••(This is part 3 of making DNS cache use enabled/disabled on a per-client port basis. This implements the UseCacheIPv[46]DNS options) Nick Mathewson2012-12-17
* Implement option to turn off DNS cache use on a client port•••(This is part 2 of making DNS cache use enabled/disabled on a per-client port basis. This implements the CacheIPv[46]DNS options, but not the UseCachedIPv[46] ones.) Nick Mathewson2012-12-17
* Oops: make the check for not adding ip->ip DNS maps correctNick Mathewson2012-12-17
* Add options to turn DNS cache use on or off per client port.•••(This is part 1 of making DNS cache use enabled/disabled on a per-client port basis. These options are shuffled around correctly, but don't do anything yet.) Nick Mathewson2012-12-17
* Oops; make DNSPort configuration take address family optionsNick Mathewson2012-12-17
* Nuke uses of memcmp outside of unit tests•••We want to be saying fast_mem{cmp,eq,neq} when we're doing a comparison that's allowed to exit early, or tor_mem{cmp,eq,neq} when we need a data-invariant timing. Direct use of memcmp tends to imply that we haven't thought about the issue. Nick Mathewson2012-12-13
* Fix two wide lines in config.cNick Mathewson2012-12-13
* Merge branch 'fallback_dirsource_v3'Nick Mathewson2012-12-13
|\
| * Drop FallbackNetworkstatusFile; it never worked.Nick Mathewson2012-12-06
| * Add an option to weight down authorities when choosing a fallbackNick Mathewson2012-12-06
| * Add a way to configure selection weights for dir_server_tNick Mathewson2012-12-06
| * When choosing among dirserver_ts, consider their weightsNick Mathewson2012-12-06
| * New FallbackDir option to add extra directories for bootstraping•••This replaces the old FallbackConsensus notion, and should provide a way -- assuming we pick reasonable nodes! -- to give clients suggestions of placs to go to get their first consensus. Nick Mathewson2012-12-06
| * Refactor add_trusted_dir_server•••Now creating a dir_server_t and adding it are separate functions, and there are frontend functions for adding a trusted dirserver and a fallback dirserver. Nick Mathewson2012-12-06
| * Rename trusted_dir_server_t to dir_server_t. Automatic renaming.Nick Mathewson2012-12-06
| * Rename DirServer to DirAuthorityNick Mathewson2012-12-06
| * Start refactoring trusted_dir_servers into trusted and fallback lists•••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. Nick Mathewson2012-12-06
| * Correct moribund logic about caching v2 networkstatusesNick Mathewson2012-12-06
| * Make output of router_get_trusted_dir_servers constNick Mathewson2012-12-06
* | Fix some wide linesNick Mathewson2012-12-07
* | Merge branch 'win64-7260'•••Conflicts: src/or/dns.c Nick Mathewson2012-12-07
|\ \
| * | Add a TOR_SOCKET_T_FORMAT construction for logging sockets.•••We need this since win64 has a 64-bit SOCKET type. Based on a patch from yayooo for 7260, forward-ported to 0.2.4. Nick Mathewson2012-11-02
* | | Fix infinite loop in circuit_expire_bulding•••Fixes bug 7663; bug introduced in 42e3c04a7a5fb47a9. Not in any released version of Tor. Nick Mathewson2012-12-07
* | | Merge remote-tracking branch 'public/bug6887'Nick Mathewson2012-12-07
|\ \ \
| * | | Remove some deadcode for parsing v1 directories•••Fixes bug 6887. There are opportunities to remove more functions if authorities can stop serving dummy v1 directory documents Nick Mathewson2012-09-18
* | | | Bug 3443: Don't count ORconn setup in circuit build time.•••Also, add a hack Roger suggested where we're more patient if no circuits are opened yet. Mike Perry2012-12-07
| |_|/ |/| |
* | | Merge remote-tracking branch 'asn/bug7592_take2'Nick Mathewson2012-12-04
|\ \ \
| * | | Return connection_exit_connect() if payload creation failed.•••Fixes bug #7592; bugfix on 882b389668067a29bb539d0f5bd5cb2f83b93012. The bug is not present in any released versions of Tor. George Kadianakis2012-12-05
* | | | fix some typosRoger Dingledine2012-12-03
|/ / /
* | | Merge branch 'bug7013_take2_squashed'Nick Mathewson2012-11-27
|\ \ \
| * | | Introduce tor_addr_port_parse() and use it to parse ServerTransportListenAddr.George Kadianakis2012-11-27
| * | | Add a torrc option to specify the bind address of managed proxies.George Kadianakis2012-11-27
* | | | Make sure that the error in ADDRMAP events is well-formed•••"error=Unable to launch resolve request" is not a nice thing to tell the controller. Bugfix on 0.2.0.19-alpha (c11c48fc). Nick Mathewson2012-11-23
* | | | Minor documentation fixNick Mathewson2012-11-23
* | | | In comments and logs, say "UTC" not "GMT"•••Fix for #6113. Note that the RFC1123 times we generate still all say 'GMT'. I'm going to suggest this is not worth changing. Nick Mathewson2012-11-23
* | | | Merge branch 'bug7493_redux'Nick Mathewson2012-11-18
|\ \ \ \
| * | | | Initialize ipv{4,6}_traffic_ok in entry_connection_new•••This one is necessary for sending BEGIN cells with sane flags when self-testing a directory port. All real entry connections were getting their ipv{4,6}_traffic_ok flags set from their listeners, and for begindir entry connections we didn't care, but for directory self-testing, we had a problem. Fixes at least one more case of 7493; if there are more lingering cases of 7493, this might fix them too. Bug not in any released version of Tor. Nick Mathewson2012-11-18
* | | | | when counting available descs, say whether we're counting exitsRoger Dingledine2012-11-16
|/ / / /
* | | | Give useful warning when both IPv4 and IPv6 are disabled on a socksportNick Mathewson2012-11-15
* | | | Allow IPv4 traffic on default and old-style-config SocksPorts.•••Looks like when i was writing the code to set the ipv4_traffic flag on port_cfg_t, I missed some cases, such as the one where the port was set from its default value. Fix for 7493. Bug not in any released Tor. Nick Mathewson2012-11-15
* | | | Set IPv4/IPv6 flags correctly when being a SOCKS clientNick Mathewson2012-11-15
* | | | Remove some XXXX commens in dns.c•••Previously, I was freaking out about passing an unspec address to dns_found_answer() on an error, since I was using the address type to determine whether the error was an error on an ipv4 address lookup or on an ipv6 address lookup. But now dns_found_answer() has a separate orig_query_type argument to tell what kind of query it is, so there's no need to freak out. Nick Mathewson2012-11-15
* | | | Fix up some comments in connection_edge.cNick Mathewson2012-11-15
* | | | Add another missing function docNick Mathewson2012-11-14
* | | | Initial support for AAAA requests on DNSPort.•••This is imperfect, since it sends back whatever we would send to a socks RESOLVE request, when in reality we should send back whatever was asked for. Nick Mathewson2012-11-14