aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
Commit message (Expand)AuthorAge
* fix assert found by DreadWingKnight: now that rendezvous streams•••are attached to p_streams, the p_streams list can consist of both AP and EXIT conns. svn:r6945 Roger Dingledine2006-07-30
* r6950@Kushana: nickm | 2006-07-28 10:32:08 -0400••• Document split fields better. Now, I think we can take a break from type splitting for a bit. svn:r6935 Nick Mathewson2006-07-28
* r6949@Kushana: nickm | 2006-07-28 10:17:38 -0400••• Shave another 8 bytes from connection_t: turn inbuf_reached_eof into a bit, and lower timestamp_lastempty to or_connection_t svn:r6934 Nick Mathewson2006-07-28
* r6948@Kushana: nickm | 2006-07-28 10:10:35 -0400••• Identify some likely target fields for lowering; lower global_identifier (since we only use it for AP streams and origin circs). svn:r6933 Nick Mathewson2006-07-28
* r6922@Kushana: nickm | 2006-07-26 16:32:24 -0400••• Rename some fields, compress a bitfield, and document some structs and fields svn:r6919 Nick Mathewson2006-07-27
* Fix comments that implied that only dir connections had a purpose field, and ...•••svn:r6918 Nick Mathewson2006-07-27
* r6909@Kushana: nickm | 2006-07-26 13:05:58 -0400••• Clean up wide lines from last patch. svn:r6907 Nick Mathewson2006-07-26
* r6908@Kushana: nickm | 2006-07-26 12:38:52 -0400••• Refactor connection_t into edge, or, dir, control, and base subtypes. This might save some RAM on busy exit servers, but really matters most in terms of correctness. svn:r6906 Nick Mathewson2006-07-26
* r6907@Kushana: nickm | 2006-07-25 19:03:43 -0400••• Realign circuit structs to avoid wasted space. svn:r6905 Nick Mathewson2006-07-26
* r6903@Kushana: nickm | 2006-07-25 18:22:48 -0400••• No circuit can be both an intro point and a rend point, so we can merge both the cookie and the pk digest into one "rend_token" field for or circuits. This saves another 20 bytes per or circuit. svn:r6904 Nick Mathewson2006-07-26
* r6902@Kushana: nickm | 2006-07-25 17:30:27 -0400••• Move rend_query to origin_circuit_t where it belongs; save another 17 bytes per OR circuit. svn:r6903 Nick Mathewson2006-07-26
* Remove code to special-case "-cvs" ending, since it has not actually mattered...•••svn:r6898 Nick Mathewson2006-07-25
* Don't tell anybody, but we're going OO here. This patch splits•••circuit_t into origin_circuit_t and or_circuit_t. I fixed some segaults; there may be more. We still need to move more rendezvous stuff into subtypes. This is a trial run for splitting up connection_t; if the approach is insane, please say so soon so we can do something smarter. Also, this discards the old HALF_OPEN code, which nobody seems to want. svn:r6817 Nick Mathewson2006-07-23
* i lied, that won't work at all. maybe this will.•••svn:r6805 Roger Dingledine2006-07-22
* Define a schedule for how long to wait between retrying•••application connections. Rather than waiting a fixed amount of time between each retry, we wait only 5 seconds for the first, 10 seconds for the second, and 15 seconds for each retry after that. Hopefully this will improve the expected experience. Addresses bug 297. svn:r6790 Roger Dingledine2006-07-18
* If we are using an exit enclave and we can't connect, e.g. because•••its webserver is misconfigured to not listen on localhost, then back off and try connecting from somewhere else before we fail. svn:r6783 Roger Dingledine2006-07-18
* Allow servers with no hostname or IP address to learn their IP address•••by asking the directory authorities. This code only kicks in when you would normally have exited with a "no address" error. This design is flawed, though, since the X-Your-Address-Is header is not authenticated, and doing it this way introduces too many new attacks. The right answer is to give IP address hints inside the HELLO cell; much of this code can be reused when we switch. svn:r6774 Roger Dingledine2006-07-17
* whitespace/etc cleanups•••svn:r6765 Roger Dingledine2006-07-16
* parameterize the loudness of resolve_my_address(), and call things•••IP addresses, not IPs. svn:r6764 Roger Dingledine2006-07-15
* When using eventdns: suppress logging of addresses when SafeLogging is active...•••svn:r6744 Nick Mathewson2006-07-07
* Get rid of the router_retry_connections notion. Now routers no longer•••try to rebuild long-term connections to directory authorities, and directory authorities no longer try to rebuild long-term connections to all servers. We still don't hang up connections in these two cases though -- we need to look at it more carefully to avoid flapping, and we likely need to wait til 0.1.1.x is obsolete. svn:r6712 Roger Dingledine2006-07-04
* Next batch of memory miserdom: mmap cached-routers file. This is sure to bre...•••svn:r6675 Nick Mathewson2006-06-22
* When requesting or serving resources via fingerprint/digest, request and resp...•••svn:r6673 Nick Mathewson2006-06-21
* Start spooling v2 networkstatus docs as well.•••svn:r6664 Nick Mathewson2006-06-20
* write_to_buf != connection_write_to_buf. Also, add a connection_write_to_buf...•••svn:r6650 Nick Mathewson2006-06-18
* Oops. conn->requested_resource is client only.•••svn:r6642 Nick Mathewson2006-06-18
* Instead of adding servers and v1 directories to buffers en masse, directory s...•••svn:r6641 Nick Mathewson2006-06-18
* now we can tell dirserv_dump_directory_to_string() whether we want•••it to include down/invalid descriptors or not. svn:r6618 Roger Dingledine2006-06-13
* export the default exit policy via the control port, so controllers•••don't need to guess what it is / will be later. svn:r6615 Roger Dingledine2006-06-13
* Add a new config option TestVia, that lets you specify preferred middle•••hops to use for testing circuits. Perhaps this will let me debug the reachability problem better. svn:r6581 Roger Dingledine2006-06-10
* ok, ok, maybe *this* time my rep_hist_circbuilding_dormant() will work.•••svn:r6568 Roger Dingledine2006-06-08
* re-enable per-connection rate limiting. get rid of the "OP bandwidth"•••concept. lay groundwork for "bandwidth classes" -- separate global buckets that apply depending on what sort of conn it is. svn:r6563 Roger Dingledine2006-06-07
* Add a new warning to our "warn a lot" list: unused parameters. This means we...•••svn:r6532 Nick Mathewson2006-06-04
* More DNS fixes. Send meaningful TTLs back to the client when•••possible. Cache at the server side independently from the TTL, to prevent attackers from probing the server to see who has been asking for what hostnames. (Hi, Dan Kaminski!) Also, clean some whitespace. svn:r6526 Nick Mathewson2006-06-03
* connection_t kept the identity_pkey but all it did was store it and•••free it. perhaps we don't need it after all? svn:r6518 Roger Dingledine2006-05-30
* stop fetching descriptors if we're not a dir mirror and we•••haven't tried to establish any circuits lately. svn:r6516 Roger Dingledine2006-05-30
* Start remembering *where* we are storing routerdescs. This will make us easie...•••svn:r6427 Nick Mathewson2006-04-29
* [Forward-port ]Test and document last patch.•••svn:r6400 Nick Mathewson2006-04-18
* [forward-port] Implement an option, VirtualAddrMask, to set which addresses g...•••svn:r6398 Nick Mathewson2006-04-18
* forward-port: "Resolve" all XXX011 items, mostly by marking them non-011.•••svn:r6396 Nick Mathewson2006-04-18
* Stop assuming every authority is a v1 authority•••svn:r6377 Peter Palfrader2006-04-10
* make DirFetchPeriod and StatusFetchPeriod truly obsolete.•••svn:r6373 Roger Dingledine2006-04-10
* Remove redundant includes. They are all hanled in torint.h which we already ...•••svn:r6364 Peter Palfrader2006-04-10
* Change a dumb interface. Also, increment trusted_dir_server_t.n_networkstatu...•••svn:r6345 Nick Mathewson2006-04-10
* i like the name FetchUselessDescriptors better.•••svn:r6327 Roger Dingledine2006-04-08
* add a new config option FetchUselessRouters, off by default, for•••when you plan to run "exitlist" on this client and you want to know about even the non-running descriptors. svn:r6326 Roger Dingledine2006-04-08
* fix a typo that was confusing me•••svn:r6319 Roger Dingledine2006-04-08
* Fix a couple of things that make GCC complain with verbose warnings on. Also...•••svn:r6317 Nick Mathewson2006-04-08
* fix some xxxs.•••svn:r6307 Nick Mathewson2006-04-03
* Fix dirserv_get_networkstatus_v2's api: its function comments•••did not at all match its behavior, and I can't think of a case when it should return anything other than 0. This fix may allow getinfo dir/status/foo to work. svn:r6285 Roger Dingledine2006-04-01