-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It does not work... #13
Comments
To view the values in the packet headers, use network traffic sniffers. |
I repeat: it does not work. TTL is still decreased. If you have magiskboot binary:
fastboot boot boot_ttlfix.img (to test it) |
Nfqttl does not process all packets, only incoming packets with ttl values of 64 and 128 are processed on hotspot device. Therefore, the ttl value in ping is not indicative. In version 2.8, packet filtering is done in code, in version 2.1.2, packet filtering is done by iptables rules. Both versions are worth trying. The value of ttl look tcpdump. |
If you have magiskboot binary: magiskboot unpack -h boot.img I try this on device redmi 4x. /data/adb/magisk/busybox dd if="/dev/block/bootdevice/by-name/boot" of="boot.img" conv=notrunc < 131072+0 records in data/adb/magisk/magiskboot hexpatch kernel C9220039C816007968F24039E8002836 1F2003D51F2003D568F24039E8002836 < HEADER_VER [0] 131072+0 records in Reboot and santoni:/ # /data/data/com.termux/files/usr/bin/tcpdump -vvvni any host 8.8.8.8 -c 4 |
@cyborg-one nevermind.. I did it for you: use this:
|
@cyborg-one did that work? |
It worked like it should. patch kernel A0160079A022403900040051A0220039 1F2003D5A0224039000400511F2003D5 < santoni:/ # /data/data/com.termux/files/usr/bin/tcpdump -vvvni any host 8.8.8.8 -c 4 You can show tcpdump output when running nfqttl? |
Good! I didn't test it because I own a different phone and for some reason the compiled code is totally different from my kernel. Good to know it worked. I'll add the patch to my module.
hmm.. no... I can't use nfqttl with my patch in place. |
@Zibri |
I can just tell you I downloaded and used it on my Redmi Note 10 pro. |
Hello, I see the module isn't compatible with the OnePlus 11, how easy would it be to support it? |
Hi. What exactly is the incompatibility? |
I am connected to the phone using USB tethering.
Ping from phone to google:
64 bytes from 172.217.21.14: icmp_seq=1 ttl=106 time=94.7 ms
Ping from pc to same address:
64 bytes from 172.217.21.14: icmp_seq=1 ttl=105 time=87.0 ms
output of iptables-save:
The text was updated successfully, but these errors were encountered: