summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2014-04-01Merge remote-tracking branch 'public/bug11278'Nick Mathewson
2014-04-01Merge remote-tracking branch 'public/bug10468_024'Nick Mathewson
2014-04-01Merge remote-tracking branch 'public/bug4645'Nick Mathewson
Conflicts: src/or/dirserv.c
2014-04-01Add one more missing heck on bug4645 fixesNick Mathewson
2014-04-01Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson
2014-04-01Merge branch 'bug9213_doc_024' into maint-0.2.4Nick Mathewson
2014-04-01Fix documentation of torrc search orderNick Mathewson
We are searching @CONFDIR@ before $HOME, but the documentation implied otherwise. I screwed this up in f5e86bcd6c06d43ff3af5acd8135bd8b577bc3, when I first documented the $HOME/.torrc possibility. Fix for bug 9213; bugfix on 0.2.3.18-rc.
2014-04-01Merge remote-tracking branch 'public/bug9870'Nick Mathewson
Conflicts: src/or/config.c
2014-04-01Merge remote-tracking branch 'public/bug11232'Nick Mathewson
2014-03-31Merge branch 'bug8787_squashed'Nick Mathewson
2014-03-31changes file for bug8787Nick Mathewson
2014-03-31Munmap the right pointers in routerlist_free()Nick Mathewson
2014-03-31NULL out all mappings after tor_munmap_file()Nick Mathewson
2014-03-31Check return values for tor_munmap_file() in unit testsNick Mathewson
2014-03-31Handle tor_munmap_file(NULL) consistentlyNick Mathewson
2014-03-31Check strftime() return in tortls.cAndrea Shepard
2014-03-31Eliminate lseek() with unchecked return in tor_mmap_file()Andrea Shepard
2014-03-31Always check returns from unlink()Andrea Shepard
2014-03-31Always check returns from tor_munmap_file() in microdesc.cAndrea Shepard
2014-03-31Always check returns from tor_munmap_file() in routerlist.cAndrea Shepard
2014-03-31Add return value and assert for null parameter to tor_munmap_file()Andrea Shepard
2014-03-31Merge remote-tracking branch 'public/build_torrify_manpage_again'Nick Mathewson
2014-03-31Merge remote-tracking branch 'public/bug11342'Nick Mathewson
2014-03-31Fix a clang compilation warningNick Mathewson
Subtracting two time_t values was yielding something that maybe can't be fit in an int. Bugfix on 0389d4aa; bug not in any released Tor.
2014-03-27Make dump_desc() use binary modeNick Mathewson
Otherwise, it could mung the thing that came over the net on windows, which would defeat the purpose of recording the unparseable thing. Fixes bug 11342; bugfix on 0.2.2.1-alpha.
2014-03-27Merge branch 'bug9658_refactor'Nick Mathewson
2014-03-27Renamed "onionskins_completed" to "onionskins_assigned"Nick Mathewson
This improves the accuracy of the function/variable names.
2014-03-27Respond to AAAA requests on DNSPort with AAAA automapsNick Mathewson
Other DNS+IPv6 problems remain, but at least this fixes the automapping. Fixes bug 10468; bugfix on 0.2.4.7-alpha.
2014-03-27Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson
2014-03-27whitespace fixNick Mathewson
2014-03-27Merge branch 'bug7164_diagnose_harder_v2'Nick Mathewson
2014-03-27More logs to try to diagnose bug 7164Nick Mathewson
This time, check in microdesc_cache_clean() to see what could be going wrong with an attempt to clean a microdesc that's held by a node.
2014-03-26Fix version number in changes/bug11296Nick Mathewson
2014-03-26Fix build of torify.1Nick Mathewson
The build was broken by changes in f8c45339f72525c68, but we didn't notice, since that commit also made torify.1 only get built when tor-fw-helper was turned on. Fixes bug 11321; bugfix on Tor 0.2.5.1-alpha.
2014-03-26Merge remote-tracking branch 'public/bug11296'Nick Mathewson
2014-03-26Turn off testing code for #9683.Nick Mathewson
(This wasn't supposed to get committed turned-on.)
2014-03-25Demote "Invalid length on ESTABLISH_RENDEZVOUS" to protocol_warnNick Mathewson
Fixes bug 11279
2014-03-25Fix warnings from doxygenNick Mathewson
Most of these are simple. The only nontrivial part is that our pattern for using ENUM_BF was confusing doxygen by making declarations that didn't look like declarations.
2014-03-25Make the redox script sorta work again.Nick Mathewson
2014-03-25Add missing -Isrc/ext to tor-fw-helper/include.amNick Mathewson
We need this now that tor-fw-helper will pull in siphash.h Fixes bug 11296; bugfix on 0.2.5.4-alpha where siphash.h was introduced.
2014-03-25Free placeholder circid/chan->circuit map entries on exitNick Mathewson
In circuitlist_free_all, we free all the circuits, removing them from the map as we go, but we weren't actually freeing the placeholder entries that we use to indicate pending DESTROY cells. Fix for bug 11278; bugfix on the 7912 code that was merged in 0.2.5.1-alpha
2014-03-25Merge remote-tracking branch 'public/bug11061_024'Nick Mathewson
2014-03-25Fix SOCKSPort documentation layoutNick Mathewson
In the end this required a slightly nasty hack using a dummy anchor as an option heading in order to make the "Other recognized __flags__" line indent properly. Fixes bug 11061; Bugfix on 61d740ed.
2014-03-24quiet the debug message in circuit_build_times_disabled()Roger Dingledine
something recently made it get called once per second, which will clutter up your debug log file.
2014-03-23Changes file for bug 11276.Nick Mathewson
The crypto_early_init() function could only be called at most twice, and both of those were during startup. AFAICT leaking the first set of locks was the only non-idempotent thing.
2014-03-23Merge remote-tracking branch 'arma/bug11276'Nick Mathewson
2014-03-23Merge remote-tracking branch 'public/bug11275_024'Nick Mathewson
2014-03-23changes file for bug 11275Nick Mathewson