Subject: Re: ipv6 ftp.netbsd.org
To: Frederick Bruckman <fredb@immanent.net>
From: Wolfgang Rupprecht <wolfgang@wsrcc.com>
List: netbsd-users
Date: 04/07/2002 15:53:50
[I've added tech-net since this seems like a nitty-gritty network
issue. Summary for the tech-net crowd.  I'm having problem getting to
ftp.netbsd.org over ipv6. -wsr ]

Ok.  I found a second ipv6 ftp site to test against and the symptoms
are the same as ftp.netbsd.org.  This time I slapped ethereal on gif1
(my ipv6 tunnel interface) so I would track all the ipv6 packets.

Ftp started up and I saw the SYN/SYN-ACK/ACK exchange.  Then nothing
for 60 seconds and I saw a FIN/ACK exchange (my side sending the fin).
Ftp had just printed "421 Service not available [...]".  Then when I
hit ^D a few seconds later and then saw a packet from the remote side
containing "220-".  This was followed by an RST from my side and
another packet from the remote side with "220- <hostname> welcome...".
Then another identical RST was sent from my side.

The fact that I saw a packet from the remote side at the exact instant
I hit ^D, yet no packet left my system leads me to think that some
incorrect queuing is going on inside the kernel.  How can the remote
side know that I've hit ^D without a packet leaving???

(BTW. I'm running -current userland+kernel from yesterday's sources.)

-wolfgang

    15:44:42.483794 sonic.wsrcc.com.49215 > dumbcat.snafu.org.ftp: S 842352621:842352621(0) win 16384 <mss 33160,nop,wscale 0,nop,nop,timestamp 0 0> [flowlabel 0x60504]
    15:44:43.205351 dumbcat.snafu.org.ftp > sonic.wsrcc.com.49215: S 1485730017:1485730017(0) ack 842352622 win 16912 <mss 1440,nop,wscale 0,nop,nop,timestamp 1215728578 0>
    15:44:43.205470 sonic.wsrcc.com.49215 > dumbcat.snafu.org.ftp: . ack 1 win 16384 <nop,nop,timestamp 1 1215728578> [flowlabel 0x60504]
    15:44:49.367537 sonic.wsrcc.com.49215 > dumbcat.snafu.org.ftp: F 1:1(0) ack 1 win 16384 <nop,nop,timestamp 14 1215728578> [flowlabel 0x60504]
    15:44:50.041644 dumbcat.snafu.org.ftp > sonic.wsrcc.com.49215: . ack 2 win 16912 <nop,nop,timestamp 1215728592 14>
    15:45:09.183127 sonic.wsrcc.com.49216 > dumbcat.snafu.org.ftp: S 1756332517:1756332517(0) win 16384 <mss 33160,nop,wscale 0,nop,nop,timestamp 0 0> [flowlabel 0x60505]
    15:45:09.937115 dumbcat.snafu.org.ftp > sonic.wsrcc.com.49216: S 1463162154:1463162154(0) ack 1756332518 win 16912 <mss 1440,nop,wscale 0,nop,nop,timestamp 1215728632 0>
    15:45:09.937230 sonic.wsrcc.com.49216 > dumbcat.snafu.org.ftp: . ack 1 win 16384 <nop,nop,timestamp 2 1215728632> [flowlabel 0x60505]
    15:45:58.983707 dumbcat.snafu.org.ftp > sonic.wsrcc.com.49215: P 1485730018:1485730025(7) ack 842352623 win 16912 <nop,nop,timestamp 1215728730 14>
    15:45:58.983816 sonic.wsrcc.com.49215 > dumbcat.snafu.org.ftp: R 842352623:842352623(0) win 0 [flowlabel 0x60506]
    15:45:59.084403 dumbcat.snafu.org.ftp > sonic.wsrcc.com.49215: FP 7:214(207) ack 1 win 16912 <nop,nop,timestamp 1215728730 14>
    15:45:59.084485 sonic.wsrcc.com.49215 > dumbcat.snafu.org.ftp: R 842352623:842352623(0) win 0 [flowlabel 0x60507]
    15:46:09.950096 sonic.wsrcc.com.49216 > dumbcat.snafu.org.ftp: F 1:1(0) ack 1 win 16384 <nop,nop,timestamp 122 1215728632> [flowlabel 0x60505]
    15:46:10.638479 dumbcat.snafu.org.ftp > sonic.wsrcc.com.49216: . ack 2 win 16912 <nop,nop,timestamp 1215728753 122>
    15:46:25.854408 dumbcat.snafu.org.ftp > sonic.wsrcc.com.49216: P 1:8(7) ack 2 win 16912 <nop,nop,timestamp 1215728784 122>
    15:46:25.854523 sonic.wsrcc.com.49216 > dumbcat.snafu.org.ftp: R 1756332519:1756332519(0) win 0 [flowlabel 0x60508]
    15:46:25.860786 dumbcat.snafu.org.ftp > sonic.wsrcc.com.49216: FP 8:215(207) ack 2 win 16912 <nop,nop,timestamp 1215728784 122>
    15:46:25.860869 sonic.wsrcc.com.49216 > dumbcat.snafu.org.ftp: R 1756332519:1756332519(0) win 0 [flowlabel 0x60509]

-- 
Wolfgang Rupprecht    <wolfgang@wsrcc.com>     http://www.wsrcc.com/wolfgang/
Coming soon: GPS mapping tools for Open Systems. http://www.gnomad-mapping.com/