aboutsummaryrefslogtreecommitdiff
path: root/src/or/config.c
Commit message (Collapse)AuthorAge
* give a nicer warning message when windows people try toRoger Dingledine2006-10-27
| | | | | | | configure syslog in their torrc svn:r8841
* good thing we didn't have to track this bug down the old-fashioned wayRoger Dingledine2006-10-23
| | | | svn:r8800
* r9318@Kushana: nickm | 2006-10-22 15:22:57 -0400Nick Mathewson2006-10-23
| | | | | | | Let directory authorities set the BadExit flag if they like. Also, refactor directory authority code so we can believe multiple things about a single router, and do fewer linear searches. svn:r8794
* r9274@Kushana: nickm | 2006-10-19 16:16:58 -0400Nick Mathewson2006-10-19
| | | | | | | Add unit tests for tor_mmap_file(); make tor_mmap_t.size always be the size of the file (not the size of the mapping); add an extra argument to read_file_to_str() so it can return the size of the result string. svn:r8762
* r9061@totoro: nickm | 2006-10-17 11:18:28 -0400Nick Mathewson2006-10-17
| | | | | | | Oops. Libevent 1.2 exists. Add it to our enum, even though we dont care yet. svn:r8740
* r9060@totoro: nickm | 2006-10-17 11:12:48 -0400Nick Mathewson2006-10-17
| | | | | | | Apply patch from Mike Perry: add more reasons for circuit destroys. (Slightly tweaked to avoid allocating a number for an "internal" reason.) svn:r8739
* r8957@totoro: nickm | 2006-10-08 22:35:17 -0400Nick Mathewson2006-10-09
| | | | | | | The otherwise regrettable MIPSpro C compiler warns about values set but never used, and about mixing enums and ints; these are good warnings, and so should be fixed. This removes some dead code and some potential bugs. Thanks to pnx. svn:r8664
* more minor cleanupsRoger Dingledine2006-10-07
| | | | svn:r8630
* the other half of the is_local_IP patchRoger Dingledine2006-10-03
| | | | svn:r8581
* r8851@totoro: nickm | 2006-10-02 18:13:27 -0400Nick Mathewson2006-10-02
| | | | | | | Remove/clarify some XXXs for no longer being accurate; for begin things we do not indend to fix; for already being parts of big todo issues (like "/* XXX ipv6 */"); etc. Also fix some spaces. svn:r8580
* r8846@totoro: nickm | 2006-10-02 16:59:57 -0400Nick Mathewson2006-10-02
| | | | | | | Move is_local_IP to config.c; have it check for same-/24; make it used only for reachability (not for banwidth, because that is probably not what we want). Fixes an XXX. svn:r8578
* - V1 authorities should set "HSAuthoritativeDir 1" to continue beingRoger Dingledine2006-10-01
| | | | | | | | | | hidden service authorities too. - Just because your DirPort is open doesn't mean people should be able to remotely teach you about hidden service descriptors. Now only accept rendezvous posts if you've got HSAuthoritativeDir set. svn:r8573
* touchupsRoger Dingledine2006-10-01
| | | | svn:r8558
* r9025@Kushana: nickm | 2006-09-29 18:33:13 -0400Nick Mathewson2006-09-29
| | | | | | | Differentiate more duplicated log entries svn:r8542
* r9023@Kushana: nickm | 2006-09-29 17:27:24 -0400Nick Mathewson2006-09-29
| | | | | | | Make distinct all non-bug messages at notice or higher that appear 3 or more times. svn:r8541
* r8776@totoro: nickm | 2006-09-29 00:50:46 -0400Nick Mathewson2006-09-29
| | | | | | | | | | | Reserve the nickname "Unnamed" for routers that can't pick a hostname; any router can call itself Unnamed; directory servers will never allocate Unnamed to any particular router; clients won't believe that any router is the canonical Unnamed. svn:r8529
* r8977@Kushana: nickm | 2006-09-28 19:56:41 -0400Nick Mathewson2006-09-28
| | | | | | | Make "is a v1 authority", "is a v2 authority", and "is a hidden service authority" into separate flags so we can eventually migrate more trust away from moria. svn:r8523
* r8975@Kushana: nickm | 2006-09-28 17:13:53 -0400Nick Mathewson2006-09-28
| | | | | | | Document entry-guard related functions svn:r8521
* Add an EnforceDistinctSubnets option so that clients who know what they are ↵Nick Mathewson2006-09-25
| | | | | | doing (mainly people with private testing networks) can disable our same-/16 detection. svn:r8504
* add 6697 (ircs) as longlivedport.Roger Dingledine2006-09-25
| | | | svn:r8496
* remove 8888 as a long lived port. i can't remember why it'sRoger Dingledine2006-09-22
| | | | | | | on the list. svn:r8461
* r8878@Kushana: nickm | 2006-09-21 17:15:47 -0400Nick Mathewson2006-09-21
| | | | | | | Trivial whitespace cleanups. svn:r8443
* r8875@Kushana: nickm | 2006-09-21 16:46:28 -0400Nick Mathewson2006-09-21
| | | | | | | Resolve bug 330: detect ISPs that want to hijack failing DNS requests and basically domain-squat the entire internet. svn:r8440
* r8874@Kushana: nickm | 2006-09-21 15:22:27 -0400Nick Mathewson2006-09-21
| | | | | | | Rename and document SearchDomains and ResolvConf options; warn if ServerDNSResolvConfFile is given but eventdns isnt enabled. svn:r8439
* r8873@Kushana: nickm | 2006-09-21 14:38:22 -0400Nick Mathewson2006-09-21
| | | | | | | Fix a bug: Remember, each call to escaped() replaces the value returned from the last call to escaped(). svn:r8438
* parameterize the loudness of get_interface_address()Roger Dingledine2006-09-09
| | | | svn:r8358
* new config option AvoidDiskWrites for people running tors onRoger Dingledine2006-09-07
| | | | | | | | usb keys and other media that degrades when you write. not implemented yet, so just a reminder. svn:r8331
* r8724@Kushana: nickm | 2006-09-06 04:32:28 -0400Nick Mathewson2006-09-06
| | | | | | | Fix spaces; restore support for mapping files over 4GB on win32 (?) svn:r8326
* - made configure check if we are building for win32Mike Chiussi2006-09-06
| | | | | | | | | | | | | - made configure link to required system dll's if building for win32 - added diffs for libevent 1.1b - forced user to turn off eventdns if win32 is set - cleaned up tor_mmap_file()_win32 (not sure if it's stable) - cleaned up some warnings and typos svn:r8322
* patch from tupRoger Dingledine2006-09-05
| | | | svn:r8321
* r8692@Kushana: nickm | 2006-08-31 13:38:07 -0400Nick Mathewson2006-08-31
| | | | | | | Fix bug 327 (part 2): Cast char to unsigned char before passing to toupper/tolower. (Follow the same idiom as with isupper and friends, in case we run into the same problem on SGI or whereever it was.) svn:r8310
* r8608@Kushana: nickm | 2006-08-27 16:57:47 -0400Nick Mathewson2006-08-28
| | | | | | | Make it possible to change nameserver options while Tor is running. svn:r8255
* r8607@Kushana: nickm | 2006-08-27 15:45:42 -0400Nick Mathewson2006-08-28
| | | | | | | Change configuration strategy for eventdns. Instead of elaborate option set, just allow the user to specify another resolv.conf to use. svn:r8254
* remove some more vestiges of cvsRoger Dingledine2006-08-26
| | | | svn:r8229
* fix a log level -- err is for things that kill tor, warn is forRoger Dingledine2006-08-26
| | | | | | | | | | things that tor can recover from. also, avoid situations where people who don't read their logs accumulate ten thousand useless files in their datadir. svn:r8227
* r8572@Kushana: nickm | 2006-08-25 16:35:49 -0400Nick Mathewson2006-08-25
| | | | | | | Fix for bug 308: When we have a state file we cannot parse, tell the user, and move it aside. svn:r8224
* avoid complaining about our SOCKS proxy proxy.Roger Dingledine2006-08-14
| | | | svn:r7053
* fix funny-looking assignment that crashes unit testsRoger Dingledine2006-08-11
| | | | svn:r7027
* r7324@Kushana: nickm | 2006-08-10 23:23:15 -0700Nick Mathewson2006-08-11
| | | | | | | Add more warnings to the list of those we tolerate. Start using GCC attributes more, for better error checking and better code generation. svn:r7020
* Fix crash in first-time option validation. Oops.Nick Mathewson2006-08-10
| | | | svn:r7018
* r7304@Kushana: nickm | 2006-08-10 01:58:05 -0700Nick Mathewson2006-08-10
| | | | | | | Fix verbose compilation errors; make sure transparent proxy fails when no method is configured. svn:r7012
* r7303@Kushana: nickm | 2006-08-10 01:52:19 -0700Nick Mathewson2006-08-10
| | | | | | | whitespace fixes svn:r7011
* r7302@Kushana: nickm | 2006-08-10 01:48:44 -0700Nick Mathewson2006-08-10
| | | | | | | Warn about open TransListenAddress values. svn:r7010
* r7299@Kushana: nickm | 2006-08-10 01:08:58 -0700Nick Mathewson2006-08-10
| | | | | | | Patch from Tup to add support for transparent AP connections: this basically bundles the functionality of trans-proxy-tor into the tor mainline. Now hosts with compliant pf/netfilter implementations can redirect TCP connections straight to Tor without diverting through SOCKS. svn:r7007
* a way to make tor more stable in crummy situationsRoger Dingledine2006-08-10
| | | | svn:r7005
* Experimentally re-enable kqueue on OSX when using libevent 1.1b or later. ↵Nick Mathewson2006-08-10
| | | | | | Log when we are doing this, so we can diagnose it when it fails. svn:r7004
* Recommend libevent 1.1b for kqueue and win32 methods; deprecate libevent ↵Nick Mathewson2006-08-10
| | | | | | 1.0b harder; make libevent recommendation system saner. svn:r7003
* Remove STRUCT_OFFSET from config.cNick Mathewson2006-07-23
| | | | svn:r6811
* think harder about my logicRoger Dingledine2006-07-22
| | | | svn:r6806
* i lied, that won't work at all. maybe this will.Roger Dingledine2006-07-22
| | | | svn:r6805