aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| * | | | Relays should send timestamp in NETINFO.Nick Mathewson2013-09-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids skew warnings as authorities test reachability. Fix 9798; fix not on any released Tor.
* | | | | Merge branch 'maint-0.2.4'Roger Dingledine2013-09-21
|\| | | |
| * | | | back out most of 1d0ba9aRoger Dingledine2013-09-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this was causing directory authorities to send a time of 0 on all connections they generated themselves, which means everybody reachability test caused a time skew warning in the log for that relay. (i didn't just revert, because the changes file has been modified by other later commits.)
* | | | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-09-20
|\| | | |
| * | | | Round down hidden service descriptor publication times to nearest hourNick Mathewson2013-09-20
| | | | | | | | | | | | | | | | | | | | | | | | | Implements part of proposal 222. We can do this safely, since REND_CACHE_MAX_SKEW is 24 hours.
| * | | | Remove the timestamp from AUTHENTICATE cells; replace with random bytesNick Mathewson2013-09-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This isn't actually much of an issue, since only relays send AUTHENTICATE cells, but while we're removing timestamps, we might as well do this too. Part of proposal 222. I didn't take the approach in the proposal of using a time-based HMAC, since that was a bad-prng-mitigation hack from SSL3, and in real life, if you don't have a good RNG, you're hopeless as a Tor server.
| * | | | Get ready to stop sending timestamps in INTRODUCE cellsNick Mathewson2013-09-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.)
| * | | | Stop sending the current time in client NETINFO handshakes.Nick Mathewson2013-09-20
| | |_|/ | |/| | | | | | | | | | Implements part of proposal 222.
* | | | Fix compilation with libevent 1Nick Mathewson2013-09-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | a9910d89 added trickery to make us work with interned strings and seccomp; it requires libevent 2. Fix for 9785; bug not in any released tor.
* | | | Merge remote-tracking branch 'public/bug9716_024'Nick Mathewson2013-09-19
|\ \ \ \
| * | | | Try using INT_MAX, not SOMAXCONN, to set listen() backlog.Nick Mathewson2013-09-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fall back to SOMAXCONN if INT_MAX doesn't work. We'd like to do this because the actual maximum is overrideable by the kernel, and the value in the header file might not be right at all. All implementations I can find out about claim that this is supported. Fix for 9716; bugfix on every Tor.
* | | | | Fix benchmarks to run without crashing.Nick Mathewson2013-09-18
| | | | | | | | | | | | | | | | | | | | | | | | | I broke this when I added separate test-mode support by having the benchmarks get built with TEST_CFLAGS.
* | | | | Fix a memory leak on getaddrinfo in sandbox. Found by coverityNick Mathewson2013-09-16
| | | | |
* | | | | Clean up malloc issues in sandbox.cNick Mathewson2013-09-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor_malloc returns void *; in C, it is not necessary to cast a void* to another pointer type before assigning it. tor_malloc fails with an error rather than returning NULL; it's not necessary to check its output. (In one case, doing so annoyed Coverity.)
* | | | | Correctly re-process non-option cmdline args on sighupNick Mathewson2013-09-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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!
* | | | | Merge remote-tracking branch 'karsten/geoip-manual-update-sep2013'Nick Mathewson2013-09-16
|\ \ \ \ \
| * | | | | Remove 17 now unused manual A1 substitutions.Karsten Loesing2013-09-10
| | | | | |
* | | | | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-09-16
|\ \ \ \ \ \ | | |_|/ / / | |/| | | |
| * | | | | Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4Nick Mathewson2013-09-16
| |\ \ \ \ \ | | | |_|_|/ | | |/| | |
| | * | | | Merge remote-tracking branch 'origin/maint-0.2.2' into maint-0.2.3Nick Mathewson2013-09-16
| | |\ \ \ \
| | | * | | | Update to the September 2013 GeoIP database.Karsten Loesing2013-09-10
| | | | | | |
* | | | | | | Fix a windows compilation warning from 4647 branchNick Mathewson2013-09-13
| | | | | | |
* | | | | | | Whoops; make or_state_validate conform to validate_fn_t.Nick Mathewson2013-09-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bugfix on 1293835440dd4debf6fbfc66e755d9b9384aa362, which implemented 6752: Not in any released tor.
* | | | | | | Merge remote-tracking branch 'Ryman/bug6384'Nick Mathewson2013-09-13
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/or/config.c src/or/main.c
| * | | | | | | Fixed leak and added minor documentation for #6384.Kevin Butler2013-09-04
| | | | | | | |
| * | | | | | | Added --library-versions flag to print the compile time and runtime versions ↵Kevin Butler2013-09-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of libevent, openssl and zlib. Partially implements #6384.
* | | | | | | | Fix a windows compilation warning from sandboxing branchNick Mathewson2013-09-13
| | | | | | | |
* | | | | | | | Merge branch 'bug4647_squashed'Nick Mathewson2013-09-13
|\ \ \ \ \ \ \ \
| * | | | | | | | Finish tests for command-line argumentsNick Mathewson2013-09-13
| | | | | | | | |
| * | | | | | | | Add a --dump-config option to help testing option parsing.Nick Mathewson2013-09-13
| | | | | | | | |
| * | | | | | | | Whoops; make options_validate conform to validate_fn_t.Nick Mathewson2013-09-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | | | | 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.
| * | | | | | | | Integration test for parsing arguments on the commandlineNick Mathewson2013-09-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (incomplete)
| * | | | | | | | Disallow --hash-password with no commandline arguments.Nick Mathewson2013-09-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 9573. Bugfix on 59453ac6e in 0.0.9pre5, which fixed a crash in a silly way.
| * | | | | | | | Make config_parse_commandline table-driven for its list of cmdline argsNick Mathewson2013-09-13
| | | | | | | | |
| * | | | | | | | 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.
| * | | | | | | | Patch for 4647 (rewrite command line parser)Cristian Toader2013-09-13
| |/ / / / / / /
* | | | | | | | Merge remote-tracking branch 'ctoader/gsoc-cap-stage2'Nick Mathewson2013-09-13
|\ \ \ \ \ \ \ \ | |_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/common/sandbox.c
| * | | | | | | fixed compilation bug on i386 due to previous fixCristian Toader2013-09-12
| | | | | | | |
| * | | | | | | bug fix: syscalls send and recv not supported for x86_64 with libseccomp 1.0.1Cristian Toader2013-09-12
| | | | | | | |
| * | | | | | | remove debugging codeCristian Toader2013-09-12
| | | | | | | |
| * | | | | | | added extra buffer and limit to mprotect not to exceed the length of that bufferCristian Toader2013-09-12
| | | | | | | |
| * | | | | | | Fix osx compilation again, hopefully better this time.Nick Mathewson2013-09-11
| | | | | | | |
| * | | | | | | added filter protection for string parameter memoryCristian Toader2013-09-10
| | | | | | | |
| * | | | | | | fixed socket syscall bugCristian Toader2013-09-10
| | | | | | | |
| * | | | | | | fixed compilation error on i386 linux by moving sandbox_cfg_t definitionCristian Toader2013-09-10
| | | | | | | |
| * | | | | | | Fix check-spacesNick Mathewson2013-09-09
| | | | | | | |
| * | | | | | | Fix compilation on OSXNick Mathewson2013-09-09
| | | | | | | |
| * | | | | | | Do not try to add non-existent syscalls.Nick Mathewson2013-09-09
| | | | | | | |