aboutsummaryrefslogtreecommitdiff
path: root/src/or/directory.c
Commit message (Expand)AuthorAge
* 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
* start remembering X-Your-Address-Is hints even if you're•••a client, so you can become a server more smoothly. svn:r8359 Roger Dingledine2006-09-09
* 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
* rewrite conn->address for GET commands as well as POST commands.•••svn:r6815 Roger Dingledine2006-07-23
* huge bugfix: we weren't ever writing an http header when sending•••out network statuses! so clients were downloading the whole thing, and then discarding them because they're malformed. svn:r6778 Roger Dingledine2006-07-17
* 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
* stick to nick's nul/null convention•••svn:r6763 Roger Dingledine2006-07-15
* rename X-You-Are to something slightly better.•••svn:r6735 Roger Dingledine2006-07-06
* whitespace/tab fixes•••svn:r6734 Roger Dingledine2006-07-06
* Make the X-You-Are header more accurate when there's a proxy in the middle.•••svn:r6722 Roger Dingledine2006-07-04
* Oops. Headers work better when named right.•••svn:r6707 Nick Mathewson2006-07-01
* Unify HTTP response code into one place so it is easier to add headers. Add ...•••svn:r6705 Nick Mathewson2006-06-30
* complete_only == !allow_partial. This enables useful use of partial desc down...•••svn:r6700 Nick Mathewson2006-06-29
* Fix a bunch of spaces.•••svn:r6678 Nick Mathewson2006-06-22
* 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
* And actually check the url when it exists. that might work better.•••svn:r6646 Nick Mathewson2006-06-18
* That dir_refresh_src fix will only work if I enable it.•••svn:r6645 Nick Mathewson2006-06-18
* Fix a couple of bugs in last patch.•••svn:r6644 Nick Mathewson2006-06-18
* Instead of adding servers and v1 directories to buffers en masse, directory s...•••svn:r6641 Nick Mathewson2006-06-18
* And a minor bugfix to the weaselhack•••svn:r6629 Peter Palfrader2006-06-15
* fix spacing•••svn:r6628 Roger Dingledine2006-06-15
* Add a /tor/dir-all-weaselhack directory resource so I do not have to update m...•••svn:r6627 Peter Palfrader2006-06-15
* Add a new warning to our "warn a lot" list: unused parameters. This means we...•••svn:r6532 Nick Mathewson2006-06-04
* forward-port: "Resolve" all XXX011 items, mostly by marking them non-011.•••svn:r6396 Nick Mathewson2006-04-18
* Change a dumb interface. Also, increment trusted_dir_server_t.n_networkstatu...•••svn:r6345 Nick Mathewson2006-04-10
* fix typo•••svn:r6340 Roger Dingledine2006-04-09
* When fetching rendezvous descriptors, we were willing to ask•••v2 authorities too. And of course they did not have a copy. svn:r6331 Roger Dingledine2006-04-09
* 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
* On our dirport return a robots.txt so maybe google doesn't index all those se...•••svn:r6252 Peter Palfrader2006-03-27
* Refactor and consolidate addr/exit policies into a new policies.c.•••Fix some minor bugs and memory leaks along the way. svn:r6246 Roger Dingledine2006-03-27
* Note a vulnerability with our current recommended-version concensus•••building. Make the warnings about invalid and unnamed nodes scale better, and update the text of the warnings. Change router_have_minimum_dir_info() to only be happy when it has enough network-statuses ("more than half") to be willing to actually build circuits. Not yet done: when we fail to get a networkstatus that we wanted, and !router_have_minimum_dir_info(), we should retry it quicker than a whole minute from now. svn:r6227 Roger Dingledine2006-03-22
* auth dir servers were only modifying a server's is_running field•••when they created a network status. so if nobody asked for a network status, they would never discover that any servers are is_running, so they could never build a circuit. svn:r6183 Roger Dingledine2006-03-18
* Cleanup on time-relaqted constants. New conventions:••• 1) Surround all constants by (parens), whether we'll be using them in a denominator or not. 2) Express all time periods as products (24*60*60), not as multiplied-out constants (86400). 3) Comments like "(60*60) /* one hour */" are as pointless as comments like "c = a + b; /* set c to the sum of a and b */". Remove them. 4) All time periods should be #defined constants, not given inline. 5) All time periods should have doxygen comments. 6) All time periods, unless specified, are in seconds. It's not necessary to say so. To summarize, the old (lack of) style would allow: #define FOO_RETRY_INTERVAL 60*60 /* one hour (seconds) */ next_try = now + 3600; The new style is: /** How often do we reattempt foo? */ #define FOO_RETRY_INTERVAL (60*60) next_try = now + RETRY_INTERVAL; svn:r6142 Nick Mathewson2006-03-12
* when we get funny-looking lines on our dirport, shut up about it.•••svn:r6135 Roger Dingledine2006-03-12
* Add some functions to escape values from the network before sending them to t...•••svn:r6087 Nick Mathewson2006-03-05
* be quieter about hidserv descriptors that are too old or too new.•••we can't do anything about them anyway. svn:r6073 Roger Dingledine2006-02-21
* New config options to address bug 251:•••FetchServerDescriptors and FetchHidServDescriptors for whether to fetch server info and hidserv info or let the controller do it, and also PublishServerDescriptor and PublishHidServDescriptors. Add AllDirActionsPrivate undocumented option -- if you set it, you'll need the controller to bootstrap you enough to build your first circuits. svn:r6047 Roger Dingledine2006-02-19
* clean up the Reachable*Addresses changes•••svn:r6041 Roger Dingledine2006-02-19
* Split ReachableAddresses into ReachableDirAddresses and ReachableORAddresses•••svn:r6009 Peter Palfrader2006-02-13
* the things we do for our windows users.•••i hope they appreciate it. svn:r6004 Roger Dingledine2006-02-13
* and don't warn when it happens here either, unless the user•••wants to hear it. svn:r5990 Roger Dingledine2006-02-12
* don't tell ordinary users about broken directory servers.•••it's a shame that they're broken, but most people are just confused by the warning. svn:r5988 Roger Dingledine2006-02-12
* stop leaking that•••svn:r5969 Roger Dingledine2006-02-11
* When a client asks for an old-style directory and our write bucket•••is empty, don't give it to him. This way small servers can continue to serve the directory *sometimes*, without getting overloaded. svn:r5968 Roger Dingledine2006-02-11
* Happy new year!•••svn:r5949 Roger Dingledine2006-02-09
* Only v1 authorities get hidden service descriptors with current protocol•••svn:r5924 Nick Mathewson2006-02-06