Slow Teathering With PinePhone
(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
sudo nft add rule ip nm-shared-usb0 filter_forward index 0 ip saddr iifname "usb0" ip ttl set 64 accept

This will make the filter_forward chain look like:
chain filter_forward {
    type filter hook forward priority filter; policy accept;
    ip daddr oifname "usb0" ct state { established, related } accept
    ip saddr iifname "usb0" ip ttl set 64 accept
    ip saddr 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.

Possibly Related Threads…
Thread Author Replies Views Last Post
  PureTalk work with Pinephone? car46999 3 199 12-01-2022, 10:46 PM
Last Post: car46999
  Most stable Pinephone OS karcdaeh 10 233 11-30-2022, 11:10 AM
Last Post: Chief
  Pinephone power consumption figures? girl 5 916 11-01-2022, 09:21 AM
Last Post: tunnelstrong
  SELLING: Pinephone 3GB RAM 32GB ROM gerstavros 12 2,990 10-24-2022, 02:51 PM
Last Post: gerstavros
  Are you using the Pinephone as your daily driver? jro 115 55,926 10-20-2022, 10:19 PM
Last Post: Chief
  Pinephone for sale in Europe tiho 7 2,937 10-19-2022, 05:35 AM
Last Post: peatord
  No sms receival on Arch Phosh Pinephone pineuser0 2 329 10-09-2022, 08:55 AM
Last Post: treebeard
  Instructions to get pinephone working on USA carrier omarcomputing 1 356 10-08-2022, 04:45 PM
Last Post: treebeard
  pinephone-support package not upgradable on Mobian fhireman 4 673 09-24-2022, 08:01 AM
Last Post: dante404
  Tow-boot on Pinephone beta edition saddamus 10 1,223 09-11-2022, 02:43 PM
Last Post: saddamus

Forum Jump:

Users browsing this thread: 1 Guest(s)