set ttl to 65
change
commit a4c3ff8c7b9607e28a4c1d0ddb99303b9a78ad46
author Alpha Chen <alpha@kejadlen.dev>
date
parent a85a0200
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