summaryrefslogtreecommitdiff
path: root/src/or
AgeCommit message (Collapse)Author
2007-05-13polish r9726-r9903Roger Dingledine
svn:r10182
2007-05-12If a directory authority is down, skip it when deciding where to getRoger Dingledine
networkstatus objects or descriptors. Otherwise we keep asking every 10 seconds forever. (adapted from r9880) svn:r10175
2007-05-10 r12708@catbus: nickm | 2007-05-10 15:18:08 -0400Nick Mathewson
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
2007-05-10 r12935@Kushana: nickm | 2007-05-10 11:25:09 -0400Nick Mathewson
Make buffer unit tests pass again svn:r10158
2007-05-10backport candidate: when we have k non-v2 authorities in ourRoger Dingledine
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
2007-05-10Backport candidate: if all of our dirservers have given usRoger Dingledine
bad or no networkstatuses lately, then stop hammering them once per minute even if we think they're failed. svn:r10156
2007-05-10backport candidate:Roger Dingledine
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
2007-05-10Backport candidate: count it as a failure if we fetch a valid Roger Dingledine
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
2007-05-10fix a printf size_t/int mismatch from r10150Roger Dingledine
svn:r10152
2007-05-10move a few more situations over to the authority_type_t bitfieldRoger Dingledine
svn:r10151
2007-05-09 r12706@catbus: nickm | 2007-05-09 18:39:46 -0400Nick Mathewson
Keep two freelists for buffer ram chunks: one of 4k chunks, and one of 16k chunks. Also, document the whole business. svn:r10150
2007-05-09 r12704@catbus: nickm | 2007-05-09 17:43:34 -0400Nick Mathewson
Periodically clean the freelist of buffer memory chunks. svn:r10149
2007-05-09 r12697@catbus: nickm | 2007-05-09 00:15:40 -0400Nick Mathewson
Change authority_type_t to a set of flags; use it more consistently. svn:r10144
2007-05-09complain when we try to upload to, say, bridge authorities,Roger Dingledine
yet we didn't configure any first. svn:r10143
2007-05-08Interim commit: new config options Bridge and UseBridges.Roger Dingledine
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
2007-05-08When we are reporting the DirServer line we just parsed, we wereRoger Dingledine
logging the second stanza of the key fingerprint, not the first. svn:r10140
2007-05-08record the router purpose at each step of the circuit path.Roger Dingledine
i have the feeling this will come in handy. svn:r10139
2007-05-08clean up some function argument namesRoger Dingledine
svn:r10138
2007-05-08use the new _PublishServerDescriptor to publish descriptors eitherRoger Dingledine
to v2 authorities or to bridge authorities, depending on config. svn:r10137
2007-05-08Change the PublishServerDescriptor config option from a booleanRoger Dingledine
into a string: "v1", "v2", bridge", "". Continue to support "0" and "1". svn:r10136
2007-05-07 r12676@catbus: nickm | 2007-05-07 13:11:38 -0400Nick Mathewson
When we cannot find a micro-revision number, do not overwrite an already-present micro-revision.i. svn:r10134
2007-05-07prepare directory_post_to_dirservers() to hear what sort ofRoger Dingledine
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
2007-05-07add a 'bridge' flag for dirserver config entriesRoger Dingledine
svn:r10128
2007-05-05Implement "getinfo status/circuit-established"Roger Dingledine
svn:r10120
2007-05-04make it work on windows/etc again, i presumeRoger Dingledine
svn:r10118
2007-05-04ok, i'm not so good at countingRoger Dingledine
svn:r10117
2007-05-04on the theory that my client_used hack is here to stay at least for theRoger Dingledine
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
2007-05-04make MaxAdvertisedBandwidth into a legal defaultRoger Dingledine
svn:r10115
2007-05-04if you're using relaybandwidthrate and relaybandwidthburst, makeRoger Dingledine
sure that's reflected in your router descriptor. svn:r10114
2007-05-04early skeletal support for running a bridge directory authorityRoger Dingledine
svn:r10112
2007-05-04fix some code comments, a wrapper, and add a todo itemRoger Dingledine
svn:r10111
2007-05-02whoops, i missed main.c in my r10092Roger Dingledine
svn:r10098
2007-05-02 r12639@catbus: nickm | 2007-05-02 17:37:49 -0400Nick Mathewson
Start implementing key certificate parsing. Note TODO items for combined 101/103. svn:r10097
2007-05-02 r12634@catbus: nickm | 2007-05-02 15:13:13 -0400Nick Mathewson
Shell tweaks suggested by weasel. svn:r10094
2007-05-02 r12632@catbus: nickm | 2007-05-02 14:59:55 -0400Nick Mathewson
Fix compilation-breaking r10092. svn:r10093
2007-05-02New config option V2AuthoritativeDirectory that all directoryRoger Dingledine
authorities should set. This will let future authorities choose not to serve V2 directory information. Also, go through and revamp all the authdir_mode stuff so it tries to do the right thing if you're an auth but not a V1 or V2 auth. svn:r10092
2007-05-01 r12627@catbus: nickm | 2007-05-01 16:42:21 -0400Nick Mathewson
Oops; downgrade a message to INFO. svn:r10090
2007-05-01 r12625@catbus: nickm | 2007-05-01 16:41:23 -0400Nick Mathewson
Remove the _UploadExtraInfo option, since I tried turning it on and moria[12] seem not to have exploded. svn:r10089
2007-05-01 r12622@catbus: nickm | 2007-05-01 16:29:19 -0400Nick Mathewson
Look at the version in the routerinfo as well as the versino in the networkstatus when deciding whether to upload extrainfo svn:r10088
2007-05-01 r12621@catbus: nickm | 2007-05-01 16:22:56 -0400Nick Mathewson
Authority patch; backport candidate: include micro-versions in network status documents. svn:r10087
2007-05-01 r12619@catbus: nickm | 2007-05-01 16:13:42 -0400Nick Mathewson
Add code to upload extrainfos to authorities running 0.2.0.0-alpha-dev (r10070) or later. svn:r10086
2007-05-01 r12615@catbus: nickm | 2007-05-01 09:48:45 -0400Nick Mathewson
Only replace micro-revision.i if it changes. svn:r10085
2007-05-01 r12611@catbus: nickm | 2007-04-30 22:49:00 -0400Nick Mathewson
For reasons which make sense to somebody, I'm sure, mingw gcc wants the libraries to appear at the end of the command line. This is done by specifying them with LDADD in Makefile.am, not LDFLAGS. If anybody can explain to me why mingw thinks "gcc -o foo foo.o -lbar" is fine, whereas "gcc -lbar -o foo foo.o" is Doubleplusbad UnMingwThink, I'd quite appreciate it. Until then, I'll just do what seems to work, and hope we don't blunder across any other great slumbering cthonian deities of arbitrary syntax. svn:r10082
2007-05-01 r12607@catbus: nickm | 2007-04-30 21:36:28 -0400Nick Mathewson
More attempt to fix win32 building. This time, with extra linking. svn:r10080
2007-04-30more cleanups on the hsusage patchRoger Dingledine
svn:r10077
2007-04-30identify the exit node correctly when we timeout and detachRoger Dingledine
from a circuit, even if the exit node is in the middle. there are probably a few more places that need this fix too. svn:r10076
2007-04-30 r12591@catbus: nickm | 2007-04-30 16:50:03 -0400Nick Mathewson
Minimize the libraries that we link things against: there is no reason to link tor-resolve against zlib, openssl, or libevent, for example. svn:r10072
2007-04-30 r12587@catbus: nickm | 2007-04-30 15:47:39 -0400Nick Mathewson
Backport candidate: correctly set the purpose of routers that are inserted by the controller with purpose=controller. svn:r10071
2007-04-30 r12586@catbus: nickm | 2007-04-30 15:43:05 -0400Nick Mathewson
More work for proposal 104: actually cache extrainfo documents to disk, and reload the cache properly. svn:r10070
2007-04-30 r12585@catbus: nickm | 2007-04-30 14:38:37 -0400Nick Mathewson
(Needs review.) Allow directory authorities to accept multiple router descriptors and extra info documents in a single POST. This will make implementing the client side of proposal 104 a lot simpler. svn:r10069