aboutsummaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2019-01-15Depending on script mode, either use 'whitelist' or 'fallback list'rl1987
2019-01-15In updateFallbackDirs.py, say 'fallback list' instead of 'whitelist'rl1987
2018-12-12Merge branch 'ticket28755_v2_squashed'Nick Mathewson
2018-12-12Copy the nss-related changes into fuzzing_include_am.py.Nick Mathewson
2018-12-12Fuzzing module for various string operations, currently focusing onNick Mathewson
encoding and decoding. There are bunches of places where we don't want to invest in a full fuzzer, but we would like to make sure that some string operation can handle all its possible inputs. This fuzzer uses the first byte of its input to decide what to do with the rest of the input. Right now, all the possibilities are decoding a string, and seeing whether it is decodeable. If it is, we try to re-encode it and do the whole thing again, to make sure we get the same result. This turned up a lot of bugs in the key-value parser, and I think it will help in other cases too. Closes ticket 28808.
2018-12-11Merge remote-tracking branch 'teor/ticket24838'Nick Mathewson
2018-12-11Merge remote-tracking branch 'github/prop297'Nick Mathewson
2018-12-11Merge remote-tracking branch 'teor/24805-phoul'Nick Mathewson
2018-12-11Merge remote-tracking branch 'rl1987/ticket28007_take2'Nick Mathewson
2018-12-08Let's not double-quote OUTPUTARG after allrl1987
2018-12-07Fallbacks: accept relays that are a fuzzy match to the whitelistteor
If a relay matches at least one fingerprint, IPv4 address, or IPv6 address in the fallback whitelist, it can become a fallback. This reduces the work required to keep the list up to date. Closes ticket 28768.
2018-12-07Fallbacks: refactor is_in_whitelist() to take an exact match booleanteor
No behaviour change. Preparation for 24838.
2018-12-07Fallbacks: Rename CONSENSUS_EXPIRY_TOLERANCE to REASONABLY_LIVE_TIMEteor
Cleanup after 28768.
2018-12-07Fallbacks: use a 24 hour future consensus toleranceteor
Tor clients on 0.3.5.6-rc? and later will use a consensus that will become valid up to 24 hours in the future. Clients on 0.3.5.5-alpha? and earlier won't accept future consensuses. Update the fallback expiry tolerance to match tor's checks. Part of 28768, follow-up on 28591.
2018-12-07Fallbacks: use a 24 hour consensus expiry toleranceteor
Tor clients will use a consensus that expired up to 24 hours ago. Clients on 0.3.5.5-alpha? and earlier won't select guards from an expired consensus, but they can still bootstrap if they have existing guards. Update the fallback expiry tolerance to match tor's checks. Part of 28768, follow-up on 24661.
2018-12-07Fallbacks: minor script comment changesteor
2018-12-05Merge remote-tracking branch 'tor-github/pr/531'Nick Mathewson
2018-12-05Merge remote-tracking branch 'tor-github/pr/508'Nick Mathewson
2018-11-29Mention --no-verify in error messagerl1987
2018-11-29Improve comment at the toprl1987
2018-11-29Rename to pre-push.git-hookrl1987
2018-11-26Address SC2086 in scan-build.shrl1987
We can safely silence SC2086 warning on $CHECKERS, as contents of that is hardcoded into script, and we don't want to require Bash to use Bash array here. Double-quote $OUTPUTARG, as it's value depends on environment variable.
2018-11-26Silence SC2034 shellcheck checker for EXTRA_CHECKERS and NOISY_CHECKERS ↵rl1987
variables
2018-11-24Rewrite updateVersions script in Python, add datestamp functionality.Nick Mathewson
This updateVersions.pl script was one of the only essential perl scripts left in out maint system, and was the only one that used autoconf to fill in the script. This script adds a feature to define an APPROX_RELEASE_DATE macro that is updated when the version changes. We'll use this to implement prop297, so that we have an accurate view of when a release date happens.
2018-11-21Add CrackerboxPalace fallbackColin Childs
2018-11-20Fix SC2230 warningrl1987
2018-11-20Fix SC2046 and SC2086 warningsrl1987
2018-11-20Also disallow fixup/squash commits in maint-* and release-*rl1987
2018-11-20Silence SC1117 warningsrl1987
2018-11-20Add pre-push git hook to prevent fixup and squash commits from ending up in ↵rl1987
master
2018-11-19Merge remote-tracking branch 'tor-github/pr/519'Nick Mathewson
2018-11-15Fix shellcheck issues in cov-diff - SC2231, SC2006 and SC2086rl1987
2018-11-15Fix one last SC2086rl1987
2018-11-15Fix most instances of SC2086 warningrl1987
2018-11-15Fix shellcheck SC2006 warnings in 'coverage' scriptrl1987
2018-11-14Make the topological-sort output off by defaultNick Mathewson
2018-11-14Update the check-includes script to enforce some naming and no-circularity rulesNick Mathewson
2018-11-04Fix all instances of shellcheck warning SC2006rl1987
2018-11-02Merge remote-tracking branch 'tor-github/pr/449'Nick Mathewson
2018-11-02Merge remote-tracking branch 'tor-github/pr/448'Nick Mathewson
2018-10-29Fix shellcheck issue SC2217 in run_calltool.shrl1987
2018-10-29Fix shellcheck warning SC2086 in run_calltool.shrl1987
2018-10-29run_trunnel.sh: Use 'find -exec' instead of a 'for' looprl1987
This fixes shellcheck warnings SC2044 and SC2006.
2018-10-29Silence shellcheck SC2086 in run_trunnel.shrl1987
2018-10-15Remove mullbinde9 from fallback listColin Childs
2018-10-15Adding hviv104 to fallback listColin Childs
2018-10-12Adding Quake to fallback listColin Childs
2018-10-12Remove aurora and chulak from fallback listColin Childs
2018-10-11Fix issues that shellcheck found in chutney-git-bisect.shrl1987
2018-09-20Adding fallback relayColin Childs