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
  Most stable Pinephone OS karcdaeh 10 195 Yesterday, 11:10 AM
Last Post: Chief
  PureTalk work with Pinephone? car46999 2 167 11-28-2022, 11:43 PM
Last Post: car46999
  Pinephone power consumption figures? girl 5 905 11-01-2022, 09:21 AM
Last Post: tunnelstrong
  SELLING: Pinephone 3GB RAM 32GB ROM gerstavros 12 2,970 10-24-2022, 02:51 PM
Last Post: gerstavros
  Are you using the Pinephone as your daily driver? jro 115 55,808 10-20-2022, 10:19 PM
Last Post: Chief
  Pinephone for sale in Europe tiho 7 2,933 10-19-2022, 05:35 AM
Last Post: peatord
  No sms receival on Arch Phosh Pinephone pineuser0 2 323 10-09-2022, 08:55 AM
Last Post: treebeard
  Instructions to get pinephone working on USA carrier omarcomputing 1 345 10-08-2022, 04:45 PM
Last Post: treebeard
  pinephone-support package not upgradable on Mobian fhireman 4 660 09-24-2022, 08:01 AM
Last Post: dante404
  Tow-boot on Pinephone beta edition saddamus 10 1,203 09-11-2022, 02:43 PM
Last Post: saddamus

Forum Jump:


Users browsing this thread: 1 Guest(s)