aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-11-14Avoid redundant typedef of or_options_t and smartlist_t in *_config.hNick Mathewson
Fixes bug 32495.
2019-11-14Merge remote-tracking branch 'tor-github/pr/1531'Nick Mathewson
2019-11-14test/parseconf: Warn when the expected_log* file is missingteor
Part of 32451.
2019-11-14test/parseconf: Update conf_examples to use expected_logteor
Part of 32451.
2019-11-14test/parseconf: Add failure cases in conf_failures/teor
These failure cases can be used to test the failure behaviour and failure logs of test_parseconf.sh. See the README for details. Part of 32451.
2019-11-14test/parseconf: Stop adding newlines to *_printfteor
Cleanup after 32451.
2019-11-14test/parseconf: Show tor command lines on failureteor
Part of 32451.
2019-11-14test/parseconf: Refactor and simplify, stage 2teor
Remove more duplicate code. Eliminate some arguments. Rewrite some comments. Cleanup after 32451.
2019-11-14test/parseconf: Refactor and standardise, stage 1teor
Remove duplicate code, and standardise similar behaviour. Add some additional error checking. Cleanup after 32451.
2019-11-14test/parseconf: Rename some functions, and reformatteor
Part of 32451.
2019-11-14test/parseconf: Use consistent formattingteor
Make spacing, quotes, and env vars consistent. Cleanup after 32451 and 32468.
2019-11-14test/parseconf: Stop ignoring --dump-config failuresteor
When we added the $FILTER for Windows newlines, we made the pipeline always exit successfully, even if tor failed. Fixes bug 32468; bugfix on 0.4.2.1-alpha.
2019-11-14test/parseconf: Standardise output messagesteor
Part of 32451.
2019-11-14test/parseconf: Add an expected_log fileteor
The "expected_log" file is a set of patterns that matches the output of "tor --verify-config". Unlike "error", it expects a successful exit status. Part of 32451.
2019-11-14test/parseconf: Rewrite the included files sectionteor
Part of 32451.
2019-11-14test/parseconf: Split the file list into sectionsteor
There are lots of different files now, so having Config and Result sections is helpful. Part of 32451.
2019-11-12HACKING/design: move 01c-time.md into doxygen.Nick Mathewson
2019-11-12Move 01g-strings.md into doxygen.Nick Mathewson
2019-11-1201f-threads.md becomes threading.dox.Nick Mathewson
2019-11-12HACKING/design: turn the remaining parts of crypto into a certs docNick Mathewson
2019-11-12Merge branch 'maint-0.4.2'teor
2019-11-12test/parseconf: Add tests for ignored optionsteor
These tests will also pass on 0.4.3, with the original implementation, and with the new implementation in 32404. Part of 32295 and 32404.
2019-11-12config: Log the option name when skipping an obsolete optionteor
This is a basic fix for 0.4.2 only. The fix for 0.4.3 and later is in 32404. Fixes bug 32295; bugfix on 0.4.2.1-alpha.
2019-11-11Light grammar editsNick Mathewson
2019-11-11Merge remote-tracking branch 'tor-github/pr/1338'Nick Mathewson
2019-11-11Merge remote-tracking branch 'tor-github/pr/1524'Nick Mathewson
2019-11-11Merge branch 'ticket32404'Nick Mathewson
2019-11-11clarify OBSOLETE vs IGNORE.Nick Mathewson
2019-11-11Doxygen: close an unterminated <b>.Nick Mathewson
2019-11-11doxygen: use <tt> and # to avoid interpreting # as a link.Nick Mathewson
2019-11-11Merge branch 'maint-0.4.1' into maint-0.4.2Nick Mathewson
2019-11-11Merge branch 'maint-0.4.2'Nick Mathewson
2019-11-11Merge branch 'maint-0.4.0' into maint-0.4.1Nick Mathewson
2019-11-11Merge branch 'maint-0.3.5' into maint-0.4.0Nick Mathewson
2019-11-11Merge branch 'maint-0.2.9' into maint-0.3.5Nick Mathewson
2019-11-11test/parseconf: Add basic parsing teststeor
And document the "%include" behaviour. Closes 32450.
2019-11-09Update geoip and geoip6 to the November 6 2019 database.Karsten Loesing
2019-11-07Refactor "OBSOLETE" typeNick Mathewson
It no longer warns, and is now defined in terms of an "IGNORE" type. (The "IGNORE" type is the same as "OBSOLETE", except that it is not reported as obsolete. It should be useful for disabled modules.) Closes ticket 32404.
2019-11-07New configuration flag to warn that a variable is obsolete.Nick Mathewson
Part of 32404.
2019-11-07Merge branch 'config_subsys_v4'Nick Mathewson
2019-11-07Fix various doxygen comments in feature/hs.Nick Mathewson
2019-11-07Adjustments to 32406 per reviewNick Mathewson
When we are failing because of a lack of a _required_ engine, note that the engine was "required". When engines are disabled, any required engine should cause a failure.
2019-11-07Add a test for 32406 (AccelName with "!").Nick Mathewson
This also lets us test a failing set_options().
2019-11-07Add the ability to fail when a hardware accelerator is missing.Nick Mathewson
Closes ticket 32406.
2019-11-07conf_examples test for crypto_accelNick Mathewson
2019-11-07Move netstatus (mainloop) state fields into mainloop's state.Nick Mathewson
2019-11-07subsysmgr: use IDX_NONE is an exception value, not -1.Nick Mathewson
2019-11-07Stop using "config_suite_offset=-1" to indicate "no config suite."Nick Mathewson
Instead, create a separate "has_config_suite" boolean, so that only top-level formats with config_suites need to declare an offset at all.
2019-11-07crypto config: do not change the user's value of HardwareAccel.Nick Mathewson
We still interpret "AccelName" as turning on the "HardwareAccel" feature, but we no longer modify the user's options here. Fixes bug 32382; bugfix on 0.2.2.1-alpha when we added openssl engine support.
2019-11-07Use new configuration architecture for crypto optionsNick Mathewson
This is a comparatively simple change.