aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
Commit message (Collapse)AuthorAge
* Merge branch 'bug4900_siphash_v2'Nick Mathewson2014-02-15
|\
| * Split crypto_global_init() into pre/post configNick Mathewson2014-02-12
| | | | | | | | | | | | | | | | | | It's increasingly apparent that we want to make sure we initialize our PRNG nice and early, or else OpenSSL will do it for us. (OpenSSL doesn't do _too_ bad a job, but it's nice to do it ourselves.) We'll also need this for making sure we initialize the siphash key before we do any hashes.
* | Remove a bunch of functions that were never called.Nick Mathewson2014-02-15
|/
* Rip out all of the v2 directory code.Nick Mathewson2014-01-29
| | | | | | 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.
* Merge remote-tracking branch 'public/bug10485'Nick Mathewson2013-12-24
|\
| * Move onion-type stats message into heartbeatNick Mathewson2013-12-24
| | | | | | | | Fix for 10485. Fix on 0.2.4.17-alpha.
* | Merge branch 'backtrace_squashed'Nick Mathewson2013-11-18
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Add a sighandler-safe logging mechanismNick Mathewson2013-11-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Basic backtrace abilityNick Mathewson2013-11-18
| | | | | | | | | | | | | | | | | | 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.
* | | Merge branch 'morestats4' into morestats5Karsten Loesing2013-10-28
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | Add new CIRC_BW event.Karsten Loesing2013-05-16
| | | |
| * | | Add new CELL_STATS event.Karsten Loesing2013-05-16
| | | | | | | | | | | | | | | | Jointly authored with Rob Jansen <jansen@cs.umn.edu>.
| * | | Add new CONN_BW event.Karsten Loesing2013-05-16
| | | | | | | | | | | | | | | | Jointly authored with Rob Jansen <jansen@cs.umn.edu>.
* | | | Make --version, --help, etc incremement quiet level, never decrease itNick Mathewson2013-10-11
| | | | | | | | | | | | | | | | Fixes other case of #9578
* | | | Merge remote-tracking branch 'Ryman/bug6384'Nick Mathewson2013-09-13
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/or/config.c src/or/main.c
| * | | | Added --library-versions flag to print the compile time and runtime versions ↵Kevin Butler2013-09-01
| | | | | | | | | | | | | | | | | | | | of libevent, openssl and zlib. Partially implements #6384.
* | | | | Merge branch 'bug4647_squashed'Nick Mathewson2013-09-13
|\ \ \ \ \
| * | | | | Add a --dump-config option to help testing option parsing.Nick Mathewson2013-09-13
| | | | | |
| * | | | | Add '--digests' to "that which implies --hush."Nick Mathewson2013-09-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And have these various commandline options imply "hush", not "quiet", since we like to see warnings.
| * | | | | Use commandline parser for other optionsNick Mathewson2013-09-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These were previously allowed only in the initial position: --help, -h , --version, --digests, --list-torrc-options
| * | | | | Expose commandline parser so that we can use it for --quiet,etc.Nick Mathewson2013-09-13
| |/ / / / | | | | | | | | | | | | | | | Fix for bug 9578.
* | | | | Merge remote-tracking branch 'ctoader/gsoc-cap-stage2'Nick Mathewson2013-09-13
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/common/sandbox.c
| * | | | | Build correctly with older libeventsNick Mathewson2013-09-09
| | | | | |
| * | | | | Basic compilation fixes.Nick Mathewson2013-09-09
| | | | | |
| * | | | | added contingency message to test for sandbox_getaddrinfoCristian Toader2013-09-02
| | | | | |
| * | | | | changed how sb getaddrinfo works such that it supports storing multiple resultsCristian Toader2013-09-02
| | | | | |
| * | | | | _array filter functions now rely on final NULL parameterCristian Toader2013-08-29
| | | | | |
| * | | | | supporting /dev/urandom instead of /dev/randomCristian Toader2013-08-29
| | | | | |
| * | | | | updated open syscall stringsCristian Toader2013-08-26
| | | | | |
| * | | | | partial libevent open fixCristian Toader2013-08-14
| | | | | |
| * | | | | attempt to add stat64 filename filters; failed due to getaddrinfo..Cristian Toader2013-08-12
| | | | | |
| * | | | | fixed memory leak, added array filter supportCristian Toader2013-08-10
| | | | | |
| * | | | | updated filters to work with orportCristian Toader2013-08-09
| | | | | |
| * | | | | orport progress (not functional), nickm suggested fixesCristian Toader2013-08-07
| | | | | |
| * | | | | added execve and multi-configuration supportCristian Toader2013-08-05
| | | | | |
| * | | | | fixes suggested by nickmCristian Toader2013-08-05
| | | | | |
| * | | | | small filter changes; openat as separate functionCristian Toader2013-07-30
| | | | | |
| * | | | | added openat parameter filterCristian Toader2013-07-29
| | | | | |
| * | | | | Investigated access4 syscall problem, small changes to filter.Cristian Toader2013-07-26
| | | | | |
| * | | | | integrated context for dynamic filtersCristian Toader2013-07-25
| | | | | |
| * | | | | initia stages of runtime dynamic filtersCristian Toader2013-07-25
| | | | | |
* | | | | | Merge branch 'maint-0.2.4'Roger Dingledine2013-09-05
|\ \ \ \ \ \ | |_|/ / / / |/| | | | / | | |_|_|/ | |/| | |
| * | | | collect and log statistics about onionskins received/processedRoger Dingledine2013-09-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | we skip onionskins that came from non-relays, so we're less likely to run into privacy troubles. starts to implement ticket 9658.
* | | | | Write some free_all functions to free the auth. cookies.George Kadianakis2013-08-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We started allocating space for them on the heap in the previous commit. Conflicts: src/or/ext_orport.h
* | | | | White-box tests for the succeeding case of ext_or_port handshake.Nick Mathewson2013-08-15
| | | | | | | | | | | | | | | | | | | | | | | | | (Okay, white-box plus mocking enough other functions so they don't crash.)
* | | | | Expose/mock some functions to make ext_orport.c testing possibleNick Mathewson2013-08-15
| |_|_|/ |/| | |
* | | | 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.