aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Drop the maximum attempts to get a virtual address to 1000.Nick Mathewson2012-12-17
| | | | | | | This is good enough to give P_success >= 999,999,999/1,000,000,000 so long as the address space is less than 97.95 full. It'd be ridiculous for that to happen for IPv6, and usome reasonable assumptions, it would also be pretty silly for IPv4.
* Describe IPv6 automap changesNick Mathewson2012-12-17
|
* Document PreferIPv6Automap in the manpageNick Mathewson2012-12-17
|
* Add missing doxygen for DNS and automap codeNick Mathewson2012-12-17
|
* Per-listener option to prefer IPv6 automaps when possible.Nick Mathewson2012-12-17
|
* Build and test most of the machinery needed for IPv6 virtualaddrmapsNick Mathewson2012-12-17
| | | | | | | | | | | | | | With an IPv6 virtual address map, we can basically hand out a new IPv6 address for _every_ address we connect to. That'll be cool, and will let us maybe get around prop205 issues. This uses some fancy logic to try to make the code paths in the ipv4 and the ipv6 case as close as possible, and moves to randomly generated addresses so we don't need to maintain those stupid counters that will collide if Tor restarts but apps don't. Also has some XXXX items to fix to make this useful. More design needed.
* Refactor the code to check if an address is matched by automapsuffixesNick Mathewson2012-12-17
|
* 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
|
* changes entry for disabling cache usage by defaultNick 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() functionNick Mathewson2012-12-17
| | | | | | | 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.
* Changes file for new DNS caching optionsNick Mathewson2012-12-17
|
* Add documentation for the client-side DNS cache optionsNick Mathewson2012-12-17
|
* Implement option to turn off DNS cache modification by a client portNick Mathewson2012-12-17
| | | | | (This is part 3 of making DNS cache use enabled/disabled on a per-client port basis. This implements the UseCacheIPv[46]DNS options)
* Implement option to turn off DNS cache use on a client portNick Mathewson2012-12-17
| | | | | | (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.)
* 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.Nick Mathewson2012-12-17
| | | | | | (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.)
* Oops; make DNSPort configuration take address family optionsNick Mathewson2012-12-17
|
* Nuke uses of memcmp outside of unit testsNick Mathewson2012-12-13
| | | | | | | 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.
* Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson2012-12-13
|\ | | | | | | | | Conflicts: src/config/geoip
| * Merge remote-tracking branch 'origin/maint-0.2.2' into maint-0.2.3Nick Mathewson2012-12-13
| |\
| | * Add link explaining how the geoip file was created.Karsten Loesing2012-12-13
| | |
| | * Update to the December 2012 GeoIP database.Karsten Loesing2012-12-13
| | |
| | * Update to the November 2012 GeoIP database.Karsten Loesing2012-12-13
| | |
* | | Note that fallback_dirsource was proposal 206, bug 572.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 bootstrapingNick Mathewson2012-12-06
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | Refactor add_trusted_dir_serverNick Mathewson2012-12-06
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | 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 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.
| * | | Correct moribund logic about caching v2 networkstatusesNick Mathewson2012-12-06
| | | |
| * | | Make output of router_get_trusted_dir_servers constNick Mathewson2012-12-06
| | | |
* | | | Mention that dist-geoip6 was bug 7655Nick Mathewson2012-12-11
| | | |
* | | | Fix some wide linesNick Mathewson2012-12-07
| | | |
* | | | Merge branch 'win64-7260'Nick Mathewson2012-12-07
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: src/or/dns.c
| * | | | In the unit tests, use "test_eq_ptr" and "test_neq_ptr" consistentlyNick Mathewson2012-11-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is part of what's needed to build without warnings on mingw64: it was warning about the cast from void* to long that happened in the places we were using test_{n,}eq on pointers. The alternative here would have been to broaden tt_int_op to accept a long long or an intptr_t, but that's less correct (since pointers aren't integers), and would hurt the portability of tinytest a little. Fixes part of 7260.
| * | | | Add a TOR_SOCKET_T_FORMAT construction for logging sockets.Nick Mathewson2012-11-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | Add a PID_T_FORMAT for writing pids to logsNick Mathewson2012-11-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is based on code by yayooo for 7260, but: - It allows for SIZEOF_PID_T == SIZEOF_SHORT - It addresses some additional cases where we weren't getting any warnings only because we were casting pid_t to int.
| * | | | Remove an unused variable; part of mingw64 patch from yayoooNick Mathewson2012-11-02
| | | | |
| * | | | Compile (with warnings) with mingw64Nick Mathewson2012-11-02
| | | | | | | | | | | | | | | | | | | | Patch from yayooo for bug 7260, forward-ported to 0.2.4.
* | | | | Fix infinite loop in circuit_expire_buldingNick Mathewson2012-12-07
| | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 7663; bug introduced in 42e3c04a7a5fb47a9. Not in any released version of Tor.
* | | | | Expand the manpage to say: watch out for nonlocal socksNick Mathewson2012-12-07
| | | | | | | | | | | | | | | | | | | | This clears up the remaining issue stopping me from closing bug 6297.