aboutsummaryrefslogtreecommitdiff
path: root/src/or/directory.c
Commit message (Expand)AuthorAge
* Report HTTP reasons to directory clients. (Also, fix format on new TODO items)•••svn:r3811 Nick Mathewson2005-03-22
* tell me the address of the guy who's trying to attack my dirserver•••svn:r3799 Roger Dingledine2005-03-22
* and forward-port the missing space•••svn:r3789 Roger Dingledine2005-03-19
* Turn addr_policy_compare from a tristate to a quadstate; this should help add...•••svn:r3786 Nick Mathewson2005-03-19
* Fix some more obscure compiler warnings•••svn:r3758 Nick Mathewson2005-03-14
* Checkpoint in-progress fixes:•••Add 'testing' circuit purpose, for reachability testing. Notice when our IP changes, and reset stats. Try to pull down a directory via Tor to see if our DirPort is working. Try to extend a circuit back to us to see if our ORPort is working. Only publish a descriptor if they're both reachable. These mostly work, and I'd better get them in before I cause conflicts. svn:r3703 Roger Dingledine2005-02-27
* Implement more control spec functionality•••- Mapaddress - Postdescriptor - GetInfo on descriptors Required changes elsewhere: - Keep the most recent running_routers_t in the routerlist_t. That way we can learn about new routers and remember whether we were last told that they were up or down. Also enables more simplifications. - Keep the signed descriptor inside routerinfo_t. This makes descriptor_entry_t in dirservers.c unneeded. - Rename AddressMap (the verb) to MapAddress. Keep AddressMap as a noun. - Check addresses for plausibility before mapping them. svn:r3696 Nick Mathewson2005-02-25
* add support for CONNECTing through https proxies.•••not sure if it works. i don't have an https proxy. svn:r3682 Roger Dingledine2005-02-24
* Improve log message on unrecognized encoding to indicate that we can cope.•••svn:r3676 Nick Mathewson2005-02-23
* Add more functions to free things to help dmalloc allong.•••svn:r3613 Nick Mathewson2005-02-10
* when a client asks us for a dir mirror and we don't have one,•••launch an attempt to get a fresh one. svn:r3609 Roger Dingledine2005-02-10
* Re-normalize whitespace; make "make check-spaces" happy•••svn:r3566 Nick Mathewson2005-02-05
* forward-port the logic skew and double-free thing•••svn:r3549 Roger Dingledine2005-02-04
* define TOR_FRAGILE if you want tor to give you a core when•••something goes wrong. this should only be used by people actively tracking bugs. svn:r3487 Roger Dingledine2005-02-01
* give a better log message when we don't have a good mirror of•••the directory yet and somebody asks for it. svn:r3464 Roger Dingledine2005-01-30
* if we fetch the dir from a mirror that has a wildly skewed•••clock, then don't bother checking recommended-versions: it will just make us sad. as a side effect, people running obsolete versions and whose clocks are wildly skewed will not be auto-shut-down. but they will still get warns about their clock skew. svn:r3459 Roger Dingledine2005-01-29
* distinguish between "well-formed and rejected" and "not well•••formed", when parsing server descriptors. svn:r3458 Roger Dingledine2005-01-29
* accept LDAP (389/tcp) and LDAPS (636/tcp) in default exit policy•••svn:r3457 Roger Dingledine2005-01-29
* fwd-port win32 isprint fix•••svn:r3410 Nick Mathewson2005-01-22
* clean a couple of messages•••svn:r3401 Nick Mathewson2005-01-21
* special case so we don't yell when an empty http body doesn't specify a•••content-encoding svn:r3397 Roger Dingledine2005-01-21
* if we get an incredibly skewed timestamp from a dirserver mirror that•••isn't a verified OR, don't complain very loudly -- it's probably him that's wrong. svn:r3395 Roger Dingledine2005-01-21
* Have reason string for serverdesc post requests contain actual serverdesc sta...•••svn:r3391 Nick Mathewson2005-01-20
* start to fix http status stuff, more work needed•••svn:r3387 Roger Dingledine2005-01-20
* Give better reason phrases in HTTP status lines. Start resolving task #67. (M...•••svn:r3386 Nick Mathewson2005-01-20
* Handle unavailable hidden services better. We try each intro point•••until none are left, then we try to refetch the descriptor. If it's the same one we had before, then close streams right then. Whenever a new stream arrives, even if it's right after, optimistically try refetching the descriptor, just in case. svn:r3379 Roger Dingledine2005-01-19
* Add unittests for compression detection. Make all rendezvous descriptors "pla...•••svn:r3375 Nick Mathewson2005-01-19
* Workaround for webservers that lie about Content-Encoding: Tor now tries to a...•••svn:r3374 Nick Mathewson2005-01-19
* Make Tor use Niels Provos's libevent instead of it's current•••poll-but-sometimes-select mess. This will let us use faster async cores (like epoll, kpoll, and /dev/poll), and hopefully work better on Windows too. There are some fairly nasty changes to main.c here; this will almost certainly break something. But hey, that's what alphas are for. svn:r3341 Nick Mathewson2005-01-12
* Annotate circuits w/ whether they aim to contain high uptime nodes and/or•••high capacity nodes. When building circuits, choose appropriate nodes. New config option LongLivedPorts to indicate application streams that will want high uptime circuits. When attaching a stream to a circuit, pay attention to its requirements. This means that every single node in an intro rend circuit, not just the last one, will have a minimum uptime. Boost the min uptime from an hour to 24 hours. svn:r3339 Roger Dingledine2005-01-12
* if you're a server and the auth dirservers are down, go to any other•••server. only give up hope on network reachability when no other servers are reachable either. svn:r3335 Roger Dingledine2005-01-10
* when we haven't fetched a directory yet, or the last time we•••tried they were all unreachable, assume we are not connected to the network. when an application request comes in during this state, be optimistic and assume we just reconnected. fetch a new directory and if it works, begin making circuits. svn:r3327 Roger Dingledine2005-01-07
* new config option DirAllowPrivateAddresses for authdirservers.•••now by default they refuse router descriptors that have non-IP or private-IP addresses. svn:r3321 Roger Dingledine2005-01-06
* Fix a fun bug: do not rewrite a cached directory back to the cache; otherwise...•••svn:r3319 Nick Mathewson2005-01-06
* forward-port the fix for the compiler warning•••svn:r3273 Roger Dingledine2005-01-04
* Log when we retry a directory connection•••svn:r3258 Nick Mathewson2005-01-03
* Use correct logic to decide whether there are more directory servers to retry.•••svn:r3257 Nick Mathewson2005-01-03
* Split mark-dir-failed-and-retry logic into separate function; make it retry r...•••svn:r3256 Nick Mathewson2005-01-03
* bugfix: if a server uploads a descriptor that's unapproved, actually•••tell him so. svn:r3243 Roger Dingledine2005-01-03
* when a dirserver causes you to give a warn, mention which dirserver it was•••svn:r3234 Roger Dingledine2005-01-01
* clean up logging,•••make it clearer which warns are bugs, make the control log event match its specification, point out a bug in how we deal with failure when renewing the tls context. svn:r3138 Roger Dingledine2004-12-13
* Solaris CC freaks out if isspace and friends get anything other than an int. ...•••svn:r3120 Nick Mathewson2004-12-08
* New circuit building strategy: keep a list of ports that we've used in ...•••that will handle each such port. (We can extend this to include addresses if exit policies shift to require that.) Seed us with port 80 so web browsers won't complain that Tor is "slow to start up". This was necessary because our old circuit building strategy just involved counting circuits, and as time went by we would build up a big pile of circuits that had peculiar exit policies (e.g. only exit to 9001-9100) which would take up space in the circuit pile but never get used. Fix router_compare_addr_to_addr_policy: it was not treating a port of * as always matching, so we were picking reject *:* nodes as exit nodes too. If you haven't used a clean circuit in an hour, throw it away, just to be on the safe side. This means after 6 hours a totally unused Tor client will have no circuits open. svn:r3078 Roger Dingledine2004-12-05
* Add function to check that addr_policy_t is okay; change struct addr_policy_t...•••svn:r3070 Nick Mathewson2004-12-04
* Suggestion from weasel: Make tor --version --version dump the cvs Id of every...•••svn:r3019 Nick Mathewson2004-11-29
* Fetch cached running-routers from servers that serve it (that is, authdirserv...•••svn:r3018 Nick Mathewson2004-11-29
* After implementing a feature, remember to disable the error message you used ...•••svn:r3013 Nick Mathewson2004-11-29
* wrong is ok, and right is fine, but in between is apparently•••totally unacceptable to me. svn:r3005 Roger Dingledine2004-11-28
* Normalize space: add one between every control keyword and control clause.•••svn:r3003 Nick Mathewson2004-11-28
* remove emacs droppings, since nick says he doesn't need them anymore•••svn:r2989 Roger Dingledine2004-11-26