aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerlist.c
Commit message (Expand)AuthorAge
* Finish the transition from the word 'verified' to the words•••'named' and 'valid'. svn:r6188 Roger Dingledine2006-03-19
* authdirs shouldn't complain about unreachability when they•••fetch a descriptor from somebody else. this is not the right time to increment the failure count. svn:r6184 Roger Dingledine2006-03-18
* auth dir servers were only modifying a server's is_running field•••when they created a network status. so if nobody asked for a network status, they would never discover that any servers are is_running, so they could never build a circuit. svn:r6183 Roger Dingledine2006-03-18
* let an authdir that's not a naming authdir start even•••if it doesn't have an approved-routers file. if it does, read it and parse it as usual. svn:r6182 Roger Dingledine2006-03-18
* Implement router purposes, and don't choose a non-general•••purpose router when picking random nodes for a circuit. Also implement SETROUTERPURPOSE and modify +POSTDESCRIPTOR. This concludes bug 250 assuming it all works. svn:r6178 Roger Dingledine2006-03-17
* Comments: cleanups and additions.•••svn:r6174 Nick Mathewson2006-03-17
* Only warn about lack of name binding for self if we have tried downloading ev...•••svn:r6172 Nick Mathewson2006-03-17
* Interim fix for 272: Only warn that we are not named if we have status docs f...•••svn:r6166 Nick Mathewson2006-03-15
* 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
* change INET_NTOA_BUF_LEN+1 to INET_NTOA_BUF_LEN•••add a comment in a few places where we add weird numbers to buffer lengths svn:r6161 Peter Palfrader2006-03-14
* 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
* huge warning sign for esc_router_info()•••svn:r6124 Roger Dingledine2006-03-11
* Use escaped() for remaining cases.•••svn:r6117 Nick Mathewson2006-03-11
* Possible bug 265 fix: authorities must be more strict than clients about age ...•••svn:r6095 Nick Mathewson2006-03-08
* i missed the other half of that grammar fix•••svn:r6058 Roger Dingledine2006-02-21
* Improve the "we have been waiting for 1140377851 seconds" log•••svn:r6046 Peter Palfrader2006-02-19
* don't warn when we get a server descriptor from the controller•••but it's too old. that's not something tor should fix. svn:r6019 Roger Dingledine2006-02-15
* Split ReachableAddresses into ReachableDirAddresses and ReachableORAddresses•••svn:r6009 Peter Palfrader2006-02-13
* the last of the log convention conversion. finally.•••svn:r6005 Roger Dingledine2006-02-13
* bugfix: we were ignoring the IS_FAST flag in the directory•••status, meaning we were willing to pick trivial-bandwidth nodes for "fast" connections. svn:r5992 Roger Dingledine2006-02-13
* Clients now honor the "guard" flag in the router status when•••picking entry guards, rather than looking at is_fast or is_stable. Now dirservers can change how they define it and clients will automatically use their new definition. svn:r5979 Roger Dingledine2006-02-12
* get our grammar right when complaining about un-recommended versions•••svn:r5950 Roger Dingledine2006-02-09
* Happy new year!•••svn:r5949 Roger Dingledine2006-02-09
* Move "sort list of versions" logic into routerparse.c; make version-checking ...•••svn:r5927 Nick Mathewson2006-02-06
* more typos and nits•••svn:r5918 Roger Dingledine2006-02-05
* Stupid cut-and-paste bug.•••svn:r5917 Nick Mathewson2006-02-05
* cosmetic fix•••svn:r5915 Roger Dingledine2006-02-05
* clean up tabs and wide-lines from weasel's commit•••svn:r5914 Roger Dingledine2006-02-05
* fix bug: we were caching the newest descriptor for each server,•••well, forever. i imagine this just keeps growing in size. svn:r5912 Roger Dingledine2006-02-05
* Try to make tor work better through squid: Limit number of descriptors we fetch•••to 96 (was 128 previously). We limit this number even when we do not have a http proxy explicitly configured as some people mistakenly believe transparent proxies are a neat idea. svn:r5901 Peter Palfrader2006-02-03
* Add a new config option ExitPolicyRejectPrivate which defaults to 1.•••This means all exit policies will begin with rejecting private addresses, unless the server operator explicitly turns it off. Also, make our code to remove redundancies in the exit policy smarter, so it can detect "reject foo, reject bar, reject *" patterns. Lastly, we can get rid of the "exit policy implicitly accepts" code, since we make everything more explicit now. svn:r5888 Roger Dingledine2006-02-01
* Try to fix policy_includes_addr_mask_implicitly()•••svn:r5886 Peter Palfrader2006-02-01
* Also catch 0/8 in exit_policy_implicitly_allows_local_networks()•••svn:r5885 Peter Palfrader2006-02-01
* make it louder when we're running an unrecommended version.•••also, we need to tell them what versions *are* recommended. i'll add that to the todo. svn:r5859 Roger Dingledine2006-01-24
* Make dirservers generate a separate "guard" flag to mean, "would make a good ...•••svn:r5856 Nick Mathewson2006-01-24
* remove unused code•••svn:r5847 Roger Dingledine2006-01-20
* add another assert to make sure we're not scribbling on the stack.•••svn:r5837 Roger Dingledine2006-01-17
* Clients should not download descriptors for non-running descriptors.•••svn:r5830 Nick Mathewson2006-01-16
* Indirect access to the signed_descriptor field to make it easier to keep them...•••svn:r5827 Nick Mathewson2006-01-12
* When the controller was submitting a descriptor, we were checking to make•••sure some network-status we had referred to it, and refusing it if not. This is bad for people who want to insert descriptors that aren't part of the current Tor network. Now we accept them, and also give a more useful warn message if we ask a dir mirror for a given descriptor and it gives us one we weren't expecting. svn:r5824 Roger Dingledine2006-01-12
* Fix memory leak in routerlist_remove_old_routers().•••svn:r5790 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
* Be more aggressive about throwing away expired router descriptors: they are o...•••svn:r5762 Nick Mathewson2006-01-10
* When picking a random directory, prefer non-authorities if any are known.•••svn:r5761 Nick Mathewson2006-01-09
* Fix bug 236: caches should cache up to 16 unrecognized network-status docs.•••svn:r5754 Nick Mathewson2006-01-08
* Dont call directory_get_from_dirserver when you have a particular dirserver i...•••svn:r5741 Nick Mathewson2006-01-06
* short-circuit half the cost of node-picking in the general case.•••svn:r5732 Roger Dingledine2006-01-05
* cleanups, and remove some unreachable code.•••svn:r5727 Roger Dingledine2006-01-04
* authdirs now stop whining so loudly about bad descriptors that they fetch•••from other dirservers. now when there's a log complaint, it's for sure from a freshly uploaded descriptor. svn:r5726 Roger Dingledine2006-01-04