| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
Use svn revisions consistently throughout all log messages.
svn:r10291
|
|
|
|
|
|
|
| |
Partial backport candidate: do not rely on finding a \0 after an mmaped() router/extrainfo file. Also, set journal length correctly when starting up.
svn:r10248
|
|
|
|
|
|
|
| |
Oops; it is possible to have an empty store.
svn:r10247
|
|
|
|
|
|
|
| |
Oops. It compiles better when you spell the fields right.
svn:r10245
|
|
|
|
|
|
|
| |
Partial backport candidate. Fix issue noted in r10241: stores were rebuilt too often. Also notes dropped bytes better.
svn:r10244
|
|
|
|
| |
svn:r10242
|
|
|
|
|
|
|
| |
often than we need to. reported by lodger.
svn:r10241
|
|
|
|
|
|
|
|
| |
that are in the same family as the chosen exit -- not just guards
that are exactly the chosen exit. (Reported by lodger.)
svn:r10240
|
|
|
|
|
|
|
|
| |
lodger -- it has never actually worked, even though we added it
in Oct 2004.)
svn:r10238
|
|
|
|
|
|
|
| |
Bugfix and possible backport candidate: use the same logic as in read_all when reading resolv.conf. Maybe this fixes bug 433.
svn:r10237
|
|
|
|
|
|
| |
correct mmap
svn:r10233
|
|
|
|
|
|
|
| |
More bulletproofing on bug 429
svn:r10231
|
|
|
|
|
|
|
| |
Provide actual reasons when dropping an uploaded extrainfo for incompatibility; also, clean whitespace.
svn:r10230
|
|
|
|
|
|
|
| |
Address points in r10227.
svn:r10229
|
| |
|
|
|
|
|
|
|
| |
items we should probably look into.
svn:r10227
|
|
|
|
|
|
|
| |
Look for extrainfo bodies in the extrainfo mmap, not in the descriptor mmap. Duh. Should fix bug 429.
svn:r10226
|
|
|
|
| |
svn:r10224
|
|
|
|
|
|
|
| |
Fix compilation with -O0; add unit tests for swap and shuffle.
svn:r10223
|
|
|
|
|
|
|
| |
Fix bugs in extrainfo_insert, and change it to use desc_by_eid_map.
svn:r10222
|
|
|
|
|
|
|
| |
Fix another consistency error.
svn:r10221
|
|
|
|
|
|
|
| |
Fix a groovy memory corruption bug in routerlist_replace.
svn:r10220
|
|
|
|
|
|
|
| |
Disable a blatantly incorrect control event with potential for memory corruption.
svn:r10219
|
|
|
|
|
|
|
| |
clear some ram when freeing it; add some more checks to assert_routerlist_ok.
svn:r10218
|
|
|
|
|
|
|
| |
Possible fix for bug 417 and bug 404: do not insert our routerinfo directly; instead, re-parse it first.
svn:r10217
|
|
|
|
|
|
|
| |
Yet more debugging code to track down 417/404, inspired by a fun core from arma.
svn:r10216
|
|
|
|
|
|
|
| |
Make caches-extra-info lines parseable.
svn:r10215
|
|
|
|
| |
svn:r10214
|
|
|
|
|
|
|
| |
Fix build on gcc 4.2
svn:r10212
|
|
|
|
|
|
|
| |
Partial backport candidate: We had a bug where we were downloading descriptors by descriptor digest, but trying to look them up by identity fingerprint when updating their failure count and next retry time. (Also use correct backoff logic for extrainfo code.) Needs testing, doubtless.
svn:r10210
|
|
|
|
|
|
|
| |
First cut at code to download extra-info docs. Also note a bad bug in directory.c (look for the string BUG BUG BUG).
svn:r10209
|
|
|
|
|
|
|
| |
Add a "swap" function to smartlist, add a "shuffle" function for smartlist to crypto.c, and make appropriate hashtable functions be more const.
svn:r10208
|
|
|
|
|
|
|
| |
Fix dumb bug introduced in r10199
svn:r10202
|
|
|
|
|
|
|
| |
Make -Wstrict-overflow=5 happy with GCC 4.2. It is kind of a pain, but it does agood job of letting us know where we can make our code better by simplifying dependent conditionals.
svn:r10201
|
|
|
|
|
|
|
| |
Move around field order a little, in order to compact some structures. (Thanks to -Wpadded)
svn:r10200
|
|
|
|
|
|
|
| |
Fix warnings from -Wunsafe-loop-optimizations, which incidentally turned up a logic bug in connection_or_flush_from_first_active_circuit that would overcount the number of cells flushed.
svn:r10199
|
|
|
|
|
|
|
| |
Fix GCC warnings related to local parameters/variables getting shadowed.
svn:r10198
|
|
|
|
|
|
|
| |
Enable (and cope with) more GCC 4.2 warnings.
svn:r10196
|
|
|
|
|
|
|
| |
Make --enable-gcc-warnings happy on the upcoming gcc 4.2
svn:r10195
|
|
|
|
|
|
|
| |
Be a lot smarter when parsing lists of routers and extrainfos.
svn:r10193
|
|
|
|
|
|
|
| |
Cleanup, lock-down, and refactor bits of routerparse.c: use a single unified function to check all signatures. Fix all DOCDOCs. Remove some old dead debugging code. Enforce some parsing rules better.
svn:r10192
|
|
|
|
|
|
|
| |
this patch too.
svn:r10187
|
|
|
|
|
|
|
| |
Fix compilation in connection_edge.c
svn:r10186
|
|
|
|
| |
svn:r10182
|
|
|
|
|
|
|
|
|
| |
networkstatus objects or descriptors. Otherwise we keep asking
every 10 seconds forever.
(adapted from r9880)
svn:r10175
|
|
|
|
|
|
|
| |
Patch from shibz: implement a getinfo status/version/... so a controller can tell whether the current version is recommended, whether any versions are good, and how many authorities agree.
svn:r10162
|
|
|
|
|
|
|
| |
Make buffer unit tests pass again
svn:r10158
|
|
|
|
|
|
|
|
|
|
|
| |
dirservers lines, we ignored as many as k v2 authorities while
updating our network-statuses.
(not a problem right now since we have zero non-v2 authorities.
but if we ever change that...)
svn:r10157
|
|
|
|
|
|
|
|
| |
bad or no networkstatuses lately, then stop hammering them
once per minute even if we think they're failed.
svn:r10156
|
|
|
|
|
|
|
|
|
|
| |
If a directory server runs out of space in the connection table
as it's processing a begin_dir request, it will free the exit stream
but leave it attached to the circuit, leading to unpredictable
behavior. (Reported by seeess, fixes bug 425.)
svn:r10154
|