From a4c3ff8c7b9607e28a4c1d0ddb99303b9a78ad46 Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Sun, 19 Nov 2023 14:14:31 -0800 Subject: [PATCH] set ttl to 65 --- dev/macos.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dev/macos.yml b/dev/macos.yml index 79161d0..cfa742b 100644 --- a/dev/macos.yml +++ b/dev/macos.yml @@ -67,4 +67,13 @@ path: "{{ tempfile.path }}" state: absent + # https://infosec.exchange/@briankrebs/111434555426146154 + - name: Change TTL to 65 for fooling tethering detection + become: true + ansible.builtin.command: sysctl -w {{ item }}=65 + loop: + - net.inet.ip.ttl + - net.inet6.ip6.hlim + changed_when: true + # vim: ft=yaml.ansible