aboutsummaryrefslogtreecommitdiff
path: root/src/or/config.c
Commit message (Expand)AuthorAge
* Create cpuworker.hSebastian Hahn2010-07-27
* Create control.hSebastian Hahn2010-07-27
* Create connection_edge.hSebastian Hahn2010-07-27
* Create connection.hSebastian Hahn2010-07-27
* Create config.hSebastian Hahn2010-07-27
* Create circuitlist.hSebastian Hahn2010-07-27
* Create circuitbuild.hSebastian Hahn2010-07-27
* Create rendservice.hSebastian Hahn2010-07-27
* Create rendclient.hSebastian Hahn2010-07-27
* Create routerlist.hSebastian Hahn2010-07-27
* Create router.hSebastian Hahn2010-07-27
* Create geoip.hSebastian Hahn2010-07-27
* Make the controller act more usefully when GETINFO fails•••Right now it says "552 internal error" because there's no way for getinfo_helper_*() countries to specify an error message. This patch changes the getinfo_helper_*() interface, and makes most of the getinfo helpers give useful error messages in response to failures. This should prevent recurrences of bug 1699, where a missing GeoIPFile line in the torrc made GETINFO ip-to-county/* fail in a "not obvious how to fix" way. Nick Mathewson2010-07-18
* More gracefully handle corrupt state files.•••Save a backup if we get odd circuitbuildtimes and other state info. In the case of circuit build times, we no longer assert, and reset our state. Mike Perry2010-07-06
* Merge remote branch 'mikeperry/cbt-bugfixes3'Nick Mathewson2010-06-29
|\
| * Split the circuit timeout and close codepaths.•••We need to record different statistics at point of timeout, vs the point of forcible closing. Also, give some better names to constants and state file variables to indicate they are not dealing with timeouts, but abandoned circuits. Mike Perry2010-06-15
| * Add timeout count state variable.Mike Perry2010-06-09
| * Bug 1296: Add option+logic to disable CBT learning.•••There are now four ways that CBT can be disabled: 1. Network-wide, with the cbtdisabled consensus param. 2. Via config, with "LearnCircuitBuildTimeout 0" 3. Via config, with "AuthoritativeDirectory 1" 4. Via a state file write failure. Mike Perry2010-05-10
* | Group in torrc is obsolete, so stop checking itRoger Dingledine2010-06-27
* | Answer question from Roger.Nick Mathewson2010-06-14
* | a line that's been sitting in my sandbox for monthsRoger Dingledine2010-06-14
* | Merge commit 'sebastian/hostnamewarn'Nick Mathewson2010-06-11
|\ \
| * | Add option to not warn when getting an IP instead of hostnameSebastian Hahn2010-06-07
* | | Merge commit 'origin/maint-0.2.1'Nick Mathewson2010-06-11
|\ \ \ | |/ / |/| |
| * | Add maatuska as eighth v3 directory authority.Karsten Loesing2010-06-11
* | | Port Tor to work on Windows CE•••Most of the changes here are switches to use APIs available on Windows CE. The most pervasive change is that Windows CE only provides the wide-character ("FooW") variants of most of the windows function, and doesn't support the older ASCII verions at all. This patch will require use of the wcecompat library to get working versions of the posix-style fd-based file IO functions. [commit message by nickm] valerino2010-05-24
| |/ |/|
* | Merge branch 'asprintf'Nick Mathewson2010-04-02
|\ \
| * | Tweak users of snprintf to use asprintf where appropriateNick Mathewson2010-02-28
* | | let people test the RefuseUnknownExits ideaRoger Dingledine2010-03-10
* | | commit my annotations while i was hunting down the host order bugRoger Dingledine2010-03-05
* | | Merge commit 'origin/maint-0.2.1'•••Conflicts: src/or/config.c src/or/test.c Nick Mathewson2010-03-04
|\ \ \ | | |/ | |/|
| * | Apply Roger's bug 1269 fix.•••From http://archives.seul.org/tor/relays/Mar-2010/msg00006.html : As I understand it, the bug should show up on relays that don't set Address to an IP address (so they need to resolve their Address line or their hostname to guess their IP address), and their hostname or Address line fails to resolve -- at that point they'll pick a random 4 bytes out of memory and call that their address. At the same time, relays that *do* successfully resolve their address will ignore the result, and only come up with a useful address if their interface address happens to be a public IP address. Nick Mathewson2010-03-04
* | | Merge remote branch 'origin/maint-0.2.1'•••Conflicts: src/common/test.h src/or/test.c Nick Mathewson2010-02-27
|\| | | |/ |/|
| * Update Tor Project copyright yearsNick Mathewson2010-02-27
* | Restrict PerConnBWRate|Burst to INT32_MAX, update manpage•••All other bandwidthrate settings are restricted to INT32_MAX, but this check was forgotten for PerConnBWRate and PerConnBWBurst. Also update the manpage to reflect the fact that specifying a bandwidth in terabytes does not make sense, because that value will be too large. Sebastian Hahn2010-02-25
* | Make expand_filename into a tor_strdup() alias on windows.•••On Windows, we don't have a notion of ~ meaning "our homedir", so we were deliberately using an #ifdef to avoid calling expand_filename() in multiple places. This is silly: The right place to turn a function into a no-op on a single platform is in the function itself, not in every single call-site. Nick Mathewson2010-02-22
* | Remove some redundant code in options_save_current()•••get_torrc_fname() does the same thing we did in this code, so let's replace it. Sebastian Hahn2010-02-22
* | Merge remote branch 'origin/maint-0.2.1'•••Conflicts: ChangeLog configure.in contrib/tor-mingw.nsi.in src/win32/orconfig.h Nick Mathewson2010-02-18
|\|
| * new dannenberg address; make moria2's demise official.Roger Dingledine2010-02-12
* | Add Windows version detection for Vista and 7•••Vista is Windows 6.0, and 7 is Windows 6.1. Fixes bug 1097. Also fix a coding style violation. Sebastian Hahn2010-02-10
* | Merge remote branch 'origin/maint-0.2.1'Nick Mathewson2010-02-09
|\|
| * Don't use gethostbyname() in resolve_my_address()•••Tor has tor_lookup_hostname(), which prefers ipv4 addresses automatically. Bug 1244 occured because gethostbyname() returned an ipv6 address, which Tor cannot handle currently. Fixes bug 1244; bugfix on 0.0.2pre25. Reported by Mike Mestnik. Sebastian Hahn2010-02-08
* | Merge branch 'maint-0.2.1' into master•••Conflicts: ChangeLog configure.in contrib/tor-mingw.nsi.in src/win32/orconfig.h Roger Dingledine2010-01-19
|\|
| * rotate keys for moria1 and gabelmooRoger Dingledine2010-01-19
* | add config options to override.•••somebody should add man page entries. Roger Dingledine2009-12-29
* | Remove online config descriptions.•••They weren't in sync with reality nor manpage, and only useful to a human who could simply have checked the manpage. Sebastian Hahn2009-12-25
* | Fix a typoSebastian Hahn2009-12-25
* | a changelog and doc fixes for the strictnodes workRoger Dingledine2009-12-21
* | Be more willing to use an unsuitable circuit for exit.•••Specifically, there are two cases: a) are we willing to start a new circuit at a node not in your ExitNodes config option, and b) are we willing to make use of a circuit that's already established but has an unsuitable exit. Now we discard all your circuits when you set ExitNodes, so the only way you could end up with an exit circuit that ends at an unsuitable place is if we explicitly ran out of exit nodes, StrictNodes was 0, and we built this circuit to solve a stream that needs solving. Fixes bug in dc322931, which would ignore the just-built circuit because it has an unsuitable exit. Roger Dingledine2009-12-21
* | Abandon circs if the user changes Exclude*Nodes•••If ExcludeNodes or ExcludeExitNodes changes on a config reload, mark and discard all our origin circuits. Roger Dingledine2009-12-21