aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection.c
Commit message (Expand)AuthorAge
* when we get a sigint, don't accept new connections/circuits,•••but delay 30 seconds until exiting. if we get a second sigint, exit immediately. svn:r2070 Roger Dingledine2004-07-20
* a whole swath of fixes•••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 Roger Dingledine2004-07-20
* it turns out we weren't looking at the result from getsockopt().•••now we do. but i'm not sure it matters, since we also poll for reads, and if there's an error with the connecting socket, poll is supposed to return readable, so we should notice it then. who knows. svn:r2057 Roger Dingledine2004-07-19
* abstract ORPort/SocksPort checks into server_mode(), proxy_mode(), clique_mod...•••svn:r2054 Nick Mathewson2004-07-18
* Finish most pre2 items: make running-routers list work right; rename secret k...•••svn:r2043 Nick Mathewson2004-07-13
* only count bytes transmitted to/from non-local IPs•••svn:r2041 Roger Dingledine2004-07-13
* checkpoint: start working on bandwidth tracking and•••letting clients evaluate whether they're suitable servers svn:r2037 Roger Dingledine2004-07-13
* tor now tolerates down dirservers better•••svn:r2031 Roger Dingledine2004-07-12
* if connecting to an OR fails immediately, mark it as down•••svn:r2029 Roger Dingledine2004-07-12
* touchups all over•••put uptime in descriptor svn:r2011 Roger Dingledine2004-07-04
* More digest/nickname fixes•••svn:r2000 Nick Mathewson2004-07-02
* Track routers by hash of identity key; use hex hash of identity key in place ...•••svn:r1994 Nick Mathewson2004-07-01
* Implement RESOLVE/RESOLVED cells and socks resolve code•••svn:r1978 Nick Mathewson2004-06-17
* Make tor build on win32 again; handle locking for server•••svn:r1948 Nick Mathewson2004-06-05
* be sure to detach streams from the circuit linked list before freeing them•••also, don't bother marking a conn for close if you're about to free it svn:r1935 Roger Dingledine2004-06-02
* when the dns resolve is cancelled, or fails, be sure to remove•••conn from circ->resolving_streams otherwise it gets freed and stays there, causing seg faults. svn:r1915 Roger Dingledine2004-05-21
* enable checking the socks policy•••svn:r1906 Roger Dingledine2004-05-20
* Allow multiple exit policy lines; mostly add support for AP policies•••svn:r1905 Nick Mathewson2004-05-20
* do all the heavy lifting in connection_about_to_close_connection,•••not in _connection_mark_for_close this will hopefully clean up the huge cyclical function mess svn:r1903 Roger Dingledine2004-05-19
* Add Port to *bindAddress.•••svn:r1901 Nick Mathewson2004-05-19
* don't flush the buf from inside connection_write_to_buf•••svn:r1859 Roger Dingledine2004-05-12
* break connection_edge_end out of connection_mark_for_close•••svn:r1858 Roger Dingledine2004-05-12
* Make some functions static•••svn:r1857 Nick Mathewson2004-05-12
* break rend_client_desc_fetched out of connection_mark_for_close•••svn:r1856 Roger Dingledine2004-05-12
* break part of circuit.c into relay.c•••svn:r1854 Roger Dingledine2004-05-12
* Make "connected" a different case from "finished_flushing"; always close_imme...•••svn:r1852 Nick Mathewson2004-05-12
* it's amazing what a bit of punctuation can do for appearances•••svn:r1843 Roger Dingledine2004-05-10
* more cleanup, including fleshing out or.h more•••svn:r1839 Roger Dingledine2004-05-10
* More doxygenation.•••svn:r1832 Nick Mathewson2004-05-10
* give connection.c a skeletal file/brief header•••svn:r1831 Roger Dingledine2004-05-10
* function header comments for connection.c, including doxygen markup•••svn:r1825 Roger Dingledine2004-05-10
* bugfix: do directory_send_command only after we've established a socket•••also many comments, cleaning, etc svn:r1823 Roger Dingledine2004-05-09
* bugfix: add a circ->resolving_streams field, and make dns 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 Roger Dingledine2004-05-06
* Only connection_add connections once they have conn->s sett; refactor code ar...•••svn:r1788 Nick Mathewson2004-05-05
* Working strerror for windows socket errors, plus some snide comments.•••svn:r1775 Nick Mathewson2004-05-02
* patches on patches•••svn:r1763 Roger Dingledine2004-05-02
* Documenmt buffers.c; remove function that nobody ever calls.•••svn:r1760 Nick Mathewson2004-05-01
* Fix windows compile•••svn:r1757 Nick Mathewson2004-05-01
* Handle windows socket errors correctly; comment most of common.•••svn:r1756 Nick Mathewson2004-05-01
* Use socketclose on windows as appropriate; end pid files with newline•••svn:r1745 Nick Mathewson2004-04-28
* use tor_lookup_hostname for binding local addresses too•••svn:r1744 Roger Dingledine2004-04-28
* add a debugging entry, to find the wants-to-read-but-can't bug•••svn:r1719 Roger Dingledine2004-04-26
* since we don't support truncateds much, don't bother sending them;•••just close the circ. (this wasn't relevant before, because we were mis-handling destroys.) svn:r1711 Roger Dingledine2004-04-26
* tell us the nickname of the OR that hung up on us•••svn:r1706 Roger Dingledine2004-04-26
* resolve a double-mark-for-close when things die inside connection_handle_write•••svn:r1702 Roger Dingledine2004-04-25
* use tor_assert•••remove obsolete BUF_OK macro svn:r1697 Roger Dingledine2004-04-25
* Remove onion_pkey from connection, since onion keys can change more often tha...•••svn:r1693 Nick Mathewson2004-04-25
* log correctly if decoding onion failed•••svn:r1690 Roger Dingledine2004-04-25
* Merge flagday into main branch.•••svn:r1683 Nick Mathewson2004-04-24
* we added more AP conns, oops•••svn:r1569 Roger Dingledine2004-04-08