aboutsummaryrefslogtreecommitdiff
path: root/src/or/config.c
Commit message (Expand)AuthorAge
...
* | | | | Replace _AUTHORITY enum values with _DIRINFO values (automted)Nick Mathewson2011-05-05
* | | | | Automated rename from authority_type_t to dirinfo_type_t•••We were already overloading this type to mean "a directory that can serve us X" in addition to "a directory that is an authority for X." Nick Mathewson2011-05-05
* | | | | Add a new configuration type, "AUTOBOOL", to handle 1/0/auto types•••We only have one of these now, but I'm about to add a few more. Yes, I have already thought of the "Filenotfoundian logic" joke. Nick Mathewson2011-05-05
* | | | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-04-29
|\| | | |
| * | | | Clean up a warning a bitNick Mathewson2011-04-29
* | | | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-04-28
|\| | | |
| * | | | Merge remote-tracking branch 'arma/bug3012' into maint-0.2.2Nick Mathewson2011-04-28
| |\ \ \ \
| | * | | | relays checkpoint their state file twice a dayRoger Dingledine2011-04-28
* | | | | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-04-28
|\| | | | |
| * | | | | stop putting wacky values into state->lastwrittenRoger Dingledine2011-04-28
| |/ / / /
* | | | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-04-28
|\| | | |
| * | | | Don't allow v0 HS auths to act as clients•••A v0 HS authority stores v0 HS descriptors in the same descriptor cache that its HS client functionality uses. Thus, if the HS authority operator clears its client HS descriptor cache, ALL v0 HS descriptors will be lost. That would be bad. Robert Ransom2011-04-28
| |/ / /
* | | | Merge maint-0.2.2 for the bug1090-part1-squashed branch•••Resolved conflicts in: doc/tor.1.txt src/or/circuitbuild.c src/or/circuituse.c src/or/connection_edge.c src/or/connection_edge.h src/or/directory.c src/or/rendclient.c src/or/routerlist.c src/or/routerlist.h These were mostly releated to the routerinfo_t->node_t conversion. Nick Mathewson2011-04-27
|\| | |
| * | | When there is a transition in permitted nodes, apply it to trackexithosts map•••IOW, if we were using TrackExitHosts, and we added an excluded node or removed a node from exitnodes, we wouldn't actually remove the mapping that points us at the new node. Also, note with an XXX022 comment a place that I think we are looking at the wrong string. Nick Mathewson2011-04-26
| * | | Simplify calls to routerset_equal•••The routerset_equal function explicitly handles NULL inputs, so there's no need to check inputs for NULL before calling it. Also fix a bug in routerset_equal where a non-NULL routerset with no entries didn't get counted as equal to a NULL routerset. This was untriggerable, I think, but potentially annoying down the road. Nick Mathewson2011-04-26
| * | | make formal a constraint that's been true a while nowRoger Dingledine2011-04-26
| * | | If EntryNodes and ExcludeNodes overlap, obey ExcludeNodes.Roger Dingledine2011-04-26
* | | | Merge remote-tracking branch 'origin/maint-0.2.2'•••Conflicts: src/or/dirserv.h Nick Mathewson2011-04-26
|\| | |
| * | | Don't leak the local hostname in relay nicknames•••Fixes bug 2979, reported by tagnaq. Sebastian Hahn2011-04-26
* | | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-04-25
|\| | |
| * | | Make the Log configuration option expand ~Sebastian Hahn2011-04-22
* | | | Merge remote-tracking branch 'origin/maint-0.2.2'•••Conflicts: src/common/address.c src/common/compat_libevent.c src/common/memarea.c src/common/util.h src/or/buffers.c src/or/circuitbuild.c src/or/circuituse.c src/or/connection.c src/or/directory.c src/or/networkstatus.c src/or/or.h src/or/routerlist.c Nick Mathewson2011-04-07
|\| | |
| * | | Triage the XXX022 and XXX021 comments remaining in the code•••Remove some, postpone others, leave some alone. Now the only remaining XXX022s are ones that seem important to fix or investigate. Nick Mathewson2011-03-25
* | | | Tweaks to Cagara's CountPrivateBandwidth patch:••• - Document it in the manpage - Add a changes entry - No need to log when it is set: we don't log for other options. - Use doxygen to document the new flag. - Test truth of C variables with "if (x)", not "if (x == 1)". - Simplify a complex boolean expression by breaking it up. Nick Mathewson2011-04-05
* | | | Patch from cagara: Add a CountPrivateBandwidth flagDaniel Cagara2011-04-05
* | | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-03-16
|\| | |
| * | | Document a few more members.Nick Mathewson2011-03-16
* | | | Merge remote branch 'origin/maint-0.2.2'•••Trivial conflicts fixed in or.h Conflicts: src/or/or.h Nick Mathewson2011-03-08
|\| | |
| * | | Tweak the bug2250 fix slightly•••Rename the _UsingTestingTorNetwork hidden option to _UsingTestNetworkDefaults (thanks Nick for the suggestion) and added a changes file. Sebastian Hahn2011-03-01
| * | | Fix GETINFO config-text for private networks•••In private networks, the defaults for some options are changed. This means that in options_validate(), where we're testing that the defaults are what we think they are, we fail. Use a workaround by setting a hidden configuration option _UsingTestingTorNetwork when we have altered the configuration this way, so that options_validate() can do the right thing. Fixes bug 2250, bugfix on 0.2.1.2-alpha (the version introducing private network options). Sebastian Hahn2011-02-26
* | | | Merge remote branch 'origin/maint-0.2.2'Nick Mathewson2011-02-25
|\| | |
| * | | Merge branch 'bug1863_bwhist' into maint-0.2.2Nick Mathewson2011-02-25
| |\ \ \
| | * | | Add Maxima lists to bandwidth state.•••Right now, Tor routers don't save the maxima values from the bw_history_t between sessions. That's no good, since we use those values to determine bandwidth. This code adds a new BWHist.*Maximum set of values to the state file. If they're not present, we estimate them by taking the observed total bandwidth and dividing it by the period length, which provides a lower bound. This should fix bug 1863. I'm calling it a feature. Nick Mathewson2011-01-10
* | | | | Merge remote branch 'sebastian/bug2496'Nick Mathewson2011-02-22
|\ \ \ \ \
| * | | | | Don't tell Tor client users about missing geoip•••They don't need the geoip file for stats, so a missing geoipfile is not a big issue. Also make the log message a bit friendlier. Fixes bug 2496. Sebastian Hahn2011-02-06
* | | | | | Merge remote branch 'origin/maint-0.2.2'Nick Mathewson2011-02-22
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Merge branch 'log_domains' into maint-0.2.2Nick Mathewson2011-02-22
| |\ \ \ \ \
| | * | | | | Add a torrc option to report log domainsNick Mathewson2011-01-25
* | | | | | | Implement more heartbeat message stuff.•••(This squashes multiple commits: * Adds uptime monitoring support. * Adds circuit counting code. * Trivially tweaks the documentation. * Trivial run_scheduled_events() code tweaking. * Adds a status.h to export functions. * Added bandwidth monitoring code. * Added consensus presense detection code. * Restricts the precision of the bandwidth output. * Various fixes. * Fixed style and spacing problems. * Tidied up src/or/Makefile.am * Couple of minor fixes on status.c functions. * 'Implemented' client heartbeat support ) George Kadianakis2011-02-22
* | | | | | | Initial heartbeat subsystem commit.•••Sets: * Documentation * Logging domain * Configuration option * Scheduled event * Makefile It also creates status.c and the log_heartbeat() function. All code was written by Sebastian Hahn. Commit message was written by me (George Kadianakis). Sebastian Hahn2011-02-22
* | | | | | | Merge remote branch 'sebastian/bug2444'Nick Mathewson2011-02-22
|\ \ \ \ \ \ \
| * | | | | | | Log which config file we read•••It is often not entirely clear what options Tor was built with, so it might not be immediately obvious which config file Tor is using when it found one. Log the config file at startup. Sebastian Hahn2011-01-27
| | |/ / / / / | |/| | | | |
* | | | | | | Merge remote-tracking branch 'origin/maint-0.2.2'•••Conflicts: doc/tor.1.txt Nick Mathewson2011-02-10
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | |
| * | | | | | Merge branch 'bug2408-v2-021-common' into bug2408-v2-022Robert Ransom2011-02-09
| |\ \ \ \ \ \ | | | |_|_|/ / | | |/| | | |
| | * | | | | Ignore and warn about "PublishServerDescriptor hidserv"•••Fixes #2408. Robert Ransom2011-02-09
* | | | | | | Merge remote branch 'origin/maint-0.2.2'Nick Mathewson2011-02-08
|\| | | | | |
| * | | | | | Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2Nick Mathewson2011-02-08
| |\| | | | |
| | * | | | | move the clause above the "if bw is too low" checkRoger Dingledine2011-02-07
| | * | | | | dtrt when only relaybandwidthburst is set•••fixes bug 2470 Roger Dingledine2011-02-07
| | | |_|_|/ | | |/| | |
* | | | | | Merge remote branch 'origin/maint-0.2.2'Nick Mathewson2011-02-07
|\| | | | | | |_|_|/ / |/| | | |