aboutsummaryrefslogtreecommitdiff
path: root/src/or/router.c
Commit message (Expand)AuthorAge
...
* avoid thrashing the bandwidth exercise when we change IPs a lot.•••(we avoid simply by not doing any new tests when we change IPs -- it looks like we retain our previous bandwidth estimates, so there's no need to do new exercise. though in some cases new exercises may still be useful. one day we'll do something smarter.) svn:r8402 Roger Dingledine2006-09-15
* make my bandwidth exercises actually happen•••svn:r8400 Roger Dingledine2006-09-15
* Send out a burst of long-range drop cells after we've established that•••we're reachable. Spread them over 4 circuits, so hopefully a few will be fast. This exercises our bandwidth and bootstraps us quicker. svn:r8399 Roger Dingledine2006-09-15
* r8819@Kushana: nickm | 2006-09-15 00:27:45 -0400••• Implement a smartlist_uniq() that will with luck not end the world. svn:r8396 Nick Mathewson2006-09-15
* r9758@danube: weasel | 2006-09-14 07:10:12 +0200••• Add a comment svn:r8391 Peter Palfrader2006-09-14
* r9753@danube: weasel | 2006-09-14 07:07:02 +0200••• Remove duplicates from MyFamily svn:r8390 Peter Palfrader2006-09-14
* r9736@danube: weasel | 2006-09-14 05:53:06 +0200••• Refactor dirserv_parse_fingerprint_file(fname) into dirserv_load_fingerprint_file(): There is not need to put together the path to the approved-routers file in more than one place. svn:r8386 Peter Palfrader2006-09-14
* start remembering X-Your-Address-Is hints even if you're•••a client, so you can become a server more smoothly. svn:r8359 Roger Dingledine2006-09-09
* fix typo, add log message•••svn:r8357 Roger Dingledine2006-09-09
* add a "getinfo address" controller command.•••svn:r8354 Roger Dingledine2006-09-09
* prefer calling it a client rather than an OP•••svn:r8334 Roger Dingledine2006-09-07
* r6908@Kushana: nickm | 2006-07-26 12:38:52 -0400••• Refactor connection_t into edge, or, dir, control, and base subtypes. This might save some RAM on busy exit servers, but really matters most in terms of correctness. svn:r6906 Nick Mathewson2006-07-26
* when we find our dirport to be reachable, mark our descriptor•••dirty so we'll tell the world. (fixes bug 306 reported by pnx) svn:r6787 Roger Dingledine2006-07-18
* Start publishing one minute or so after we find our ORPort•••to be reachable. This will help reduce the number of descriptors we have for ourselves floating around, since it's quite likely other things (e.g. DirPort) will change during that minute too. svn:r6786 Roger Dingledine2006-07-18
* parameterize the loudness of log_addr_has_changed(), since it's the•••only place where we inform the user of a new IP address, if we're guessing it from external sources. svn:r6780 Roger Dingledine2006-07-17
* Make a louder statement the first time we learn a guessed•••IP address. svn:r6779 Roger Dingledine2006-07-17
* and don't try to build the descriptor every second, if it's dirty•••but we don't have a known address. svn:r6777 Roger Dingledine2006-07-17
* fix some more places where we shouldn't crash if we can't build•••our own descriptor yet. svn:r6775 Roger Dingledine2006-07-17
* Allow servers with no hostname or IP address to learn their IP address•••by asking the directory authorities. This code only kicks in when you would normally have exited with a "no address" error. This design is flawed, though, since the X-Your-Address-Is header is not authenticated, and doing it this way introduces too many new attacks. The right answer is to give IP address hints inside the HELLO cell; much of this code can be reused when we switch. svn:r6774 Roger Dingledine2006-07-17
* parameterize the loudness of resolve_my_address(), and call things•••IP addresses, not IPs. svn:r6764 Roger Dingledine2006-07-15
* Get rid of the router_retry_connections notion. Now routers no longer•••try to rebuild long-term connections to directory authorities, and directory authorities no longer try to rebuild long-term connections to all servers. We still don't hang up connections in these two cases though -- we need to look at it more carefully to avoid flapping, and we likely need to wait til 0.1.1.x is obsolete. svn:r6712 Roger Dingledine2006-07-04
* Next batch of memory miserdom: mmap cached-routers file. This is sure to bre...•••svn:r6675 Nick Mathewson2006-06-22
* be more lax about recognizing valid hexdigests.•••svn:r6619 Roger Dingledine2006-06-13
* simplify the tortls api: we only support being a "server", that•••is, even tor clients do the same sort of handshake. this has been true for years, so it's best to get rid of the stale code. svn:r6557 Roger Dingledine2006-06-07
* Add a new warning to our "warn a lot" list: unused parameters. This means we...•••svn:r6532 Nick Mathewson2006-06-04
* be more verbose about testing reachability of our ORPort.•••svn:r6506 Roger Dingledine2006-05-26
* petty cleanups•••svn:r6421 Roger Dingledine2006-04-25
* Regenerate our local descriptor if it's dirty and some local•••function asks for it. This may resolve bug 286. svn:r6412 Roger Dingledine2006-04-23
* forward-port: "Resolve" all XXX011 items, mostly by marking them non-011.•••svn:r6396 Nick Mathewson2006-04-18
* that extra punctuation distracts me•••svn:r6250 Roger Dingledine2006-03-27
* Refactor and consolidate addr/exit policies into a new policies.c.•••Fix some minor bugs and memory leaks along the way. svn:r6246 Roger Dingledine2006-03-27
* stop writing the "router.desc" file, ever. nothing uses it anymore.•••svn:r6224 Roger Dingledine2006-03-22
* Log server fingerprint on startup•••svn:r6223 Peter Palfrader2006-03-22
* Finish the transition from the word 'verified' to the words•••'named' and 'valid'. svn:r6188 Roger Dingledine2006-03-19
* normalize whitespace.•••svn:r6173 Nick Mathewson2006-03-17
* Do not warn about unknown servers in our family when they are given as hex di...•••svn:r6163 Nick Mathewson2006-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
* 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
* remove some redundant code now that we compress exit policies•••after parsing them svn:r6099 Roger Dingledine2006-03-08
* make the NoPublish option obsolete.•••svn:r6052 Roger Dingledine2006-02-20
* tweak•••svn:r6051 Roger Dingledine2006-02-20
* New config options to address bug 251:•••FetchServerDescriptors and FetchHidServDescriptors for whether to fetch server info and hidserv info or let the controller do it, and also PublishServerDescriptor and PublishHidServDescriptors. Add AllDirActionsPrivate undocumented option -- if you set it, you'll need the controller to bootstrap you enough to build your first circuits. svn:r6047 Roger Dingledine2006-02-19
* document the frequency for reachability testing by the•••directory authorities. svn:r6014 Roger Dingledine2006-02-14
* the last of the log convention conversion. finally.•••svn:r6005 Roger Dingledine2006-02-13
* Generate 18.0.0.0/8 address policy format in descs when we can; warn when the...•••svn:r5991 Nick Mathewson2006-02-12
* Happy new year!•••svn:r5949 Roger Dingledine2006-02-09
* 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 detect an assert error earlier•••svn:r5834 Roger Dingledine2006-01-17
* Indirect access to the signed_descriptor field to make it easier to keep them...•••svn:r5827 Nick Mathewson2006-01-12
* 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