NetworkManager/contrib/scripts
Íñigo Huguet 69ceee1a0b contrib: new script to anonymize logs
Script to do some anonymization to NetworkManager logs. It does
very basic stuff so it shouldn't be trusted without manually
reviewing the logs, but it can still be useful to replace lot
of potentially sensitive data.

What it masks by default:
- MAC addresses
- Public IP addresses
- Hostnames detected from `hostname` command and some known
  log messages from NM.
- Hostnames ending in some common domains such as .com or .org
- Hostnames specified via --hostname argument

What it can mask but it doesn't by default:
- Private IPs

Options like --show-macs and --hide-private-ips can override the default
behaviour.

Note that masking IP addresses can make difficult to analyze routing
problems, and trying to be smart analyzing the defined routes from the
logs or from `ip route` can lead to even worse results. Because of this,
if routing problems need to be analyzed, --show-public-ips need to be
passed.
2023-11-24 07:40:08 +00:00
..
anonymize-logs.py contrib: new script to anonymize logs 2023-11-24 07:40:08 +00:00
btmodem.pl all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
checkpatch-feature-branch.sh contrib/scripts: use "main" branch name in "checkpatch-feature-branch.sh" 2021-04-01 22:28:59 +02:00
checkpatch-git-post-commit-hook contrib/scripts: add "checkpatch-git-post-commit-hook" script to contrib/ 2020-02-21 07:40:10 +01:00
checkpatch.pl checkpatch: discourage deprecated "(allow-none)" annotation 2023-03-29 11:46:48 +02:00
code-style-git-post-commit-hook contrib: explicitly pass "-n" to "nm-code-format.sh" in "code-style-git-post-commit-hook" 2021-09-16 08:47:38 +02:00
find-backports contrib: fix invalid escape sequence in "find-backports" 2023-11-20 17:14:47 +01:00
git-backport-merge contrib: add "git-backport-merge" script for backporting merge commits in NetworkManager 2023-02-03 10:37:35 +01:00
git-subtree-reimport.sh contrib: add usage comment to "git-subtree-reimport.sh" 2023-03-03 13:45:31 +01:00
modemu.pl contrib/modemu: extend PDP support 2022-02-04 15:54:15 +01:00
nm-ci-patch-gtkdoc.sh gitlab-ci: patch gtk-doc to generate valid documentation 2018-12-01 08:55:44 +01:00
nm-ci-run.sh all: avoid "==" bashism in scripts 2023-05-18 09:16:41 +02:00
nm-code-format-container.sh clang-format: rework "nm-code-format-container.sh" script 2023-11-22 13:25:04 +01:00
nm-code-format.sh clang-format: rework "nm-code-format-container.sh" script 2023-11-22 13:25:04 +01:00
nm-copr-build-nm-git-bundle.sh contrib/copr: improve readme in copr scripts 2023-06-06 12:20:29 +02:00
nm-copr-build.sh contrib/copr: update URL in "nm-copr-build.sh" to new nm-git-bundle 2023-06-06 14:53:37 +02:00
nm-import-openconnect all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-import-openvpn all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-import-vpnc all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
NM-log contrib: use less -f in NM-log to avoid prompt for non-text input 2022-06-10 08:24:58 +02:00
nm-python-black-format.sh contrib: fix "nm-python-black-format.sh" script to ignore systemd,c-util,nettools files 2022-07-06 10:44:18 +02:00
nm-setup-git.sh contrib: extend usage for "contrib/scripts/nm-setup-git.sh" script 2023-06-06 15:00:23 +02:00
test-create-many-device-setup.sh contrib: extend "test-create-many-device-setup.sh" script 2021-06-22 09:47:44 +02:00
test-macsec tests: use "/run" instead of "/var/run" 2019-05-17 21:24:18 +02:00
test-ppp.sh contrib: add "contrib/scripts/test-ppp.sh" test script 2021-10-04 15:40:15 +02:00
test-prefix-delegation.sh contrib: add script to test IPv6 prefix delegation 2021-07-13 09:43:04 +02:00