summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-12-17Merge branch 'ticket7570_7571'Nick Mathewson
Conflicts: src/or/routerlist.c
2012-12-17Drop the maximum attempts to get a virtual address to 1000.Nick Mathewson
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.
2012-12-17Describe IPv6 automap changesNick Mathewson
2012-12-17Document PreferIPv6Automap in the manpageNick Mathewson
2012-12-17Add missing doxygen for DNS and automap codeNick Mathewson
2012-12-17Per-listener option to prefer IPv6 automaps when possible.Nick Mathewson
2012-12-17Build and test most of the machinery needed for IPv6 virtualaddrmapsNick Mathewson
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.
2012-12-17Refactor the code to check if an address is matched by automapsuffixesNick Mathewson
2012-12-17Fix another uninitialized var warning from GCCNick Mathewson
2012-12-17Fixed an unused-variable warningNick Mathewson
2012-12-17Don't use the cache when changing an IP address because of an exit policyNick Mathewson
2012-12-17changes entry for disabling cache usage by defaultNick Mathewson
2012-12-17Turn off by-default use of client-side DNS cacheing.Nick Mathewson
2012-12-17Refactor port_cfg_t creation into a port_cfg_new() functionNick Mathewson
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.
2012-12-17Changes file for new DNS caching optionsNick Mathewson
2012-12-17Add documentation for the client-side DNS cache optionsNick Mathewson
2012-12-17Implement option to turn off DNS cache modification by a client portNick Mathewson
(This is part 3 of making DNS cache use enabled/disabled on a per-client port basis. This implements the UseCacheIPv[46]DNS options)
2012-12-17Implement option to turn off DNS cache use on a client portNick Mathewson
(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.)
2012-12-17Oops: make the check for not adding ip->ip DNS maps correctNick Mathewson
2012-12-17Add options to turn DNS cache use on or off per client port.Nick Mathewson
(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.)
2012-12-17Oops; make DNSPort configuration take address family optionsNick Mathewson
2012-12-17Avoid a 'may be used uninitialized' warningNick Mathewson
Fixes bug 7746; bug not in any released version of Tor.
2012-12-13Nuke uses of memcmp outside of unit testsNick Mathewson
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.
2012-12-13Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson
Conflicts: src/config/geoip
2012-12-13Merge remote-tracking branch 'origin/maint-0.2.2' into maint-0.2.3Nick Mathewson
2012-12-13Note that fallback_dirsource was proposal 206, bug 572.Nick Mathewson
2012-12-13Fix two wide lines in config.cNick Mathewson
2012-12-13Merge branch 'fallback_dirsource_v3'Nick Mathewson
2012-12-13Add link explaining how the geoip file was created.Karsten Loesing
2012-12-13Update to the December 2012 GeoIP database.Karsten Loesing
2012-12-13Update to the November 2012 GeoIP database.Karsten Loesing
2012-12-11Mention that dist-geoip6 was bug 7655Nick Mathewson
2012-12-07Fix some wide linesNick Mathewson
2012-12-07Merge branch 'win64-7260'Nick Mathewson
Conflicts: src/or/dns.c
2012-12-07Fix infinite loop in circuit_expire_buldingNick Mathewson
Fixes bug 7663; bug introduced in 42e3c04a7a5fb47a9. Not in any released version of Tor.
2012-12-07Expand the manpage to say: watch out for nonlocal socksNick Mathewson
This clears up the remaining issue stopping me from closing bug 6297.
2012-12-07Merge remote-tracking branch 'karsten/task-6266'Nick Mathewson
2012-12-07Merge branch 'bug7306'Nick Mathewson
2012-12-07Merge remote-tracking branch 'public/bug6887'Nick Mathewson
2012-12-07Merge branch 'bug3443_squashed'Nick Mathewson
2012-12-07Bug 3443: Don't count ORconn setup in circuit build time.Mike Perry
Also, add a hack Roger suggested where we're more patient if no circuits are opened yet.
2012-12-06Drop FallbackNetworkstatusFile; it never worked.Nick Mathewson
2012-12-06Add an option to weight down authorities when choosing a fallbackNick Mathewson
2012-12-06Add a way to configure selection weights for dir_server_tNick Mathewson
2012-12-06When choosing among dirserver_ts, consider their weightsNick Mathewson
2012-12-06New FallbackDir option to add extra directories for bootstrapingNick Mathewson
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.
2012-12-06Refactor add_trusted_dir_serverNick Mathewson
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.
2012-12-06Rename trusted_dir_server_t to dir_server_t. Automatic renaming.Nick Mathewson
2012-12-06Rename DirServer to DirAuthorityNick Mathewson
2012-12-06Start refactoring trusted_dir_servers into trusted and fallback listsNick Mathewson
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.