sshuttle / sshuttle/sshuttle

Can't make sshuttle works with ipv6 on archlinux since 1rst august

Open
#875 1 comment 0 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,

IPv4 still works (even after updates). Since the 1rst august, I can't make IPv6 work (but it did before on arch linux).
I can make work IPv6 today with the same command on an other distribution.

Here is the command I use (as explain in the documentation for tproxy method for making udp and ipv6 work) :

sudo ip route add local default dev lo table 100
sudo ip rule add fwmark 0x01 lookup 100
sudo ip -6 route add local default dev lo table 100
sudo ip -6 rule add fwmark 0x01 lookup 100

sudo sshuttle --listen 127.0.0.1:0,[::1]:0 --dns --auto-hosts --method=tproxy -t 0x01 -e "ssh -4 -p 22" -r <server> 10.10.10.0/24 ::/0

I runned pytest on my arch with sshuttle code with success but test does not try sending packets.
Have you got any idea on updates (kernel or other) that could impact iptable mangle or python version that sshuttle is using ?

Thanks in advance.
Thomas

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 provided sshuttle command on Arch Linux and compare the kernel, iptables mangle behavior, and Python environment with the working distribution. The existing pytest run does not send packets, so investigate the IPv6 tproxy path and determine what changed since 1 August. Done means IPv6 works with the documented setup or the incompatibility is identified and covered by an appropriate test.

Written by the indexing model from the issue text.

Assessment

Tech stack
arch-linux, linux, 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.