aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
Commit message (Expand)AuthorAge
...
* r11824@catbus: nickm | 2007-02-16 13:16:47 -0500••• Move all struct-offset-manipulation macros into util.h, and use them consistently. Because there are days when "SUBTYPE_P(handle, subtype, _base)" is just easier to read and write than "(basetp*)(((handle) - STRUCT_OFFSET(subtype, _base))". svn:r9592 Nick Mathewson2007-02-16
* r11813@catbus: nickm | 2007-02-14 11:42:58 -0500••• Tweak stream_bw patch: Remove a couple of redundant checks, save 8 bytes per edge connection, fix spelling in the changelog; expand spec. svn:r9586 Nick Mathewson2007-02-14
* r11812@catbus: nickm | 2007-02-14 11:22:08 -0500••• Apply stream_bw patch from Robert Hogan. svn:r9585 Nick Mathewson2007-02-14
* r11785@catbus: nickm | 2007-02-12 20:27:48 -0500••• Node-picking fixes: Never warn when a down node is listed in a config option (bug 348); always warn when a node in a config option is unnamed. Also, when entrynodes is configured, then build the guard list as: (parts of EntryNodes that were guards before), (the rest of EntryNodes), (the rest of the old guards). This last point ensures that EntryNode users will get the EntryNodes they want with the minimum change to their guard list. svn:r9574 Nick Mathewson2007-02-13
* r11781@catbus: nickm | 2007-02-12 18:31:33 -0500••• Discard any v1 directory info that is so old as to be useless. (Fixes bug 387) svn:r9572 Nick Mathewson2007-02-12
* r11775@catbus: nickm | 2007-02-12 16:39:09 -0500••• Update copyright dates. svn:r9570 Nick Mathewson2007-02-12
* r11773@catbus: nickm | 2007-02-12 15:18:48 -0500••• Implement proposal 106: stop requiring clients to have certificates, and stop checking for nicknames in certificates. [See proposal 106 for rationale.] Also improve messages when checking TLS handshake, to re-resolve bug 382. svn:r9568 Nick Mathewson2007-02-12
* r11726@catbus: nickm | 2007-02-08 16:04:53 -0500••• Resolve some XXXX012 items: - Remove PathlenCoinWeight: if we want it again, we can add it back in. - Ditto with RelayBandwidth*. - Decide to leave in the "hey, you didn't set end_reason!" BUG log message, but stop telling people to bug me personally. - Postpone strengthening assert_connection_ok(): it's important, but it's also a good way to introduce weird bugs. - Move some expensive consistency checking from dns_free_all() into assert_cache_ok(). svn:r9533 Nick Mathewson2007-02-08
* r11700@catbus: nickm | 2007-02-08 02:03:50 -0500••• Fix several bugs in computing recommended versions. 1) refactor is-this-version-good handling and which-vesions-are-good handling to be in the same place. 2) a version is recommended if more than half of the versioning authorities like it, not >= half. 3) "NEW_IN_SERIES" should mean, "I don't know of an 0.1.1.x this recent, and there are some 0.1.2.x versions out", not "I don't know of an 0.1.1.x this recent, but I know some older ones." This should resolve bug 383. svn:r9523 Nick Mathewson2007-02-08
* r11673@catbus: nickm | 2007-02-06 14:40:07 -0500••• Report stream end events where a resolve succeeded or where we got a socks protocol error correctly, rather than calling both of them "INTERNAL". Turn ALREADY_SOCKS_REPLIED into a flag rather than a reason. This will help debug 367 part 2 a little. svn:r9511 Nick Mathewson2007-02-07
* r11672@catbus: nickm | 2007-02-06 14:16:56 -0500••• Fix third case of bug 367: make circuit get sent along with END_STREAM_REASON_DESTROY stream CLOSED events. svn:r9510 Nick Mathewson2007-02-07
* more changes. i'm all caught up now.•••svn:r9495 Roger Dingledine2007-02-06
* r11641@catbus: nickm | 2007-02-05 13:59:26 -0500••• Add a REMAP state to stream events so that controllers can learn exactly when the target address for a stream has changed. May help Vidalia resolve confusions related to bug 375. svn:r9484 Nick Mathewson2007-02-05
* r11637@catbus: nickm | 2007-02-05 12:41:51 -0500••• Fix an XXXX012, and make circuits_pending_or_conns a static variable. In addition to cleaning up the code, this may also resolve Bug 386 if Roger has the right intuition there. svn:r9482 Nick Mathewson2007-02-05
* r11629@catbus: nickm | 2007-02-02 15:06:17 -0500••• Removing the last DOCDOC comment hurt so much that I had to use Doxygen to identify undocumented macros and comments, and add 150 more DOCDOCs to point out where they were. Oops. Hey, kids! Fixing some of these could be your first Tor patch! svn:r9477 Nick Mathewson2007-02-02
* r12122@Kushana: nickm | 2007-02-02 10:41:39 -0500••• Fail when we are unable to parse the nameserver configuration. svn:r9475 Nick Mathewson2007-02-02
* r11607@catbus: nickm | 2007-01-30 17:19:27 -0500••• Audit non-const char arguments; make a lot more of them const. svn:r9466 Nick Mathewson2007-01-30
* there's such a thing as too much indirection•••svn:r9451 Roger Dingledine2007-01-28
* stop trying to hand 'platform' all around directory.c when we have a•••bit in routerstatus_t that tells us what we need to know. svn:r9448 Roger Dingledine2007-01-27
* Bring us one step closer to being able to establish an encrypted•••directory tunnel without knowing a descriptor first. Still not ready yet. As part of the change, now assume we can use a create_fast cell if we don't know anything about a router. svn:r9440 Roger Dingledine2007-01-27
* the other half of my patch. more coming later.•••svn:r9434 Roger Dingledine2007-01-27
* r11552@catbus: nickm | 2007-01-27 03:55:02 -0500••• This one is a little tricky. Our BEGIN_DIR implementation has a problem: the dirserv conns will decide they can flush all their data immediately, since the edge_conns will read greedily. For our 0.1.2 workaround, we track which or_conn a bridged dirserv conn is attached to, and stop writing when its outbuf is too full, and start writing again when the or_conn's outbuf empties out a little. This requires a bit of pointer management. Let's hope it works. svn:r9432 Nick Mathewson2007-01-27
* never refuse directory requests from local addresses•••svn:r9421 Roger Dingledine2007-01-26
* r11278@catbus: nickm | 2007-01-23 14:22:27 -0500••• More doxygen comments: this time mainly around spooling and storing directory information. svn:r9392 Nick Mathewson2007-01-23
* r9715@catbus: nickm | 2007-01-22 02:51:04 -0500••• Document a few undocumented functions and arguments. svn:r9385 Nick Mathewson2007-01-22
* r11957@Kushana: nickm | 2007-01-15 15:25:57 -0500••• Patch from Mike Perry: Track reasons for OR connection failure; display them in control events. Needs review and revision. svn:r9354 Nick Mathewson2007-01-15
* Expire socks connections if they spend too long waiting for the•••handshake to finish. Previously we would let them sit around for days, if the connecting application didn't close them either. Also take this opportunity to refactor a duplicate bit of circuituse.c. And change the semantics of SocksTimeout slightly, but I think it'll be ok. svn:r9350 Roger Dingledine2007-01-15
* r11938@Kushana: nickm | 2007-01-11 11:02:28 -0500••• Check addresses for rfc953-saneness at exit too, and give a PROTOCOL_WARN when they fail. Also provide a mechanism to override this, so blossom can have its @@##$$^.whatever.exit hostnames if it wants. svn:r9336 Nick Mathewson2007-01-11
* r11922@Kushana: nickm | 2007-01-10 15:43:18 -0500••• Clear untrusted networkstatuses after 10 days too. (This is not a terribly awful bug, since we would only ever retain 16 of them, but it still might be nice to backport.) Resolves part A of bug 372. svn:r9324 Nick Mathewson2007-01-10
* r11824@Kushana: nickm | 2007-01-03 17:15:28 -0500••• control-spec: upcase arguments in status events; note unimplemented events individually r11825@Kushana: nickm | 2007-01-03 17:41:43 -0500 Implement EXTERNAL IP server status event. r11826@Kushana: nickm | 2007-01-03 17:47:10 -0500 Implement BAD_SERVER_DESCRIPTOR server status event. r11827@Kushana: nickm | 2007-01-03 18:01:56 -0500 Implement SOCKS_UNKNOWN_PROTOCOL and DANGEROUS_SOCKS client events. r11828@Kushana: nickm | 2007-01-03 18:23:22 -0500 Implement BUG controller events. Also, flush ERR-level status events just like ERR-level log messages. r11829@Kushana: nickm | 2007-01-03 23:37:27 -0500 Yet more status events: CLOCK_SKEW, GOOD/ACCEPTED_SERVER_DESCRIPTOR, {CHECKING_}REACHABILITY_{SUCCEEDED|FAILED} r11833@Kushana: nickm | 2007-01-05 16:56:37 -0500 Note some unimplementedness in control-spec.txt svn:r9279 Nick Mathewson2007-01-06
* r11820@Kushana: nickm | 2007-01-03 14:54:05 -0500••• Add (and specify) a BadDirectory flag to networkstatuses, so authorities can tell clients that some caches are broken. Also, implement an as-yet-unused function to estimate how many bytes will be sent on a directory connection. svn:r9255 Nick Mathewson2007-01-03
* r11818@Kushana: nickm | 2007-01-03 08:29:17 -0500••• Fix compile error with warnings enabled: connection_dir_supports_tunnels was redeclared as static. svn:r9254 Nick Mathewson2007-01-03
* more cleanups, including a shiny new XXX012•••svn:r9250 Roger Dingledine2007-01-03
* checkpoint as we add PreferTunneledDirConns config option•••svn:r9249 Roger Dingledine2007-01-03
* r11749@Kushana: nickm | 2006-12-29 00:51:42 -0500••• Remove dead code; make targets of addressmap commands/configs use AllowNonRFC953Hostnames svn:r9211 Nick Mathewson2006-12-29
* r11744@Kushana: nickm | 2006-12-28 23:43:53 -0500••• Refactor connection_write_to_buf_zlib back into connection_write_to_buf. Hooray for dumping duplicate code. svn:r9209 Nick Mathewson2006-12-29
* r11743@Kushana: nickm | 2006-12-28 23:13:21 -0500••• Refactor _connection_controller_force_write back into conncetion_handle_write. Again, the line count goes down: groovy! svn:r9208 Nick Mathewson2006-12-29
* r11737@Kushana: nickm | 2006-12-28 18:32:13 -0500••• Remove some dead code; refactor some duplicated code. svn:r9206 Nick Mathewson2006-12-29
* r11724@Kushana: nickm | 2006-12-28 14:22:35 -0500••• Refactor and unify my-ip-addr-changed logic. Make change in IP address or in nameservers reset and relaunch DNS hijacking tests. svn:r9200 Nick Mathewson2006-12-28
* r11723@Kushana: nickm | 2006-12-28 13:52:48 -0500••• Fix bug 364: check for whether popular hostnames (curently google, yahoo, mit, and slashdot) are getting wildcarded. If they are, we are probably behind a DNS server that is useless: change our exit policy to reject *:*. svn:r9199 Nick Mathewson2006-12-28
* r11702@Kushana: nickm | 2006-12-24 01:31:59 -0500••• Patch from Edmanm, slightly modified. Original change list: - Support running the Tor service with a torrc not in the same directory as tor.exe (Bug #356) and default to using the torrc located in the %appdata%\Tor\ of the user who installed the service - Removed the supposedly misleading error message mentioned in Bug #294 - Fixed some CloseHandle()s that should've been CloseServiceHandle()s - Fixed some nt_service_foo() return values to be consistent - Resolved some nt_service_foo() DOCDOCs - Fixed one trivial typo that I happened to randomly notice Changes: - Make more comments into "imperative" house style. - Remove special handling for "-f"; only use --options. - Quote all options. - Clean up whitespace svn:r9185 Nick Mathewson2006-12-24
* r11694@Kushana: nickm | 2006-12-23 23:09:20 -0500••• Add a version entry to networkstatus documents; have this entry get parsed and used to calculate whether begin_dir is supported. svn:r9181 Nick Mathewson2006-12-24
* r11677@Kushana: nickm | 2006-12-23 21:17:54 -0500••• Track when we get 503s from directory servers. Do not use directory servers that have given us a 503 until either an hour has passed, or we are are out of non-busy servers. svn:r9172 Nick Mathewson2006-12-24
* r11676@Kushana: nickm | 2006-12-23 20:42:17 -0500••• Add an orport option to dirserver lines so that clients can tell where to connect to open an encrypted tunnel to a dirserver even before they have its descriptor. svn:r9171 Nick Mathewson2006-12-24
* reinstate the most important dead chickens for limiting•••impact of directory writes now that we're write limiting. a few more dead chickens remain. svn:r9170 Roger Dingledine2006-12-23
* r11658@Kushana: nickm | 2006-12-20 15:58:44 -0500••• Remove long-deprecated log and accounting options. svn:r9164 Nick Mathewson2006-12-20
* minor cleanups•••svn:r9158 Roger Dingledine2006-12-20
* r11645@Kushana: nickm | 2006-12-19 14:22:36 -0500••• Reject hostnames with invalid characters, in an attempt to catch more errors earlier. Add an option to disable this behavior. svn:r9156 Nick Mathewson2006-12-19
* r11614@Kushana: nickm | 2006-12-15 17:39:42 -0500••• Implement SETEVENTS GUARD. Needs review and testing. svn:r9137 Nick Mathewson2006-12-15
* r11588@Kushana: nickm | 2006-12-15 02:04:32 -0500••• Add a LastRotatedOnionKey variable to the state file, so we can rotate onion keys a week after they change even if we never stay up for a whole week at a time. Should fix bug 368. svn:r9120 Nick Mathewson2006-12-15