- May 19, 2016
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
-
-
-
No behaviour change This function is used twice. The code is simpler if we split it up and inline it where it is used.
-
-
Previosuly, during bootstrap, we would continue to download consensuses if we had a consensus, but didn't have the certificates to validate it.
-
- May 17, 2016
-
-
Nick Mathewson authored
-
Nick Mathewson authored
This API change makes it so that routerinfo_incompatible...() no longer takes a routerinfo_t, so that it's obvious that it should only look at fields from the signed_descriptor_t. This change should prevent a recurrence of #17150.
-
Nick Mathewson authored
We need to make sure that the corresponding sd and ei match in their certificates.
-
Nick Mathewson authored
We need this field to be in signed_descriptor_t so that routerinfo_incompatible_with_extrainfo can work correctly (#17150). But I don't want to move it completely in this patch, since a great deal of the code that messes with it has been in flux since 0.2.7, when this ticket was opened. I should open another ticket about removing the field from routerinfo_t and extrainfo_t later on. This patch fixes no actual behavior.
-
Nick Mathewson authored
-
Nick Mathewson authored
The routerinfo we pass to routerinfo_incompatible_with_extrainfo is the latest routerinfo for the relay. The signed_descriptor_t, on the other hand, is the signed_descriptor_t that corresponds to the extrainfo. That means we should be checking the digest256 match with that signed_descriptor_t, not with the routerinfo. Fixes bug 17150 (and 19017); bugfix on 0.2.7.2-alpha.
-
Nick Mathewson authored
This patch includes no semantic changes; it's just a field movement. It's prerequisite for a fix to 19017/17150.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- May 16, 2016
-
-
Roger Dingledine authored
no behavior changes
-
Nick Mathewson authored
-
- May 12, 2016
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
Had conflicts related to other correct_tm bugs in 0.2.6. Added wday for another case.
-
Nick Mathewson authored
The tm_wday field had been left uninitialized, which was causing some assertions to fail on Windows unit tests. Fixes bug 18977.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- May 11, 2016
-
-
Roger Dingledine authored
-
Nick Mathewson authored
Ticket 17621.
-
Roger Dingledine authored
-
Roger Dingledine authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
John Brooks authored
In dirserv_compute_performance_thresholds, we allocate arrays based on the length of 'routers', a list of routerinfo_t, but loop over the nodelist. The 'routers' list may be shorter when relays were filtered by routers_make_ed_keys_unique, leading to an out-of-bounds write on directory authorities. This bug was originally introduced in 26e89742, but it doesn't look possible to trigger until routers_make_ed_keys_unique was introduced in 13a31e72. Fixes bug 19032; bugfix on tor 0.2.8.2-alpha.
-
teor (Tim Wilson-Brown) authored
Comment-only change
-
teor (Tim Wilson-Brown) authored
This reverts commit 92d7ee08.
-
Roger Dingledine authored
fix the logic in one of the comments
-
Nick Mathewson authored
-