* v2.6.8.1 breaks tspc
@ 2004-08-21 21:02 Christian Hesse
2004-08-21 21:46 ` ismail dönmez
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: Christian Hesse @ 2004-08-21 21:02 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 264 bytes --]
Hello!
Kernel version 2.6.8.1 breaks tspc (Freenet6's Tunnel Server Protocol Client).
It tries to connect to the server but waits forever. No problems with 2.6.7,
booted the old kernel and it worked perfectly.
Any ideas?
Please CC.
--
Christian
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: v2.6.8.1 breaks tspc
2004-08-21 21:02 v2.6.8.1 breaks tspc Christian Hesse
@ 2004-08-21 21:46 ` ismail dönmez
2004-08-21 22:12 ` Christian Kujau
` (2 subsequent siblings)
3 siblings, 0 replies; 7+ messages in thread
From: ismail dönmez @ 2004-08-21 21:46 UTC (permalink / raw)
To: Christian Hesse; +Cc: linux-kernel
On Sat, 21 Aug 2004 23:02:58 +0200, Christian Hesse <mail@earthworm.de> wrote:
> Hello!
>
> Kernel version 2.6.8.1 breaks tspc (Freenet6's Tunnel Server Protocol Client).
> It tries to connect to the server but waits forever. No problems with 2.6.7,
> booted the old kernel and it worked perfectly.
>
> Any ideas?
>
I can confirm the same problem here with 2.6.8.1-mm3 and 2.6.8.1
Cheers,
ismail
--
Time is what you make of it
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: v2.6.8.1 breaks tspc
2004-08-21 21:02 v2.6.8.1 breaks tspc Christian Hesse
2004-08-21 21:46 ` ismail dönmez
@ 2004-08-21 22:12 ` Christian Kujau
[not found] ` <200408220116.42490.vda@port.imtp.ilyichevsk.odessa.ua>
[not found] ` <200408221506.07883.mail@earthworm.de>
3 siblings, 0 replies; 7+ messages in thread
From: Christian Kujau @ 2004-08-21 22:12 UTC (permalink / raw)
To: linux-kernel; +Cc: Christian Hesse
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Christian Hesse wrote:
> Hello!
>
> Kernel version 2.6.8.1 breaks tspc (Freenet6's Tunnel Server Protocol
Client).
> It tries to connect to the server but waits forever. No problems with
2.6.7,
> booted the old kernel and it worked perfectly.
aha, and i thought freenet6's tunnel server has problems again.
reproduceable here with 2.6.8(.1), 2.6.7 was working indeed.
ipv6 module is loaded, the tspc client does not give much information of
what it is doing. maybe strace help here:
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
connect(4, {sa_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("127.0.0.1")}, 28) = 0
send(4, "\363\t\1\0\0\1\0\0\0\0\0\0\5tsps2\10freenet6\3net\0"..., 36, 0)
= 36
gettimeofday({1093126256, 233665}, NULL) = 0
poll([{fd=4, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
ioctl(4, FIONREAD, [128]) = 0
recvfrom(4,
"\363\t\201\200\0\1\0\1\0\1\0\2\5tsps2\10freenet6\3net\0"..., 1024, 0,
{sa_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("127.0.0.1")}, [16]) = 128
close(4) = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 4
connect(4, {sa_family=AF_INET, sin_port=htons(3653),
sin_addr=inet_addr("206.123.31.115")}, 16) = 0
write(4, "VERSION=1.0.1\r\n", 15) = 15
read(4,
[...and then read() waits until the of the world as we know it]
Christian,
(searching for a free tunnel-broker in .de anyway...)
- --
BOFH excuse #370:
Virus due to computers having unsafe sex.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBJ8jR+A7rjkF8z0wRAnjGAKCFIjdsR2TZxxhcv/ukV+xzubWWwACgm85p
kcJ3QFgTASSrQGM6pnpbW5I=
=nqGW
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: v2.6.8.1 breaks tspc
[not found] ` <200408220116.42490.vda@port.imtp.ilyichevsk.odessa.ua>
@ 2004-08-22 0:21 ` Christian Hesse
0 siblings, 0 replies; 7+ messages in thread
From: Christian Hesse @ 2004-08-22 0:21 UTC (permalink / raw)
To: Denis Vlasenko; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 858 bytes --]
On Sunday 22 August 2004 00:16, Denis Vlasenko wrote:
> On Sunday 22 August 2004 00:02, Christian Hesse wrote:
> > Hello!
> >
> > Kernel version 2.6.8.1 breaks tspc (Freenet6's Tunnel Server Protocol
> > Client). It tries to connect to the server but waits forever. No problems
> > with 2.6.7, booted the old kernel and it worked perfectly.
> >
> > Any ideas?
>
> What do you see with tcpdump on both 2.6.7 and 2.6.8.1?
In the config file I've changed template from linux to checktunnel. With
kernel 2.6.7 it shows all the options it receives from the server. With
2.6.8.1:
root@noname:~# tspc -f /etc/freenet6/tspc.conf -vvv
tspc - Tunnel Server Protocol Client
Loading configuration file
Connecting to server
[now waits until Ctrl-c]
A log of strace can be found at
http://linux.eworm.net/tspc_strace.log
--
Christian
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: v2.6.8.1 breaks tspc
[not found] ` <200408221743.22561.vda@port.imtp.ilyichevsk.odessa.ua>
@ 2004-08-22 16:26 ` Christian Hesse
2004-08-23 12:48 ` Anders Fugmann
0 siblings, 1 reply; 7+ messages in thread
From: Christian Hesse @ 2004-08-22 16:26 UTC (permalink / raw)
To: Denis Vlasenko; +Cc: linux-kernel, netfilter-devel
[-- Attachment #1: Type: text/plain, Size: 382 bytes --]
On Sunday 22 August 2004 16:43, Denis Vlasenko wrote:
> [...]
> Looks like window scaling is not understood or incorrectly
> handled by Linux or by remote box. I am no expert on this,
> thus CCing LKML and netfilter list.
>
> Please try whether it works whan you do
> "echo 0 > /proc/sys/net/ipv4/tcp_window_scaling"
That helps. Thanks so far.
> [...]
--
Christian
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: v2.6.8.1 breaks tspc
2004-08-22 16:26 ` Christian Hesse
@ 2004-08-23 12:48 ` Anders Fugmann
2004-08-23 13:32 ` Tomasz Torcz
0 siblings, 1 reply; 7+ messages in thread
From: Anders Fugmann @ 2004-08-23 12:48 UTC (permalink / raw)
To: Christian Hesse; +Cc: Denis Vlasenko, linux-kernel, netfilter-devel
Christian Hesse wrote:
> On Sunday 22 August 2004 16:43, Denis Vlasenko wrote:
>
>>Please try whether it works whan you do
>>"echo 0 > /proc/sys/net/ipv4/tcp_window_scaling"
>
>
> That helps. Thanks so far.
Any explanation of why this solution works?
I hate to blindly just disable window_scaling, just to make tspc work on
2.6.8.1.
Is this a bug in the tscp program, netfilter or the tcp stack (or none
of the mentioned)? One easy conclution is that some change were made
between 2.6.7 and 2.6.8.1 which made tspc break - The question is which
change and what other effect this change has.
Regards
Anders Fugmann
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: v2.6.8.1 breaks tspc
2004-08-23 12:48 ` Anders Fugmann
@ 2004-08-23 13:32 ` Tomasz Torcz
0 siblings, 0 replies; 7+ messages in thread
From: Tomasz Torcz @ 2004-08-23 13:32 UTC (permalink / raw)
To: linux-kernel
On Mon, Aug 23, 2004 at 12:48:02PM +0000, Anders Fugmann wrote:
> Christian Hesse wrote:
> >On Sunday 22 August 2004 16:43, Denis Vlasenko wrote:
> >
> >>Please try whether it works whan you do
> >>"echo 0 > /proc/sys/net/ipv4/tcp_window_scaling"
> >That helps. Thanks so far.
> Any explanation of why this solution works?
>
> I hate to blindly just disable window_scaling, just to make tspc work on
> 2.6.8.1.
http://lwn.net/Articles/92727/
--
Tomasz Torcz "Never underestimate the bandwidth of a station
zdzichu@irc.-nie.spam-.pl wagon filled with backup tapes." -- Jim Gray
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-08-23 13:32 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-21 21:02 v2.6.8.1 breaks tspc Christian Hesse
2004-08-21 21:46 ` ismail dönmez
2004-08-21 22:12 ` Christian Kujau
[not found] ` <200408220116.42490.vda@port.imtp.ilyichevsk.odessa.ua>
2004-08-22 0:21 ` Christian Hesse
[not found] ` <200408221506.07883.mail@earthworm.de>
[not found] ` <200408221743.22561.vda@port.imtp.ilyichevsk.odessa.ua>
2004-08-22 16:26 ` Christian Hesse
2004-08-23 12:48 ` Anders Fugmann
2004-08-23 13:32 ` Tomasz Torcz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox