summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2016-02-28Merge remote-tracking branch 'teor/fallbacks-201602-v2'Nick Mathewson
2016-02-27Update the copyright year.Nick Mathewson
2016-02-27Update default fallback directories for 0.2.8.2-alpha (Feb 2016)teor (Tim Wilson-Brown)
Allow fallback directories which have been stable for 7 days to work around #18050, which causes relays to submit descriptors with 0 DirPorts when restarted. (Particularly during Tor version upgrades.) Ignore low fallback directory count in alpha builds. Set the target count to 50.
2016-02-27Fix minor fallback directory script issues with time zonesteor (Tim Wilson-Brown)
2016-02-27Check if fallback directories can serve the consensus fast enoughteor (Tim Wilson-Brown)
2016-02-10Make the callgraph module-awareNick Mathewson
2016-02-01use sortChanges to fold changes files into changelog. No additional editing ↵Nick Mathewson
or formatting yet.
2016-02-01Fix all the warnings from lintChanges.pyNick Mathewson
2016-01-18Add default fallback directories for the 0.2.8 alpha releasesteor (Tim Wilson-Brown)
Allow fallback directories which have been stable for 30 days to work around #18050, which causes relays to submit descriptors with 0 DirPorts when restarted. (Particularly during Tor version upgrades.) Ignore low fallback directory count in alpha builds.
2016-01-18Fix a display issue in updateFallbackDirs.py outputteor (Tim Wilson-Brown)
2016-01-12Merge remote-tracking branch 'teor/bug17888'Nick Mathewson
2016-01-12Merge remote-tracking branch 'teor/bug17887-v2'Nick Mathewson
2016-01-12Don't limit fallback directory candidates to 500teor (Tim Wilson-Brown)
Only impose the limit when selecting fallback directories for inclusion in tor.
2016-01-12Fix various issues with fallback directory data handlingteor (Tim Wilson-Brown)
* support maximum history age in _avg_generic_history() * fix division-by-zero trap in _avg_generic_history() * skip missing (i.e. null/None) intervals in _avg_generic_history() * Python timedelta.total_seconds() function not available in 2.6; replace with equivalent expression * set DEBUG logging level to make relay exclusion reasons visible * move CUTOFF_GUARD test to end in order to expose more exclusion reasons Patch by "starlight", merge modifications by "teor".
2016-01-12Don't reduce the weight of exits selected as fallback directoriesteor (Tim Wilson-Brown)
When selecting exits as fallback directories, don't reduce their weights. Closes ticket #17888.
2016-01-12Allow fallback directory selection to use day-old datateor (Tim Wilson-Brown)
Allow cached or outdated Onionoo data to be used to choose fallback directories, as long as it's less than a day old. Modify last modified date checks in preparation for Onionoo change
2015-12-16Add Fallback Directory Candidate Selection Scriptteor
"Tor has included a feature to fetch the initial consensus from nodes other than the authorities for a while now. We just haven't shipped a list of alternate locations for clients to go to yet. Reasons why we might want to ship tor with a list of additional places where clients can find the consensus is that it makes authority reachability and BW less important. We want them to have been around and using their current key, address, and port for a while now (120 days), and have been running, a guard, and a v2 directory mirror for most of that time." Features: * whitelist and blacklist for an opt-in/opt-out trial. * excludes BadExits, tor versions that aren't recommended, and low consensus weight directory mirrors. * reduces the weighting of Exits to avoid overloading them. * places limits on the weight of any one fallback. * includes an IPv6 address and orport for each FallbackDir, as implemented in #17327. (Tor won't bootstrap using IPv6 fallbacks until #17840 is merged.) * generated output includes timestamps & Onionoo URL for traceability. * unit test ensures that we successfully load all included default fallback directories. Closes ticket #15775. Patch by "teor". OnionOO script by "weasel", "teor", "gsathya", and "karsten".
2015-10-07update codegen script to work with latest mozillaNick Mathewson
2015-09-22add more clang checkers; find no new bugs.Nick Mathewson
2015-09-22scan-build is more mature now; no need to hardcode the one in my /opt/clang-3.4Nick Mathewson
2015-08-25Document callgraph analysis codeNick Mathewson
2015-08-21Remove tor-fw-helper more thoroughlySebastian Hahn
2015-08-21Observe workqueue_reply_t in check-spacesSebastian Hahn
2015-08-15Hack up the scripts/maint/*callgraph* scripts to do more, betterNick Mathewson
These scripts are now a little more bulletproof, cache data a little better, and generate more information. Notably, they search for the vectors or edges to cut that would lower the size of the largest SCC.
2015-08-10Update callgraph code to find and output strongly connected componentsNick Mathewson
2015-08-05Allow cov-display to take directories as argumentsNick Mathewson
2015-07-30Check in some scripts I use for callgraph analysis.Nick Mathewson
2015-07-16Add my script to dump per-file or per-function coverageNick Mathewson
2015-05-29more generic scan-build scriptNick Mathewson
2015-05-28Merge branch '12498_ed25519_keys_v6'Nick Mathewson
Fixed numerous conflicts, and ported code to use new base64 api.
2015-05-28Sign extrainfo documents with ed25519Nick Mathewson
Extrainfo documents are now ed-signed just as are router descriptors, according to proposal 220. This patch also includes some more tests for successful/failing parsing, and fixes a crash bug in ed25519 descriptor parsing.
2015-05-28Revise makedesc.py: teach it how to emit ed signatures and crosscertsNick Mathewson
Also, add a trivial ed25519-signed routerinfo to the tests.
2015-05-28Add trunnel-generated items for link handshake code.Nick Mathewson
This includes the link handshake variations for proposal220. We'll use this for testing first, and then use it to extend our current code to support prop220.
2015-05-05Fix a bug in format_changelog, in a silly wayNick Mathewson
2015-05-05Add collation/splitting support to sortChanges scriptNick Mathewson
2015-03-14Revive updateVersions.pl with `make update-versions`.cypherpunks
2015-03-14Make `check-docs` work from out-of-tree builds.cypherpunks
2015-03-09Be exact about the number of spaces in the header.cypherpunks
Also fixes changes files that warn on this.
2015-03-09Add `check-changes` rule for checking formatting of changes files.cypherpunks
Additional fixes to make the change work; - fix Python 2 vs 3 issues - fix some PEP 8 warnings - handle paths with numbers correctly - mention the make rule in doc/HACKING.
2015-02-19Check for # characters in lintchangesNick Mathewson
2015-01-02Commit the update-copyrights script.Nick Mathewson
(I'm tired of rewriting this by hand every January)
2015-01-02Bump copyright dates to 2015, in case someday this matters.Nick Mathewson
2014-12-22have lintchanges check header format.Nick Mathewson
2014-12-22Resolve issues in changes filesNick Mathewson
2014-12-22Short python script to lint the changes filesNick Mathewson
2014-11-27Merge remote-tracking branch 'andrea/cmux_refactor_configurable_threshold'Nick Mathewson
Conflicts: src/or/or.h src/test/Makefile.nmake
2014-11-02Add a rule to the calloc semantic patch for argument ordering.Mansour Moufid
2014-11-02The second argument to tor_calloc should be a constant.Mansour Moufid
Just like the conventional calloc.
2014-11-02Refactor the calloc semantic patch.Mansour Moufid
This does not change its effects.
2014-10-31Repair format_changelog.py drupal breaks a little more. Drupal is weird.Nick Mathewson