summaryrefslogtreecommitdiff
path: root/src/or/config.c
AgeCommit message (Collapse)Author
2014-02-03TransProxyType replaces TransTPROXY optionNick Mathewson
I'm making this change now since ipfw will want its own option too, and proliferating options here isn't sensible. (See #10582 and #10267)
2014-02-03More fixes to rip out all of the v2 directory code.Karsten Loesing
(This was a squash commit, but I forgot to squash it. Sorry! --Nick)
2014-02-03Merge remote-tracking branch 'public/bug10758'Nick Mathewson
2014-02-02Move the friendly warning about TPROXY and root to EPERM timeNick Mathewson
I'm doing this because: * User doesn't mean you're running as root, and running as root doesn't mean you've set User. * It's possible that the user has done some other capability-based hack to retain the necessary privileges.
2014-01-31Add support for TPROXY via new TransTPRoxy optionNick Mathewson
Based on patch from "thomo" at #10582.
2014-01-29Rip out all of the v2 directory code.Nick Mathewson
The remaining vestige is that we continue to publish the V2dir flag, and that, for the controller, we continue to emit v2 directory formats when requested.
2013-11-18Merge branch 'backtrace_squashed'Nick Mathewson
Conflicts: src/common/sandbox.c src/common/sandbox.h src/common/util.c src/or/main.c src/test/include.am src/test/test.c
2013-11-18Unit tests for new functions in log.cNick Mathewson
2013-11-18Add a sighandler-safe logging mechanismNick Mathewson
We had accidentially grown two fake ones: one for backtrace.c, and one for sandbox.c. Let's do this properly instead. Now, when we configure logs, we keep track of fds that should get told about bad stuff happening from signal handlers. There's another entry point for these that avoids using non-signal-handler-safe functions.
2013-11-18Basic backtrace abilityNick Mathewson
On platforms with the backtrace/backtrace_symbols_fd interface, Tor can now dump stack traces on assertion failure. By default, I log them to DataDir/stack_dump and to stderr.
2013-11-10Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson
2013-11-10Fix a wide lineNick Mathewson
2013-11-10Change documentation DirServer->DirAuthorityNick Mathewson
We renamed the option, but we didn't actually fix it in the log messages or the docs. This patch does that. For #10124. Patch by sqrt2.
2013-11-07Implementing --allow-missing-torrc CLI option.rl1987
2013-11-01Merge branch 'prop221_squashed_024'Nick Mathewson
Conflicts: src/or/or.h
2013-11-01Implement proposal 221: Stop sending CREATE_FASTNick Mathewson
This makes FastFirstHopPK an AUTOBOOL; makes the default "auto"; and makes the behavior of "auto" be "look at the consensus."
2013-10-30Merge remote-tracking branch 'karsten/morestats5'Nick Mathewson
2013-10-29Merge remote-tracking branch 'public/bug5018'Nick Mathewson
Conflicts: src/or/entrynodes.c
2013-10-29Document that unneeded transports are ignored.David Fifield
Suggested by Roger in https://trac.torproject.org/projects/tor/ticket/5018#comment:11.
2013-10-29Only launch transport proxies that provide useful transports.George Kadianakis
2013-10-28Merge branch 'morestats4' into morestats5Karsten Loesing
Conflicts: doc/tor.1.txt src/or/config.c src/or/connection.h src/or/control.c src/or/control.h src/or/or.h src/or/relay.c src/or/relay.h src/test/test.c
2013-10-25Merge remote-tracking branch 'Ryman/bug5605'Nick Mathewson
2013-10-16Merge remote-tracking branch 'linus/bug9206_option'Nick Mathewson
2013-10-14Merge remote-tracking branch 'asn/bug9651'Nick Mathewson
2013-10-07Add TestingDirAuthVoteGuard option for specifying relays to vote Guard on.Linus Nordberg
Addresses ticket 9206.
2013-10-01what is logging "above" notice?Roger Dingledine
2013-09-24Warn when the Extended ORPort should be on but it's not.George Kadianakis
2013-09-20Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson
2013-09-20Get ready to stop sending timestamps in INTRODUCE cellsNick Mathewson
For now, round down to the nearest 10 minutes. Later, eliminate entirely by setting a consensus parameter. (This rounding is safe because, in 0.2.2, where the timestamp mattered, REND_REPLAY_TIME_INTERVAL was a nice generous 60 minutes.)
2013-09-16Correctly re-process non-option cmdline args on sighupNick Mathewson
Whenever we had an non-option commandline arguments *and* option-bearing commandline arguments on the commandline, we would save only the latter across invocations of options_init_from_torrc, but take their existence as license not to re-parse the former. Yuck! Incidentally, this fix lets us throw away the backup_arg[gv] logic. Fix for bug 9746; bugfix on d98dfb3746790448b0dcff2aa9a00e5e2602688a, not in any released Tor. Found by Damian. Thanks, Damian!
2013-09-13Merge remote-tracking branch 'Ryman/bug6384'Nick Mathewson
Conflicts: src/or/config.c src/or/main.c
2013-09-13Merge branch 'bug4647_squashed'Nick Mathewson
2013-09-13Add a --dump-config option to help testing option parsing.Nick Mathewson
2013-09-13Whoops; make options_validate conform to validate_fn_t.Nick Mathewson
This just goes to show: never cast a function pointer. Found while testing new command line parse logic. Bugfix on 1293835440dd4debf6fbfc66e755d9b9384aa362, which implemented 6752: Not in any released tor.
2013-09-13Disallow --hash-password with no commandline arguments.Nick Mathewson
Fixes bug 9573. Bugfix on 59453ac6e in 0.0.9pre5, which fixed a crash in a silly way.
2013-09-13Make config_parse_commandline table-driven for its list of cmdline argsNick Mathewson
2013-09-13Use commandline parser for other optionsNick Mathewson
These were previously allowed only in the initial position: --help, -h , --version, --digests, --list-torrc-options
2013-09-13Expose commandline parser so that we can use it for --quiet,etc.Nick Mathewson
Fix for bug 9578.
2013-09-13Patch for 4647 (rewrite command line parser)Cristian Toader
2013-09-13Merge remote-tracking branch 'ctoader/gsoc-cap-stage2'Nick Mathewson
Conflicts: src/common/sandbox.c
2013-09-03Merge remote-tracking branch 'Ryman/bug4341'Nick Mathewson
2013-09-03Minor changes to adhere to codebase conventions.Kevin Butler
2013-09-02No longer writing control ports to file if updating reversible options fail. ↵Kevin Butler
Fixes #5605.
2013-09-01Added --library-versions flag to print the compile time and runtime versions ↵Kevin Butler
of libevent, openssl and zlib. Partially implements #6384.
2013-08-31Changed signature for check_nickname_list to remove warnings on free.Kevin Butler
2013-08-31MyFamily option will now fix fingerprints missing their leading instead of ↵Kevin Butler
complaining. Should fix #4341.
2013-08-25Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson
2013-08-25Merge remote-tracking branch 'public/bug9366' into maint-0.2.4Nick Mathewson
2013-08-21Add a 30-day maximum on user-supplied MaxCircuitDirtinessNick Mathewson
Fix for bug 9543.
2013-08-21make check-spaces fixesCristian Toader