aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
Commit message (Expand)AuthorAge
* r13395@catbus: nickm | 2007-06-13 15:01:23 -0400••• Unit tests and debugging for generating and parsing consensus networkstatus documents. Still need to test actual contents. svn:r10589 Nick Mathewson2007-06-13
* r13387@catbus: nickm | 2007-06-13 14:15:49 -0400••• Unit tests and debugging for vote generation and parsing code. svn:r10587 Nick Mathewson2007-06-13
* More work towards making bridge users able to connect via bridges:••• - demand options->Bridges and options->TunnelDirConns if options->UseBridges is set. - after directory fetches, accept descriptors that aren't referenced by our networkstatuses, *if* they're for a configured bridge. - delay directory fetching until we have at least one bridge descriptor. - learn how to build a one-hop circuit when we have neither routerinfo nor routerstatus for our destination. - teach directory connections how to pick a bridge as the destination directory when doing non-anonymous fetches. - tolerate directory commands for which the dir_port is 0. - remember descriptors when the requested_resource was "authority", rather than just ignoring them. - put bridges on our entry_guards list once we have a descriptor for them. When UseBridges is set, only pick entry guards that are bridges. Else vice versa. svn:r10571 Roger Dingledine2007-06-12
* r13355@catbus: nickm | 2007-06-11 18:19:34 -0400••• Make all the digestmaps inside routerlist_t use the new typechecking wrappers, so we can catch any more bugs like the one fixed by 10561. This turned up a bug in routerlist_remove: we were extracting a routerinfo_t from desc_digest_map. Fix that too, though it was probably harmless, since we were only doing a pointer comparison with it. svn:r10563 Nick Mathewson2007-06-11
* more building blocks towards being able to fetch bridge descriptors•••svn:r10548 Roger Dingledine2007-06-10
* discard the "bridge list" stubs that i hope i never need.•••svn:r10547 Roger Dingledine2007-06-10
* Be clearer on the various roles for auth dir types.•••Bridge authorities no longer write bridge descriptors to their cached-routers file -- this gets complex because of extrainfo documents. svn:r10545 Roger Dingledine2007-06-09
* scrub out some more references to the misnamed 'bridge' concept•••svn:r10543 Roger Dingledine2007-06-09
* r13328@catbus: nickm | 2007-06-08 17:14:55 -0400••• Arg. Irix apparently #defines sa_family to something. Thus, naming fields or variables "sa_family" will not work. svn:r10541 Nick Mathewson2007-06-08
* r13313@catbus: nickm | 2007-06-08 14:23:11 -0400••• Refactor v3 vote generation code into "build a networkstatus_vote_t" and "format a networkstatus_vote_t". This should make testing possible. svn:r10533 Nick Mathewson2007-06-08
* r13275@catbus: nickm | 2007-06-05 19:11:05 -0400••• Apply my sekrit "unused macro detector" script to hunt down some macros we didnt use. svn:r10510 Nick Mathewson2007-06-06
* r13267@catbus: nickm | 2007-06-05 16:54:20 -0400••• Man page and small tweaks for last patch. svn:r10505 Nick Mathewson2007-06-05
* r13266@catbus: nickm | 2007-06-05 16:38:08 -0400••• Patch from peter palfrader: control interface via unix domain socket svn:r10504 Nick Mathewson2007-06-05
* r13256@catbus: nickm | 2007-06-05 10:57:41 -0400••• Mark fields that need to be ipv6-ified. svn:r10503 Nick Mathewson2007-06-05
* r13252@catbus: nickm | 2007-06-04 18:57:21 -0400••• Code to check signatures on consensus directories. svn:r10492 Nick Mathewson2007-06-04
* r13250@catbus: nickm | 2007-06-04 18:28:55 -0400••• Adapt code to parse v3 networkstatus votes so it can also parse a consensus. Make networkstatus_vote_t the catch-all type for votes and conensuses. Correct/clarify the second argument to directory-signature. svn:r10491 Nick Mathewson2007-06-04
* r13248@catbus: nickm | 2007-06-04 15:53:23 -0400••• More code to generate a consensus from a list of votes. Now, we handle Named, and we actually generate and sign the signed consensus. Yippee. Still needs testing. Still not actually called. svn:r10490 Nick Mathewson2007-06-04
* r13243@catbus: nickm | 2007-06-04 15:17:15 -0400••• Start of code to compute consensus network-status stuff from a bunch of votes. Strangely, it does not yet feel like an enormous ugly hack. svn:r10489 Nick Mathewson2007-06-04
* Remove force flag from retry_all_listeners() and retry_listeners(). It alway...•••svn:r10486 Peter Palfrader2007-06-04
* r13166@catbus: nickm | 2007-06-02 23:02:40 -0400••• First cut at code to parse and validate v3 networkstatus votes. svn:r10461 Nick Mathewson2007-06-03
* r13154@catbus: nickm | 2007-06-02 11:26:44 -0400••• Server-side support for If-Modified-Since in HTTP requsts for v1 stuff, and for network-status documents. svn:r10451 Nick Mathewson2007-06-02
* r13109@catbus: nickm | 2007-05-31 14:59:30 -0400••• More code for voting and vote parsing (checkpointing) svn:r10423 Nick Mathewson2007-05-31
* r13102@catbus: nickm | 2007-05-31 13:56:25 -0400••• Make "authdir_newdesc rejected" work again. svn:r10421 Nick Mathewson2007-05-31
* r13053@catbus: nickm | 2007-05-29 13:35:33 -0400••• Move connection_should_read_from_linked_conn into main.c, which is the only file that uses it. svn:r10394 Nick Mathewson2007-05-29
* r13050@catbus: nickm | 2007-05-29 13:31:11 -0400••• Resolve all but 3 DOCDOCs. svn:r10393 Nick Mathewson2007-05-29
* karsten got confused by private_connection, so try calling•••it anonymized_connection instead. svn:r10330 Roger Dingledine2007-05-25
* r12946@catbus: nickm | 2007-05-25 10:46:50 -0400••• Add an AutomapHostsOnResolve option. It seems to work. svn:r10324 Nick Mathewson2007-05-25
* r12942@catbus: nickm | 2007-05-24 16:31:22 -0400••• Well, that was easier than I thought it would be. Tor is now a DNS proxy as well as a socks proxy. Probably some bugs remain, but since it A) has managed to resolve one address for me successfully, and B) will not affect anybody who leaves DNSPort unset, it feel like a good time to commit. svn:r10317 Nick Mathewson2007-05-24
* r12902@catbus: nickm | 2007-05-22 14:52:29 -0400••• First draft of code to generate votes. needs testing. does not yet upload or serve votes. Shares most of its code with the old generate_v2_networkstatus. svn:r10295 Nick Mathewson2007-05-22
* r12899@catbus: nickm | 2007-05-22 13:51:26 -0400••• Extract common code from networkstatus_getinfo_helper_single() and generate_v2_networkstatus(). svn:r10294 Nick Mathewson2007-05-22
* r12898@catbus: nickm | 2007-05-22 13:11:04 -0400••• More v3 directory code: have authorities load certificates; have everybody store certificates to disk and load them; provide a way to configure v3 authorities. svn:r10293 Nick Mathewson2007-05-22
* r12853@catbus: nickm | 2007-05-22 11:36:54 -0400••• Make connection_array into a smartlist. svn:r10292 Nick Mathewson2007-05-22
* r12852@catbus: nickm | 2007-05-22 11:00:27 -0400••• Use svn revisions consistently throughout all log messages. svn:r10291 Nick Mathewson2007-05-22
* r12850@catbus: nickm | 2007-05-21 22:20:42 -0400••• 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 Nick Mathewson2007-05-22
* r13021@Kushana: nickm | 2007-05-20 14:03:10 -0400••• Provide actual reasons when dropping an uploaded extrainfo for incompatibility; also, clean whitespace. svn:r10230 Nick Mathewson2007-05-20
* r12818@catbus: nickm | 2007-05-20 01:15:50 -0400••• Look for extrainfo bodies in the extrainfo mmap, not in the descriptor mmap. Duh. Should fix bug 429. svn:r10226 Nick Mathewson2007-05-20
* r12800@catbus: nickm | 2007-05-18 20:45:15 -0400••• Possible fix for bug 417 and bug 404: do not insert our routerinfo directly; instead, re-parse it first. svn:r10217 Nick Mathewson2007-05-19
* r12982@Kushana: nickm | 2007-05-18 15:15:14 -0400••• 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 Nick Mathewson2007-05-18
* r12981@Kushana: nickm | 2007-05-18 14:12:19 -0400••• 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 Nick Mathewson2007-05-18
* r12770@catbus: nickm | 2007-05-16 17:49:26 -0400••• Move around field order a little, in order to compact some structures. (Thanks to -Wpadded) svn:r10200 Nick Mathewson2007-05-16
* r12761@catbus: nickm | 2007-05-15 03:13:52 -0400••• Be a lot smarter when parsing lists of routers and extrainfos. svn:r10193 Nick Mathewson2007-05-15
* r12758@catbus: nickm | 2007-05-14 15:19:29 -0400••• 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 Nick Mathewson2007-05-14
* r12708@catbus: nickm | 2007-05-10 15:18:08 -0400••• 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 Nick Mathewson2007-05-10
* move a few more situations over to the authority_type_t bitfield•••svn:r10151 Roger Dingledine2007-05-10
* r12706@catbus: nickm | 2007-05-09 18:39:46 -0400••• Keep two freelists for buffer ram chunks: one of 4k chunks, and one of 16k chunks. Also, document the whole business. svn:r10150 Nick Mathewson2007-05-09
* r12704@catbus: nickm | 2007-05-09 17:43:34 -0400••• Periodically clean the freelist of buffer memory chunks. svn:r10149 Nick Mathewson2007-05-09
* r12697@catbus: nickm | 2007-05-09 00:15:40 -0400••• Change authority_type_t to a set of flags; use it more consistently. svn:r10144 Nick Mathewson2007-05-09
* complain when we try to upload to, say, bridge authorities,•••yet we didn't configure any first. svn:r10143 Roger Dingledine2007-05-09
* Interim commit: new config options Bridge and UseBridges.•••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 Roger Dingledine2007-05-08
* record the router purpose at each step of the circuit path.•••i have the feeling this will come in handy. svn:r10139 Roger Dingledine2007-05-08