aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
Commit message (Collapse)AuthorAge
* r8877@Kushana: nickm | 2006-09-21 17:12:33 -0400Nick Mathewson2006-09-21
| | | | | | | Consider non-exit servers unsuitable for RESOLVE commands. svn:r8442
* r8875@Kushana: nickm | 2006-09-21 16:46:28 -0400Nick Mathewson2006-09-21
| | | | | | | Resolve bug 330: detect ISPs that want to hijack failing DNS requests and basically domain-squat the entire internet. svn:r8440
* r8874@Kushana: nickm | 2006-09-21 15:22:27 -0400Nick Mathewson2006-09-21
| | | | | | | Rename and document SearchDomains and ResolvConf options; warn if ServerDNSResolvConfFile is given but eventdns isnt enabled. svn:r8439
* r8872@Kushana: nickm | 2006-09-21 14:00:20 -0400Nick Mathewson2006-09-21
| | | | | | | Implement server-side reverse DNS using eventdns. Add an option to routerdescs so we can tell which servers have eventdns enabled. svn:r8437
* Stop searching routerlist for routers with the same identity as other ↵Nick Mathewson2006-09-19
| | | | | | routers (on router insert): we already have a map for that. (We need to add an index field to routerinfo_t so we can figure out which point in the routerlist to replace.) Also, add a comment to routerlist.c; arma, please advise? svn:r8432
* make my bandwidth exercises actually happenRoger Dingledine2006-09-15
| | | | svn:r8400
* Send out a burst of long-range drop cells after we've established thatRoger Dingledine2006-09-15
| | | | | | | | 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
* r9770@danube: weasel | 2006-09-15 07:20:05 +0200Peter Palfrader2006-09-15
| | | | | | | | | | | | 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
* r8808@senior-two-eighty: nickm | 2006-09-14 00:59:54 -0400Nick Mathewson2006-09-14
| | | | | | | House style for no-args functions is old-style C, not C++ svn:r8388
* r9736@danube: weasel | 2006-09-14 05:53:06 +0200Peter Palfrader2006-09-14
| | | | | | | | 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
* add a "getinfo address" controller command.Roger Dingledine2006-09-09
| | | | svn:r8354
* possibly make tor build and run on cygwin again.Roger Dingledine2006-09-08
| | | | svn:r8353
* r9695@danube: weasel | 2006-09-08 18:11:53 +0200Peter Palfrader2006-09-08
| | | | | | | Make tor build with -O0 svn:r8352
* clean up some commentsRoger Dingledine2006-09-07
| | | | svn:r8338
* new config option AvoidDiskWrites for people running tors onRoger Dingledine2006-09-07
| | | | | | | | usb keys and other media that degrades when you write. not implemented yet, so just a reminder. svn:r8331
* fix bug found by Adam J. Richter: directory clients shouldn'tRoger Dingledine2006-08-28
| | | | | | | | | 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
* r8608@Kushana: nickm | 2006-08-27 16:57:47 -0400Nick Mathewson2006-08-28
| | | | | | | Make it possible to change nameserver options while Tor is running. svn:r8255
* r8607@Kushana: nickm | 2006-08-27 15:45:42 -0400Nick Mathewson2006-08-28
| | | | | | | Change configuration strategy for eventdns. Instead of elaborate option set, just allow the user to specify another resolv.conf to use. svn:r8254
* r8576@Kushana: nickm | 2006-08-25 17:16:01 -0400Nick Mathewson2006-08-25
| | | | | | | 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
* r7411@Kushana: nickm | 2006-08-17 19:00:25 -0400Nick Mathewson2006-08-17
| | | | | | | patch suggested by Karsten Loesing: respond to SIGNAL command before we execute the signal, in case the signal shuts us down. svn:r7072
* r7046@Kushana: nickm | 2006-08-05 13:57:04 -0400Nick Mathewson2006-08-14
| | | | | | | Make it possible for dns_init() to fail; note failure of eventdns configuratoin. svn:r7059
* r7369@Kushana: nickm | 2006-08-14 02:03:10 -0400Nick Mathewson2006-08-14
| | | | | | | Shortening fields is only one part of making structs shorter. You must also consider alignment padding. Whee. svn:r7045
* save 3-7 bytes per edge connectionRoger Dingledine2006-08-14
| | | | svn:r7044
* simplify the connection_write_to_buf_zlib() wrapper.Roger Dingledine2006-08-13
| | | | svn:r7042
* r7324@Kushana: nickm | 2006-08-10 23:23:15 -0700Nick Mathewson2006-08-11
| | | | | | | 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
* r7300@Kushana: nickm | 2006-08-10 01:36:40 -0700Nick Mathewson2006-08-10
| | | | | | | Distinguish netfilter vs pf at configure time based on headers, not on OS. svn:r7008
* r7299@Kushana: nickm | 2006-08-10 01:08:58 -0700Nick Mathewson2006-08-10
| | | | | | | 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
* r7029@Kushana: nickm | 2006-08-04 14:08:41 -0700Nick Mathewson2006-08-05
| | | | | | | Remove now-spurious size and data arguments from tor_mmap_file svn:r6987
* r7027@Kushana: nickm | 2006-08-04 13:06:48 -0700Nick Mathewson2006-08-05
| | | | | | | Oops. Fix downcast macro. svn:r6985
* r7012@Kushana: nickm | 2006-08-03 19:21:25 -0700Nick Mathewson2006-08-04
| | | | | | | Add an "mmap handle" type to encapsulate bookkeeping elements of mmap issues; add prelim win32 impl svn:r6980
* fix assert found by DreadWingKnight: now that rendezvous streamsRoger Dingledine2006-07-30
| | | | | | | | are attached to p_streams, the p_streams list can consist of both AP and EXIT conns. svn:r6945
* r6950@Kushana: nickm | 2006-07-28 10:32:08 -0400Nick Mathewson2006-07-28
| | | | | | | Document split fields better. Now, I think we can take a break from type splitting for a bit. svn:r6935
* r6949@Kushana: nickm | 2006-07-28 10:17:38 -0400Nick Mathewson2006-07-28
| | | | | | | Shave another 8 bytes from connection_t: turn inbuf_reached_eof into a bit, and lower timestamp_lastempty to or_connection_t svn:r6934
* r6948@Kushana: nickm | 2006-07-28 10:10:35 -0400Nick Mathewson2006-07-28
| | | | | | | Identify some likely target fields for lowering; lower global_identifier (since we only use it for AP streams and origin circs). svn:r6933
* r6922@Kushana: nickm | 2006-07-26 16:32:24 -0400Nick Mathewson2006-07-27
| | | | | | | Rename some fields, compress a bitfield, and document some structs and fields svn:r6919
* Fix comments that implied that only dir connections had a purpose field, and ↵Nick Mathewson2006-07-27
| | | | | | the code that believed in those comments. svn:r6918
* r6909@Kushana: nickm | 2006-07-26 13:05:58 -0400Nick Mathewson2006-07-26
| | | | | | | Clean up wide lines from last patch. svn:r6907
* r6908@Kushana: nickm | 2006-07-26 12:38:52 -0400Nick Mathewson2006-07-26
| | | | | | | 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
* r6907@Kushana: nickm | 2006-07-25 19:03:43 -0400Nick Mathewson2006-07-26
| | | | | | | Realign circuit structs to avoid wasted space. svn:r6905
* r6903@Kushana: nickm | 2006-07-25 18:22:48 -0400Nick Mathewson2006-07-26
| | | | | | | 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
* r6902@Kushana: nickm | 2006-07-25 17:30:27 -0400Nick Mathewson2006-07-26
| | | | | | | Move rend_query to origin_circuit_t where it belongs; save another 17 bytes per OR circuit. svn:r6903
* Remove code to special-case "-cvs" ending, since it has not actually ↵Nick Mathewson2006-07-25
| | | | | | mattered since 0.0.9. Perhaps we can special-case even more... svn:r6898
* Don't tell anybody, but we're going OO here. This patch splitsNick Mathewson2006-07-23
| | | | | | | | | | | | | | | 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
* i lied, that won't work at all. maybe this will.Roger Dingledine2006-07-22
| | | | svn:r6805
* Define a schedule for how long to wait between retryingRoger Dingledine2006-07-18
| | | | | | | | | | | | 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
* If we are using an exit enclave and we can't connect, e.g. becauseRoger Dingledine2006-07-18
| | | | | | | | its webserver is misconfigured to not listen on localhost, then back off and try connecting from somewhere else before we fail. svn:r6783
* Allow servers with no hostname or IP address to learn their IP addressRoger Dingledine2006-07-17
| | | | | | | | | | | | | 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
* whitespace/etc cleanupsRoger Dingledine2006-07-16
| | | | svn:r6765
* parameterize the loudness of resolve_my_address(), and call thingsRoger Dingledine2006-07-15
| | | | | | | IP addresses, not IPs. svn:r6764
* When using eventdns: suppress logging of addresses when SafeLogging is ↵Nick Mathewson2006-07-07
| | | | | | active, and make set of nameservers configurable from torrc. svn:r6744