aboutsummaryrefslogtreecommitdiff
path: root/src/or/config.c
Commit message (Collapse)AuthorAge
* Flush more changes from sandboxNick Mathewson2004-09-08
| | | | | | | | | | | | | | | | | - make clients cache directories and use them to seed their router lists at startup. This means clients have a datadir again. - Introduce a global_write_bucket. We need to respond better to exhausting it. - Remove the last vestiges of LinkPadding and TrafficShaping. - Configuration infrastructure support for warning on obsolete options. - Refactor directory header parsing to use smartlist_split_string. - Respond to content-encoding headers by trying to uncompress as appropriate. - Reply with a deflated directory when a client asks for "dir.z". (We could use allow-encodings instead, but allow-encodings isn't specified in HTTP 1.0.) svn:r2335
* Stop using separate defaults for no-config-file and empty-config-fileNick Mathewson2004-09-02
| | | | svn:r2329
* Use new split function and strcmpstart correctlyNick Mathewson2004-09-02
| | | | svn:r2327
* agree with nick: this legal-chars-in-filename stuff gets us nothingRoger Dingledine2004-08-24
| | | | svn:r2310
* As far as I can tell, CONFIG_LEGAL_FILENAME_CHARACTERS is both pointless and ↵Nick Mathewson2004-08-24
| | | | | | broken. #if it out, pending agreement from arma. This fixes a bug on win32 that rejected paths with a : in them. svn:r2309
* Fix some DOCDOCsNick Mathewson2004-08-18
| | | | svn:r2295
* fix a seg fault on hup when FascistFirewall is definedRoger Dingledine2004-08-18
| | | | svn:r2294
* Avoid segfault when freeing options_t without firewall_portsNick Mathewson2004-08-18
| | | | svn:r2279
* Functions to test nickname validityNick Mathewson2004-08-18
| | | | svn:r2269
* fix unix build: CONFDIR, not CONF_DIRNick Mathewson2004-08-18
| | | | svn:r2267
* Clean windows whitespaceNick Mathewson2004-08-18
| | | | svn:r2266
* On windows, default datadir is APPDATA/tor, and default config file is ↵Nick Mathewson2004-08-18
| | | | | | APPDATA/tor/torrc. (APPDATA is usually somedrive:/Documents and Settings/.../Application Data/) svn:r2265
* Move string-splitting into a separate functionNick Mathewson2004-08-17
| | | | svn:r2263
* make csv parsing notice the last letter of each entry tooRoger Dingledine2004-08-17
| | | | svn:r2261
* bugfix: make receiving csv lines not seg faultRoger Dingledine2004-08-17
| | | | svn:r2260
* people with no torrc allow unverified middle/rendezvous nodes by defaultRoger Dingledine2004-08-17
| | | | svn:r2259
* Fix crash when looking for ~/.torrc with no $HOME setNick Mathewson2004-08-17
| | | | svn:r2256
* use unverified routers in the desired positionsRoger Dingledine2004-08-17
| | | | svn:r2249
* Implement AllowUnverifiedNodesNick Mathewson2004-08-17
| | | | svn:r2246
* if a router claim huge bandwidth, don't believe itRoger Dingledine2004-08-17
| | | | svn:r2245
* Add a generic Comma-separated-value config type, and a FirewallPorts option ↵Nick Mathewson2004-08-16
| | | | | | to tell FascistFirewall which ports are open. (Defaults to 80,443) svn:r2244
* o Handle servers with dynamic IP addresses: don't replaceRoger Dingledine2004-08-16
| | | | | | | | | | | options->Address with the resolved one at startup. o detect our address right before we make a routerinfo each time. o external IP vs bind-IP. Already done, just use options->Address. o OutboundBindAddress config option, to bind to a specific IP address for outgoing connect()s. svn:r2241
* Implement strict{entry|exit}nodes config optionsNick Mathewson2004-08-15
| | | | svn:r2236
* o clients choose nodes proportional to advertised bandwidthRoger Dingledine2004-08-15
| | | | | | | | | | o and/or while avoiding unreliable nodes, depending on goals o 'fascistfirewall' option to pick dirservers on port 80 and ORs on port 443. o if a begin failed due to exit policy, but we believe the IP should have been allowed, switch that router to exitpolicy reject *:* until we get our next directory. svn:r2231
* commit some minor fixes from this sandbox so i can commit the next oneRoger Dingledine2004-08-15
| | | | svn:r2229
* only pick a default nickname if you're a serverRoger Dingledine2004-08-04
| | | | svn:r2134
* clients shouldn't create datadir until we have something to put thereRoger Dingledine2004-07-22
| | | | svn:r2092
* a whole swath of fixesRoger Dingledine2004-07-20
| | | | | | | | | | | | | | | | | | | introduce an authdir_mode() macro to match the others. don't initialize uptime to the number of seconds since 1970. non-authoritative dirservers don't cache their directory on disk. make only authdirservers use clique_mode. only read approved-routers file if you're an authdirserver. even authdirservers fetch a new directory in do_hup. retry_all_connections() is now called retry_all_listeners(). router_parse_list_from_string() correctly reports the router number it's working on. only call dirserv_add_own_fingerprint() and dirserv_add_descriptor() on startup if we're an authdirserver. if AuthDir and !ORPort then fail. if AuthDir and ClientOnly then fail. svn:r2061
* abstract ORPort/SocksPort checks into server_mode(), proxy_mode(), ↵Nick Mathewson2004-07-18
| | | | | | clique_mode(), etc. Dont change underlying comments. svn:r2054
* Look in .torrc if no CONFDIR "torrc" is found.Nick Mathewson2004-07-16
| | | | svn:r2048
* Finish most pre2 items: make running-routers list work right; rename secret ↵Nick Mathewson2004-07-13
| | | | | | key files; make even more lookup-by-nickname use lookup-by-id; default nicknames to hostname. svn:r2043
* checkpoint: start working on bandwidth tracking andRoger Dingledine2004-07-13
| | | | | | | letting clients evaluate whether they're suitable servers svn:r2037
* touchups all overRoger Dingledine2004-07-04
| | | | | | | put uptime in descriptor svn:r2011
* stop leaking options->ContactInfo on hupRoger Dingledine2004-06-29
| | | | svn:r1989
* Implement several 008pre1 items: needs more testingNick Mathewson2004-06-21
| | | | svn:r1981
* commit two fixes from Thomas ThemelRoger Dingledine2004-05-22
| | | | svn:r1918
* Tinker with log behavior: never send error messages about logs into the ↵Nick Mathewson2004-05-20
| | | | | | bitbucket svn:r1912
* some more patchingRoger Dingledine2004-05-20
| | | | svn:r1910
* bugfix: if no loglevel or logfile is specified, then we need to openRoger Dingledine2004-05-20
| | | | | | | a default log to stdout. svn:r1909
* Allow multiple exit policy lines; mostly add support for AP policiesNick Mathewson2004-05-20
| | | | svn:r1905
* tor_assert, not assert. stdout, not stderrNick Mathewson2004-05-19
| | | | svn:r1902
* Allow multiple logfiles at different severity rangesNick Mathewson2004-05-19
| | | | svn:r1899
* Make directory functions update routerlist, not replace it. Add notion of ↵Nick Mathewson2004-05-17
| | | | | | OR-is-trusted-to-be-a-dirserver. Arma, please review: does this handle being a dirserver right? svn:r1880
* more cleanup, including fleshing out or.h moreRoger Dingledine2004-05-10
| | | | svn:r1839
* Doxygenate config.cNick Mathewson2004-05-10
| | | | svn:r1834
* forward-port built-in dirservers stringRoger Dingledine2004-05-06
| | | | svn:r1813
* update the built-in dirservers defaultRoger Dingledine2004-04-29
| | | | svn:r1750
* use tor_assertRoger Dingledine2004-04-25
| | | | | | | remove obsolete BUF_OK macro svn:r1697
* Merge flagday into main branch.Nick Mathewson2004-04-24
| | | | svn:r1683
* alice can now look up bob's service descriptor,Roger Dingledine2004-04-05
| | | | | | | | | | | | | | | | | choose an intro point, connect to it, choose a rend point, connect to it and establish a cookie, get an ack from the rendezvous point, and know when both circs are ready for her. APConns don't use conn->purpose anymore don't initiate a renddesc lookup if one is already in progress also fix a buffer overflow in nickname parsing (only exploitable by the operator though) svn:r1471