summaryrefslogtreecommitdiff
path: root/src/or/config.c
AgeCommit message (Collapse)Author
2005-02-22Change from inet_ntoa to a threadproof tor_inet_ntoa.Nick Mathewson
svn:r3656
2005-02-22Remove assumptions that maximum path length is anything like 1024. From ↵Nick Mathewson
comments by Chris Palmer svn:r3652
2005-02-22Add a new AddressMap directive to rewrite incoming socks addresses.Roger Dingledine
Add a new TrackHostExits directive to trigger addressmaps for certain incoming socks addresses, for sites that break when your exit keeps changing. Redo the client-side dns cache so it's just an addressmap too. svn:r3641
2005-02-11Free even more things on shutdown. Temporarily move tor_free_all out from ↵Nick Mathewson
#ifdef so it gets tested more. svn:r3614
2005-02-05Re-normalize whitespace; make "make check-spaces" happyNick Mathewson
svn:r3566
2005-02-05forward-port NT service patchNick Mathewson
svn:r3565
2005-02-03fix the latest bug: don't explode when some router declares aRoger Dingledine
bandwidthburst of 500 gigabytes. this bug seems to have taken down most of the network. oops. svn:r3523
2005-02-02only check if exit_policy_implicitly_allows if you're a server.Roger Dingledine
also, put a comment next to an interesting undocumented 'feature'. svn:r3499
2005-02-01bump the default rate limit to 1 MBRoger Dingledine
svn:r3494
2005-02-01fix an edge case in parsing config options (thanks weasel)Roger Dingledine
svn:r3486
2005-01-28forward-port the dns and maxconn fixesRoger Dingledine
svn:r3448
2005-01-20Warn when exit policy implicitly allows local addresses.Nick Mathewson
svn:r3383
2005-01-18allow bandwidthburst to be smaller, but whine if it's small.Roger Dingledine
svn:r3364
2005-01-17Introduce a notion of 'internal' circs, which are chosen without regardRoger Dingledine
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
2005-01-13Move call to event_init() immediately after start_daemon(); move ↵Nick Mathewson
start_daemon earlier. This should fix using libevent with RunAsDaemon. svn:r3354
2005-01-13get rid of 0.0.8 backwards compatibilityRoger Dingledine
svn:r3353
2005-01-12Make Tor use Niels Provos's libevent instead of it's currentNick Mathewson
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
2005-01-12add more chat and interactive protocols to LongLivedPortsRoger Dingledine
svn:r3340
2005-01-12Annotate circuits w/ whether they aim to contain high uptime nodes and/orRoger Dingledine
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
2005-01-06new config option DirAllowPrivateAddresses for authdirservers.Roger Dingledine
now by default they refuse router descriptors that have non-IP or private-IP addresses. svn:r3321
2005-01-05Stop reversing and re-reversing config lines: keep them in order all the ↵Nick Mathewson
time. Removes needless confusion and fixes bug #50. svn:r3305
2005-01-05Remove broken and undocumented wart where multiple CSV config lines are ↵Nick Mathewson
appended rather than replaced. Resolves bug #49 svn:r3301
2005-01-04post 0.0.9.x, demand that servers declare at least 20000 bytes/sRoger Dingledine
for bandwidthrate svn:r3277
2005-01-04Make sequence of log messages when starting on win32 with no config file ↵Nick Mathewson
more reasonable. svn:r3275
2005-01-03update print_usage to use new urlRoger Dingledine
svn:r3267
2005-01-03Resolve task 42: find where 19-char nicknames were getting truncated when ↵Nick Mathewson
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
2004-12-31...but only if you're a serverRoger Dingledine
svn:r3233
2004-12-31require BandwidthRate to be at least 10kB/sRoger Dingledine
svn:r3232
2004-12-24when you're loading the rendezvous service keys in options_act(),Roger Dingledine
don't call it 'reloading'. svn:r3225
2004-12-16Make split(..., NULL) split on horizontal space; fix bug with tabs in config ↵Nick Mathewson
file. svn:r3155
2004-12-13Fix a bug in parsing HashedControlPassword.Nick Mathewson
svn:r3143
2004-12-08Solaris CC freaks out if isspace and friends get anything other than an int. ↵Nick Mathewson
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
2004-12-07salvage another 300 bytes per hupRoger Dingledine
svn:r3106
2004-12-07ORPort must be defined if ORBindAddress is defined.Roger Dingledine
svn:r3100
2004-12-07when recommending new-format log lines, if the upper bound is LOG_ERR,Roger Dingledine
leave it implicit. svn:r3097
2004-12-04Add function to check that addr_policy_t is okay; change struct ↵Nick Mathewson
addr_policy_t to addr_policy_t. svn:r3070
2004-12-03while hibernating, hup should not regrow our listeners.Roger Dingledine
svn:r3067
2004-12-01move StatusFetchPeriod to 15 minutes so it's within bounds by defaultRoger Dingledine
svn:r3055
2004-12-01Spell-check strings and commentsNick Mathewson
svn:r3052
2004-12-01do even less inside our signal handler,Roger Dingledine
just to be extra paranoidly safe svn:r3050
2004-11-30write down our "how to have two defaults for dirfetchperiod"Roger Dingledine
issue, so we don't forget about it. svn:r3040
2004-11-30use shorter minimum key lifetime until 008 is deadNick Mathewson
svn:r3035
2004-11-30doxygen uses backslashes, not forward-slashesNick Mathewson
svn:r3033
2004-11-30If anybody set DirFetchPostPeriod, give them StatuFetchPeriod instead. ↵Nick Mathewson
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
2004-11-29Suggestion from weasel: Make tor --version --version dump the cvs Id of ↵Nick Mathewson
every file. svn:r3019
2004-11-28Normalize space: add one between every control keyword and control clause.Nick Mathewson
svn:r3003
2004-11-26remove emacs droppings, since nick says he doesn't need them anymoreRoger Dingledine
svn:r2989
2004-11-26call set_max_file_descriptors() after we configure logs, soRoger Dingledine
it doesn't always do loglevel info logs on windows. svn:r2987
2004-11-23Bugfix: when no units are given, default to seconds or bytes.Nick Mathewson
svn:r2960
2004-11-23fix some typos; move to 0.0.9rc1Roger Dingledine
svn:r2951