]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
12 years agoDirectory guard implementation.
Nick Mathewson [Tue, 11 Dec 2012 17:44:18 +0000 (12:44 -0500)] 
Directory guard implementation.

Implements proposal 207; ticket 6526.

12 years agoRemember which of our guards are directory caches
Nick Mathewson [Tue, 11 Dec 2012 16:43:27 +0000 (11:43 -0500)] 
Remember which of our guards are directory caches

12 years agoSplit choosing a regular directory into its own fn
Nick Mathewson [Tue, 11 Dec 2012 16:25:36 +0000 (11:25 -0500)] 
Split choosing a regular directory into its own fn

12 years agoOne last fix for a warning on non-EC systems
Nick Mathewson [Wed, 26 Dec 2012 03:12:18 +0000 (22:12 -0500)] 
One last fix for a warning on non-EC systems

12 years agoMerge branch 'tls_ecdhe_rebased_v2'
Nick Mathewson [Wed, 26 Dec 2012 03:10:57 +0000 (22:10 -0500)] 
Merge branch 'tls_ecdhe_rebased_v2'

12 years agoBe more noncomittal about performance improvement of uint128 backend.
Nick Mathewson [Wed, 26 Dec 2012 02:08:42 +0000 (21:08 -0500)] 
Be more noncomittal about performance improvement of uint128 backend.

12 years agoMake ECDHE group configurable: 224 for public, 256 for bridges (default)
Nick Mathewson [Wed, 26 Dec 2012 01:04:54 +0000 (20:04 -0500)] 
Make ECDHE group configurable: 224 for public, 256 for bridges (default)

12 years agoInform the user if they're passing up a 10x ECDH speedup.
Nick Mathewson [Tue, 25 Dec 2012 22:39:09 +0000 (17:39 -0500)] 
Inform the user if they're passing up a 10x ECDH speedup.

12 years agoAdd benchmark for DH handshake and ECDH-P-224/56 handshake
Nick Mathewson [Wed, 28 Nov 2012 19:14:35 +0000 (14:14 -0500)] 
Add benchmark for DH handshake and ECDH-P-224/56 handshake

12 years agoLet servers choose better ciphersuites when clients support them
Nick Mathewson [Wed, 28 Nov 2012 18:31:17 +0000 (13:31 -0500)] 
Let servers choose better ciphersuites when clients support them

This implements the server-side of proposal 198 by detecting when
clients lack the magic list of ciphersuites that indicates that
they're lying faking some ciphers they don't really have.  When
clients lack this list, we can choose any cipher that we'd actually
like.  The newly allowed ciphersuites are, currently, "All ECDHE-RSA
ciphers that openssl supports, except for ECDHE-RSA-RC4".

The code to detect the cipher list relies on on (ab)use of
SSL_set_session_secret_cb.

12 years agoRemove the address argument from client cipher classification fns
Nick Mathewson [Wed, 28 Nov 2012 17:35:02 +0000 (12:35 -0500)] 
Remove the address argument from client cipher classification fns

12 years agoCache the type of client cipher list we have in the tor_tls_t
Nick Mathewson [Wed, 28 Nov 2012 17:06:57 +0000 (12:06 -0500)] 
Cache the type of client cipher list we have in the tor_tls_t

We already use this classification for deciding whether (as a server)
to do a v2/v3 handshake, and we're about to start using it for
deciding whether we can use good ciphersuites too.

12 years agoprop198: Detect the list of ciphersuites we used to lie about having
Nick Mathewson [Tue, 27 Nov 2012 04:19:32 +0000 (23:19 -0500)] 
prop198: Detect the list of ciphersuites we used to lie about having

This is less easy than you might think; we can't just look at the
client ciphers list, since openssl doesn't remember client ciphers if
it doesn't know about them.  So we have to keep a list of the "v2"
ciphers, with the ones we don't know about removed.

12 years agoConfigure SSL context to know about using P-256 for ECDHE.
Nick Mathewson [Tue, 27 Nov 2012 04:19:02 +0000 (23:19 -0500)] 
Configure SSL context to know about using P-256 for ECDHE.

12 years agobump to 0.2.4.7-alpha-dev
Roger Dingledine [Tue, 25 Dec 2012 07:52:53 +0000 (02:52 -0500)] 
bump to 0.2.4.7-alpha-dev

12 years agoadd a blurb for 0.2.4.7-alpha too tor-0.2.4.7-alpha
Roger Dingledine [Mon, 24 Dec 2012 09:19:18 +0000 (04:19 -0500)] 
add a blurb for 0.2.4.7-alpha too

12 years agobump to 0.2.4.7-alpha
Roger Dingledine [Mon, 24 Dec 2012 09:04:04 +0000 (04:04 -0500)] 
bump to 0.2.4.7-alpha

12 years agofold in changes files so far
Roger Dingledine [Mon, 24 Dec 2012 09:01:44 +0000 (04:01 -0500)] 
fold in changes files so far

12 years agoWhen there are no dir_server_ts to choose, don't crash
Nick Mathewson [Wed, 19 Dec 2012 02:32:53 +0000 (21:32 -0500)] 
When there are no dir_server_ts to choose, don't crash

It's important not to call choose_array_element_by_weight and then
pass its return value unchecked to smartlist_get : it is allowed to
return -1.

Fixes bug 7756; bugfix on 4e3d07a6 (not in any released Tor)

12 years agoAdd packaged cell fullness to the heartbeat message.
Nick Mathewson [Tue, 18 Dec 2012 20:16:35 +0000 (15:16 -0500)] 
Add packaged cell fullness to the heartbeat message.

This is an attempt to diagnose the severity of bug 7743.

12 years agoRemove the obsolete doc/TODO.* files
Nick Mathewson [Tue, 18 Dec 2012 03:26:05 +0000 (22:26 -0500)] 
Remove the obsolete doc/TODO.* files

Closes bug #7730.

12 years agoMerge branch 'ticket7570_7571'
Nick Mathewson [Mon, 17 Dec 2012 20:49:09 +0000 (15:49 -0500)] 
Merge branch 'ticket7570_7571'

Conflicts:
src/or/routerlist.c

12 years agoDrop the maximum attempts to get a virtual address to 1000.
Nick Mathewson [Sun, 25 Nov 2012 22:19:25 +0000 (17:19 -0500)] 
Drop the maximum attempts to get a virtual address to 1000.

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.

12 years agoDescribe IPv6 automap changes
Nick Mathewson [Sun, 25 Nov 2012 21:43:32 +0000 (16:43 -0500)] 
Describe IPv6 automap changes

12 years agoDocument PreferIPv6Automap in the manpage
Nick Mathewson [Sun, 25 Nov 2012 20:33:07 +0000 (15:33 -0500)] 
Document PreferIPv6Automap in the manpage

12 years agoAdd missing doxygen for DNS and automap code
Nick Mathewson [Sun, 25 Nov 2012 20:12:44 +0000 (15:12 -0500)] 
Add missing doxygen for DNS and automap code

12 years agoPer-listener option to prefer IPv6 automaps when possible.
Nick Mathewson [Sun, 25 Nov 2012 19:51:36 +0000 (14:51 -0500)] 
Per-listener option to prefer IPv6 automaps when possible.

12 years agoBuild and test most of the machinery needed for IPv6 virtualaddrmaps
Nick Mathewson [Fri, 23 Nov 2012 22:31:53 +0000 (17:31 -0500)] 
Build and test most of the machinery needed for IPv6 virtualaddrmaps

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.

12 years agoRefactor the code to check if an address is matched by automapsuffixes
Nick Mathewson [Sun, 25 Nov 2012 19:31:35 +0000 (14:31 -0500)] 
Refactor the code to check if an address is matched by automapsuffixes

12 years agoFix another uninitialized var warning from GCC
Nick Mathewson [Thu, 6 Dec 2012 17:26:10 +0000 (12:26 -0500)] 
Fix another uninitialized var warning from GCC

12 years agoFixed an unused-variable warning
Nick Mathewson [Thu, 6 Dec 2012 16:45:06 +0000 (11:45 -0500)] 
Fixed an unused-variable warning

12 years agoDon't use the cache when changing an IP address because of an exit policy
Nick Mathewson [Wed, 28 Nov 2012 01:53:09 +0000 (20:53 -0500)] 
Don't use the cache when changing an IP address because of an exit policy

12 years agochanges entry for disabling cache usage by default
Nick Mathewson [Sun, 25 Nov 2012 21:45:24 +0000 (16:45 -0500)] 
changes entry for disabling cache usage by default

12 years agoTurn off by-default use of client-side DNS cacheing.
Nick Mathewson [Sun, 25 Nov 2012 20:36:35 +0000 (15:36 -0500)] 
Turn off by-default use of client-side DNS cacheing.

12 years agoRefactor port_cfg_t creation into a port_cfg_new() function
Nick Mathewson [Sun, 25 Nov 2012 19:57:10 +0000 (14:57 -0500)] 
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.

12 years agoChanges file for new DNS caching options
Nick Mathewson [Sun, 25 Nov 2012 21:38:29 +0000 (16:38 -0500)] 
Changes file for new DNS caching options

12 years agoAdd documentation for the client-side DNS cache options
Nick Mathewson [Sun, 25 Nov 2012 20:30:11 +0000 (15:30 -0500)] 
Add documentation for the client-side DNS cache options

12 years agoImplement option to turn off DNS cache modification by a client port
Nick Mathewson [Sun, 25 Nov 2012 18:45:36 +0000 (13:45 -0500)] 
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)

12 years agoImplement option to turn off DNS cache use on a client port
Nick Mathewson [Sun, 25 Nov 2012 18:45:36 +0000 (13:45 -0500)] 
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.)

12 years agoOops: make the check for not adding ip->ip DNS maps correct
Nick Mathewson [Sun, 25 Nov 2012 18:38:27 +0000 (13:38 -0500)] 
Oops: make the check for not adding ip->ip DNS maps correct

12 years agoAdd options to turn DNS cache use on or off per client port.
Nick Mathewson [Sun, 25 Nov 2012 18:18:26 +0000 (13:18 -0500)] 
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.)

12 years agoOops; make DNSPort configuration take address family options
Nick Mathewson [Sun, 25 Nov 2012 18:24:37 +0000 (13:24 -0500)] 
Oops; make DNSPort configuration take address family options

12 years agoAvoid a 'may be used uninitialized' warning
Nick Mathewson [Mon, 17 Dec 2012 16:14:12 +0000 (11:14 -0500)] 
Avoid a 'may be used uninitialized' warning

Fixes bug 7746; bug not in any released version of Tor.

13 years agoNuke uses of memcmp outside of unit tests
Nick Mathewson [Thu, 13 Dec 2012 22:34:05 +0000 (17:34 -0500)] 
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.

13 years agoMerge remote-tracking branch 'origin/maint-0.2.3'
Nick Mathewson [Thu, 13 Dec 2012 17:52:44 +0000 (12:52 -0500)] 
Merge remote-tracking branch 'origin/maint-0.2.3'

Conflicts:
src/config/geoip

13 years agoMerge remote-tracking branch 'origin/maint-0.2.2' into maint-0.2.3
Nick Mathewson [Thu, 13 Dec 2012 17:51:28 +0000 (12:51 -0500)] 
Merge remote-tracking branch 'origin/maint-0.2.2' into maint-0.2.3

13 years agoNote that fallback_dirsource was proposal 206, bug 572.
Nick Mathewson [Thu, 13 Dec 2012 17:47:46 +0000 (12:47 -0500)] 
Note that fallback_dirsource was proposal 206, bug 572.

13 years agoFix two wide lines in config.c
Nick Mathewson [Thu, 13 Dec 2012 17:44:17 +0000 (12:44 -0500)] 
Fix two wide lines in config.c

13 years agoMerge branch 'fallback_dirsource_v3'
Nick Mathewson [Thu, 13 Dec 2012 17:42:29 +0000 (12:42 -0500)] 
Merge branch 'fallback_dirsource_v3'

13 years agoAdd link explaining how the geoip file was created.
Karsten Loesing [Thu, 13 Dec 2012 07:45:25 +0000 (08:45 +0100)] 
Add link explaining how the geoip file was created.

13 years agoUpdate to the December 2012 GeoIP database.
Karsten Loesing [Thu, 6 Dec 2012 10:29:47 +0000 (11:29 +0100)] 
Update to the December 2012 GeoIP database.

13 years agoUpdate to the November 2012 GeoIP database.
Karsten Loesing [Wed, 28 Nov 2012 02:26:52 +0000 (21:26 -0500)] 
Update to the November 2012 GeoIP database.

13 years agoMention that dist-geoip6 was bug 7655
Nick Mathewson [Tue, 11 Dec 2012 23:11:49 +0000 (18:11 -0500)] 
Mention that dist-geoip6 was bug 7655

13 years agoFix some wide lines
Nick Mathewson [Fri, 7 Dec 2012 19:14:20 +0000 (14:14 -0500)] 
Fix some wide lines

13 years agoMerge branch 'win64-7260'
Nick Mathewson [Fri, 7 Dec 2012 19:12:17 +0000 (14:12 -0500)] 
Merge branch 'win64-7260'

Conflicts:
src/or/dns.c

13 years agoFix infinite loop in circuit_expire_bulding
Nick Mathewson [Fri, 7 Dec 2012 19:08:07 +0000 (14:08 -0500)] 
Fix infinite loop in circuit_expire_bulding

Fixes bug 7663; bug introduced in 42e3c04a7a5fb47a9.  Not in any
released version of Tor.

13 years agoExpand the manpage to say: watch out for nonlocal socks
Nick Mathewson [Fri, 7 Dec 2012 17:42:02 +0000 (12:42 -0500)] 
Expand the manpage to say: watch out for nonlocal socks

This clears up the remaining issue stopping me from closing bug 6297.

13 years agoMerge remote-tracking branch 'karsten/task-6266'
Nick Mathewson [Fri, 7 Dec 2012 16:39:56 +0000 (11:39 -0500)] 
Merge remote-tracking branch 'karsten/task-6266'

13 years agoMerge branch 'bug7306'
Nick Mathewson [Fri, 7 Dec 2012 16:11:26 +0000 (11:11 -0500)] 
Merge branch 'bug7306'

13 years agoMerge remote-tracking branch 'public/bug6887'
Nick Mathewson [Fri, 7 Dec 2012 16:02:27 +0000 (11:02 -0500)] 
Merge remote-tracking branch 'public/bug6887'

13 years agoMerge branch 'bug3443_squashed'
Nick Mathewson [Fri, 7 Dec 2012 15:35:41 +0000 (10:35 -0500)] 
Merge branch 'bug3443_squashed'

13 years agoBug 3443: Don't count ORconn setup in circuit build time.
Mike Perry [Fri, 26 Oct 2012 00:43:10 +0000 (17:43 -0700)] 
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.

13 years agoDrop FallbackNetworkstatusFile; it never worked.
Nick Mathewson [Wed, 10 Oct 2012 04:08:35 +0000 (00:08 -0400)] 
Drop FallbackNetworkstatusFile; it never worked.

13 years agoAdd an option to weight down authorities when choosing a fallback
Nick Mathewson [Wed, 12 Sep 2012 17:56:36 +0000 (13:56 -0400)] 
Add an option to weight down authorities when choosing a fallback

13 years agoAdd a way to configure selection weights for dir_server_t
Nick Mathewson [Wed, 12 Sep 2012 17:30:09 +0000 (13:30 -0400)] 
Add a way to configure selection weights for dir_server_t

13 years agoWhen choosing among dirserver_ts, consider their weights
Nick Mathewson [Wed, 12 Sep 2012 16:44:18 +0000 (12:44 -0400)] 
When choosing among dirserver_ts, consider their weights

13 years agoNew FallbackDir option to add extra directories for bootstraping
Nick Mathewson [Mon, 10 Sep 2012 22:13:28 +0000 (18:13 -0400)] 
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.

13 years agoRefactor add_trusted_dir_server
Nick Mathewson [Mon, 10 Sep 2012 20:33:19 +0000 (16:33 -0400)] 
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.

13 years agoRename trusted_dir_server_t to dir_server_t. Automatic renaming.
Nick Mathewson [Mon, 10 Sep 2012 19:55:27 +0000 (15:55 -0400)] 
Rename trusted_dir_server_t to dir_server_t. Automatic renaming.

13 years agoRename DirServer to DirAuthority
Nick Mathewson [Mon, 10 Sep 2012 19:54:16 +0000 (15:54 -0400)] 
Rename DirServer to DirAuthority

13 years agoStart refactoring trusted_dir_servers into trusted and fallback lists
Nick Mathewson [Mon, 10 Sep 2012 19:23:39 +0000 (15:23 -0400)] 
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.

13 years agoCorrect moribund logic about caching v2 networkstatuses
Nick Mathewson [Sat, 8 Sep 2012 03:01:53 +0000 (23:01 -0400)] 
Correct moribund logic about caching v2 networkstatuses

13 years agoMake output of router_get_trusted_dir_servers const
Nick Mathewson [Sat, 8 Sep 2012 02:55:53 +0000 (22:55 -0400)] 
Make output of router_get_trusted_dir_servers const

13 years agoUse FreeLibrary, not CloseHandle, for library in test_util.c
Nick Mathewson [Thu, 6 Dec 2012 15:59:02 +0000 (10:59 -0500)] 
Use FreeLibrary, not CloseHandle, for library in test_util.c

Fix for bug 7306. Bugfix on 0.2.2.17-alpha.

13 years agoUpdate to the December 2012 GeoIP database.
Karsten Loesing [Thu, 6 Dec 2012 10:29:47 +0000 (11:29 +0100)] 
Update to the December 2012 GeoIP database.

13 years agoMerge remote-tracking branch 'asn/bug7592_take2'
Nick Mathewson [Wed, 5 Dec 2012 02:47:45 +0000 (21:47 -0500)] 
Merge remote-tracking branch 'asn/bug7592_take2'

13 years agoReturn connection_exit_connect() if payload creation failed.
George Kadianakis [Wed, 5 Dec 2012 02:32:11 +0000 (04:32 +0200)] 
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.

13 years agofix some typos
Roger Dingledine [Mon, 3 Dec 2012 18:33:43 +0000 (13:33 -0500)] 
fix some typos

13 years agoMerge branch 'bug7013_take2_squashed'
Nick Mathewson [Wed, 28 Nov 2012 03:18:16 +0000 (22:18 -0500)] 
Merge branch 'bug7013_take2_squashed'

13 years agoIntroduce tor_addr_port_parse() and use it to parse ServerTransportListenAddr.
George Kadianakis [Tue, 27 Nov 2012 22:24:58 +0000 (00:24 +0200)] 
Introduce tor_addr_port_parse() and use it to parse ServerTransportListenAddr.

13 years agoAdd a torrc option to specify the bind address of managed proxies.
George Kadianakis [Tue, 30 Oct 2012 02:17:13 +0000 (04:17 +0200)] 
Add a torrc option to specify the bind address of managed proxies.

13 years agoUpdate to the November 2012 GeoIP database.
Karsten Loesing [Wed, 28 Nov 2012 02:26:52 +0000 (21:26 -0500)] 
Update to the November 2012 GeoIP database.

13 years agoAdd script to fix "A1" entries in geoip file.
Karsten Loesing [Wed, 28 Nov 2012 02:22:58 +0000 (21:22 -0500)] 
Add script to fix "A1" entries in geoip file.

Fixes #6266.

13 years agoMake sure that the error in ADDRMAP events is well-formed
Nick Mathewson [Fri, 23 Nov 2012 16:36:44 +0000 (11:36 -0500)] 
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).

13 years agoMinor documentation fix
Nick Mathewson [Fri, 23 Nov 2012 15:51:11 +0000 (10:51 -0500)] 
Minor documentation fix

13 years agoNote limitation of parse_rfc_1123_time
Nick Mathewson [Fri, 23 Nov 2012 15:06:16 +0000 (10:06 -0500)] 
Note limitation of parse_rfc_1123_time

RFC1123 suggests that we should handle two-year times, and a full
range of time zones, and other stuff too.  We don't.

13 years agoIn comments and logs, say "UTC" not "GMT"
Nick Mathewson [Fri, 23 Nov 2012 15:05:16 +0000 (10:05 -0500)] 
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.

13 years agoRefer to RFC 4648 instead of the obsolete RFC 3548
Nick Mathewson [Fri, 23 Nov 2012 14:51:31 +0000 (09:51 -0500)] 
Refer to RFC 4648 instead of the obsolete RFC 3548

Affects comments only. For ticket 6849.

13 years agoforward-port the 0.2.3.25 changelog and release notes
Roger Dingledine [Tue, 20 Nov 2012 08:46:56 +0000 (03:46 -0500)] 
forward-port the 0.2.3.25 changelog and release notes

13 years agoMerge branch 'bug7493_redux'
Nick Mathewson [Sun, 18 Nov 2012 23:46:57 +0000 (18:46 -0500)] 
Merge branch 'bug7493_redux'

13 years agoInitialize ipv{4,6}_traffic_ok in entry_connection_new
Nick Mathewson [Sun, 18 Nov 2012 22:15:41 +0000 (17:15 -0500)] 
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.

13 years agowhen counting available descs, say whether we're counting exits
Roger Dingledine [Fri, 16 Nov 2012 16:38:56 +0000 (11:38 -0500)] 
when counting available descs, say whether we're counting exits

13 years agoGive useful warning when both IPv4 and IPv6 are disabled on a socksport
Nick Mathewson [Fri, 16 Nov 2012 03:58:54 +0000 (22:58 -0500)] 
Give useful warning when both IPv4 and IPv6 are disabled on a socksport

13 years agoAllow IPv4 traffic on default and old-style-config SocksPorts.
Nick Mathewson [Fri, 16 Nov 2012 03:49:43 +0000 (22:49 -0500)] 
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.

13 years agoMerge branch 'ipv6_exits'
Nick Mathewson [Thu, 15 Nov 2012 19:45:15 +0000 (14:45 -0500)] 
Merge branch 'ipv6_exits'

13 years agoSet IPv4/IPv6 flags correctly when being a SOCKS client
Nick Mathewson [Thu, 15 Nov 2012 18:00:19 +0000 (13:00 -0500)] 
Set IPv4/IPv6 flags correctly when being a SOCKS client

13 years agoRemove some XXXX commens in dns.c
Nick Mathewson [Thu, 15 Nov 2012 17:17:36 +0000 (12:17 -0500)] 
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.

13 years agoFix up some comments in connection_edge.c
Nick Mathewson [Thu, 15 Nov 2012 17:17:30 +0000 (12:17 -0500)] 
Fix up some comments in connection_edge.c

13 years agoAdd a changes file for IPv6 exits
Nick Mathewson [Thu, 15 Nov 2012 04:35:55 +0000 (23:35 -0500)] 
Add a changes file for IPv6 exits

13 years agoAdd manual page entries for new IPv6-exits options
Nick Mathewson [Thu, 15 Nov 2012 04:35:13 +0000 (23:35 -0500)] 
Add manual page entries for new IPv6-exits options