aboutsummaryrefslogtreecommitdiff
path: root/src/or/directory.c
Commit message (Collapse)AuthorAge
...
* Hack: Include date with successful directory GETs.Nick Mathewson2004-08-04
| | | | svn:r2130
* stop using atexit() to remove our pid, since it's calledRoger Dingledine2004-07-22
| | | | | | | | | immediately when we daemonize. also drop our retry period for hidserv desc uploads from 10m to 5m svn:r2111
* caching dirservers don't handle posts, running-routers, or rend descsRoger Dingledine2004-07-21
| | | | svn:r2080
* add a new advertised_server_mode() to distinguish ORs thatRoger Dingledine2004-07-21
| | | | | | | are willing to become servers from ones that really are servers. svn:r2071
* clients can now pick non-authdirservers for fetching directories.Roger Dingledine2004-07-20
| | | | | | | | | servers still pick authdirservers, but they never pick themselves. but picking themselves for fetching rend descs is ok. svn:r2059
* break connection_dir_client_finished_reading() into its own functionRoger Dingledine2004-07-20
| | | | svn:r2058
* why does gcc not warn me about this at all? that's evil.Roger Dingledine2004-07-12
| | | | svn:r2032
* tor now tolerates down dirservers betterRoger Dingledine2004-07-12
| | | | svn:r2031
* More digest/nickname fixesNick Mathewson2004-07-02
| | | | svn:r2000
* Track routers by hash of identity key; use hex hash of identity key in place ↵Nick Mathewson2004-07-01
| | | | | | of nickname; accept (and use) hash of identity key in EXTEND cells. svn:r1994
* cleanups on 008pre1 itemsRoger Dingledine2004-06-30
| | | | svn:r1993
* Remaining 008pre1 items done; deferred where more design is needed.Nick Mathewson2004-06-25
| | | | | | | | | | | | | More docs and (way more!) testing needed. Done: - Authdirservers down directories from others. - Generate and use running-routers lists - Cache directories; store across reboots. - Refactor directory parsing a bit; note potential trouble spots. svn:r1985
* router->is_trusted_dir implies router->dir_port>0Roger Dingledine2004-06-16
| | | | | | | and add some infrastructure for fetching running-routers list svn:r1973
* Check directory signatures based on name of signer, not on whom we got the ↵Nick Mathewson2004-06-02
| | | | | | directory from. svn:r1940
* crank up some of our constants, for better scalabilityRoger Dingledine2004-06-02
| | | | svn:r1938
* Make directory functions update routerlist, not replace it. Add notion of ↵Nick Mathewson2004-05-17
| | | | | | OR-is-trusted-to-be-a-dirserver. Arma, please review: does this handle being a dirserver right? svn:r1880
* clean up directory.c APIRoger Dingledine2004-05-12
| | | | svn:r1860
* break connection_edge_end out of connection_mark_for_closeRoger Dingledine2004-05-12
| | | | svn:r1858
* break part of circuit.c into relay.cRoger Dingledine2004-05-12
| | | | svn:r1854
* Make "connected" a different case from "finished_flushing"; always ↵Nick Mathewson2004-05-12
| | | | | | close_immediate whhen connect() fails. svn:r1852
* More doxygenation.Nick Mathewson2004-05-10
| | | | svn:r1832
* more doxygen markupRoger Dingledine2004-05-09
| | | | | | | plenty more remains svn:r1824
* bugfix: do directory_send_command only after we've established a socketRoger Dingledine2004-05-09
| | | | | | | also many comments, cleaning, etc svn:r1823
* forward-port header-length-increase patchRoger Dingledine2004-05-06
| | | | svn:r1814
* bugfix: add a circ->resolving_streams field, and make dns resolving ↵Roger Dingledine2004-05-06
| | | | | | | | | | | | streams not actually in the connection_array until they're done resolving. bugfix: actually complain if we duplicate mark-for-close a circuit add more logging for relay ends that claim dns resolve failed, so we can find out why they're not being retried. svn:r1798
* More documentation; fix for compilation warningNick Mathewson2004-05-05
| | | | svn:r1789
* Only connection_add connections once they have conn->s sett; refactor code ↵Nick Mathewson2004-05-05
| | | | | | around this. Should make stuff more bulletproof. svn:r1788
* Handle windows socket errors correctly; comment most of common.Nick Mathewson2004-05-01
| | | | svn:r1756
* set Content-Type on the directory and hidserv descriptorRoger Dingledine2004-04-27
| | | | svn:r1731
* use tor_assertRoger Dingledine2004-04-25
| | | | | | | remove obsolete BUF_OK macro svn:r1697
* bugfix: give dir_conn a state before building the bridge, so it hasRoger Dingledine2004-04-17
| | | | | | | a state if things fail svn:r1660
* give better instructions than just 'mail arma'Roger Dingledine2004-04-09
| | | | svn:r1586
* call directory_has_arrived has arrived every time we getRoger Dingledine2004-04-09
| | | | | | | a new directory, not just the first time svn:r1581
* Launch intro services after launching connections; allow ORs to build ↵Nick Mathewson2004-04-08
| | | | | | circuits through as-yet-unconnectd ORs svn:r1562
* allow for directories >8192 bytesRoger Dingledine2004-04-08
| | | | svn:r1545
* if the rend desc cache entry was fetched more than 15 mins ago,Roger Dingledine2004-04-07
| | | | | | | | then try to fetch a new one. but if the new fetch fails, use the old one. svn:r1540
* Remember when we received which service desc.Nick Mathewson2004-04-07
| | | | svn:r1536
* Delete trailing whitespace and expand tabs; remove unused aes decrypt codeNick Mathewson2004-04-07
| | | | svn:r1522
* publish and fetch the right rendezvous urlsRoger Dingledine2004-04-03
| | | | svn:r1463
* alice can intercept y.onion requests, do a lookup on them via tor,Roger Dingledine2004-04-03
| | | | | | | and receive a 404 svn:r1455
* break out circ->rend_serviceRoger Dingledine2004-04-02
| | | | | | | | | | | (this breaks the compile; must fix things) let alice react when she learns a new rendezvous descriptor let alice launch intro and rend circuits and mark them with her query svn:r1446
* now circuit_get_newest returns an appropriate circ for your purposeRoger Dingledine2004-04-02
| | | | | | | | | | connection_ap_handshake_attach_circuit attaches to a circ of the right purpose add a skeletal rendclient.c svn:r1441
* teach directory servers to handle renddesc responsesRoger Dingledine2004-04-01
| | | | svn:r1434
* Add an ap_bridge function to do a socketpair and skip socks.Roger Dingledine2004-03-31
| | | | | | | | | | | | | | | | | This allows us to do a directory connection *through* tor just as if we're doing it as an application. Make ap_conns tolerate it when the application sends stuff before The socks handshake is done (it just buffers it). Tell directory_initiate_command the length of the payload (because it might include nuls). Add a directory_has_arrived function to, for example, start building the rendezvous service descriptor. svn:r1412
* Fix warningNick Mathewson2004-03-31
| | | | svn:r1409
* better way: always nul-terminate. then sometimes use it, sometimes not.Roger Dingledine2004-03-31
| | | | svn:r1408
* let fetch_from_buf_http tolerate nuls in the http bodyRoger Dingledine2004-03-31
| | | | | | | | teach directory.c about which places it needs to nul-terminate body before it uses it, and which places it must not svn:r1407
* rename hidserv_xxNick Mathewson2004-03-31
| | | | svn:r1406
* Implement hidserv_XX functions; there is still an XXX in ↵Nick Mathewson2004-03-31
| | | | | | directory_handle_command svn:r1404
* add and use stubs for hidserv lookup and storeRoger Dingledine2004-03-30
| | | | svn:r1402