aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
Commit message (Collapse)AuthorAge
* Misc small code cleanups; remove exit_server_mode(); change tor_tls_verify ↵Nick Mathewson2004-07-21
| | | | | | behavior svn:r2073
* get the function prototype rightRoger Dingledine2004-07-21
| | | | svn:r2072
* 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
* Track bandwidth usage to estimate capacityNick Mathewson2004-07-20
| | | | svn:r2065
* Remember list of digests for trusted dirservers; use this list to tell ↵Nick Mathewson2004-07-20
| | | | | | whether you are a trusted dirserver svn:r2064
* also don't hang up on him if we're an OR and he's an authdirserverRoger Dingledine2004-07-20
| | | | | | | otherwise we keep getting taken out of the running-routers list svn:r2063
* a whole swath of fixesRoger Dingledine2004-07-20
| | | | | | | | | | | | | | | | | | | introduce an authdir_mode() macro to match the others. don't initialize uptime to the number of seconds since 1970. non-authoritative dirservers don't cache their directory on disk. make only authdirservers use clique_mode. only read approved-routers file if you're an authdirserver. even authdirservers fetch a new directory in do_hup. retry_all_connections() is now called retry_all_listeners(). router_parse_list_from_string() correctly reports the router number it's working on. only call dirserv_add_own_fingerprint() and dirserv_add_descriptor() on startup if we're an authdirserver. if AuthDir and !ORPort then fail. if AuthDir and ClientOnly then fail. svn:r2061
* 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
* abstract ORPort/SocksPort checks into server_mode(), proxy_mode(), ↵Nick Mathewson2004-07-18
| | | | | | clique_mode(), etc. Dont change underlying comments. svn:r2054
* Remove 1024-router limit in routerparse.c; unify handling of running-routers ↵Nick Mathewson2004-07-16
| | | | | | lines in running-routers requests and in directories; set is_verified field of routerinfo_ts correctly; use most-recent-info rule to decide whether to change router-is-running status. svn:r2051
* Resolve all DOCDOCs.Nick Mathewson2004-07-16
| | | | svn:r2050
* Code to parse tor version numbers so we can do an is-newer-than check.Nick Mathewson2004-07-13
| | | | svn:r2044
* checkpoint: start working on bandwidth tracking andRoger Dingledine2004-07-13
| | | | | | | letting clients evaluate whether they're suitable servers svn:r2037
* tor now tolerates down dirservers betterRoger Dingledine2004-07-12
| | | | svn:r2031
* add 'advertisedbandwidth' to router descriptorRoger Dingledine2004-07-12
| | | | svn:r2028
* More digest/nickname fixesNick Mathewson2004-07-02
| | | | svn:r2000
* some of the infrastructure to let ORs connect on demandRoger Dingledine2004-07-02
| | | | svn:r1998
* running-routers now lists down routers too (with a ! before their name)Roger Dingledine2004-07-01
| | | | svn:r1996
* 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
* 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
* Implement several 008pre1 items: needs more testingNick Mathewson2004-06-21
| | | | svn:r1981
* Implement RESOLVE/RESOLVED cells and socks resolve codeNick Mathewson2004-06-17
| | | | svn:r1978
* router->is_trusted_dir implies router->dir_port>0Roger Dingledine2004-06-16
| | | | | | | and add some infrastructure for fetching running-routers list svn:r1973
* include <inttypes.h> if we have itRoger Dingledine2004-06-16
| | | | | | | openbsd on a sparc64 needs this (apparently) svn:r1971
* provide a prototype for dnsworkers_rotateRoger Dingledine2004-06-07
| | | | svn:r1961
* Make tor build on win32 again; handle locking for serverNick Mathewson2004-06-05
| | | | svn:r1948
* 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
* Add more asserts to dns-pending connections; fix a couple seeming bugs.Nick Mathewson2004-06-01
| | | | svn:r1931
* Check recommended-software string *early*, before actually parsing the ↵Nick Mathewson2004-06-01
| | | | | | directory. svn:r1930
* use sys/param.h if it's thereRoger Dingledine2004-06-01
| | | | svn:r1927
* rik's patch to not complain about freebsd's bugRoger Dingledine2004-05-26
| | | | svn:r1921
* commit two fixes from Thomas ThemelRoger Dingledine2004-05-22
| | | | svn:r1918
* Tinker with log behavior: never send error messages about logs into the ↵Nick Mathewson2004-05-20
| | | | | | bitbucket svn:r1912
* router_choose_random_node() was ignoring its routerlist argument.Roger Dingledine2004-05-20
| | | | | | | so now we don't pass it one. svn:r1911
* non-dirservers expire routerinfo's that are more than a day oldRoger Dingledine2004-05-20
| | | | svn:r1907
* enable checking the socks policyRoger Dingledine2004-05-20
| | | | svn:r1906
* Allow multiple exit policy lines; mostly add support for AP policiesNick Mathewson2004-05-20
| | | | svn:r1905
* Allow multiple logfiles at different severity rangesNick Mathewson2004-05-19
| | | | svn:r1899
* remove upper limit on number of descriptors/directories in dirserver; use ↵Nick Mathewson2004-05-18
| | | | | | smartlists instead of arrays svn:r1894
* 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
* bugfix: if a circuit if borderline too old, then count it as too old.Roger Dingledine2004-05-15
| | | | | | | | | bugfix: we were retrying the same circuit after getting a resolve failure. so of course the next two tries would fail too. now we try a new circuit each time (at most three times). svn:r1867
* Break files apart into more modulesRoger Dingledine2004-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | * \file circuitbuild.c * \brief The actual details of building circuits. * \file circuitlist.c * \brief Manage the global circuit list. * \file circuituse.c * \brief Launch the right sort of circuits, attach streams to them. * \file connection_edge.c * \brief Handle edge streams. * \file onion.c * \brief Functions to queue create cells, and handle onionskin * parsing and creation. * \file relay.c * \brief Handle relay cell encryption/decryption, plus packaging and * receiving from circuits. svn:r1863
* 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
* Make some functions staticNick Mathewson2004-05-12
| | | | svn:r1857
* break rend_client_desc_fetched out of connection_mark_for_closeRoger Dingledine2004-05-12
| | | | svn:r1856
* 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
* Split directory/router parsing functionality into separate file from ↵Nick Mathewson2004-05-10
| | | | | | routerlist.c svn:r1846