Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | I wonder what an internal internet protocol is | Peter Palfrader | 2006-03-14 |
| | | | | svn:r6159 | ||
* | When we try to be a server and Address is not explicitly set | Peter Palfrader | 2006-03-14 |
| | | | | | | | | and our hostname resolves to a private IP address, try to use an interface address if it has a public address. svn:r6158 | ||
* | Fix minor semantic error with no real effect: | Peter Palfrader | 2006-03-13 |
| | | | | | | | | | we were doing "is_internal_IP(htonl(in.s_addr))" but in.s_addr is in network order and is_internal_IP wants host order. Change to "is_internal_IP(ntohl(in.s_addr))". svn:r6155 | ||
* | More cleanups noticed by weasel; also, remove macros that nobody uses. | Nick Mathewson | 2006-03-12 |
| | | | | svn:r6143 | ||
* | Cleanup on time-relaqted constants. New conventions: | Nick Mathewson | 2006-03-12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||
* | make tor --verify-config closer to working | Roger Dingledine | 2006-03-12 |
| | | | | svn:r6137 | ||
* | fix bug reported by gozu: if we get a linelist or linelist_s | Roger Dingledine | 2006-03-11 |
| | | | | | | | | config option from the torrc and it has no value, warn and skip rather than silently resetting it to its default. svn:r6125 | ||
* | Add some functions to escape values from the network before sending them to ↵ | Nick Mathewson | 2006-03-05 |
| | | | | | | the log. Use them everywhere except for routerinfo->plaftorm, routerinfo->contact_info, and rend*.c. (need sleep now) svn:r6087 | ||
* | Allow private:* in routerdescs; not generated yet (because older Tors do not ↵ | Nick Mathewson | 2006-03-05 |
| | | | | | | understand it); needs testing. svn:r6086 | ||
* | make the NoPublish option obsolete. | Roger Dingledine | 2006-02-20 |
| | | | | svn:r6052 | ||
* | the other half of fixing bug 257. catch an error in more places. | Roger Dingledine | 2006-02-20 |
| | | | | svn:r6050 | ||
* | try to address bug 257: if rename() fails during saveconf, tell | Roger Dingledine | 2006-02-19 |
| | | | | | | | the controller. svn:r6049 | ||
* | New config options to address bug 251: | Roger Dingledine | 2006-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 changes | Roger Dingledine | 2006-02-19 |
| | | | | svn:r6041 | ||
* | this is why you're not supposed to cut-and-paste code | Roger Dingledine | 2006-02-18 |
| | | | | svn:r6037 | ||
* | Make it compile with VC7. It does not yet link. | Peter Palfrader | 2006-02-18 |
| | | | | svn:r6033 | ||
* | Warn if ReachableAddresses is set when also ReachableDirAddresses and ↵ | Peter Palfrader | 2006-02-13 |
| | | | | | | ReachableORAddresses are set. svn:r6010 | ||
* | Split ReachableAddresses into ReachableDirAddresses and ReachableORAddresses | Peter Palfrader | 2006-02-13 |
| | | | | svn:r6009 | ||
* | more log conversions. | Roger Dingledine | 2006-02-13 |
| | | | | | | | whee. svn:r6003 | ||
* | resolve too-long-lines | Roger Dingledine | 2006-02-13 |
| | | | | svn:r6001 | ||
* | Style on config_addr_policy_intersectes, which looks ok to me. | Nick Mathewson | 2006-02-13 |
| | | | | svn:r5998 | ||
* | Let the users set ControlListenAddress in the torrc. | Roger Dingledine | 2006-02-13 |
| | | | | | | | | This can be dangerous, but there are some cases (like a secured LAN) where it makes sense. svn:r5997 | ||
* | Compress exit policies even more. please review | Peter Palfrader | 2006-02-13 |
| | | | | svn:r5995 | ||
* | Generate 18.0.0.0/8 address policy format in descs when we can; warn when ↵ | Nick Mathewson | 2006-02-12 |
| | | | | | | the mask is not reducible to a bit-prefix. svn:r5991 | ||
* | Drop redundant exit policy entries, not just identical ones. | Nick Mathewson | 2006-02-12 |
| | | | | svn:r5987 | ||
* | Retain unrecognized options in state file, so that we can be forward-compatible. | Nick Mathewson | 2006-02-12 |
| | | | | svn:r5985 | ||
* | more helpful log message when running servers on obsolete windows. | Roger Dingledine | 2006-02-12 |
| | | | | svn:r5975 | ||
* | bump up the period for forcing a hidden service descriptor upload | Roger Dingledine | 2006-02-12 |
| | | | | | | | from 20 minutes to 1 hour. svn:r5972 | ||
* | compress exit policies even more -- look for duplicate lines | Roger Dingledine | 2006-02-12 |
| | | | | | | | and remove them. svn:r5971 | ||
* | bugfix in config_cmp_addr_policies() -- we were treating a pair | Roger Dingledine | 2006-02-11 |
| | | | | | | | | of exit policies if they were equal even if one said accept and the other said reject. svn:r5970 | ||
* | Keep running if we ask for an impossible stdout log; just warn. | Nick Mathewson | 2006-02-11 |
| | | | | svn:r5964 | ||
* | Warn if running obsolete windows as a server. | Nick Mathewson | 2006-02-11 |
| | | | | svn:r5961 | ||
* | Happy new year! | Roger Dingledine | 2006-02-09 |
| | | | | svn:r5949 | ||
* | Fix a const-non-const warning | Nick Mathewson | 2006-02-06 |
| | | | | svn:r5923 | ||
* | Add a new config option ExitPolicyRejectPrivate which defaults to 1. | Roger Dingledine | 2006-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 | ||
* | bump the default bandwidthrate to 3 MB, and burst to 6 MB | Roger Dingledine | 2006-01-28 |
| | | | | svn:r5874 | ||
* | when you tried to set orport through the controller, it would | Roger Dingledine | 2006-01-17 |
| | | | | | | | | | | | trigger an assert because you hadn't made your onion keys yet you wanted to launch cpu workers. now init keys first, reset uptime, and tell the user that we're starting the reachability testing. svn:r5835 | ||
* | turn crypto hardware acceleration off by default, until we find | Roger Dingledine | 2006-01-16 |
| | | | | | | | somebody smart who can test it for us. svn:r5829 | ||
* | add missing warning | Nick Mathewson | 2006-01-11 |
| | | | | svn:r5806 | ||
* | Fix double-free of torrc_fname | Nick Mathewson | 2006-01-11 |
| | | | | svn:r5805 | ||
* | Fix bug 240: dont dump descriptions when not dumping actual config lines. | Nick Mathewson | 2006-01-11 |
| | | | | svn:r5804 | ||
* | Fix bug 230: add a rollback function to reverse all changes since the last ↵ | Nick Mathewson | 2006-01-11 |
| | | | | | | mark_logs_temp(), and move log initialization into the two-phase part of option setting. svn:r5803 | ||
* | Fix another memleak. I love you, valgrind! | Nick Mathewson | 2006-01-11 |
| | | | | svn:r5794 | ||
* | we were leaking 3KB every time the entry guards changed, every time | Roger Dingledine | 2006-01-11 |
| | | | | | | | the controller called saveconf, and every 20 minutes. svn:r5788 | ||
* | we changed the name of AccountingBytesReadInInterval | Roger Dingledine | 2006-01-10 |
| | | | | | | | change its state file description too svn:r5785 | ||
* | entry nodes are now entry guards. | Roger Dingledine | 2006-01-10 |
| | | | | | | | this is our last easy chance for a wholesale change. heave ho. svn:r5782 | ||
* | or_state_validate() needs an extra arg too or it will crash | Roger Dingledine | 2006-01-10 |
| | | | | svn:r5772 | ||
* | hack to address bug 238. | Roger Dingledine | 2006-01-10 |
| | | | | | | | needs a better fix, but not for 0.1.1.11. svn:r5771 | ||
* | fix bug 235 | Roger Dingledine | 2006-01-10 |
| | | | | svn:r5768 | ||
* | Refuse to use RunAsDaemon when torrc is a relative path. Fixes bug 229. | Nick Mathewson | 2006-01-10 |
| | | | | svn:r5767 |