aboutsummaryrefslogtreecommitdiff
path: root/src/or/config.c
Commit message (Collapse)AuthorAge
...
* try a better string at the top of torrc's autogenerated torrc.Roger Dingledine2006-06-09
| | | | svn:r6569
* re-enable per-connection rate limiting. get rid of the "OP bandwidth"Roger Dingledine2006-06-07
| | | | | | | | concept. lay groundwork for "bandwidth classes" -- separate global buckets that apply depending on what sort of conn it is. svn:r6563
* Add a new warning to our "warn a lot" list: unused parameters. This means ↵Nick Mathewson2006-06-04
| | | | | | we have to explicitly "use" unuseds, but it can catch bugs. (It caught two coding mistakes so far.) svn:r6532
* make options->RedirectExit work again; resolve bug 293.Roger Dingledine2006-05-24
| | | | svn:r6492
* ignore RunAsDaemon more thoroughly when we're running on windows.Roger Dingledine2006-05-23
| | | | svn:r6471
* [Forward-port ]Test and document last patch.Nick Mathewson2006-04-18
| | | | svn:r6400
* [forward-port] Implement an option, VirtualAddrMask, to set which addresses ↵Nick Mathewson2006-04-18
| | | | | | get handed out in response to mapaddress requests. Needs testing and docs! svn:r6398
* ok, put moria1 back in, since it's v1 and thus we need to sendRoger Dingledine2006-04-11
| | | | | | | | | | our rendezvous descriptors to it. eventually we might make a 'v1only' tag that explains it's only for rendezvous descriptors. svn:r6382
* drop moria1 from the list of authorities.Roger Dingledine2006-04-10
| | | | svn:r6381
* Stop assuming every authority is a v1 authorityPeter Palfrader2006-04-10
| | | | svn:r6377
* make DirFetchPeriod and StatusFetchPeriod truly obsolete.Roger Dingledine2006-04-10
| | | | svn:r6373
* Fix a wide lineNick Mathewson2006-04-10
| | | | svn:r6357
* lower the minimum required number of fd's to 1000, so we canRoger Dingledine2006-04-09
| | | | | | | | have some overhead for valgrind on linux, where the default ulimit -n is 1024. svn:r6338
* i like the name FetchUselessDescriptors better.Roger Dingledine2006-04-08
| | | | svn:r6327
* add a new config option FetchUselessRouters, off by default, forRoger Dingledine2006-04-08
| | | | | | | | when you plan to run "exitlist" on this client and you want to know about even the non-running descriptors. svn:r6326
* add dizum as the fifth authoritative directory server.Roger Dingledine2006-04-08
| | | | svn:r6323
* Fix a couple of things that make GCC complain with verbose warnings on. ↵Nick Mathewson2006-04-08
| | | | | | Also, fix some whitespace. svn:r6317
* make NoPublish (even though deprecated) work again.Roger Dingledine2006-04-02
| | | | svn:r6287
* Refactor and consolidate addr/exit policies into a new policies.c.Roger Dingledine2006-03-27
| | | | | | | Fix some minor bugs and memory leaks along the way. svn:r6246
* also send syntax and parse errors back to the controller.Roger Dingledine2006-03-26
| | | | svn:r6242
* When the controller's *setconf commands fail, collect an error messageRoger Dingledine2006-03-26
| | | | | | | in a string and hand it back. This starts to resolve bug 275. svn:r6241
* Say private address instead of internal address.Peter Palfrader2006-03-25
| | | | | | | | Both are wrong or at least not entirely correct but nobody would understand "special-use address as listed in RFC3330" I guess. svn:r6236
* parameterize two more timeout constants in circuit-land.Roger Dingledine2006-03-22
| | | | svn:r6220
* freeing is not the same as setting to nullRoger Dingledine2006-03-22
| | | | svn:r6219
* new config option SocksTimeout: How long do we let a socks connectionRoger Dingledine2006-03-21
| | | | | | | | | | wait unattached before we fail it? Use this value for controller socks timeout, for normal socks timeout, and for hidden-service socks timeout. svn:r6217
* when upgrading to newer versions, throw away entry guardsRoger Dingledine2006-03-21
| | | | | | | picked by the old wrong algorithms. svn:r6215
* put lefkada on port 80, officially.Roger Dingledine2006-03-21
| | | | svn:r6209
* add lefkada as a fourth auth dir server.Roger Dingledine2006-03-21
| | | | svn:r6205
* Implement Jason Holt's SafeSocks config option.Roger Dingledine2006-03-19
| | | | | | | | Also put a URL in the warning message for unsafe socks4 use -- previously we'd only had the URL for unsafe socks5 use. Oops. svn:r6190
* Finish the transition from the word 'verified' to the wordsRoger Dingledine2006-03-19
| | | | | | | 'named' and 'valid'. svn:r6188
* make it so there is one place to edit for new dirservers, not two.Roger Dingledine2006-03-18
| | | | svn:r6186
* Actually, only v1 auth dir servers need to define recommendedversions.Roger Dingledine2006-03-17
| | | | | | | | But versioning dirservers do need to cause recommendclientversions and recommendedserverversions to somehow be non-empty. svn:r6181
* when we're an auth dir server but don't claim to be a versioningRoger Dingledine2006-03-17
| | | | | | | auth dir server, don't demand that we define RecommendedVersions. svn:r6180
* right now we don't support entryguards on auth dirservers,Roger Dingledine2006-03-17
| | | | | | | | but that doesn't mean we need to remind them every time they start up. svn:r6179
* Comments: cleanups and additions.Nick Mathewson2006-03-17
| | | | svn:r6174
* I wonder what an internal internet protocol isPeter Palfrader2006-03-14
| | | | svn:r6159
* When we try to be a server and Address is not explicitly setPeter Palfrader2006-03-14
| | | | | | | | and our hostname resolves to a private IP address, try to use an interface address if it has a public address. svn:r6158
* Fix minor semantic error with no real effect:Peter Palfrader2006-03-13
| | | | | | | | | we were doing "is_internal_IP(htonl(in.s_addr))" but in.s_addr is in network order and is_internal_IP wants host order. Change to "is_internal_IP(ntohl(in.s_addr))". svn:r6155
* More cleanups noticed by weasel; also, remove macros that nobody uses.Nick Mathewson2006-03-12
| | | | svn:r6143
* Cleanup on time-relaqted constants. New conventions:Nick Mathewson2006-03-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) Surround all constants by (parens), whether we'll be using them in a denominator or not. 2) Express all time periods as products (24*60*60), not as multiplied-out constants (86400). 3) Comments like "(60*60) /* one hour */" are as pointless as comments like "c = a + b; /* set c to the sum of a and b */". Remove them. 4) All time periods should be #defined constants, not given inline. 5) All time periods should have doxygen comments. 6) All time periods, unless specified, are in seconds. It's not necessary to say so. To summarize, the old (lack of) style would allow: #define FOO_RETRY_INTERVAL 60*60 /* one hour (seconds) */ next_try = now + 3600; The new style is: /** How often do we reattempt foo? */ #define FOO_RETRY_INTERVAL (60*60) next_try = now + RETRY_INTERVAL; svn:r6142
* make tor --verify-config closer to workingRoger Dingledine2006-03-12
| | | | svn:r6137
* fix bug reported by gozu: if we get a linelist or linelist_sRoger Dingledine2006-03-11
| | | | | | | | config option from the torrc and it has no value, warn and skip rather than silently resetting it to its default. svn:r6125
* Add some functions to escape values from the network before sending them to ↵Nick Mathewson2006-03-05
| | | | | | the log. Use them everywhere except for routerinfo->plaftorm, routerinfo->contact_info, and rend*.c. (need sleep now) svn:r6087
* Allow private:* in routerdescs; not generated yet (because older Tors do not ↵Nick Mathewson2006-03-05
| | | | | | understand it); needs testing. svn:r6086
* make the NoPublish option obsolete.Roger Dingledine2006-02-20
| | | | svn:r6052
* the other half of fixing bug 257. catch an error in more places.Roger Dingledine2006-02-20
| | | | svn:r6050
* try to address bug 257: if rename() fails during saveconf, tellRoger Dingledine2006-02-19
| | | | | | | the controller. svn:r6049
* New config options to address bug 251:Roger Dingledine2006-02-19
| | | | | | | | | | | | FetchServerDescriptors and FetchHidServDescriptors for whether to fetch server info and hidserv info or let the controller do it, and also PublishServerDescriptor and PublishHidServDescriptors. Add AllDirActionsPrivate undocumented option -- if you set it, you'll need the controller to bootstrap you enough to build your first circuits. svn:r6047
* clean up the Reachable*Addresses changesRoger Dingledine2006-02-19
| | | | svn:r6041
* this is why you're not supposed to cut-and-paste codeRoger Dingledine2006-02-18
| | | | svn:r6037