aboutsummaryrefslogtreecommitdiff
path: root/src/or/config.c
Commit message (Collapse)AuthorAge
...
| * | | | | MyFamily option will now fix fingerprints missing their leading instead of ↵Kevin Butler2013-08-31
| | | | | | | | | | | | | | | | | | | | | | | | complaining. Should fix #4341.
* | | | | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-08-25
|\ \ \ \ \ \ | |/ / / / / |/| | / / / | | |/ / / | |/| | |
| * | | | Merge remote-tracking branch 'public/bug9366' into maint-0.2.4Nick Mathewson2013-08-25
| |\ \ \ \
| | * | | | Don't allow all ORPort values to be NoAdvertiseNick Mathewson2013-08-05
| | | | | | | | | | | | | | | | | | | | | | | | Fix for bug #9366
| * | | | | Add a 30-day maximum on user-supplied MaxCircuitDirtinessNick Mathewson2013-08-21
| |/ / / / | | | | | | | | | | | | | | | Fix for bug 9543.
* | | | | Merge branch 'bug5040_4773_rebase_3'Nick Mathewson2013-08-15
|\ \ \ \ \
| * | | | | Implement and use a generic auth. cookie initialization function.George Kadianakis2013-08-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the generic function for both the ControlPort cookie and the ExtORPort cookie. Also, place the global cookie variables in the heap so that we can pass them around more easily as pointers. Also also, fix the unit tests that broke by this change. Conflicts: src/or/config.h src/or/ext_orport.c
| * | | | | Warn if the Extended ORPort listens on a public IP address.George Kadianakis2013-08-15
| | | | | |
| * | | | | More Extended ORPort code improvements.George Kadianakis2013-07-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Change name of init_ext_or_auth_cookie_authentication(). * Add a small comment.
| * | | | | Move Extended ORPort code to its own module.George Kadianakis2013-07-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the code from the connection_or module to ext_orport. This commit only moves code: it shouldn't modify anything.
| * | | | | Satisfy check-spaces.George Kadianakis2013-07-18
| | | | | |
| * | | | | Create the Extended ORPort authentication cookie file.George Kadianakis2013-07-18
| | | | | |
| * | | | | Skeleton ExtORPort implementation. Needs testing, documentation.Nick Mathewson2013-07-18
| | | | | | | | | | | | | | | | | | | | | | | | Does not implement TransportControlPort yet.
* | | | | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-07-31
|\ \ \ \ \ \ | | |/ / / / | |/| | | / | |_|_|_|/ |/| | | |
| * | | | NumDirectoryGuards now tracks NumEntryGuards by defaultRoger Dingledine2013-07-30
| | | | | | | | | | | | | | | | | | | | | | | | | Now a user who changes only NumEntryGuards will get the behavior she expects. Fixes bug 9354; bugfix on 0.2.4.8-alpha.
* | | | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-07-18
|\| | | | | |/ / / |/| | |
| * | | Merge remote-tracking branch 'public/bug9295_023' into maint-0.2.4Nick Mathewson2013-07-18
| |\ \ \
| | * | | tmpNick Mathewson2013-07-18
| | | | |
* | | | | Start of a unit test for options_validate.Nick Mathewson2013-07-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I added this so I could write a unit test for ServerTransportOptions, but it incidentally exercises the succeed-on-defaults case of options_validate too.
* | | | | Place the options in the environment after processing them properly.George Kadianakis2013-07-18
| | | | |
* | | | | Write function that parses ServerTransportOptions torrc lines.George Kadianakis2013-07-18
| | | | | | | | | | | | | | | | | | | | And use it to validate them.
* | | | | Merge remote-tracking branch 'public/fancy_test_tricks'Nick Mathewson2013-07-15
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/common/include.am Conflict was from adding testsupport.h near where sandbox.h had already been added.
| * | | | Completely refactor how FILENAME_PRIVATE worksNick Mathewson2013-07-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We previously used FILENAME_PRIVATE identifiers mostly for identifiers exposed only to the unit tests... but also for identifiers exposed to the benchmarker, and sometimes for identifiers exposed to a similar module, and occasionally for no really good reason at all. Now, we use FILENAME_PRIVATE identifiers for identifiers shared by Tor and the unit tests. They should be defined static when we aren't building the unit test, and globally visible otherwise. (The STATIC macro will keep us honest here.) For identifiers used only by the unit tests and never by Tor at all, on the other hand, we wrap them in #ifdef TOR_UNIT_TESTS. This is not the motivating use case for the split test/non-test build system; it's just a test example to see how it works, and to take a chance to clean up the code a little.
* | | | | Merge remote-tracking branch 'public/gsoc-ctoader-cap-phase1-squashed'Nick Mathewson2013-07-12
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Add a basic seccomp2 syscall filter on LinuxCristian Toader2013-07-11
| | | | | | | | | | | | | | | | | | | | | | | | | It's controlled by the new Sandbox argument. Right now, it's rather coarse-grained, it's Linux-only, and it may break some features.
* | | | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-06-24
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Fix bug 9122: don't allow newdefaultoptions to be NULLNick Mathewson2013-06-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (This caused a crash that was reported as bug 9122, but the underlying behavior has been wrong for a while.) Fix on 0.2.3.9-alpha.
* | | | | Fix #5584 - raise awareness of safer logging - warn about potentially unsafe ↵Marek Majkowski2013-06-24
| | | | | | | | | | | | | | | | | | | | config options
* | | | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-06-18
|\| | | |
| * | | | Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4Nick Mathewson2013-06-18
| |\ \ \ \ | | | |/ / | | |/| | | | | | | | | | | | | | | | | Conflicts: src/or/config.c src/or/relay.c
| | * | | Implement a real OOM-killer for too-long circuit queues.Nick Mathewson2013-06-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This implements "algorithm 1" from my discussion of bug #9072: on OOM, find the circuits with the longest queues, and kill them. It's also a fix for #9063 -- without the side-effects of bug #9072. The memory bounds aren't perfect here, and you need to be sure to allow some slack for the rest of Tor's usage. This isn't a perfect fix; the rest of the solutions I describe on codeable.
* | | | | Add support for offsetting the voting interval in order to bootstrap faster.Linus Nordberg2013-06-08
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A new option TestingV3AuthVotingStartOffset is added which offsets the starting time of the voting interval. This is possible only when TestingTorNetwork is set. This patch makes run_scheduled_events() check for new consensus downloads every second when TestingTorNetwork, instead of every minute. This should be fine, see #8532 for reasoning. This patch also brings MIN_VOTE_SECONDS and MIN_DIST_SECONDS down from 20 to 2 seconds, unconditionally. This makes sanity checking of misconfiguration slightly less sane. Addresses #8532.
* | | | Start correctly when not in testing mode.Nick Mathewson2013-05-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | You can't use != to compare arbitary members of or_options_t. (Also, generate a better error message to say which Testing* option was set.) Fix for bug 8992. Bugfix on b0d4ca49. Bug not in any released Tor.
* | | | Merge remote-tracking branch 'karsten/task-6752-3'Nick Mathewson2013-05-28
|\ \ \ \
| * | | | Try harder to document default_options correctly.Karsten Loesing2013-05-25
| | | | |
| * | | | Tweak #6752 patch based on comments by nickm.Karsten Loesing2013-05-24
| | | | |
| * | | | Lower dir fetch retry schedules in testing networks.Karsten Loesing2013-05-16
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | Also lower maximum interval without directory requests, and raise maximum download tries. Implements #6752.
* / | | Extract duplicate code in geoip and rephist.Peter Retzlaff2013-05-24
|/ / / | | | | | | | | | | | | | | | | | | Create new methods check_or_create_data_subdir() and write_to_data_subdir() in config.c and use them throughout rephist.c and geoip.c. This should solve ticket #4282.
* | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-04-24
|\| |
| * | Merge remote-tracking branch 'public/bug6026' into maint-0.2.4Nick Mathewson2013-04-24
| |\ \
| | * | Treat a changed IPv6 ORPort like an IPv4 one in retry_all_listeners()Nick Mathewson2013-03-11
| | | | | | | | | | | | | | | | Fix for bug 6026
* | | | Turn on ntor by default client-sideNick Mathewson2013-04-18
| | | | | | | | | | | | | | | | Implements #8561.
* | | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-04-18
|\| | |
| * | | Merge remote-tracking branch 'public/bug8716_023' into maint-0.2.4Nick Mathewson2013-04-18
| |\ \ \
| | * | | Fix memory leak when sending configuration-changed eventNick Mathewson2013-04-17
| | | | | | | | | | | | | | | | | | | | Fix for bug #8718; bugfix on 0.2.3.3-alpha.
* | | | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-04-11
|\| | | |
| * | | | Merge remote-tracking branch 'public/bug8117_023' into maint-0.2.4Nick Mathewson2013-04-11
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/tor.1.txt src/or/config.c src/or/connection.c
| | * | | | Per-SOCKSPort configuration for bug 8117 fix.Nick Mathewson2013-03-20
| | | |_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | This might be necessary if the bug8117 fix confuses any applications. Also add a changes file.
* | | | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-03-28
|\| | | |
| * | | | Make PathsNeededToBuildCircuits option work.Karsten Loesing2013-03-28
| | | | |