Slow Teathering With PinePhone
#11
(10-07-2022, 02:00 PM)treebeard Wrote: There are various posts suggesting some nftables magic can change the TTL to evade the sniffing but I haven't been able to get that to work.

For what it's worth, I did find a way to "fix" the TTL but it was not enough to avoid Verizon's tether-block.  After starting tether (or hotspot) do
Code:
sudo nft add rule ip nm-shared-usb0 filter_forward index 0 ip saddr 10.42.0.0/24 iifname "usb0" ip ttl set 64 accept

This will make the filter_forward chain look like:
Code:
chain filter_forward {
    type filter hook forward priority filter; policy accept;
    ip daddr 10.42.0.0/24 oifname "usb0" ct state { established, related } accept
    ip saddr 10.42.0.0/24 iifname "usb0" ip ttl set 64 accept
    ip saddr 10.42.0.0/24 iifname "usb0" accept
    iifname "usb0" oifname "usb0" accept
    iifname "usb0" reject
    oifname "usb0" reject
}
... where rule #3 becomes redundant but harmless.  This is quite a bit different than the other techniques I ran across, and perhaps it's not the best approach.  I leave it here in case someone else finds it useful.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Are you using the Pinephone as your daily driver? jro 156 94,212 Yesterday, 02:10 PM
Last Post: aular
  Pinephone not booting, always vibrating alexander12 7 3,787 11-22-2023, 06:46 PM
Last Post: Scary Guy
  Multiple issues with the Pinephone MTXP 11 501 11-17-2023, 07:09 AM
Last Post: MTXP
  Pinephone on Verizon chachi 3 410 10-09-2023, 11:26 AM
Last Post: alaraajavamma
  pinephone with lte-m chip and volte zetabeta 0 279 10-02-2023, 05:42 AM
Last Post: zetabeta
  The Pinephone pro does not turn on and installation of the OS Alexander27 1 319 09-25-2023, 02:34 PM
Last Post: Kevin Kofler
  new pinephone regular model with nano-sim slot zetabeta 0 313 09-24-2023, 12:25 AM
Last Post: zetabeta
Photo PinePhone. How to run Python/Tkinter app? Manieck71 3 623 08-24-2023, 09:13 AM
Last Post: Manieck71
  Pinephone won't boot. spha 12 1,447 08-20-2023, 02:44 AM
Last Post: spha
  pinephone texting ability goes in an out jyoung 0 477 08-05-2023, 10:15 PM
Last Post: jyoung

Forum Jump:


Users browsing this thread: 1 Guest(s)