summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2021-09-07Align and fix indentations in several maint scriptsskaluzka
Use 4 spaces indentations, convert tabs to spaces. No real code changes.
2021-08-29Improve fname_is_c func in pratracker/includes.pyskaluzka
Use tuples for bname.startswith and fname.endswith in "fname_is_c" function.
2021-08-22Correct syntax & formatting in test_pratracker.shskaluzka
Use 4 spaces for indentations. Use the same syntax for all functions. No real code changes (except removal of unnecessary ";" from "exit 1" command).
2021-08-14Update combine_libs scriptskaluzka
Remove commented code from production. Align indentations to 4 spaces.
2021-07-12Remove fuzz_hexdigest.c: It is already covered by other fuzzersNick Mathewson
2021-07-01Update fuzzing_include_am.pypedbap
2021-07-01Update fuzzing_include_am.pypedbap
2021-06-16git: Don't pull github anymore in git-pull-all.shDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-06-14Merge remote-tracking branch 'tor-gitlab/mr/397'Nick Mathewson
2021-06-14Remove 0.4.4 from list-tor-branches.Nick Mathewson
2021-06-08Modernize our libfuzzer usage to close #40407Nick Mathewson
Additionally, remove lingering references to hsv2 fuzzers from the fuzzing_include_am.py script.
2021-05-28Merge branch 'maint-0.4.6'Nick Mathewson
2021-05-28Merge branch 'maint-0.4.5' into maint-0.4.6Nick Mathewson
2021-05-28Stop using the "x$FOO" idiom in git-resquash.shNick Mathewson
The new version of shellcheck says that that this idiom is unnecessary, and its presence here is making the shellcheck tests fail. No changes file needed, since this is not user-facing code.
2021-05-25Update scripts to use main instead of master.Alexander Færøy
When talking about the "master" Tor checkout, we now refer to it as "the primary Tor repository". The "master" branch is instead called "main". See: tpo/core/team#2.
2021-05-25Rewrite documentation on primary branch usage for Tor.git.Alexander Færøy
This patch is part of a series of patches where we try to change our primary branch name of tor.git from master to main. See: tpo/core/team#2
2021-04-19Merge branch 'maint-0.4.5' into maint-0.4.6Nick Mathewson
2021-04-19Merge branch 'maint-0.4.6'Nick Mathewson
2021-04-19scripts/build/combine_libs: use $AR rather than arEmery Hemingway
Using a custom ar at $AR may be necessary for cross-compilation. Closes #40369 Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-04-15Add 0.4.6 to git-list-tor-branches.shNick Mathewson
2021-04-14geoip script: add options to output AS numbers.Nick Mathewson
The --include-asn option includes AS numbers in the geoip mapping. The --output-asn option makes the program generate a number-to-name mapping file. Additionally, the script now outputs ?? CC entries for networks that are listed but which have no country known.
2021-04-12scripts: Add default include path to ccls generated fileDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-03-02Add geoip-db-tool/Cargo.lock to version control, as is the custom.Nick Mathewson
2021-03-01git-list-tor-branches: remove 0.4.3Nick Mathewson
2021-02-22Use rangemap 0.1.10Nick Mathewson
0.1.9 fixed a range-coalescing bug; 0.1.10 fixed a performance regression.
2021-02-22script to generate a commit for an updated geoip fileNick Mathewson
2021-02-22Rust tool to convert IPFire Location dump into CSV format.Nick Mathewson
The IPFire people provide a tool that collects data from several top-level sources, combines it into a single database, and annotates it with optional overrides. This tool transforms the "dump" format of their database into the form Tor expects.
2021-02-19test: Exclude HSv2 test from Stem CI driverDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-02-05Merge branch 'maint-0.4.5'Alexander Færøy
2021-02-05Merge branch 'maint-0.4.4' into maint-0.4.5Alexander Færøy
2021-02-05Fix CI build: practracker error in connection_edge.c, take two.Alexander Færøy
This was a bad copy and paste error from the previous commit which generated a duplicated entry error from practracker. Unreviewed build fix. See: tor#40275.
2021-02-05Merge branch 'maint-0.4.5'Alexander Færøy
2021-02-05Merge branch 'maint-0.4.4' into maint-0.4.5Alexander Færøy
2021-02-05Fix CI build: practracker error in connection_edge.c.Alexander Færøy
We solve this error by allowing the connection_exit_connect() function to be 130 lines long. Unreviewed build fix commit. See: tor#40275.
2021-01-21Merge branch 'maint-0.4.4' into maint-0.4.5David Goulet
2021-01-21Merge branch 'maint-0.4.3' into maint-0.4.4David Goulet
2021-01-21Merge branch 'maint-0.3.5' into maint-0.4.3David Goulet
2021-01-21build: Add "make lsp" commandDavid Goulet
Generates the compile_commands.json file using the "bear" application so the ccls server can be more efficient with our code base. Closes #40227 Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-12-16build: Add "make lsp" commandDavid Goulet
Generates the compile_commands.json file using the "bear" application so the ccls server can be more efficient with our code base. Closes #40227 Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-11-17Add {release,maint}-0.4.5 to git-list-tor-branches.shNick Mathewson
2020-11-12Fix typos.Samanta Navarro
Typos found with codespell. Please keep in mind that this should have impact on actual code and must be carefully evaluated: src/core/or/lttng_circuit.inc - ctf_enum_value("CONTROLER", CIRCUIT_PURPOSE_CONTROLLER) + ctf_enum_value("CONTROLLER", CIRCUIT_PURPOSE_CONTROLLER)
2020-10-30Merge remote-tracking branch 'tor-gitlab/mr/174' into masterGeorge Kadianakis
2020-10-23Merge branch 'combined_libs'Nick Mathewson
2020-10-16Regenerate extample_extrainfo.inc and adjust tests.Nick Mathewson
2020-10-16Regenerate complete failing_routerdescs.inc and adjust tests accordingly.Nick Mathewson
2020-10-16Update makedesc.py script so that it works with python3.Nick Mathewson
2020-10-06Expose TOR_PT_OUTBOUND_BIND_ADDRESS_{V4,V6} to Pluggable Transports.Alexander Færøy
This patch adds support for exposing the environment variables `TOR_PT_OUTBOUND_BIND_ADDRESS_V4` and `TOR_PT_OUTBOUND_BIND_ADDRESS_V6` to Pluggable Transport proccesses. These two values will contain the IPv4 and IPv6 address that the user have specified in torrc that they wish the PT to use for all outgoing IP packets. It is important to note here that it is up to the indvidual Pluggable Transport if they are willing to honor these values or ignore them completely. One can test this feature using the following dummy PT written in POSIX shell script: #!/bin/sh echo "LOG SEVERITY=warning MESSAGE=\"Value for IPv4: ${TOR_PT_OUTBOUND_BIND_ADDRESS_V4}\"" echo "LOG SEVERITY=warning MESSAGE=\"Value for IPv6: ${TOR_PT_OUTBOUND_BIND_ADDRESS_V6}\"" while true ; do sleep 1 done with the following entries in your torrc: OutboundBindAddressPT 203.0.113.4 OutboundBindAddress 203.0.113.5 OutboundBindAddressPT 2001:db8::4 OutboundBindAddress 2001:db8::5 See: https://bugs.torproject.org/5304
2020-09-23Implement IPv6 sybil protection.vnepveu
[This is a squashed patch for ticket 7193, based on taking a "git diff" for the original branch, then applying it with "git apply -3". I earlier attempted to squash the branch with "git rebase", but there were too many conflicts. --nickm]
2020-09-21Merge branch 'maint-0.3.5' into maint-0.4.3Nick Mathewson
2020-09-21Merge branch 'maint-0.4.3' into maint-0.4.4Nick Mathewson