summaryrefslogtreecommitdiff
path: root/src/or
AgeCommit message (Collapse)Author
2014-05-08Move structures into (private) part of buffers.h so we can inspect them ↵Nick Mathewson
while testing
2014-05-08Merge remote-tracking branch 'public/bug11648'Nick Mathewson
2014-05-07Merge remote-tracking branch 'public/bug11737_diagnostic'Nick Mathewson
2014-05-07Merge remote-tracking branch 'public/bug8387_diagnostic'Nick Mathewson
2014-05-07Better log message for 8387 diagnosticNick Mathewson
2014-05-07Always finalize a zlib stream of server descriptors.Nick Mathewson
Possible fix for bug 11648.
2014-05-07Basic tests for get_unique_circ_id_by_chan.Nick Mathewson
2014-05-06Merge remote-tracking branch 'public/bug11750'Nick Mathewson
2014-05-06Merge branch 'bug11743_option_b'Nick Mathewson
2014-05-06Future-proof "id" lines against proposal 220.Nick Mathewson
2014-05-06fix a copy-paste comment mistakeNick Mathewson
2014-05-06Merge remote-tracking branch 'karsten/bug11742'Nick Mathewson
2014-05-06Check HT_REP_IS_BAD_() when giving a bug-7164 warning.Nick Mathewson
This may let us know if we're hitting 7164 because of an hte_hash-corruption situation proposed by "cypherpunks" in bug 11737.
2014-05-06Faster chan_circid_entry_hash implementationNick Mathewson
Since this is critical-path, let's tune the value we pass to csiphash a little so it fits into one whole round.
2014-05-06Fix compilation with DEBUG_DNS_CACHENick Mathewson
Reported by cypherpunks. Fix for #11761; bugfix on 0.2.3.13-alpha where we made ht.h stop using _identifiers.
2014-05-05Use siphash on channel/circuit-id map tooNick Mathewson
Fixes ticket 11750.
2014-05-05Consensus method 18: Add a base64 ID digest to the microdescNick Mathewson
This is a stopgap measure to make sure that microdescriptors never collide; see bug 11743.
2014-05-05Don't start sandbox except for CMD_RUN_TORNick Mathewson
This was crashing on --verify-config in the debian startup script, if you had sandboxing enabled. Fixes 11609; fix on 0.2.5.1-alpha.
2014-05-05Remove /tor/dbg-stability.txt URL.Karsten Loesing
The /tor/dbg-stability.txt URL was meant to help debug WFU and MTBF calculations, but nobody was using it. Fixes #11742.
2014-05-01have only one code path for #9635 loggingNick Mathewson
2014-05-01Merge remote-tracking branch 'public/bug9635'Nick Mathewson
2014-05-01Merge branch 'bug11654_squashed'Nick Mathewson
2014-05-01Fix a misuse of strlcpy() introduced by the #11156 patch.George Kadianakis
2014-05-01whitespace fixNick Mathewson
2014-05-01Merge remote-tracking branch 'public/valgrind_tests'Nick Mathewson
2014-05-01Merge remote-tracking branch 'public/bug4345a_024'Nick Mathewson
2014-05-01Merge remote-tracking branch 'public/bug10849_025'Nick Mathewson
Conflicts: src/or/config.c
2014-05-01Merge remote-tracking branch 'andrea/bug11476'Nick Mathewson
2014-04-30Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson
2014-04-30Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4Nick Mathewson
2014-04-30Merge remote-tracking branch 'public/bug10849_023_bruteforce' into maint-0.2.3Nick Mathewson
2014-04-29Drop the MaxMemInCellQueues lower limit down to 256 MB.Nick Mathewson
on #9686, gmorehose reports that the 500 MB lower limit is too high for raspberry pi users. This is a backport of 647248729fa65f0e51d062e2af8f4e8b38592bf5 to 0.2.4. Note that in 0.2.4, the option is called MaxMemInCellQueues.
2014-04-29Log info on ancient one-hop circuits in heartbeatNick Mathewson
This is an attempt to diagnose 8387.
2014-04-29Quench gcc's complaints about discarding constness in TO_ORIGIN_CIRCUIT.dana koch
This was previously satisfied by using a temporary variable, but there are three other instances in circuitlist.c that gcc is now bothered by, so now introduce a CONST_TO_ORIGIN_CIRCUIT that takes a const circuit_t instead.
2014-04-29Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson
2014-04-29Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4Nick Mathewson
2014-04-29Stop leaking memory in error cases of md parsingNick Mathewson
When clearing a list of tokens, it's important to do token_clear() on them first, or else any keys they contain will leak. This didn't leak memory on any of the successful microdescriptor parsing paths, but it does leak on some failing paths when the failure happens during tokenization. Fixes bug 11618; bugfix on 0.2.2.6-alpha.
2014-04-29Fix leaks in dir voting testsNick Mathewson
2014-04-29Make --disable-buf-freelists build and pass unit testsAndrea Shepard
2014-04-28Fix capitalization of MaxMemInQueuesNick Mathewson
This won't affect anybody's configuration, but it makes it match what we documented. Fixes part of 11634.
2014-04-28Actually put ExtORPortCookieAuthFile into config.cNick Mathewson
Fixes bug 11635; bugfix on 0.2.5.1-alpha.
2014-04-26Fix memory leaks in test_circuit_timeoutNick Mathewson
Found with valgrind.
2014-04-25Forbid TunneledDirConns 0 and PreferTunneledDirConns 0 if being a HSNick Mathewson
Fixes bug 10849; bugfix on 0.2.1.1-alpha (I believe)
2014-04-25Merge branch 'scanbuild_fixes'Nick Mathewson
2014-04-24whitespace fixNick Mathewson
2014-04-24Merge remote-tracking branch 'public/bug11553_025'Nick Mathewson
2014-04-24Merge branch 'bug11396_v2_squashed'Nick Mathewson
Conflicts: src/or/main.c
2014-04-24Expose the real maxmeminqueues via a GETINFONick Mathewson
That is, GETINFO limits/max-mem-in-queues
2014-04-24Change the logic for the default for MaxMemInQueuesNick Mathewson
If we can't detect the physical memory, the new default is 8 GB on 64-bit architectures, and 1 GB on 32-bit architectures. If we *can* detect the physical memory, the new default is CLAMP(256 MB, phys_mem * 0.75, MAX_DFLT) where MAX_DFLT is 8 GB on 64-bit architectures and 2 GB on 32-bit architectures. You can still override the default by hand. The logic here is simply trying to choose a lower default value on systems with less than 12 GB of physical RAM.
2014-04-24get_total_system_memory(): see how much RAM we haveNick Mathewson