aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
Commit message (Expand)AuthorAge
* Make --version, --help, etc incremement quiet level, never decrease it•••Fixes other case of #9578 Nick Mathewson2013-10-11
* Merge remote-tracking branch 'Ryman/bug6384'•••Conflicts: src/or/config.c src/or/main.c Nick Mathewson2013-09-13
|\
| * Added --library-versions flag to print the compile time and runtime versions ...Kevin Butler2013-09-01
* | 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."•••And have these various commandline options imply "hush", not "quiet", since we like to see warnings. Nick Mathewson2013-09-13
| * | Use commandline parser for other options•••These were previously allowed only in the initial position: --help, -h , --version, --digests, --list-torrc-options Nick Mathewson2013-09-13
| * | Expose commandline parser so that we can use it for --quiet,etc.•••Fix for bug 9578. Nick Mathewson2013-09-13
| |/
* | Merge remote-tracking branch 'ctoader/gsoc-cap-stage2'•••Conflicts: src/common/sandbox.c Nick Mathewson2013-09-13
|\ \
| * | 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/processed•••we skip onionskins that came from non-relays, so we're less likely to run into privacy troubles. starts to implement ticket 9658. Roger Dingledine2013-09-05
* | | Write some free_all functions to free the auth. cookies.•••We started allocating space for them on the heap in the previous commit. Conflicts: src/or/ext_orport.h George Kadianakis2013-08-15
* | | White-box tests for the succeeding case of ext_or_port handshake.•••(Okay, white-box plus mocking enough other functions so they don't crash.) Nick Mathewson2013-08-15
* | | Expose/mock some functions to make ext_orport.c testing possibleNick Mathewson2013-08-15
* | | Merge remote-tracking branch 'public/fancy_test_tricks'•••Conflicts: src/common/include.am Conflict was from adding testsupport.h near where sandbox.h had already been added. Nick Mathewson2013-07-15
|\ \ \ | |_|/ |/| |
| * | Completely refactor how FILENAME_PRIVATE works•••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. Nick Mathewson2013-07-10
* | | Merge remote-tracking branch 'public/gsoc-ctoader-cap-phase1-squashed'Nick Mathewson2013-07-12
|\ \ \ | |/ / |/| |
| * | Add a basic seccomp2 syscall filter on Linux•••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. Cristian Toader2013-07-11
* | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-06-29
|\ \ \ | | |/ | |/|
| * | Give a warning when bufferevents are enabled.•••Ticket 9147. Nick Mathewson2013-06-29
* | | Rename networkstatus_dl_interval() -> networkstatus_dl_check_interval()Nick Mathewson2013-06-13
* | | Hide consensus download interval, depending on TestingTorNetwork, in a macro.Linus Nordberg2013-06-10
* | | Add support for offsetting the voting interval in order to bootstrap faster.•••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. Linus Nordberg2013-06-08
| |/ |/|
* | Lower dir fetch retry schedules in testing networks.•••Also lower maximum interval without directory requests, and raise maximum download tries. Implements #6752. Karsten Loesing2013-05-16
|/
* Merge remote-tracking branch 'public/bug6174' into maint-0.2.4Nick Mathewson2013-03-18
|\
| * Rename circuit_expire_all_dirty_circs•••The new name is circuit_mark_all_dirty_circs_as_unusable. This resolves an XXX024 Nick Mathewson2013-02-19
* | Remove a bunch of unused macro definitionsNick Mathewson2013-02-23
|/
* simplify timing checks•••now that both timers are on the same schedule, there's no point tracking separate timers. Roger Dingledine2013-02-11
* Check for IP address change every minute, not 15 minutes•••Relays used to check every 10 to 60 seconds, as an accidental side effect of calling directory_fetches_from_authorities() when considering doing a directory fetch. The fix for bug 1992 removes that side effect. At the same time, bridge relays never had the side effect, leading to confused bridge operators who tried crazy tricks to get their bridges to notice IP address changes (see ticket 1913). The new behavior is to reinstate an every-60-seconds check for both public relays and bridge relays, now that the side effect is gone. Roger Dingledine2013-02-11
* Fix numerous problems with Tor's weak RNG.•••We need a weak RNG in a couple of places where the strong RNG is both needless and too slow. We had been using the weak RNG from our platform's libc implementation, but that was problematic (because many platforms have exceptionally horrible weak RNGs -- like, ones that only return values between 0 and SHORT_MAX) and because we were using it in a way that was wrong for LCG-based weak RNGs. (We were counting on the low bits of the LCG output to be as random as the high ones, which isn't true.) This patch adds a separate type for a weak RNG, adds an LCG implementation for it, and uses that exclusively where we had been using the platform weak RNG. Nick Mathewson2013-02-08
* Rename log() to tor_log() for logging•••This is meant to avoid conflict with the built-in log() function in math.h. It resolves ticket 7599. First reported by dhill. This was generated with the following perl script: #!/usr/bin/perl -w -i -p s/\blog\(LOG_(ERR|WARN|NOTICE|INFO|DEBUG)\s*,\s*/log_\L$1\(/g; s/\blog\(/tor_log\(/g; Nick Mathewson2013-02-01