sshuttle / sshuttle/sshuttle

Slow transfer speed from MacOS Monterey

Open
#752 27 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
13.6k
Forks
795
Avg merge
8h 49m
Merged PRs (30d)
12

Description

Hi,

First of all great application. Thank you...

tl;dr

on Monterey,

remote to local => regular behavior
local to remote => slow speed, like in 2 digit KB/s

How do I debug what is going on in this case?

sshuttle --version => *1.1.10*
OS version => 12.x.x

Tested on all the versions of MacOS between 12.0.1(21A559) to 12.3.1 (21E258)

Without sshuttle, file transfer happens with regular speed just that I cannot directly copy it to destination. I have to copy it in steps.

Long version

On MacOS Monterey, I am noticing very slow file transfer speed if I am sending files from my computer to remote. The remote computer is Ubuntu Linux system. However if I am transferring file from remote system to Mac, it works just fine. Both the computers are on same LAN.

To connect to linux system, I start sshuttle with

sshuttle -r pratik@192.168.1.111 192.168.122.0/24 -NH --no-latency-control --disable-ipv6

This issue of slow speed happens only on OS Monterey. But it works perfectly on Big Sur(I did reinstallation of OS almost 5 times on Mac).

image

P.S. I can replicate this on other Mac with Monterey or a Virtual Machine running Monterey.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported sshuttle -r command on macOS Monterey and compare local-to-remote transfer speed with Big Sur and remote-to-local transfers. The issue is done when the Monterey transfer-speed regression is identified and resolved, with the reported scenario transferring at normal speed.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, python
Domain
networking, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.