tor/src/or
Linus Nordberg e04e1a2e7d Clients connect to public relays over IPv6.
Add ClientUseIPv6 and ClientPreferIPv6ORPort configuration options.

Use "preferred OR port" for all entry nodes, not only for bridges.

Mark bridges with "prefer IPv6 OR port" if an IPv6 address is
configured in Bridge line and ClientPreferIPv6ORPort is set.

Mark relays with "prefer IPv6 OR port" if an IPv6 address is found in
descriptor and ClientPreferIPv6ORPort is set.

Filter "preferred OR port" through the ClientUseIPv6 config option. We
might want to move this test to where actual connection is being set
up once we have a fall back mechanism in place.

Have only non-servers pick an IPv6 address for the first hop: We
don't want relays to connect over IPv6 yet. (IPv6 has never been used
for second or third hops.)

Implements ticket 5535.
2012-09-04 12:57:21 -04:00
..
buffers.c Remove tor_malloc_roundup(). 2012-08-13 13:27:32 -04:00
buffers.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
circuitbuild.c Clients connect to public relays over IPv6. 2012-09-04 12:57:21 -04:00
circuitbuild.h Move ipv6_preferred from routerinfo_t to node_t. 2012-08-23 22:13:12 +02:00
circuitlist.c Triage the XXX023 and XXX022 comments: postpone many. 2012-06-15 15:07:52 -04:00
circuitlist.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
circuituse.c Triage the XXX023 and XXX022 comments: postpone many. 2012-06-15 15:07:52 -04:00
circuituse.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
command.c Fetch IPv6 address from NETINFO "other OR's address" field. 2012-08-21 18:43:36 +02:00
command.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
config_codedigest.c Resolve about 24 DOCDOCs 2012-06-05 00:17:54 -04:00
config.c Clients connect to public relays over IPv6. 2012-09-04 12:57:21 -04:00
config.h whitespace fix 2012-08-17 17:10:03 -04:00
connection_edge.c Change all SMARTLIST_FOREACH loops of >=10 lines to use BEGIN/END 2012-07-17 10:34:08 -04:00
connection_edge.h Merge remote-tracking branch 'public/bug3940_redux' 2012-06-13 11:40:38 -04:00
connection_or.c Send IPv6 address in NETINFO cells. 2012-08-20 17:01:18 +02:00
connection_or.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
connection.c Fix whitespace 2012-08-27 10:53:40 -04:00
connection.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
control.c Merge remote-tracking branch 'origin/maint-0.2.3' 2012-08-17 12:39:31 -04:00
control.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
cpuworker.c Change all SMARTLIST_FOREACH loops of >=10 lines to use BEGIN/END 2012-07-17 10:34:08 -04:00
cpuworker.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
directory.c Don't infer we have a FooPort from the presence of a FooPort line 2012-08-09 15:48:43 -04:00
directory.h Don't infer we have a FooPort from the presence of a FooPort line 2012-08-09 15:48:43 -04:00
dirserv.c Merge remote-tracking branch 'linus/bug6621' 2012-08-21 10:21:53 -04:00
dirserv.h Add last_reachable and testing_since for IPv6 OR port. 2012-07-19 18:21:20 +02:00
dirvote.c Merge remote-tracking branch 'public/bug6404' into maint-0.2.3 2012-08-21 10:35:40 -04:00
dirvote.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
dns.c When iterating over connections pending DNS, skip marked ones 2012-08-17 16:46:11 -04:00
dns.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
dnsserv.c Triage the XXX023 and XXX022 comments: postpone many. 2012-06-15 15:07:52 -04:00
dnsserv.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
eventdns_tor.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
eventdns.c Be more careful calling wcstombs 2012-06-07 11:09:38 -04:00
eventdns.h Use the standard _WIN32, not the Torism MS_WINDOWS or deprecated WIN32 2012-01-31 15:48:47 -05:00
geoip.c Change all SMARTLIST_FOREACH loops of >=10 lines to use BEGIN/END 2012-07-17 10:34:08 -04:00
geoip.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
hibernate.c Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
hibernate.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
include.am build: minimal adjustments to make out-of-tree build work 2012-08-27 10:00:22 -04:00
main.c Merge remote-tracking branch 'arma/feature6758' 2012-09-04 10:16:15 -04:00
main.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
Makefile.nmake Be a good git person: store nmakefiles in correct text fmt 2012-05-14 13:01:05 -04:00
microdesc.c Don't log about reloading the microdescriptor cache at startup 2012-09-03 18:50:27 -04:00
microdesc.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
networkstatus.c Fix the remaining instances of nexted SMARTLIST_FOREACH 2012-07-17 10:41:24 -04:00
networkstatus.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
nodelist.c Clients connect to public relays over IPv6. 2012-09-04 12:57:21 -04:00
nodelist.h Clients connect to public relays over IPv6. 2012-09-04 12:57:21 -04:00
ntmain.c Be more careful calling wcstombs 2012-06-07 11:09:38 -04:00
ntmain.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
onion.c Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
onion.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
or.h Clients connect to public relays over IPv6. 2012-09-04 12:57:21 -04:00
policies.c Merge remote-tracking branch 'origin/maint-0.2.3' 2012-08-27 16:09:29 -04:00
policies.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
reasons.c Merge remote-tracking branch 'public/bug4710' 2012-06-05 10:16:28 -04:00
reasons.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
relay.c Fix whitespace 2012-08-27 10:53:40 -04:00
relay.h Move tor_gettimeofday_cached() into compat_libevent 2012-06-15 15:07:53 -04:00
rendclient.c Appease make check-spaces 2012-06-15 21:48:15 -07:00
rendclient.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
rendcommon.c Use new replaycache_t structure for replay detection in rend_service_introduce() 2012-07-31 17:08:12 -04:00
rendcommon.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
rendmid.c Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
rendmid.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
rendservice.c Avoid spurious warnings in rend_service_introduce 2012-08-21 10:15:52 -04:00
rendservice.h Refactor INTRODUCE2 parsing code in rend_service_introduce() 2012-07-31 17:08:12 -04:00
rephist.c Never emit the "opt" prefix in any directory stuff 2012-06-28 15:47:07 -04:00
rephist.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
replaycache.c Implement replaycache_t for bug 6177, and unit tests for the preceding 2012-07-31 17:08:05 -04:00
replaycache.h Implement replaycache_t for bug 6177, and unit tests for the preceding 2012-07-31 17:08:05 -04:00
router.c Fix whitespace 2012-08-27 10:53:40 -04:00
router.h Move ipv6_preferred from routerinfo_t to node_t. 2012-08-23 22:13:12 +02:00
routerlist.c resolve an XXX by agreeing with nickm 2012-09-03 22:15:04 -04:00
routerlist.h Rename routers_have_same_or_addr() to reflect the fact that it now checks both OR ports. 2012-07-19 18:21:22 +02:00
routerparse.c Merge remote-tracking branch 'public/bug6404' into maint-0.2.3 2012-08-21 10:35:40 -04:00
routerparse.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
status.c Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
status.h Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
tor_main.c Update copyright dates to 2012; add a few missing copyright statements 2012-06-04 20:58:17 -04:00
transports.c Address Nick's comments. 2012-07-12 15:28:43 +02:00
transports.h Address Nick's comments. 2012-07-12 15:28:43 +02:00