NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/43133: Safari 4 doesn't list directories served by ftpd



The following reply was made to PR bin/43133; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/43133: Safari 4 doesn't list directories served by ftpd
Date: Tue, 6 Apr 2010 16:09:53 +0200

 User error - I can reproduce it with ftp.netbsd.org, but it works with
 ftp.de.netbsd.org. Tracing the answers shows that ftp.netbsd.org opens
 a BINARY connection for /bin/ls, while ftp.de.netbsd.org uses a ASCII
 connection.
 
 Snips from the non-working trace:
 
 15:53:30.344691 IP (tos 0x0, ttl 128, id 59936, offset 0, flags [DF], length: 
46
 ) martins.aprisoft.de.2160 > morden.netbsd.org.ftp: P [tcp sum ok] 80:86(6) 
ack 
 3485 win 65535
 E.... @...U...o......p..a.Y4.NX.P...<...PASV
 
 15:53:30.555908 IP (tos 0x10, ttl  57, id 49006, offset 0, flags [DF], length: 
9
 2) morden.netbsd.org.ftp > martins.aprisoft.de.2160: P [tcp sum ok] 
3485:3537(52
 ) ack 86 win 4380
 E..\.n@.9..2......o....p.NX.a.Y:P....;..227 Entering Passive Mode 
(204,152,190,1
 5,249,150)
 
 15:53:30.558349 IP (tos 0x0, ttl 128, id 59937, offset 0, flags [DF], length: 
48
 ) martins.aprisoft.de.2161 > morden.netbsd.org.63894: S [tcp sum ok] 
3469442741:
 3469442741(0) win 65535 <mss 1460,nop,nop,sackOK>
         
 E..0.!@...U...o......q....~.....p...x...........
 15:53:30.558350 IP (tos 0x0, ttl 128, id 59938, offset 0, flags [DF], length: 
46
 ) martins.aprisoft.de.2160 > morden.netbsd.org.ftp: P [tcp sum ok] 86:92(6) 
ack 
 3537 win 65483
 E...."@...U...o......p..a.Y:.NX%P...@localhost@...LIST
 15:53:30.770279 IP (tos 0x0, ttl  57, id 0, offset 0, flags [DF], length: 48) 
mo
 rden.netbsd.org.63894 > martins.aprisoft.de.2161: S [tcp sum ok] 
261911488:26191
 1488(0) ack 3469442742 win 32768 <mss 1452,sackOK,nop,nop>
         
 E..0..@.9.........o....q..s...~.p...uE..........
 15:53:30.772007 IP (tos 0x0, ttl 128, id 59939, offset 0, flags [DF], length: 
40
 ) martins.aprisoft.de.2161 > morden.netbsd.org.63894: . [tcp sum ok] 1:1(0) 
ack 
 1 win 65535
         
 E..(.#@...U...o......q....~...s.P...".........
 15:53:30.960847 IP (tos 0x10, ttl  57, id 0, offset 0, flags [DF], length: 40) 
m
 orden.netbsd.org.ftp > martins.aprisoft.de.2160: . [tcp sum ok] 3537:3537(0) 
ack
  92 win 4380
         
 E..(..@.9.........o....p.NX@a.Y%P.......@localhost
 15:53:30.982998 IP (tos 0x10, ttl  57, id 49816, offset 0, flags [DF], length: 
9
 6) morden.netbsd.org.ftp > martins.aprisoft.de.2160: P [tcp sum ok] 
3537:3593(56
 ) ack 92 win 4380
 E..`..@.9.........o....p.NX@a.Y%P.......150@localhost Opening BINARY mode data 
connection 
 
 15:53:30.984805 IP (tos 0x0, ttl  57, id 49817, offset 0, flags [DF], length: 
10
 64) morden.netbsd.org.63894 > martins.aprisoft.de.2161: P [tcp sum ok] 
1:1025(10
 24) ack 1 win 33580
 E..(..@.9..K......o....q..s...~.P..,....total 72
 lrwxrwxrwx    1 600   netbsd    21 Jul  6  2002 .message -> 
README.export-contro
 l
 drwx------    2 2     netbsd   512 Nov  3  2008 .snapshot
 drwxrwxr-x   54 611   611     1024 Dec 16  2007 NetBSD-4.0
 drwxr-xr-x   54 611   netbsd  1024 Oct  8  2008 NetBSD-4.0.1
 drwxr-xr-x   56 611   611     1024 Apr 28  2009 NetBSD-5.0
 drwxr-xr-x   56 611   611     1536 Jul 30  2009 NetBSD-5.0.1
 drwxr-xr-x   57 611   611     1536 Feb  7 03:06 NetBSD-5.0.2
 ...
 
 And from the working one:
 
 16:05:05.641086 IP (tos 0x0, ttl 128, id 62692, offset 0, flags [DF], length: 
46
 ) martins.aprisoft.de.2186 > ftp.rrze.uni-erlangen.de.ftp: P [tcp sum ok] 
11:17(
 6) ack 29 win 64322
 E.....@...E...o..........6f7...jP..B+...PASV
 
 16:05:05.693490 IP (tos 0x0, ttl  50, id 45369, offset 0, flags [DF], length: 
92
 ) ftp.rrze.uni-erlangen.de.ftp > martins.aprisoft.de.2186: P [tcp sum ok] 
29:81(
 52) ack 17 win 49368
 E..\.9@.2.........o........j.6f=P...Y...227 Entering Passive Mode 
(131,188,12,21
 2,234,90).
 
 16:05:05.695000 IP (tos 0x0, ttl 128, id 62693, offset 0, flags [DF], length: 
48
 ) martins.aprisoft.de.2188 > ftp.rrze.uni-erlangen.de.59994: S [tcp sum ok] 
3475
 892063:3475892063(0) win 65535 <mss 1460,nop,nop,sackOK>
         
 E..0..@...E...o........Z.-._....p...............
 16:05:05.695002 IP (tos 0x0, ttl 128, id 62694, offset 0, flags [DF], length: 
46
 ) martins.aprisoft.de.2186 > ftp.rrze.uni-erlangen.de.ftp: P [tcp sum ok] 
17:23(
 6) ack 81 win 64270
 E.....@...E...o..........6f=....P.../...LIST
 
 16:05:05.746981 IP (tos 0x0, ttl  54, id 45370, offset 0, flags [DF], length: 
48
 ) ftp.rrze.uni-erlangen.de.59994 > martins.aprisoft.de.2188: S [tcp sum ok] 
8679
 23564:867923564(0) ack 3475892064 win 49368 <mss 1452,nop,nop,sackOK>
         
 E..0.:@.6.........o..Z..3.vl.-.`p...............
 16:05:05.748913 IP (tos 0x0, ttl 128, id 62695, offset 0, flags [DF], length: 
40
 ) martins.aprisoft.de.2188 > ftp.rrze.uni-erlangen.de.59994: . [tcp sum ok] 
1:1(
 0) ack 1 win 65535
         
 E..(..@...E...o........Z.-.`3.vmP....c........
 16:05:05.805060 IP (tos 0x0, ttl  50, id 45371, offset 0, flags [DF], length: 
94
 ) ftp.rrze.uni-erlangen.de.ftp > martins.aprisoft.de.2186: P [tcp sum ok] 
81:135
 (54) ack 23 win 49368
 E..^.;@.2.........o..........6fCP...&...150 Opening ASCII mode data connection 
f
 or file list
 
 16:05:05.926628 IP (tos 0x0, ttl 128, id 62696, offset 0, flags [DF], length: 
40
 ) martins.aprisoft.de.2186 > ftp.rrze.uni-erlangen.de.ftp: . [tcp sum ok] 
23:23(
 0) ack 135 win 64216
         
 E..(..@...E...o..........6fC....P....=........
 16:05:06.114422 IP (tos 0x0, ttl  54, id 45372, offset 0, flags [DF], length: 
10
 23) ftp.rrze.uni-erlangen.de.59994 > martins.aprisoft.de.2188: P [tcp sum ok] 
1:
 984(983) ack 1 win 49368
 E....<@.6.........o..Z..3.vm.-.`P...M...lrwxrwxrwx   1 root     bin            
2
 7 Mar 28  2007 20c3 -> .files/ftplinux/LOCAL/20c3/
 lrwxrwxrwx   1 root     bin            27 Mar 28  2007 21c3 -> 
.files/ftplinux/L
 OCAL/21c3/
 lrwxrwxrwx   1 root     bin            30 Mar 28  2007 CPAN -> 
../.mirrors/ftpsr
 c/rsync.CPAN/
 ...
 
 
 Martin
 


Home | Main Index | Thread Index | Old Index