Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | clients exit immediately on interrupt; they don't wait | Roger Dingledine | 2004-07-21 |
| | | | | svn:r2076 | ||
* | Misc small code cleanups; remove exit_server_mode(); change tor_tls_verify ↵ | Nick Mathewson | 2004-07-21 |
| | | | | | | behavior svn:r2073 | ||
* | add a new advertised_server_mode() to distinguish ORs that | Roger Dingledine | 2004-07-21 |
| | | | | | | | are willing to become servers from ones that really are servers. svn:r2071 | ||
* | when we get a sigint, don't accept new connections/circuits, | Roger Dingledine | 2004-07-20 |
| | | | | | | | | but delay 30 seconds until exiting. if we get a second sigint, exit immediately. svn:r2070 | ||
* | also don't hang up on him if we're an OR and he's an authdirserver | Roger Dingledine | 2004-07-20 |
| | | | | | | | otherwise we keep getting taken out of the running-routers list svn:r2063 | ||
* | if you're an OR and he's an OR and he's running 0.0.7, | Roger Dingledine | 2004-07-20 |
| | | | | | | | don't expire your connections to him. svn:r2062 | ||
* | a whole swath of fixes | Roger Dingledine | 2004-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 | ||
* | abstract ORPort/SocksPort checks into server_mode(), proxy_mode(), ↵ | Nick Mathewson | 2004-07-18 |
| | | | | | | clique_mode(), etc. Dont change underlying comments. svn:r2054 | ||
* | Bugfix: some things (like ctrl-z) can make a second take more than one second | Nick Mathewson | 2004-07-13 |
| | | | | svn:r2042 | ||
* | only count bytes transmitted to/from non-local IPs | Roger Dingledine | 2004-07-13 |
| | | | | svn:r2041 | ||
* | checkpoint: start working on bandwidth tracking and | Roger Dingledine | 2004-07-13 |
| | | | | | | | letting clients evaluate whether they're suitable servers svn:r2037 | ||
* | when you expire a wedged dir conn, conn_close_if_marked will take | Roger Dingledine | 2004-07-13 |
| | | | | | | | care of trying to flush before it closes svn:r2035 | ||
* | touchups all over | Roger Dingledine | 2004-07-04 |
| | | | | | | | put uptime in descriptor svn:r2011 | ||
* | cleanups on 008pre1 items | Roger Dingledine | 2004-06-30 |
| | | | | svn:r1993 | ||
* | Always use get_data_directory() instead of options.DataDirectory; fix a ↵ | Nick Mathewson | 2004-06-30 |
| | | | | | | memory leak in router.c svn:r1991 | ||
* | Remaining 008pre1 items done; deferred where more design is needed. | Nick Mathewson | 2004-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 testing | Nick Mathewson | 2004-06-21 |
| | | | | svn:r1981 | ||
* | Implement code to run tor as an NT service. More testing is needed, as is ↵ | Nick Mathewson | 2004-06-12 |
| | | | | | | code to install the service. svn:r1966 | ||
* | Break tor_main into startup/loop/shutdown portions, to make NT service ↵ | Nick Mathewson | 2004-06-12 |
| | | | | | | refactoring possible. svn:r1965 | ||
* | Rotate dnsworkers and cpuworkers on SIGHUP, so they get new config settings too | Nick Mathewson | 2004-06-06 |
| | | | | svn:r1950 | ||
* | Stop multiplying logs on sighup. | Nick Mathewson | 2004-06-02 |
| | | | | svn:r1936 | ||
* | Add more asserts to dns-pending connections; fix a couple seeming bugs. | Nick Mathewson | 2004-06-01 |
| | | | | svn:r1931 | ||
* | declare the epipe bug a non-bug. | Roger Dingledine | 2004-06-01 |
| | | | | | | | | now we catch and ignore epipe signals, and when write returns epipe, we simply return -1 and close the socket/connection. svn:r1928 | ||
* | bugfix: if the wedged dir conn has no bytes to flush, then we never | Roger Dingledine | 2004-05-28 |
| | | | | | | | close it. svn:r1924 | ||
* | dirservers try to reconnect periodically too, in case connections have failed | Roger Dingledine | 2004-05-28 |
| | | | | svn:r1922 | ||
* | Keep temporary log in place while configuring logs | Nick Mathewson | 2004-05-24 |
| | | | | svn:r1919 | ||
* | Tinker with log behavior: never send error messages about logs into the ↵ | Nick Mathewson | 2004-05-20 |
| | | | | | | bitbucket svn:r1912 | ||
* | some more patching | Roger Dingledine | 2004-05-20 |
| | | | | svn:r1910 | ||
* | non-dirservers expire routerinfo's that are more than a day old | Roger Dingledine | 2004-05-20 |
| | | | | svn:r1907 | ||
* | Allow multiple logfiles at different severity ranges | Nick Mathewson | 2004-05-19 |
| | | | | svn:r1899 | ||
* | fix a seg fault, add another XXX for nick ;) | Roger Dingledine | 2004-05-18 |
| | | | | svn:r1892 | ||
* | Resolve some XXXs | Nick Mathewson | 2004-05-18 |
| | | | | svn:r1889 | ||
* | Make directory functions update routerlist, not replace it. Add notion of ↵ | Nick Mathewson | 2004-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 API | Roger Dingledine | 2004-05-12 |
| | | | | svn:r1860 | ||
* | break connection_edge_end out of connection_mark_for_close | Roger Dingledine | 2004-05-12 |
| | | | | svn:r1858 | ||
* | break rend_client_desc_fetched out of connection_mark_for_close | Roger Dingledine | 2004-05-12 |
| | | | | svn:r1856 | ||
* | calling flush_buf and not checking for return value is bad | Roger Dingledine | 2004-05-12 |
| | | | | svn:r1851 | ||
* | Add an extra flush attempt when closing wedged dir conns, in an attempt to ↵ | Nick Mathewson | 2004-05-11 |
| | | | | | | isolate the EPIPE bug svn:r1848 | ||
* | it's amazing what a bit of punctuation can do for appearances | Roger Dingledine | 2004-05-10 |
| | | | | svn:r1843 | ||
* | More doxygenation. | Nick Mathewson | 2004-05-10 |
| | | | | svn:r1832 | ||
* | more doxygen markup | Roger Dingledine | 2004-05-09 |
| | | | | | | | plenty more remains svn:r1824 | ||
* | bugfix: do directory_send_command only after we've established a socket | Roger Dingledine | 2004-05-09 |
| | | | | | | | also many comments, cleaning, etc svn:r1823 | ||
* | bugfix: add a circ->resolving_streams field, and make dns resolving ↵ | Roger Dingledine | 2004-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 | ||
* | Document the rest of main.c | Nick Mathewson | 2004-05-05 |
| | | | | svn:r1797 | ||
* | Comments for nearly all non-tricky files | Nick Mathewson | 2004-05-05 |
| | | | | svn:r1796 | ||
* | Only connection_add connections once they have conn->s sett; refactor code ↵ | Nick Mathewson | 2004-05-05 |
| | | | | | | around this. Should make stuff more bulletproof. svn:r1788 | ||
* | must close marked connections at the end of run_scheduled_events. | Roger Dingledine | 2004-05-05 |
| | | | | | | | | | | | otherwise they might have a socket -1, and if we leave them around they'll muck up poll/select. i think this was the cause of our win32 and os x fakepoll crashes, and probably would cause other errors down the road. svn:r1786 | ||
* | Working strerror for windows socket errors, plus some snide comments. | Nick Mathewson | 2004-05-02 |
| | | | | svn:r1775 | ||
* | Handle windows socket errors correctly; comment most of common. | Nick Mathewson | 2004-05-01 |
| | | | | svn:r1756 | ||
* | tell us when we're rotating things | Roger Dingledine | 2004-04-26 |
| | | | | svn:r1712 |