aboutsummaryrefslogtreecommitdiff
path: root/src/or/config.c
Commit message (Collapse)AuthorAge
* fix the latest bug: don't explode when some router declares aRoger Dingledine2005-02-03
| | | | | | | | | bandwidthburst of 500 gigabytes. this bug seems to have taken down most of the network. oops. svn:r3523
* only check if exit_policy_implicitly_allows if you're a server.Roger Dingledine2005-02-02
| | | | | | | also, put a comment next to an interesting undocumented 'feature'. svn:r3499
* bump the default rate limit to 1 MBRoger Dingledine2005-02-01
| | | | svn:r3494
* fix an edge case in parsing config options (thanks weasel)Roger Dingledine2005-02-01
| | | | svn:r3486
* forward-port the dns and maxconn fixesRoger Dingledine2005-01-28
| | | | svn:r3448
* Warn when exit policy implicitly allows local addresses.Nick Mathewson2005-01-20
| | | | svn:r3383
* allow bandwidthburst to be smaller, but whine if it's small.Roger Dingledine2005-01-18
| | | | svn:r3364
* Introduce a notion of 'internal' circs, which are chosen without regardRoger Dingledine2005-01-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to the exit policy of the last hop. Intro and rendezvous circs must be internal circs, to avoid leaking information. Resolve and connect streams can use internal circs if they want. New circuit pooling algorithm: make sure to have enough circs around to satisfy any predicted ports, and also make sure to have 2 internal circs around if we've required internal circs lately (with high uptime if we've seen that lately). Split NewCircuitPeriod config option into NewCircuitPeriod (30 secs), which describes how often we retry making new circuits if current ones are dirty, and MaxCircuitDirtiness (10 mins), which describes how long we're willing to make use of an already-dirty circuit. Once rendezvous circuits are established, keep using the same circuit as long as you attach a new stream to it at least every 10 minutes. (So web browsing doesn't require you to build new rend circs every 30 seconds.) Cannibalize GENERAL circs to be C_REND, C_INTRO, S_INTRO, and S_REND circ as necessary, if there are any completed ones lying around when we try to launch one. Re-instate the ifdef's to use version-0 style introduce cells, since there was yet another bug in handling version-1 style. We'll try switching over again after 0.0.9 is obsolete. Bugfix: when choosing an exit node for a new non-internal circ, don't take into account whether it'll be useful for any pending x.onion addresses -- it won't. Bugfix: we weren't actually publishing the hidden service descriptor when it became dirty. So we only published it every 20 minutes or so, which means when you first start your Tor, the hidden service will seem broken. svn:r3360
* Move call to event_init() immediately after start_daemon(); move ↵Nick Mathewson2005-01-13
| | | | | | start_daemon earlier. This should fix using libevent with RunAsDaemon. svn:r3354
* get rid of 0.0.8 backwards compatibilityRoger Dingledine2005-01-13
| | | | svn:r3353
* Make Tor use Niels Provos's libevent instead of it's currentNick Mathewson2005-01-12
| | | | | | | | | | | | poll-but-sometimes-select mess. This will let us use faster async cores (like epoll, kpoll, and /dev/poll), and hopefully work better on Windows too. There are some fairly nasty changes to main.c here; this will almost certainly break something. But hey, that's what alphas are for. svn:r3341
* add more chat and interactive protocols to LongLivedPortsRoger Dingledine2005-01-12
| | | | svn:r3340
* Annotate circuits w/ whether they aim to contain high uptime nodes and/orRoger Dingledine2005-01-12
| | | | | | | | | | | | | | | | | high capacity nodes. When building circuits, choose appropriate nodes. New config option LongLivedPorts to indicate application streams that will want high uptime circuits. When attaching a stream to a circuit, pay attention to its requirements. This means that every single node in an intro rend circuit, not just the last one, will have a minimum uptime. Boost the min uptime from an hour to 24 hours. svn:r3339
* new config option DirAllowPrivateAddresses for authdirservers.Roger Dingledine2005-01-06
| | | | | | | | now by default they refuse router descriptors that have non-IP or private-IP addresses. svn:r3321
* Stop reversing and re-reversing config lines: keep them in order all the ↵Nick Mathewson2005-01-05
| | | | | | time. Removes needless confusion and fixes bug #50. svn:r3305
* Remove broken and undocumented wart where multiple CSV config lines are ↵Nick Mathewson2005-01-05
| | | | | | appended rather than replaced. Resolves bug #49 svn:r3301
* post 0.0.9.x, demand that servers declare at least 20000 bytes/sRoger Dingledine2005-01-04
| | | | | | | for bandwidthrate svn:r3277
* Make sequence of log messages when starting on win32 with no config file ↵Nick Mathewson2005-01-04
| | | | | | more reasonable. svn:r3275
* update print_usage to use new urlRoger Dingledine2005-01-03
| | | | svn:r3267
* Resolve task 42: find where 19-char nicknames were getting truncated when ↵Nick Mathewson2005-01-03
| | | | | | read from certs, and fix it. Also audit use of MAX_NICKNAME_LEN; no other badness found, but some docs/code cleaned up a touch. svn:r3244
* ...but only if you're a serverRoger Dingledine2004-12-31
| | | | svn:r3233
* require BandwidthRate to be at least 10kB/sRoger Dingledine2004-12-31
| | | | svn:r3232
* when you're loading the rendezvous service keys in options_act(),Roger Dingledine2004-12-24
| | | | | | | don't call it 'reloading'. svn:r3225
* Make split(..., NULL) split on horizontal space; fix bug with tabs in config ↵Nick Mathewson2004-12-16
| | | | | | file. svn:r3155
* Fix a bug in parsing HashedControlPassword.Nick Mathewson2004-12-13
| | | | svn:r3143
* Solaris CC freaks out if isspace and friends get anything other than an int. ↵Nick Mathewson2004-12-08
| | | | | | We learned that, so we casted. But it is also a bad idea to cast a signed char to an int and expect things to work on win32. Now we cast to unsigned char, then to int, then pass to isspace. Ug svn:r3120
* salvage another 300 bytes per hupRoger Dingledine2004-12-07
| | | | svn:r3106
* ORPort must be defined if ORBindAddress is defined.Roger Dingledine2004-12-07
| | | | svn:r3100
* when recommending new-format log lines, if the upper bound is LOG_ERR,Roger Dingledine2004-12-07
| | | | | | | leave it implicit. svn:r3097
* Add function to check that addr_policy_t is okay; change struct ↵Nick Mathewson2004-12-04
| | | | | | addr_policy_t to addr_policy_t. svn:r3070
* while hibernating, hup should not regrow our listeners.Roger Dingledine2004-12-03
| | | | svn:r3067
* move StatusFetchPeriod to 15 minutes so it's within bounds by defaultRoger Dingledine2004-12-01
| | | | svn:r3055
* Spell-check strings and commentsNick Mathewson2004-12-01
| | | | svn:r3052
* do even less inside our signal handler,Roger Dingledine2004-12-01
| | | | | | | just to be extra paranoidly safe svn:r3050
* write down our "how to have two defaults for dirfetchperiod"Roger Dingledine2004-11-30
| | | | | | | issue, so we don't forget about it. svn:r3040
* use shorter minimum key lifetime until 008 is deadNick Mathewson2004-11-30
| | | | svn:r3035
* doxygen uses backslashes, not forward-slashesNick Mathewson2004-11-30
| | | | svn:r3033
* If anybody set DirFetchPostPeriod, give them StatuFetchPeriod instead. ↵Nick Mathewson2004-11-30
| | | | | | Impose minima and maxima for all *Period options; impose even tighter maxima for fetching if we are a caching dirserver. Clip rather than rejecting. arma: are these good? svn:r3024
* Suggestion from weasel: Make tor --version --version dump the cvs Id of ↵Nick Mathewson2004-11-29
| | | | | | every file. svn:r3019
* Normalize space: add one between every control keyword and control clause.Nick Mathewson2004-11-28
| | | | svn:r3003
* remove emacs droppings, since nick says he doesn't need them anymoreRoger Dingledine2004-11-26
| | | | svn:r2989
* call set_max_file_descriptors() after we configure logs, soRoger Dingledine2004-11-26
| | | | | | | it doesn't always do loglevel info logs on windows. svn:r2987
* Bugfix: when no units are given, default to seconds or bytes.Nick Mathewson2004-11-23
| | | | svn:r2960
* fix some typos; move to 0.0.9rc1Roger Dingledine2004-11-23
| | | | svn:r2951
* Fix sign-related warningsNick Mathewson2004-11-22
| | | | svn:r2942
* Compile cleanly on windows; prevent some insane bandwidth cases (e.g., ↵Nick Mathewson2004-11-22
| | | | | | "BandwidthBurst 1000 TB" from occuring. svn:r2941
* Implement weekly/monthly/daily accountingNick Mathewson2004-11-22
| | | | svn:r2936
* Absolutely never call close_temp_logs while validating log options.Nick Mathewson2004-11-22
| | | | svn:r2934
* be more greedy about filling up all relay cells.Roger Dingledine2004-11-21
| | | | | | | | this may have some bugs in it still. and it may end up not being what we want to do. svn:r2928
* allow StrictEntryNode and StrictExitNode to be singularRoger Dingledine2004-11-20
| | | | svn:r2922