| Commit message (Collapse) | Author | Age |
| ... | |
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
logging the second stanza of the key fingerprint, not the first.
svn:r10140
|
| |
|
|
|
|
|
| |
i have the feeling this will come in handy.
svn:r10139
|
| |
|
|
| |
svn:r10138
|
| |
|
|
|
|
|
| |
to v2 authorities or to bridge authorities, depending on config.
svn:r10137
|
| |
|
|
|
|
|
|
| |
into a string: "v1", "v2", bridge", "". Continue to support
"0" and "1".
svn:r10136
|
| |
|
|
|
|
|
| |
When we cannot find a micro-revision number, do not overwrite an already-present micro-revision.i.
svn:r10134
|
| |
|
|
|
|
|
|
| |
dir authority we'd like to upload to. at some point we should
pick a config option to say that in, for bridges.
svn:r10129
|
| |
|
|
| |
svn:r10128
|
| |
|
|
| |
svn:r10126
|
| |
|
|
| |
svn:r10122
|
| |
|
|
| |
svn:r10120
|
| |
|
|
| |
svn:r10118
|
| |
|
|
| |
svn:r10117
|
| |
|
|
|
|
|
|
|
| |
next little while, make it only take effect _when there's an attached
origin circuit_, rather than from the first attached origin circuit
until death of the conn.
svn:r10116
|
| |
|
|
| |
svn:r10115
|
| |
|
|
|
|
|
| |
sure that's reflected in your router descriptor.
svn:r10114
|
| |
|
|
| |
svn:r10112
|
| |
|
|
| |
svn:r10111
|