aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
Commit message (Expand)AuthorAge
* Implement Jason Holt's SafeSocks config option.•••Also put a URL in the warning message for unsafe socks4 use -- previously we'd only had the URL for unsafe socks5 use. Oops. svn:r6190 Roger Dingledine2006-03-19
* Finish the transition from the word 'verified' to the words•••'named' and 'valid'. svn:r6188 Roger Dingledine2006-03-19
* fix some typos•••svn:r6185 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
* 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
* (Missing header change) Do not warn about unknown servers in our family when ...•••svn:r6164 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
* 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
* Now do address rewriting when the controller asks us to attach•••to a particular circuit too. This will let Blossom specify "moria2.exit" without having to learn what moria2's IP address is. It may also cause other controller authors some angst. Let us know. svn:r6136 Roger Dingledine2006-03-12
* Use escaped() for remaining cases.•••svn:r6117 Nick Mathewson2006-03-11
* Implement NEWNYM. Nick, did I do a bad thing?•••svn:r6105 Roger Dingledine2006-03-09
* start using OR_CONN_EVENT_NEW.•••also fixes a seg fault in tor (bug 261). svn:r6101 Roger Dingledine2006-03-08
* Possible bug 265 fix: authorities must be more strict than clients about age ...•••svn:r6095 Nick Mathewson2006-03-08
* Add some functions to escape values from the network before sending them to t...•••svn:r6087 Nick Mathewson2006-03-05
* Add a new circuit purpose 'controller' to let the controller•••ask for a circuit that Tor won't try to use. Extend the EXTENDCIRCUIT controller command to let you specify the purpose if you're starting a new circuit. Add a new SETCIRCUITPURPOSE controller command to let you change a circuit's purpose after it's been created. svn:r6075 Roger Dingledine2006-02-23
* 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
* clean up the Reachable*Addresses changes•••svn:r6041 Roger Dingledine2006-02-19
* Split ReachableAddresses into ReachableDirAddresses and ReachableORAddresses•••svn:r6009 Peter Palfrader2006-02-13
* Let the users set ControlListenAddress in the torrc.•••This can be dangerous, but there are some cases (like a secured LAN) where it makes sense. svn:r5997 Roger Dingledine2006-02-13
* Retain unrecognized options in state file, so that we can be forward-compatible.•••svn:r5985 Nick Mathewson2006-02-12
* 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
* When a client asks for an old-style directory and our write bucket•••is empty, don't give it to him. This way small servers can continue to serve the directory *sometimes*, without getting overloaded. svn:r5968 Roger Dingledine2006-02-11
* Happy new year!•••svn:r5949 Roger Dingledine2006-02-09
* correct the comments that don't realize it's the opposite•••svn:r5934 Roger Dingledine2006-02-09
* Move "sort list of versions" logic into routerparse.c; make version-checking ...•••svn:r5927 Nick Mathewson2006-02-06
* typos and nits•••svn:r5911 Roger Dingledine2006-02-05
* Fix bug 225: now "attachstream 0" treats conn like it just connected,•••doing address remapping, handling .exit and .onion idioms, and so on. Now we are more uniform in making sure that the controller hears about all new connections, and making sure it hears when they close. svn:r5897 Roger Dingledine2006-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
* 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
* oh, and the other bits of the commit•••svn:r5836 Roger Dingledine2006-01-17
* Indirect access to the signed_descriptor field to make it easier to keep them...•••svn:r5827 Nick Mathewson2006-01-12
* 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
* Be more aggressive about throwing away expired router descriptors: they are o...•••svn:r5762 Nick Mathewson2006-01-10
* Instrument directory client bytes as well as server bytes.•••svn:r5760 Nick Mathewson2006-01-09
* Add reasons to DESTROY and RELAY_TRUNCATED cells.•••svn:r5734 Nick Mathewson2006-01-05
* 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
* when we choose not to use a server descriptor from our cache, don't•••log it so loudly. svn:r5713 Roger Dingledine2006-01-03
* make the "stable" flag in network-status be the median of the uptimes•••of running valid servers. that way the cutoff adapts to the stability of the network as a whole. svn:r5693 Roger Dingledine2006-01-02
* Make tor compile again•••svn:r5688 Peter Palfrader2005-12-31
* add a TorVersion state string.•••not yet set to anything. svn:r5687 Roger Dingledine2005-12-31
* Finish implementing config's EntryNodes and StrictEntryNodes option.•••The logging is way verbose for now. svn:r5683 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
* when we connect to a helper node for the first time, close•••that connection and its circuits. this lets us go back to using the old helper nodes rather than immediately using the last one in the list. svn:r5670 Roger Dingledine2005-12-28
* Implement new directory logic: download by descriptor digest, not by key dige...•••svn:r5659 Nick Mathewson2005-12-27
* simplify because we weren't using those return values anyway•••svn:r5643 Roger Dingledine2005-12-24
* Keep bandwidth history accross restarts/crashes•••svn:r5637 Peter Palfrader2005-12-23
* nother typo•••svn:r5605 Roger Dingledine2005-12-15