aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* When freeing a cert_list_t, avoid memory leak.Nick Mathewson2013-09-19
| | | | | | | | | | We were freeing these on exit, but when we added the dl_status_map field to them in fddb814f, we forgot to arrange for it to be freed. I've moved the cert_list_free() code into its own function, and added an appropriate dsmap_free() call. Fixes bug 9644; bugfix on 0.2.4.13-alpha.
* Document that disabledebuggerattachment prevents coresNick Mathewson2013-09-19
|
* Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4Nick Mathewson2013-09-16
|\
| * Merge remote-tracking branch 'origin/maint-0.2.2' into maint-0.2.3Nick Mathewson2013-09-16
| |\
| | * Update to the September 2013 GeoIP database.Karsten Loesing2013-09-10
| | |
* | | collect and log statistics about onionskins received/processedRoger Dingledine2013-09-05
| | | | | | | | | | | | | | | | | | | | | we skip onionskins that came from non-relays, so we're less likely to run into privacy troubles. starts to implement ticket 9658.
* | | Revert e443beff and solve it a different wayRoger Dingledine2013-09-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | Now we explicitly check for overflow. This approach seemed smarter than a cascade of "change int to unsigned int and hope nothing breaks right before the release". Nick, feel free to fix in a better way, maybe in master.
* | | don't let recently_chosen_ntors overflowRoger Dingledine2013-09-05
| | | | | | | | | | | | | | | | | | with commit c6f1668d we let it grow arbitrarily large. it can still overflow, but the damage is very small now.
* | | nickm wants us to prioritize tap in a currently-rare edge caseRoger Dingledine2013-09-04
| | |
* | | add a changes entry for ticket 9574Roger Dingledine2013-09-04
| | |
* | | Be more general in calculating expected onion queue processing timeRoger Dingledine2013-09-04
| | | | | | | | | | | | | | | Now we consider the TAP cells we'll process while draining the NTor queue, and vice versa.
* | | let the NumNTorsPerTAP consensus param override our queue choiceRoger Dingledine2013-09-04
| | |
* | | do a lopsided round-robin between the onion queuesRoger Dingledine2013-09-04
| | | | | | | | | | | | | | | that way tap won't starve entirely, but we'll still handle ntor requests quicker.
* | | check bounds on handshake_type more thoroughlyRoger Dingledine2013-09-04
| | |
* | | add info-level logs to help track onion queue sizesRoger Dingledine2013-09-04
| | |
* | | refactor and give it unit testsRoger Dingledine2013-09-04
| | |
* | | Separate cpuworker queues by handshake typeRoger Dingledine2013-09-04
| | | | | | | | | | | | | | | | | | Now we prioritize ntor create cells over tap create cells. Starts to address ticket 9574.
* | | Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4Nick Mathewson2013-09-04
|\| | | | | | | | | | | | | | Conflicts: src/or/circuitbuild.c
| * | Merge branch 'bug9671_023' into maint-0.2.3Nick Mathewson2013-09-04
| |\ \
| | * | use !cbt_disabled in place of LearnCBT to avoid needless circsNick Mathewson2013-09-04
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | This would make us do testing circuits "even when cbt is disabled by consensus, or when we're a directory authority, or when we've failed to write cbt history to our state file lately." (Roger's words.) This is a fix for 9671 and an improvement in our fix for 5049. The original misbehavior was in 0.2.2.14-alpha; the incomplete fix was in 0.2.3.17-beta.
* | | Merge branch 'bug9400_024_squashed' into maint-0.2.4Nick Mathewson2013-09-03
|\ \ \
| * | | Avoid a double-close on one failing case of the socketpair replacement codeNick Mathewson2013-09-03
| | | | | | | | | | | | | | | | | | | | Fix for bug 9400, spotted by coverity. Bug introduced in revision 2cb4f7a4 (subversion revision r389).
| * | | Use SOCKET_OK/TOR_INVALID_SOCKET in socketpair replacement codeNick Mathewson2013-08-06
| | | |
* | | | Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4Nick Mathewson2013-08-25
|\ \ \ \ | | |/ / | |/| | | | | | | | | | (Using "ours" strategy to avoid taking 9546 fix in 0.2.3; we just merged our own into 0.2.4)
| * | | Merge remote-tracking branch 'public/bug9546_023_v2' into maint-0.2.3Nick Mathewson2013-08-25
| |\ \ \
| | * | | Make bridges send AUTH_CHALLENGE cellsNick Mathewson2013-08-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The spec requires them to do so, and not doing so creates a situation where they can't send-test because relays won't extend to them because of the other part of bug 9546. Fixes bug 9546; bugfix on 0.2.3.6-alpha.
| | * | | Send NETINFO on receiving a NETINFO if we have not yet sent one.Nick Mathewson2013-08-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (Backport to Tor 0.2.3) Relays previously, when initiating a connection, would only send a NETINFO after sending an AUTHENTICATE. But bridges, when receiving a connection, would never send AUTH_CHALLENGE. So relays wouldn't AUTHENTICATE, and wouldn't NETINFO, and then bridges would be surprised to be receiving CREATE cells on a non-open circuit. Fixes bug 9546.
* | | | | Merge remote-tracking branch 'public/bug9546_v2' into maint-0.2.4Nick Mathewson2013-08-25
|\ \ \ \ \
| * | | | | Make bridges send AUTH_CHALLENGE cellsNick Mathewson2013-08-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The spec requires them to do so, and not doing so creates a situation where they can't send-test because relays won't extend to them because of the other part of bug 9546. Fixes bug 9546; bugfix on 0.2.3.6-alpha.
| * | | | | Send NETINFO on receiving a NETINFO if we have not yet sent one.Nick Mathewson2013-08-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Relays previously, when initiating a connection, would only send a NETINFO after sending an AUTHENTICATE. But bridges, when receiving a connection, would never send AUTH_CHALLENGE. So relays wouldn't AUTHENTICATE, and wouldn't NETINFO, and then bridges would be surprised to be receiving CREATE cells on a non-open circuit. Fixes bug 9546.
* | | | | | Merge remote-tracking branch 'public/bug9366' into maint-0.2.4Nick Mathewson2013-08-25
|\ \ \ \ \ \
| * | | | | | Don't allow all ORPort values to be NoAdvertiseNick Mathewson2013-08-05
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | Fix for bug #9366
* | | | | | Merge remote-tracking branch 'public/bug9543' into maint-0.2.4Nick Mathewson2013-08-25
|\ \ \ \ \ \
| * | | | | | Add a 30-day maximum on user-supplied MaxCircuitDirtinessNick Mathewson2013-08-21
| | |/ / / / | |/| | | | | | | | | | | | | | | | Fix for bug 9543.
* | | | | | Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4Nick Mathewson2013-08-22
|\ \ \ \ \ \ | |/ / / / / |/| | / / / | | |/ / / | |/| | |
| * | | | Merge remote-tracking branch 'public/bug9564' into maint-0.2.3Nick Mathewson2013-08-22
| |\ \ \ \ | | |_|/ / | |/| | |
| | * | | Replace return with continue in update_consensus_networkstatus_downloadsNick Mathewson2013-08-22
| |/ / / | | | | | | | | | | | | Fix for bug 9564; bugfix on 0.2.3.14-alpha.
* | | | Document the correct loglevel for the heartbeat messageNick Mathewson2013-08-16
| | | |
* | | | Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4Nick Mathewson2013-08-12
|\| | |
| * | | Merge remote-tracking branch 'origin/maint-0.2.2' into maint-0.2.3Nick Mathewson2013-08-12
| |\ \ \ | | | |/ | | |/|
| | * | Update to the August 2013 GeoIP database.Karsten Loesing2013-08-12
| | | |
* | | | Fix an uninitialized-read when parsing v3 introduction requests.Nick Mathewson2013-08-10
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | Fortunately, later checks mean that uninitialized data can't get sent to the network by this bug. Unfortunately, reading uninitialized heap *can* (in some cases, with some allocators) cause a crash if you get unlucky and go off the end of a page. Found by asn. Bugfix on 0.2.4.1-alpha.
* | | Merge remote-tracking branch 'arma/bug9354' into maint-0.2.4Nick Mathewson2013-07-31
|\ \ \
| * | | NumDirectoryGuards now tracks NumEntryGuards by defaultRoger Dingledine2013-07-30
| | | | | | | | | | | | | | | | | | | | Now a user who changes only NumEntryGuards will get the behavior she expects. Fixes bug 9354; bugfix on 0.2.4.8-alpha.
* | | | Fix invalid-read when a managed proxy configuration fails.George Kadianakis2013-07-31
|/ / /
* | | Merge branch 'bug9337' into maint-0.2.4Nick Mathewson2013-07-26
|\ \ \
| * | | Avoid assertion failure on unexepcted address family in DNS reply.Nick Mathewson2013-07-26
|/ / / | | | | | | | | | Fixes bug 9337; bugfix on 0.2.4.7-alpha.
* | | Fix bug9309, and n_noncanonical count/continue codeNick Mathewson2013-07-23
| | | | | | | | | | | | | | | | | | | | | | | | When we moved channel_matches_target_addr_for_extend() into a separate function, its sense was inverted from what one might expect, and we didn't have a ! in one place where we should have. Found by skruffy.
* | | fix typoRoger Dingledine2013-07-18
| | |
* | | Merge remote-tracking branch 'public/bug9295_023' into maint-0.2.4Nick Mathewson2013-07-18
|\ \ \