aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
Commit message (Expand)AuthorAge
* if we as a directory mirror don't know of any v1 directory•••authorities, then don't try to cache any v1 directories. svn:r6162 Roger Dingledine2006-03-15
* when event_add or event_del fail, tell us why.•••svn:r6156 Roger Dingledine2006-03-13
* More cleanups noticed by weasel; also, remove macros that nobody uses.•••svn:r6143 Nick Mathewson2006-03-12
* 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
* a better clean-up•••svn:r6139 Roger Dingledine2006-03-12
* and another fix•••svn:r6138 Roger Dingledine2006-03-12
* stop printing a log message at every iteration through the•••event loop when holding open a conn for flushing but it doesn't want to flush any more bytes yet. svn:r6114 Roger Dingledine2006-03-09
* Implement NEWNYM. Nick, did I do a bad thing?•••svn:r6105 Roger Dingledine2006-03-09
* clean up typo•••svn:r6103 Roger Dingledine2006-03-09
* Explain why we only expire open connections•••svn:r6015 Peter Palfrader2006-02-14
* Do not mark connections obsolete before they have done their TLS handshake or...•••svn:r6013 Peter Palfrader2006-02-14
* the things we do for our windows users.•••i hope they appreciate it. svn:r6004 Roger Dingledine2006-02-13
* Happy new year!•••svn:r5949 Roger Dingledine2006-02-09
* stop calling it a "libevent poll" -- the word "poll" has•••other meaning in this context that are confusing. svn:r5936 Roger Dingledine2006-02-09
* as soon as we've fetched some more directory info, that's time•••to think about downloading more server descriptors. this way we don't have a 10 second pause in initial bootstrapping. svn:r5916 Roger Dingledine2006-02-05
* forward-port the part where ordinary users try to fetch directories•••less often. not critical but might as well stay in sync with stable. svn:r5910 Roger Dingledine2006-02-05
* don't try to upload hidden service descriptors until we have•••established a circuit. svn:r5884 Roger Dingledine2006-02-01
* only start testing reachability once we've established a circuit.•••this will make startup on dirservers less noisy. it may also break things in subtle ways. svn:r5878 Roger Dingledine2006-01-29
* a slightly more useful message when you get a sighup•••svn:r5869 Roger Dingledine2006-01-26
* Stop complaining loudly whenever some poor client falls off•••the network before we finish writing to him. svn:r5850 Roger Dingledine2006-01-23
* oh hey. we were hanging up on every tor client because he•••was obsolete as soon as he started. big oops. svn:r5807 Roger Dingledine2006-01-11
* Fix wide lines•••svn:r5793 Nick Mathewson2006-01-11
* entry nodes are now entry guards.•••this is our last easy chance for a wholesale change. heave ho. svn:r5782 Roger Dingledine2006-01-10
* balance the reachability testing so a smidgen of it happens•••every 10 seconds. this way we don't try to do 500 tls's at once every 20 minutes. svn:r5763 Roger Dingledine2006-01-10
* bugfix: we were leaving open duplicate connections to other ORs•••for a week, rather than closing them once we detect a duplicate. also, avoid some duplicate mark-for-closes in connection-housekeeping. svn:r5752 Roger Dingledine2006-01-07
* and get the log arguments right•••svn:r5747 Roger Dingledine2006-01-07
* a more correct log message•••svn:r5746 Roger Dingledine2006-01-07
* Some tor servers process billions of cells in a matter of days.•••These statistics need to be uint64_t's. svn:r5686 Roger Dingledine2005-12-31
* helper nodes are dead. long live entry nodes.•••(config options EntryNodes and StrictEntryNodes still not implemented.) svn:r5673 Roger Dingledine2005-12-28
* normalize spaces•••svn:r5658 Nick Mathewson2005-12-27
* Keep bandwidth history accross restarts/crashes•••svn:r5637 Peter Palfrader2005-12-23
* Instead of "Network down", say "Is your network connection down?"•••svn:r5607 Nick Mathewson2005-12-15
* Clean fake_status a bit. Switch from has_fetched_directory to have_minimum_d...•••svn:r5591 Nick Mathewson2005-12-15
* Bite the bullet and limit all our source lines to 80 characters, the way IBM ...•••svn:r5582 Nick Mathewson2005-12-14
* when we changed from log_fn to debug/info/notice/warn/err,•••we screwed up the formatting in wild and unpredictable ways. fix it before it becomes convention to format logs in wild and unpredictable ways. still need to do src/common/ someday. svn:r5551 Roger Dingledine2005-12-10
* In my private little universe, terminals are still 80 columns. Impose a 160-...•••svn:r5548 Nick Mathewson2005-12-09
* when we're checking reachability, make it clearer in the logs•••what to expect. svn:r5538 Roger Dingledine2005-12-08
* Expunge remaining places where we used "tree" to mean "associative array".•••svn:r5490 Nick Mathewson2005-12-03
* Move connection_or_remove_from_identity_map() to connection_unlink, but dont ...•••svn:r5470 Nick Mathewson2005-11-30
* when event_add or event_del fail, tell us why.•••(nick, do i have my libevent strerror dance moves correct?) svn:r5462 Roger Dingledine2005-11-26
* "How about 'never'? Does 'never' work for you?"•••Weasel says circuit_get_by_conn is his main timesink. Most of its users were just checking whether OR conns had circuits, so add a circuit count to OR conns, and check that. One was circuit_about_to_close_conn, which was doing an O(n^2) series of calls to get all circs on an OR conn, so make an O(n) function for that. Finally, circuit_get_by_edge_conn was using it as a sanity test that has been around for a while but never found any actualy insanity, so kill that. circuit_get_by_conn is finally dead, which is good, since it was never sane to begin with. svn:r5460 Nick Mathewson2005-11-26
* Dump bytes held to store descriptors.•••svn:r5443 Nick Mathewson2005-11-23
* Recover better from TCP connections to Tor servers that are broken but•••don't tell you (it happens!); and rotate TLS connections once a week. 1) If an OR conn becomes more than a week old, make it obsolete. 2) If it's obsolete and empty, kill it. 3) When an OR makes a second connection to you, allow it. 4) If we want to send a new create cell, but the best conn we've got is obsolete, and the router is 0.1.1.9-alpha-cvs or later, ask for a new conn instead. 5) When we time out on circuit building on the first hop, make that connection obsolete. svn:r5429 Roger Dingledine2005-11-19
* 15*60 is 15 minutes, not 5•••svn:r5424 Peter Palfrader2005-11-18
* Remove ip address change flapping detection. It is not really needed and I d...•••svn:r5423 Peter Palfrader2005-11-18
* Make new logging stuff work on windows; fix a couple of windows typos.•••svn:r5375 Nick Mathewson2005-11-15
* shorten more of the startup log messages•••svn:r5368 Roger Dingledine2005-11-14
* prevent duplicat mark-for-close•••svn:r5347 Nick Mathewson2005-11-04
* enable code to remove members of old_routers when it gets big.•••svn:r5345 Nick Mathewson2005-11-01
* Do round-robin writes of at most 16 kB per write. This might•••be more fair on loaded Tor servers, and it might resolve our Windows crash bug. It might also slow things down. svn:r5332 Roger Dingledine2005-10-29