| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn:r10213
|
|
|
|
|
|
|
| |
Fix build on gcc 4.2
svn:r10212
|
|
|
|
|
|
|
| |
Note that we do not permit you to exit to port 0, no matter what. Closes bug 409.
svn:r10211
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
More work on merging stuff into dir-spec.txt
svn:r10207
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn:r10179
|
|
|
|
|
|
|
|
|
| |
networkstatus objects or descriptors. Otherwise we keep asking
every 10 seconds forever.
(adapted from r9880)
svn:r10175
|
|
|
|
| |
svn:r10174
|
|
|
|
| |
svn:r10169
|
|
|
|
| |
svn:r10168
|
|
|
|
|
|
|
| |
Checkpoint some more dir-spec.txt edits.
svn:r10165
|
|
|
|
|
|
|
| |
Add tor-gencert to svn:ignore for src/tools
svn:r10164
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
network-status but we don't want to keep it. Otherwise we'll keep fetching
it and keep not wanting to keep it. Fixes part of bug 422.
svn:r10153
|
|
|
|
| |
svn:r10152
|
|
|
|
| |
svn:r10151
|
|
|
|
|
|
|
| |
Keep two freelists for buffer ram chunks: one of 4k chunks, and one of 16k chunks. Also, document the whole business.
svn:r10150
|
|
|
|
|
|
|
| |
Periodically clean the freelist of buffer memory chunks.
svn:r10149
|
|
|
|
|
|
|
| |
[Backport candidate] On windows, open cached-routers with the sharing mode "FILE_SHARE_READ so that other processes can read it while Tor is running. (Reported by Janbar).
svn:r10148
|
|
|
|
|
|
|
| |
Change authority_type_t to a set of flags; use it more consistently.
svn:r10144
|
|
|
|
|
|
|
| |
yet we didn't configure any first.
svn:r10143
|
|
|
|
|
|
|
|
|
| |
It is becoming increasingly clear to me that bridges should
be a special case of entry guards, not a whole separate pile
of nearly identical functions.
svn:r10141
|