aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
Commit message (Collapse)AuthorAge
* Possible bug 265 fix: authorities must be more strict than clients about age ↵Nick Mathewson2006-03-08
| | | | | | of acceptable routers; make routers publish every 12 hours; client ROUTER_MAX_AGE must be greater than NETWORKSTATUS_MAX_AGE+authoirty ROUTER_MAX_AGE. svn:r6095
* Add some functions to escape values from the network before sending them to ↵Nick Mathewson2006-03-05
| | | | | | the log. Use them everywhere except for routerinfo->plaftorm, routerinfo->contact_info, and rend*.c. (need sleep now) svn:r6087
* Add a new circuit purpose 'controller' to let the controllerRoger Dingledine2006-02-23
| | | | | | | | | | | | | 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
* New config options to address bug 251:Roger Dingledine2006-02-19
| | | | | | | | | | | | 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
* clean up the Reachable*Addresses changesRoger Dingledine2006-02-19
| | | | svn:r6041
* Split ReachableAddresses into ReachableDirAddresses and ReachableORAddressesPeter Palfrader2006-02-13
| | | | svn:r6009
* Let the users set ControlListenAddress in the torrc.Roger Dingledine2006-02-13
| | | | | | | | This can be dangerous, but there are some cases (like a secured LAN) where it makes sense. svn:r5997
* Retain unrecognized options in state file, so that we can be forward-compatible.Nick Mathewson2006-02-12
| | | | svn:r5985
* Clients now honor the "guard" flag in the router status whenRoger Dingledine2006-02-12
| | | | | | | | | | 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
* When a client asks for an old-style directory and our write bucketRoger Dingledine2006-02-11
| | | | | | | | is empty, don't give it to him. This way small servers can continue to serve the directory *sometimes*, without getting overloaded. svn:r5968
* Happy new year!Roger Dingledine2006-02-09
| | | | svn:r5949
* correct the comments that don't realize it's the oppositeRoger Dingledine2006-02-09
| | | | svn:r5934
* Move "sort list of versions" logic into routerparse.c; make version-checking ↵Nick Mathewson2006-02-06
| | | | | | code say which versions it would have accepted. (not tested.) svn:r5927
* typos and nitsRoger Dingledine2006-02-05
| | | | svn:r5911
* Fix bug 225: now "attachstream 0" treats conn like it just connected,Roger Dingledine2006-02-03
| | | | | | | | | | 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
* Add a new config option ExitPolicyRejectPrivate which defaults to 1.Roger Dingledine2006-02-01
| | | | | | | | | | | | | | 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
* Make dirservers generate a separate "guard" flag to mean, "would make a good ↵Nick Mathewson2006-01-24
| | | | | | entry guard". Make clients parse it and vote on it. svn:r5856
* remove unused codeRoger Dingledine2006-01-20
| | | | svn:r5847
* oh, and the other bits of the commitRoger Dingledine2006-01-17
| | | | svn:r5836
* Indirect access to the signed_descriptor field to make it easier to keep ↵Nick Mathewson2006-01-12
| | | | | | them lazily on disk. svn:r5827
* entry nodes are now entry guards.Roger Dingledine2006-01-10
| | | | | | | this is our last easy chance for a wholesale change. heave ho. svn:r5782
* balance the reachability testing so a smidgen of it happensRoger Dingledine2006-01-10
| | | | | | | | every 10 seconds. this way we don't try to do 500 tls's at once every 20 minutes. svn:r5763
* Be more aggressive about throwing away expired router descriptors: they are ↵Nick Mathewson2006-01-10
| | | | | | of no use to anybody. Better still: dont serve expired descriptors by fingerprint. The only people who ask for them are busted 0.1.1.10 Tors that will throw them away and re-request them after 30 minutes. svn:r5762
* Instrument directory client bytes as well as server bytes.Nick Mathewson2006-01-09
| | | | svn:r5760
* Add reasons to DESTROY and RELAY_TRUNCATED cells.Nick Mathewson2006-01-05
| | | | svn:r5734
* authdirs now stop whining so loudly about bad descriptors that they fetchRoger Dingledine2006-01-04
| | | | | | | | from other dirservers. now when there's a log complaint, it's for sure from a freshly uploaded descriptor. svn:r5726
* when we choose not to use a server descriptor from our cache, don'tRoger Dingledine2006-01-03
| | | | | | | log it so loudly. svn:r5713
* make the "stable" flag in network-status be the median of the uptimesRoger Dingledine2006-01-02
| | | | | | | | of running valid servers. that way the cutoff adapts to the stability of the network as a whole. svn:r5693
* Make tor compile againPeter Palfrader2005-12-31
| | | | svn:r5688
* add a TorVersion state string.Roger Dingledine2005-12-31
| | | | | | | not yet set to anything. svn:r5687
* Finish implementing config's EntryNodes and StrictEntryNodes option.Roger Dingledine2005-12-31
| | | | | | | The logging is way verbose for now. svn:r5683
* helper nodes are dead. long live entry nodes.Roger Dingledine2005-12-28
| | | | | | | | (config options EntryNodes and StrictEntryNodes still not implemented.) svn:r5673
* when we connect to a helper node for the first time, closeRoger Dingledine2005-12-28
| | | | | | | | | 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
* Implement new directory logic: download by descriptor digest, not by key ↵Nick Mathewson2005-12-27
| | | | | | digest. Caches try to download all listed digests from authorities; clients try to download "best" digests from caches. svn:r5659
* simplify because we weren't using those return values anywayRoger Dingledine2005-12-24
| | | | svn:r5643
* Keep bandwidth history accross restarts/crashesPeter Palfrader2005-12-23
| | | | svn:r5637
* nother typoRoger Dingledine2005-12-15
| | | | svn:r5605
* Add "panic" option to reject all servers not in fingerprint list.Nick Mathewson2005-12-15
| | | | svn:r5601
* Make clients look at the fast and stable flags in networkstatus, not at the ↵Nick Mathewson2005-12-15
| | | | | | bandwidth and uptime declared in the router descriptors. svn:r5599
* Whitespace fixes; comments.Nick Mathewson2005-12-15
| | | | svn:r5596
* add a few clarifying commentsNick Mathewson2005-12-15
| | | | svn:r5592
* Clean fake_status a bit. Switch from has_fetched_directory to ↵Nick Mathewson2005-12-15
| | | | | | have_minimum_dir_info, and make the latter function smarter. svn:r5591
* Choose directory servers from routerstatus list, not from routerinfo list. ↵Nick Mathewson2005-12-14
| | | | | | This way, as soon was we have a networkstatus, we can ask a cache to give us routers, rather than needing to ask the directories. svn:r5586
* Shave off 8 bytes per connection and 4 bytes per circuit by paying attention ↵Nick Mathewson2005-12-14
| | | | | | to padding warnings, moving fields around, and acknowledging that we have no files with over 64 kilolines. svn:r5583
* Bite the bullet and limit all our source lines to 80 characters, the way IBM ↵Nick Mathewson2005-12-14
| | | | | | intended. svn:r5582
* Have dirctory authorites note which servers make good V2 directory caches in ↵Nick Mathewson2005-12-12
| | | | | | publishe network-status. svn:r5574
* when we're checking reachability, make it clearer in the logsRoger Dingledine2005-12-08
| | | | | | | what to expect. svn:r5538
* Document CREATE_FAST better in the code. Move our key expansion algorithm ↵Nick Mathewson2005-12-08
| | | | | | into a separate function in crypto.c svn:r5530
* Make clients use CREATE_FAST cells. add an option to disable this.Nick Mathewson2005-12-07
| | | | svn:r5524
* Fix bug 212: Directory authorities should not try to download server ↵Nick Mathewson2005-12-06
| | | | | | descriptors that they know they will reject. svn:r5514