aboutsummaryrefslogtreecommitdiff
path: root/changes
Commit message (Collapse)AuthorAge
* Merge branch 'bug6524_nm'Nick Mathewson2012-08-27
|\
| * Changes file for nonrecursive make branchNick Mathewson2012-08-27
| |
* | Merge remote-tracking branch 'linus/bug6364'Nick Mathewson2012-08-27
|\ \
| * | Send IPv6 address in NETINFO cells.Linus Nordberg2012-08-20
| | | | | | | | | | | | Closes #6364.
* | | Merge remote-tracking branch 'linus/bug6362'Nick Mathewson2012-08-27
|\ \ \
| * | | Make all relays, not only bridges, capable of advertising an IPv6 OR port.Linus Nordberg2012-08-19
| | | | | | | | | | | | | | | | Closes #6362.
* | | | Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson2012-08-24
|\ \ \ \
| * \ \ \ Merge remote-tracking branch 'public/bug6472' into maint-0.2.3Nick Mathewson2012-08-24
| |\ \ \ \
| | * | | | When iterating over connections pending DNS, skip marked onesNick Mathewson2012-08-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Failure to do this would lead to double-free cases and similar, especially when the exit's DNS was broken. See bug 6472 for full details; this is a fix for 6472. Anonymous patch from "cypherpunks" on trac.
* | | | | | Move ipv6_preferred from routerinfo_t to node_t.Linus Nordberg2012-08-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move extend_info_from_router() from circuitbuild.c to router.c and make it static. Add get_configured_bridge_by_orports_digest() and have get_configured_bridge_by_routerinfo() and node_is_a_configured_bridge() use it. We now consider all OR ports of a bridge when looking for it. Move node_get_*_orport to nodelist.c. Fix a cut'n'paste error in header of nodelist.h. Add node_assert_ok(). Add router_get_all_orports(). It's duplicating code from node_get_all_orports(). Worth fixing at the cost of complicating the API slightly?
* | | | | | Remove #6480 fix from 0.2.2.38 changelog - it was not includedPeter Palfrader2012-08-22
| | | | | | | | | | | | | | | | | | | | | | | | (Forward-port from release-0.2.2 to master)
* | | | | | Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson2012-08-21
|\| | | | | | |_|_|/ / |/| | | |
| * | | | Merge remote-tracking branch 'public/bug6404' into maint-0.2.3Nick Mathewson2012-08-21
| |\ \ \ \ | | |/ / / | |/| | |
| | * | | Update description of what we did to upper limit on md sizeNick Mathewson2012-08-14
| | | | | | | | | | | | | | | | | | | | Spotted by asn
| | * | | Warn at parse time for routerstatus entry missing a microdesc consensusNick Mathewson2012-07-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In 0.2.3.18-rc, we started warning on this case while building a list of missing microdescriptor digests. That turned out to spam the logs; instead let's warn at parse time. Partial fix for bug 6404.
| | * | | Don't include a router in an md consensus if we can't find a md for it.Nick Mathewson2012-07-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The spec requires that every router in a microdesc consensus have an m line; we weren't obeying that spec. This creates a new consensus method (13) to allow voting to continue to work right. Partial fix for bug 6404; fix on 0.2.2.6-alpha.
| | * | | Allow microdescs to be up to 2k. Partial fix for 6404.Nick Mathewson2012-07-31
| | | | |
* | | | | Merge remote-tracking branch 'public/bug5124'Nick Mathewson2012-08-17
|\ \ \ \ \
| * | | | | Never emit the "opt" prefix in any directory stuffNick Mathewson2012-06-28
| | | | | | | | | | | | | | | | | | | | | | | | Fix for bug 5124.
* | | | | | Remove needless flush-on-write code.Nick Mathewson2012-08-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Long ago, before we had cell queues, it was necessary to maybe call connection_handle_write() from connectino_write_to_buf_impl() on OR connections, so that we wouldn't get into a loop of reading infinite amounts of data and queueing it all on an outbuf before bothering to write any data. If that doesn't sounds like what our code does now, you're right: right now, we won't stick more than OR_CONN_HIGHWATER bytes of cells on an outbuf, and we won't suck more than CELL_QUEUE_HIGHWATER_SIZE cells off any edge connection. So, there's no more call for that code. Removing this code will simplify our data flow, and that should be something we can all get behind.
* | | | | | Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson2012-08-17
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Consider IPv6 OR ports when deciding whether a routerinfo change is cosmetic.Linus Nordberg2012-08-17
| | | | | | | | | | | | | | | | | | | | | | | | Closes #6423.
* | | | | | Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson2012-08-17
|\| | | | |
| * | | | | Merge branch 'bug6379' into maint-0.2.3Nick Mathewson2012-08-17
| |\ \ \ \ \
| | * | | | | Fix warnings and 64-bit problems in openbsd-malloc codeNick Mathewson2012-08-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The warning fixes are: - Only define issetugid if it's missing. - Explicitly ignore the return value of writev. - Explicitly cast the retval of readlink() to int. The 64-bit problems are related to just storing a size_t in an int. Not cool! Use a size_t instead. Fix for bug 6379. Bugfix on 0.2.0.20-rc, which introduced openbsd-malloc.
* | | | | | | Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson2012-08-17
|\| | | | | |
| * | | | | | Merge remote-tracking branch 'public/bug6244_part_c' into maint-0.2.3Nick Mathewson2012-08-17
| |\ \ \ \ \ \
| | * | | | | | Fix wildcarded address mappings from the control portNick Mathewson2012-08-15
| | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apparently, we weren't actually detecting wildcardedness when parsing them: whoops! bug 6244. Bugfix on 0.2.3.9-alpha
* | | | | | | Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson2012-08-17
|\| | | | | |
| * | | | | | Merge remote-tracking branch 'public/bug6507' into maint-0.2.3Nick Mathewson2012-08-17
| |\ \ \ \ \ \
| | * | | | | | Reject attempts to say FooPort and FooPort 0 in the same cfg domainNick Mathewson2012-08-09
| | | | | | | |
| | * | | | | | Don't infer we have a FooPort from the presence of a FooPort lineNick Mathewson2012-08-09
| | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson2012-08-17
|\| | | | | |
| * | | | | | Merge remote-tracking branch 'mikeperry/bug6475' into maint-0.2.3Nick Mathewson2012-08-17
| |\ \ \ \ \ \
| | * | | | | | Address Nick's comments from code review.Mike Perry2012-08-16
| | |/ / / / / | | | | | | | | | | | | | | | | | | | | | Also promote log messages to notice and rate-limit them.
* | | | | / / Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson2012-08-17
|\| | | | | | | |_|_|_|/ / |/| | | | |
| * | | | | Merge remote-tracking branch 'public/bug6514' into maint-0.2.3Nick Mathewson2012-08-17
| |\ \ \ \ \ | | |/ / / / | |/| | | |
| | * | | | Defensive programming: clear rs_out between iterations.Nick Mathewson2012-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I can't currently find a bug here, but there are a couple of near-misses. Addresses ticket 6514; reported pseudonymously on IRC.
* | | | | | Check for stream_id, not conn, on extend cells.Nick Mathewson2012-08-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend cells aren't allowed to have a stream_id, but we were only blocking them when they had a stream_id that corresponded to a connection. As far as I can tell, this change is harmless: it will make some kinds of broken clients not work any more, but afaik nobody actually make a client that was broken in that way. Found while hunting for other places where we made the same mistake as in 6271. Bugfix on d7f50337c14c back from May 2003, which introduced telescoping circuit construction into 0.0.2pre8.
* | | | | | Clarify the last changes messageNick Mathewson2012-08-13
| | | | | |
* | | | | | oops: changes file for f45cde05f934ee95e0002ff7d72f7006ce156a4cNick Mathewson2012-08-13
| |_|_|_|/ |/| | | |
* | | | | Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson2012-08-09
|\| | | |
| * | | | Merge remote-tracking branch 'public/bug6252_again' into maint-0.2.3Nick Mathewson2012-08-09
| |\ \ \ \
| | * | | | Have the bug6252 commit message reflect its on-again/off-again statusNick Mathewson2012-07-18
| | | | | |
| | * | | | Detect bug 6252 (unexpected sendme cell)Roger Dingledine2012-07-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I only check on circuits, not streams, since bloating your stream window past the initial circuit window can't help you much. Also, I compare to CIRCWINDOW_START_MAX so we don't have surprising races if we lower CIRCWINDOW_START for an experiment.
* | | | | | Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson2012-08-03
|\| | | | |
| * | | | | Merge remote-tracking branch 'origin/maint-0.2.2' into maint-0.2.3Nick Mathewson2012-08-03
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/or/routerlist.c
| | * | | | | Try to clarify impact of bug 6537Nick Mathewson2012-08-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I don't personally agree that this is likely to be easy to exploit, and some initial experimention I've done suggests that cache-miss times are just plain too fast to get useful info out of when they're mixed up with the rest of Tor's timing noise. Nevertheless, I'm leaving Robert's initial changelog entry in the git history so that he can be the voice of reason if I'm wrong. :)
| | * | | | | Mitigate a side-channel leak of which relays Tor chooses for a circuitRobert Ransom2012-08-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tor's and OpenSSL's current design guarantee that there are other leaks, but this one is likely to be more easily exploitable, and is easy to fix.
* | | | | | | Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson2012-08-03
|\| | | | | |