aboutsummaryrefslogtreecommitdiff
path: root/src/or/config.c
Commit message (Collapse)AuthorAge
* Start obeying our firewall options more rigorously:Roger Dingledine2005-11-19
| | | | | | | | | | | | - If we can't get to a dirserver directly, try going via Tor. - Don't ever try to connect (as a client) to a place our firewall options forbid. - If we specify a proxy and also firewall options, obey the firewall options even when we're using the proxy: some proxies can only proxy to certain destinations. svn:r5431
* Leave options->DirServers alone -- if the user didn't specify any,Roger Dingledine2005-11-18
| | | | | | | | | | just add the default ones directly to the trusted dirserver list. This fixes a bug where people running controllers would setconf or the equivalent, and Tor would start yelling at them about setting their own DirServer lines. svn:r5418
* Add a new config option TestSocks so people can see if theirRoger Dingledine2005-11-16
| | | | | | | | | applications are using socks4, socks4a, socks5-with-ip, or socks5-with-hostname. This way they don't have to keep mucking with tcpdump and wondering if something got cached somewhere. svn:r5399
* We were refusing to start if you define SocksListenAddressRoger Dingledine2005-11-11
| | | | | | | | but define SocksPort to be 0. But this is a standard configuration! So don't fail. svn:r5361
* stop discouraging the old *BindAddress config options. we willRoger Dingledine2005-11-11
| | | | | | | just confuse our users when they upgrade. svn:r5354
* Tor26's IP has changed to 86.59.21.38Peter Palfrader2005-11-05
| | | | svn:r5350
* fix minor memory leak in configNick Mathewson2005-10-25
| | | | svn:r5318
* Remove last vestiges of old logging interface.Nick Mathewson2005-10-25
| | | | svn:r5317
* Efficiency hack: call tor_fix_source_file late, not early. Add "BUG" ↵Nick Mathewson2005-10-25
| | | | | | domain. Domains are now bitmasks... just in case. Make some err msgs non-general. svn:r5309
* Add a missing struct initializer fieldNick Mathewson2005-10-17
| | | | svn:r5264
* start calling it *ListenAddress rather than *BindAddress,Roger Dingledine2005-10-17
| | | | | | | since none of our users know what it means to bind an address or port. svn:r5260
* Add ability to warn when using abbrev mechanism to deprecate option namesNick Mathewson2005-10-17
| | | | svn:r5259
* start the process of reducing clutter in server logsRoger Dingledine2005-10-17
| | | | svn:r5253
* Make --hash-password not craash on exit.Nick Mathewson2005-10-12
| | | | svn:r5243
* Avoid warning on end-of-functionNick Mathewson2005-10-12
| | | | svn:r5242
* Funny. I could have sworn it compiled this morning when I checked it in.Nick Mathewson2005-10-12
| | | | svn:r5239
* More work towards a sane digest-based liveness testing.Nick Mathewson2005-10-12
| | | | svn:r5238
* Now that directory admins assure me they have adjested teir configs, it is ↵Nick Mathewson2005-10-08
| | | | | | safe to make authorities be non-versioning, non-naming by default. svn:r5230
* without braces, what will hold up the code?Roger Dingledine2005-10-06
| | | | svn:r5209
* Make doxygen marginally happierNick Mathewson2005-10-06
| | | | svn:r5208
* On sighup, if usehelpernodes changed to 1, use new circuits.Nick Mathewson2005-10-05
| | | | svn:r5203
* link nicknames to trusted directory servers; log these nicknames when ↵Nick Mathewson2005-10-04
| | | | | | mentioning servers; also, when we get a naming conflict; log which nicknames or keys are supposed to bind. svn:r5184
* switch semantics of authdirinvalid/rejectNick Mathewson2005-10-04
| | | | svn:r5182
* Stop leaking or_state_t on shutdown.Nick Mathewson2005-09-30
| | | | svn:r5171
* Reformat inconsistent function declarations.Nick Mathewson2005-09-30
| | | | svn:r5160
* Provide dire warnings to any users who set DirServer; move it out of ↵Nick Mathewson2005-09-23
| | | | | | torrc.sample and into torrc.complete. svn:r5132
* Implement new version handling code.Nick Mathewson2005-09-21
| | | | svn:r5100
* Make authdirs smarter. Reject/invalidate by key and IP. Remember that not ↵Nick Mathewson2005-09-15
| | | | | | every authdir has to be a naming authdir. svn:r5074
* Clean up a few warnings that make gcc twig out a bit.Nick Mathewson2005-09-14
| | | | svn:r5062
* Add new config.c function to set options that can fail, and roll back if ↵Nick Mathewson2005-09-14
| | | | | | they do. This should solve the setconf-an-impossible-port bug. svn:r5046
* stop the call duplication inside config_assign()Roger Dingledine2005-09-14
| | | | svn:r5045
* simplifyRoger Dingledine2005-09-14
| | | | svn:r5043
* and take the bang outRoger Dingledine2005-09-14
| | | | svn:r5042
* ok, ok, csv's get replaced even when we assign them from the torrc.Roger Dingledine2005-09-14
| | | | svn:r5041
* checkpoint: clean up and document the three ways to call config_assign()Roger Dingledine2005-09-14
| | | | | | | and reduce code duplication in config_free() and option_is_same(). svn:r5040
* bugfix: if you gave tor an odd number of command-line arguments,Roger Dingledine2005-09-10
| | | | | | | we were silently ignoring the last one. now we complain and fail. svn:r4988
* break out a new function config_assign_value() that just assigns theRoger Dingledine2005-09-10
| | | | | | | | value it's given, and doesn't do any of their weird clearing or resetting stuff. use that when we're trying to clear or reset values. svn:r4984
* reject ports 465 and 587 by default now tooRoger Dingledine2005-09-09
| | | | svn:r4974
* Fix a bug in config_dump: we want to run options_validate on the defaults, ↵Nick Mathewson2005-09-09
| | | | | | not (again, uselessly) on the configuration. This was introduced when we made the config code more generic. svn:r4965
* remove obsolete kludgeRoger Dingledine2005-09-08
| | | | svn:r4953
* fix spacingRoger Dingledine2005-09-08
| | | | svn:r4932
* it really does help with the functions end.Roger Dingledine2005-09-08
| | | | svn:r4927
* if you give a config option in the torrc or the commandline with noRoger Dingledine2005-09-08
| | | | | | | value, and reset is false, then it clears it entirely. svn:r4926
* Make GCC v4 happy with heavy warnings enabled.Nick Mathewson2005-09-08
| | | | svn:r4922
* MonthlyAccountingStart is dead.Roger Dingledine2005-09-08
| | | | svn:r4920
* More stuff for new directories.Nick Mathewson2005-09-07
| | | | | | | | | | | | | | | | | | | | | | - Distinguish v1 authorities (all currently trusted directories) from v2 authorities (all trusted directories). - Add configuration option for which dirs are v1 authories. - Add configuration option for whether to be a v1 authority. - Make trusted dirserver selection functions take options to choose which functionality we need. - Remove option when getting directory cache to see whether they support running-routers; they all do now. Replace it with one to see whether caches support v2 stuff. - Parse, cache, and serve network-status objects properly. - Serve compressed groups of router descriptors. The compression logic here could be more memory-efficient. - svn:r4911
* Make ContactInfo mandatory for authoritative directories.Nick Mathewson2005-09-02
| | | | svn:r4896
* Make unit tests (and others) run without launching listeners, creating ↵Nick Mathewson2005-08-26
| | | | | | subdirectories, and so on. svn:r4876
* Make sure that cached-status directory exists.Nick Mathewson2005-08-26
| | | | svn:r4865
* stop freeing the new global options list whenever we update it.Roger Dingledine2005-08-26
| | | | svn:r4853