Re: IPv4 specific issue with USB tethering between my Debian laptop and my phone

2021-12-19 Thread Tim Woodall
On Sun, 19 Dec 2021, didier gaumet wrote: Le samedi 18 d?cembre 2021 ? 23:52 +0100, Vincent Lefevre a ?crit?: [...] I haven't tried wireshark on the other end. I wonder whether there is a replacement tool that doesn't need an X11 connection, to just do the capture of the packets. [...] Hell

Re: IPv4 specific issue with USB tethering between my Debian laptop and my phone

2021-12-19 Thread didier gaumet
Le samedi 18 décembre 2021 à 23:52 +0100, Vincent Lefevre a écrit : [...] > I haven't tried wireshark on the other end. I wonder whether there > is a replacement tool that doesn't need an X11 connection, to just > do the capture of the packets. [...] Hello Vincent, perhaps tshark (tshark packa

Re: IPv4 specific issue with USB tethering between my Debian laptop and my phone

2021-12-18 Thread Vincent Lefevre
On 2021-12-17 07:09:52 +, Tim Woodall wrote: > On Fri, 17 Dec 2021, Vincent Lefevre wrote: > > > Dan Ritter wrote: > > > ip link set USBNET0 mtu 1450, or something like that. I don't > > > know NetworkManager's syntax for that; random googling suggests > > > that they at least had a historical

Re: IPv4 specific issue with USB tethering between my Debian laptop and my phone

2021-12-16 Thread Tim Woodall
On Fri, 17 Dec 2021, Vincent Lefevre wrote: Dan Ritter wrote: ip link set USBNET0 mtu 1450, or something like that. I don't know NetworkManager's syntax for that; random googling suggests that they at least had a historical problem with not being able to set MTU on anything other than a pure et

Re: IPv4 specific issue with USB tethering between my Debian laptop and my phone

2021-12-16 Thread Vincent Lefevre
Dan Ritter wrote: > ip link set USBNET0 mtu 1450, or something like that. I don't > know NetworkManager's syntax for that; random googling suggests > that they at least had a historical problem with not being able > to set MTU on anything other than a pure ethernet or wifi link, > but perhaps they'

Re: IPv4 specific issue with USB tethering between my Debian laptop and my phone

2021-12-16 Thread Vincent Lefevre
On 2021-12-15 17:01:54 +, Tim Woodall wrote: > On Wed, 15 Dec 2021, Vincent Lefevre wrote: > > I've tried > > > > iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS > > --clamp-mss-to-pmtu > > > > and > > > > iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss

Re: IPv4 specific issue with USB tethering between my Debian laptop and my phone

2021-12-15 Thread Dan Ritter
Vincent Lefevre wrote: > On 2021-12-15 06:09:12 +, Tim Woodall wrote: > > On Tue, 14 Dec 2021, Dan Ritter wrote: > > > > > Vincent Lefevre wrote: > > > > I don't have any issue with the mobile hotspot (thus wifi between the > > > > laptop and the phone) or with a Cosmo under Android 9 (instea

Re: IPv4 specific issue with USB tethering between my Debian laptop and my phone

2021-12-15 Thread Tim Woodall
On Wed, 15 Dec 2021, Vincent Lefevre wrote: On 2021-12-15 06:09:12 +, Tim Woodall wrote: On Tue, 14 Dec 2021, Dan Ritter wrote: Vincent Lefevre wrote: Hi, When I use USB tethering between my Debian/unstable laptop and my Samsung Galaxy Note10+ phone (Android 11), everything is OK with I

Re: IPv4 specific issue with USB tethering between my Debian laptop and my phone

2021-12-15 Thread Vincent Lefevre
On 2021-12-15 06:09:12 +, Tim Woodall wrote: > On Tue, 14 Dec 2021, Dan Ritter wrote: > > > Vincent Lefevre wrote: > > > Hi, > > > > > > When I use USB tethering between my Debian/unstable laptop and my > > > Samsung Galaxy Note10+ phone (Android 11), everything is OK with > > > IPv6 connecti

Re: IPv4 specific issue with USB tethering between my Debian laptop and my phone

2021-12-14 Thread Tim Woodall
On Tue, 14 Dec 2021, Dan Ritter wrote: Vincent Lefevre wrote: Hi, When I use USB tethering between my Debian/unstable laptop and my Samsung Galaxy Note10+ phone (Android 11), everything is OK with IPv6 connections (e.g. "wget -6"), but IPv4 connections freeze (e.g. "wget -4" or "ssh -4"). I ca

Re: IPv4 specific issue with USB tethering between my Debian laptop and my phone

2021-12-14 Thread Dan Ritter
Vincent Lefevre wrote: > Hi, > > When I use USB tethering between my Debian/unstable laptop and my > Samsung Galaxy Note10+ phone (Android 11), everything is OK with > IPv6 connections (e.g. "wget -6"), but IPv4 connections freeze > (e.g. "wget -4" or "ssh -4"). I can notice this in particular wh

IPv4 specific issue with USB tethering between my Debian laptop and my phone

2021-12-14 Thread Vincent Lefevre
Hi, When I use USB tethering between my Debian/unstable laptop and my Samsung Galaxy Note10+ phone (Android 11), everything is OK with IPv6 connections (e.g. "wget -6"), but IPv4 connections freeze (e.g. "wget -4" or "ssh -4"). I can notice this in particular when testing with the same remote serv