[ previous ] [ next ] [ threads ]
 
 From:  David Burkhardt <dave at alienc dot com>
 To:  m0n0wall at lists dot m0n0 dot ch
 Subject:  1.3b2 FTP issues; Dup ACKs and dropped session
 Date:  Mon, 22 Jan 2007 08:37:14 -0600
Symptom:
I start FTP xfer on 1.3b2 and it works for about 5-8 seconds before 
connection gets lost.  I ramp up to about 8-9Mb and then the connection 
gets lost permanently.

M0n0wall 3.2b-generic-pc

Hardware Intel Mobo:

fxp0: <Intel 82559 Pro/100 Ethernet> port 0xef00-0xef3f mem 
0xfea00000-0xfeaffff
f,0xfebfe000-0xfebfefff irq 15 at device 12.0 on pci0
fxp0: Ethernet address 00:d0:b7:9a:46:1c
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1: <Intel 82559 Pro/100 Ethernet> port 0xee80-0xeebf mem 
0xfe800000-0xfe8ffff
f,0xfebfd000-0xfebfdfff irq 15 at device 13.0 on pci0
fxp1: Ethernet address 00:d0:b7:9a:46:1d
inphy1: <i82555 10/100 media interface> on miibus1
inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

Internet connection:  10Mbit down; 1Mbit up

To reproduce:

1.  I flash new 1.3b2 image on CF card. Reboot; set IP address/DHCP & 
LAN/WAN interfaces.  Reboot again.

2. Attempt a FTP xfer from Redhat mirror for DVD .iso.

3. tcpdump shows

data normal then ...

39687.417401 208.209.50.19 -> 10.0.0.30    FTP-DATA [TCP Previous 
segment lost] FTP Data: 56 bytes
39687.417406    10.0.0.30 -> 208.209.50.19 TCP [TCP Dup ACK 259901#1] 
50177 > 54418 [ACK] Seq=1 Ack=19659297 Win=677888 Len=0 TSV=10688417 
TSER=289585924 SLE=19660745 SRE=19660801
39687.418398 208.209.50.19 -> 10.0.0.30    FTP-DATA [TCP Fast 
Retransmission] FTP Data: 1448 bytes

... xfer continues ...

39687.634396 208.209.50.19 -> 10.0.0.30    FTP-DATA [TCP Previous 
segment lost] FTP Data: 56 bytes
39687.634401    10.0.0.30 -> 208.209.50.19 TCP [TCP Dup ACK 260182#1] 
50177 > 54418 [ACK] Seq=1 Ack=19921441 Win=677888 Len=0 TSV=10688471 
TSER=289585945 SLE=19922889 SRE=19922945
39687.635390 208.209.50.19 -> 10.0.0.30    FTP-DATA [TCP Fast 
Retransmission] FTP Data: 1448 bytes

... same pattern repeats 10+ times or so until ...

39689.743317 208.209.50.19 -> 10.0.0.30    FTP-DATA FTP Data: 1448 bytes
39689.743325    10.0.0.30 -> 208.209.50.19 TCP 50177 > 54418 [ACK] Seq=1 
Ack=22464689 Win=677888 Len=0 TSV=10688998 TSER=28958615639689.744144    
10.0.0.30 -> 208.209.50.19 TCP 60483 > ftp [FIN, ACK] Seq=116 Ack=2547 
Win=12800 Len=0 TSV=10688998 TSER=28958421039689.744264    10.0.0.30 -> 
208.209.50.19 TCP 50177 > 54418 [RST, ACK] Seq=1 Ack=22464689 Win=677888 
Len=0 TSV=10688998 TSER=289586156
39689.744302 208.209.50.19 -> 10.0.0.30    FTP-DATA FTP Data: 1448 bytes
39689.744322    10.0.0.30 -> 208.209.50.19 TCP [TCP ACKed lost segment] 
50177 > 54418 [RST] Seq=1 Len=0
39689.745324 208.209.50.19 -> 10.0.0.30    FTP-DATA FTP Data: 1448 bytes
39689.745330    10.0.0.30 -> 208.209.50.19 TCP [TCP ACKed lost segment] 
50177 > 54418 [RST] Seq=1 Len=0
...
39689.892360    10.0.0.30 -> 208.209.50.19 TCP [TCP ACKed lost segment] 
50177 > 54418 [RST] Seq=1 Len=0
39689.892365 208.209.50.19 -> 10.0.0.30    FTP Response: 450 Error 
during write to data connection
39689.892387    10.0.0.30 -> 208.209.50.19 TCP 60483 > ftp [RST] Seq=116 
Len=0
39689.892391 208.209.50.19 -> 10.0.0.30    TCP ftp > 60483 [ACK] 
Seq=2590 Ack=117 Win=49232 Len=0 TSV=289586174 TSER=10688998
39689.892394    10.0.0.30 -> 208.209.50.19 TCP 60483 > ftp [RST] Seq=117 
Len=0
39689.892396 208.209.50.19 -> 10.0.0.30    FTP Response: 450 Logout.
39689.892399    10.0.0.30 -> 208.209.50.19 TCP 60483 > ftp [RST] Seq=117 
Len=0
39689.893323 208.209.50.19 -> 10.0.0.30    FTP-DATA FTP Data: 1448 bytes

I switched back to 1.22 and all is well.