IMAP through SSH tunnels stopped working in 2.6.35
Subsystems (2)
Hi,
I recently tried out 2.6.35-rc3 kernel (latest Linus's tree), where I noticed that I couldn't access my IMAP accounts through ssh tunnel anymore because connection timeouts. Things used to work in 2.6.34-rc7+.
I also tested with two wireless card: b43 and iwl3945, so it isn't driver related issue.
I'm creating tunnel using: ssh -L 10443:server:993 server, and then use imap client to connect localhost:10443.
Strace log of failing ssh tunnel:
[snip]accept(5, {sa_family=AF_INET, sin_port=htons(50055), sin_addr=inet_addr("127.0.0.1")}, [16]) = 17 getsockopt(17, SOL_TCP, TCP_NODELAY, [0], [4]) = 0setsockopt(17, SOL_TCP, TCP_NODELAY, [1], 4) = 0fcntl(17, F_SETFD, FD_CLOEXEC) = 0ioctl(17, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff50ed3c30) = -1 EINVAL (Invalid argument)
fcntl(17, F_GETFL) = 0x2 (flags O_RDWR) fcntl(17, F_SETFL, O_RDWR|O_NONBLOCK) = 0 fcntl(17, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK)
getpeername(17, {sa_family=AF_INET, sin_port=htons(50055), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0 getpeername(17, {sa_family=AF_INET, sin_port=htons(50055), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0 ...lots of write, select...
-------- Here i tried to exit evolution -----------select(18, [3 4 5 6 9 11 13 14 15 16 17], [10 12], NULL, NULL) = 1 (in [17])read(17, "", 16384) = 0shutdown(17, 0 /* receive */) = 0select(18, [3 4 5 6 9 11 13 14 15 16], [3 10 12], NULL, NULL) = 1 (out [3])
write(3, "\277H\201\2f.L*$\322\367&C\346\"\246T\267\33 \10`\377\23\211\r\316hp]\303h", 32) = 32 select(18, [3 4 5 6 9 11 13 14 15 16], [10 12], NULL, NULL) = 1 (in [3])read(3, "v<L\323nr\255\237\374\320\261q\242==}\244\330Lt\355h\305dP\331x\2630;z\377"..., 8192) = 240shutdown(17, 1 /* send */) = 0shutdown(17, 2 /* send and receive */) = -1 ENOTCONN (Transport endpoint is not connected) [/snip]
Quoted 3 lines · Priit Laes
I recently tried out 2.6.35-rc3 kernel (latest Linus's tree), where I noticed that I couldn't access my IMAP accounts through ssh tunnel anymore because connection timeouts. Things used to work in 2.6.34-rc7+.
See <https://bugzilla.kernel.org/show_bug.cgi?id=16188>.
Andreas.
Signature · 3 lines
Andreas Schwab, [email protected] GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E "And now for something completely different."
David Miller
maintainerFrom: Andreas Schwab <[email protected]>
Date: Wed, 16 Jun 2010 12:56:53 +0200
Quoted 7 lines
Quoted 3 lines · Priit Laes
I recently tried out 2.6.35-rc3 kernel (latest Linus's tree), where I noticed that I couldn't access my IMAP accounts through ssh tunnel anymore because connection timeouts. Things used to work in 2.6.34-rc7+.
Also "linux-netdev" does not exist, it's just plain "netdev" :-)