tor/changes
Nick Mathewson dfe03d36c8 Don't infer we have a FooPort from the presence of a FooPort line
Thanks to the changes we started making with SocksPort and friends
in 0.2.3.3-alpha, any of our code that did "if (options->Sockport)"
became wrong, since "SocksPort 0" would make that test true whereas
using the default SocksPort value would make it false.  (We didn't
actually do "if (options->SockPort)" but we did have tests for
TransPort.  When we moved DirPort, ORPort, and ControlPort over to
the same system in 0.2.3.9-alpha, the problem got worse, since our
code is littered with checks for DirPort and ORPort as booleans.

This code renames the current linelist-based FooPort options to
FooPort_lines, and adds new FooPort_set options which get set at
parse-and-validate time on the or_options_t.  FooPort_set is true
iff we will actually try to open a listener of the given type. (I
renamed the FooPort options rather than leave them alone so that
every previous user of a FooPort would need to get inspected, and so
that any new code that forgetfully uses FooPort will need fail to
compile.)

Fix for bug 6507.
2012-08-09 15:48:43 -04:00
..
bug6043 changelog for bug6043 2012-07-31 11:49:20 -04:00
bug6218 Fix port range in parse_port_range(). 2012-07-06 08:02:14 -04:00
bug6252_again Have the bug6252 commit message reflect its on-again/off-again status 2012-07-18 10:24:17 -04:00
bug6271 Fix a bug handling SENDME cells on nonexistent streams. 2012-07-06 07:29:54 -04:00
bug6274 Better handling of server managed proxies when Tor is not a relay. 2012-07-18 20:01:02 +02:00
bug6274_2 Better handling of server managed proxies when Tor is not a relay. 2012-07-18 20:01:02 +02:00
bug6296 On windows, ENOBUFS starts with WSA. #6296. Fix on 0.2.18-rc 2012-07-05 05:01:00 -04:00
bug6377 Allow TestingTorNetwork when alternate dir and bridge authorities are set. 2012-07-17 09:35:38 -04:00
bug6387 Improve Alternate*Authority docs. Bug 6387. 2012-07-16 11:21:20 -04:00
bug6397 Refer to the correct variable in a loop when parsing entry guard state 2012-07-16 11:49:45 -04:00
bug6436 changes file for bug 6436. 2012-07-20 09:50:19 -04:00
bug6480 Avoid hard (impossible?)-to-trigger double-free in dns_resolve() 2012-07-31 17:19:17 -04:00
bug6490 Warn when accounting is used in a way likely to link hidden services 2012-07-31 10:28:16 -04:00
bug6500 Fix some manpage typos 2012-07-31 10:16:03 -04:00
bug6507 Don't infer we have a FooPort from the presence of a FooPort line 2012-08-09 15:48:43 -04:00
bug6530 Clarify security impact of bug 6530 2012-08-03 11:16:13 -04:00
cov709056 Coverity 709056: Check return value on fputs in tor-gencert 2012-07-16 11:38:39 -04:00
pathsel-BUGGY-a Try to clarify impact of bug 6537 2012-08-03 11:54:11 -04:00
port_doc Improve message on spurious SOCKSListenAddress 2012-07-17 12:02:55 -04:00
revert-geoip-may2012 Revert to the May 2012 geoip db 2012-07-06 16:29:51 -04:00
smartlist_foreach Tweaks to 6400 changes file and docs as suggested by arma 2012-07-18 10:12:19 -04:00