aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
Commit message (Expand)AuthorAge
* Stop searching routerlist for routers with the same identity as other routers...•••svn:r8432 Nick Mathewson2006-09-19
* make my bandwidth exercises actually happen•••svn:r8400 Roger Dingledine2006-09-15
* Send out a burst of long-range drop cells after we've established that•••we're reachable. Spread them over 4 circuits, so hopefully a few will be fast. This exercises our bandwidth and bootstraps us quicker. svn:r8399 Roger Dingledine2006-09-15
* r9770@danube: weasel | 2006-09-15 07:20:05 +0200••• router_set_networkstatus() gets a list of status documents we asked for from connection_dir_client_reached_eof(). However, as a cache we (sometimes?) just ask for "all". router_set_networkstatus() would freak out over that, meaning it would log a warning and drop the status document instead of caching it as it is supposed to. Now we let router_set_networkstatus() know if the data comes from an all-request so it can do the right thing. svn:r8398 Peter Palfrader2006-09-15
* r8808@senior-two-eighty: nickm | 2006-09-14 00:59:54 -0400••• House style for no-args functions is old-style C, not C++ svn:r8388 Nick Mathewson2006-09-14
* r9736@danube: weasel | 2006-09-14 05:53:06 +0200••• Refactor dirserv_parse_fingerprint_file(fname) into dirserv_load_fingerprint_file(): There is not need to put together the path to the approved-routers file in more than one place. svn:r8386 Peter Palfrader2006-09-14
* add a "getinfo address" controller command.•••svn:r8354 Roger Dingledine2006-09-09
* possibly make tor build and run on cygwin again.•••svn:r8353 Roger Dingledine2006-09-08
* r9695@danube: weasel | 2006-09-08 18:11:53 +0200••• Make tor build with -O0 svn:r8352 Peter Palfrader2006-09-08
* clean up some comments•••svn:r8338 Roger Dingledine2006-09-07
* new config option AvoidDiskWrites for people running tors on•••usb keys and other media that degrades when you write. not implemented yet, so just a reminder. svn:r8331 Roger Dingledine2006-09-07
* fix bug found by Adam J. Richter: directory clients shouldn't•••hang up five minutes after they begin. but directory servers should still hang up after 5 minutes of failing to deliver any bytes. svn:r8271 Roger Dingledine2006-08-28
* r8608@Kushana: nickm | 2006-08-27 16:57:47 -0400••• Make it possible to change nameserver options while Tor is running. svn:r8255 Nick Mathewson2006-08-28
* r8607@Kushana: nickm | 2006-08-27 15:45:42 -0400••• Change configuration strategy for eventdns. Instead of elaborate option set, just allow the user to specify another resolv.conf to use. svn:r8254 Nick Mathewson2006-08-28
* r8576@Kushana: nickm | 2006-08-25 17:16:01 -0400••• Fix bug 314: Instead of checking address_in_virtualrange, check addressmap_have_mapping(). This should be more accurate. [Rename to addressmap_have_mapping() from addressmap_already_mapped().] svn:r8226 Nick Mathewson2006-08-25
* r7411@Kushana: nickm | 2006-08-17 19:00:25 -0400••• patch suggested by Karsten Loesing: respond to SIGNAL command before we execute the signal, in case the signal shuts us down. svn:r7072 Nick Mathewson2006-08-17
* r7046@Kushana: nickm | 2006-08-05 13:57:04 -0400••• Make it possible for dns_init() to fail; note failure of eventdns configuratoin. svn:r7059 Nick Mathewson2006-08-14
* r7369@Kushana: nickm | 2006-08-14 02:03:10 -0400••• Shortening fields is only one part of making structs shorter. You must also consider alignment padding. Whee. svn:r7045 Nick Mathewson2006-08-14
* save 3-7 bytes per edge connection•••svn:r7044 Roger Dingledine2006-08-14
* simplify the connection_write_to_buf_zlib() wrapper.•••svn:r7042 Roger Dingledine2006-08-13
* r7324@Kushana: nickm | 2006-08-10 23:23:15 -0700••• Add more warnings to the list of those we tolerate. Start using GCC attributes more, for better error checking and better code generation. svn:r7020 Nick Mathewson2006-08-11
* r7300@Kushana: nickm | 2006-08-10 01:36:40 -0700••• Distinguish netfilter vs pf at configure time based on headers, not on OS. svn:r7008 Nick Mathewson2006-08-10
* r7299@Kushana: nickm | 2006-08-10 01:08:58 -0700••• Patch from Tup to add support for transparent AP connections: this basically bundles the functionality of trans-proxy-tor into the tor mainline. Now hosts with compliant pf/netfilter implementations can redirect TCP connections straight to Tor without diverting through SOCKS. svn:r7007 Nick Mathewson2006-08-10
* r7029@Kushana: nickm | 2006-08-04 14:08:41 -0700••• Remove now-spurious size and data arguments from tor_mmap_file svn:r6987 Nick Mathewson2006-08-05
* r7027@Kushana: nickm | 2006-08-04 13:06:48 -0700••• Oops. Fix downcast macro. svn:r6985 Nick Mathewson2006-08-05
* r7012@Kushana: nickm | 2006-08-03 19:21:25 -0700••• Add an "mmap handle" type to encapsulate bookkeeping elements of mmap issues; add prelim win32 impl svn:r6980 Nick Mathewson2006-08-04
* 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