Messages in this thread | | | Subject | IMAP through SSH tunnels stopped working in 2.6.35 | From | Priit Laes <> | Date | Wed, 16 Jun 2010 13:24:07 +0300 |
| |
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]) = 0 setsockopt(17, SOL_TCP, TCP_NODELAY, [1], 4) = 0 fcntl(17, F_SETFD, FD_CLOEXEC) = 0 ioctl(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) = 0 shutdown(17, 0 /* receive */) = 0 select(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) = 240 shutdown(17, 1 /* send */) = 0 shutdown(17, 2 /* send and receive */) = -1 ENOTCONN (Transport endpoint is not connected) [/snip]
| |