I am having problems with new server hardware in ftp file tranfers.
(OS - Debian Linux,
It transfers images from a security camera and there is a backup
server with
identical vsftp.conf which works and I am able to compare the
transfers with
vsftpd option log_ftp_protocol=YES .
This is a log comparison of identical file transfers of multiple .jpg
files
A is functional vsftp server (Debian Linux 2.6.12-1-386)
B is failing vsftp server with identical configuration (Debian Linux
2.6.18 #1 SMP)
The failing server receives a couple of files correctly and some with
0 file size.
Here, it fails on line 38 with 0 fail size.
The prevailing pattern is 1 file ok, 2 files 0 size, 1 file ok again.
The differences are:
B lists file name twice - lines 11,2 36,37
B lists "200 PORT command successful. Consider using PASV." and fails
with 0 file size.
Line 26 - A does STOU (store unique)
where B on line 29 a PORT command instead followed by the STOU
command
Why is B behaving differently there?
Somebody suggested a port conflict with exsting ports in use, but how
to debunk this is the question.
01 A [pid 9596] [iqeye01] FTP command: Client "192.168.0.104", "NOOP"
02 A [pid 9596] [iqeye01] FTP response: Client "192.168.0.104", "200
NOOP ok."
03 A [pid 9596] [iqeye01] FTP command: Client "192.168.0.104", "PASV"
04 A [pid 9596] [iqeye01] FTP response: Client "192.168.0.104", "227
Entering Passive Mode (192,168,2,80,236,49)"
05 B [pid 6302] [iqeye01] FTP response: Client "192.168.0.104", "227
Entering Passive Mode (192,168,0,90,203,136)"
06
07 A [pid 9596] [iqeye01] FTP command: Client "192.168.0.104", "STOU
21_27_14.trig+0.jpg"
08 B [pid 6302] [iqeye01] FTP command: Client "192.168.0.104", "STOU
21_19_43.trig+0.jpg"
09
10 A [pid 9596] [iqeye01] FTP response: Client "192.168.0.104", "150
FILE: 21_27_14.trig+0.jpg.1"
11 B [pid 6302] [iqeye01] FTP response: Client "192.168.0.104", "150
FILE: 21_19_43.trig+0.jpg.1"
12 B [pid 6302] [iqeye01] FTP response: Client "192.168.0.104", "150
FILE: 21_19_43.trig+0.jpg.1"
13
14 A [pid 9596] [iqeye01] OK UPLOAD: Client "192.168.0.104", "/mnt/
c0d0p3/IQEYE01/08-12-16-Tue/21_27_14.trig+0.jpg", 262701 bytes,
375.21Kbyte/sec
15 B [pid 6302] [iqeye01] OK UPLOAD: Client "192.168.0.104", "/mnt/
c0d1p1/IQEYE01/08-12-16-Tue/21_19_43.trig+0.jpg", 262713 bytes,
517.57Kbyte/sec
16
17 A [pid 9596] [iqeye01] FTP response: Client "192.168.0.104", "226
File receive OK."
18 B [pid 6302] [iqeye01] FTP response: Client "192.168.0.104", "226
File receive OK."
19
20 A [pid 9596] [iqeye01] FTP command: Client "192.168.0.104", "PASV"
21 B [pid 6302] [iqeye01] FTP command: Client "192.168.0.104", "PASV"
22
23 A [pid 9596] [iqeye01] FTP response: Client "192.168.0.104", "227
Entering Passive Mode (192,168,2,80,189,243)"
24 B [pid 6302] [iqeye01] FTP response: Client "192.168.0.104", "227
Entering Passive Mode (192,168,0,90,225,224)"
25
26 A [pid 9596] [iqeye01] FTP command: Client "192.168.0.104", "STOU
21_27_14.trig+1.jpg"
27 A [pid 9596] [iqeye01] FTP response: Client "192.168.0.104", "150
FILE: 21_27_14.trig+1.jpg.1"
28
29 B [pid 6302] [iqeye01] FTP command: Client "192.168.0.104", "PORT
192,168,0,104,47,227"
30 B [pid 6302] [iqeye01] FTP response: Client "192.168.0.104", "200
PORT command successful. Consider using PASV."
31
32 A [pid 9596] [iqeye01] OK UPLOAD: Client "192.168.0.104", "/mnt/
c0d0p3/IQEYE01/08-12-16-Tue/21_27_14.trig+1.jpg", 261280 bytes,
164.37Kbyte/sec
33 A [pid 9596] [iqeye01] FTP response: Client "192.168.0.104", "226
File receive OK."
34
35 B [pid 6302] [iqeye01] FTP command: Client "192.168.0.104", "STOU
21_19_43.trig+1.jpg"
36 B [pid 6302] [iqeye01] FTP response: Client "192.168.0.104", "150
FILE: 21_19_43.trig+1.jpg.1"
37 B [pid 6302] [iqeye01] FTP response: Client "192.168.0.104", "150
FILE: 21_19_43.trig+1.jpg.1"
38 B [pid 6302] [iqeye01] OK UPLOAD: Client "192.168.0.104", "/mnt/
c0d1p1/IQEYE01/08-12-16-Tue/21_19_43.trig+1.jpg", 0.00Kbyte/sec
39 B [pid 6302] [iqeye01] FTP response: Client "192.168.0.104", "226
File receive OK."