in the ftplog, when I use ASCII transfer I see loads of
FS: using system read()
but these are missing in the binary transfer (even in a successful binary transfer they are missing).
here's the first half of the log showing the successful ASCII transfer:
May 10 15:18:46 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): scrubbing scoreboard
May 10 15:18:46 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): ROOT PRIVS at mod_core.c:131
May 10 15:18:46 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): RELINQUISH PRIVS at mod_core.c:133
May 10 15:18:46 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): ROOT PRIVS at mod_core.c:161
May 10 15:18:46 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): RELINQUISH PRIVS at mod_core.c:192
May 10 15:18:46 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): ident lookup disabled
May 10 15:18:46 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): connected - local : 10.106.13.8:21
May 10 15:18:46 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): connected - remote : 10.17.11.32:2693
May 10 15:18:46 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): FTP session opened.
May 10 15:18:48 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching PRE_CMD command 'USER mercator' to mod_tls
May 10 15:18:48 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching PRE_CMD command 'USER mercator' to mod_core
May 10 15:18:48 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching PRE_CMD command 'USER mercator' to mod_core
May 10 15:18:48 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching PRE_CMD command 'USER mercator' to mod_delay
May 10 15:18:48 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching PRE_CMD command 'USER mercator' to mod_auth
May 10 15:18:48 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching auth request "endpwent" to module mod_auth_file
May 10 15:18:48 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching auth request "endpwent" to module mod_auth_unix
May 10 15:18:48 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching auth request "endgrent" to module mod_auth_file
May 10 15:18:48 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching auth request "endgrent" to module mod_auth_unix
May 10 15:18:48 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching CMD command 'USER mercator' to mod_auth
May 10 15:18:48 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching auth request "getgroups" to module mod_auth_file
May 10 15:18:48 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching auth request "getgroups" to module mod_auth_unix
May 10 15:18:48 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching auth request "requires_pass" to module mod_tls
May 10 15:18:48 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching POST_CMD command 'USER mercator' to mod_delay
May 10 15:18:48 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching LOG_CMD command 'USER mercator' to mod_log
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching PRE_CMD command 'PASS (hidden)' to mod_tls
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching PRE_CMD command 'PASS (hidden)' to mod_core
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching PRE_CMD command 'PASS (hidden)' to mod_core
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching PRE_CMD command 'PASS (hidden)' to mod_delay
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching PRE_CMD command 'PASS (hidden)' to mod_auth
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching auth request "endpwent" to module mod_auth_file
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching auth request "endpwent" to module mod_auth_unix
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching auth request "endgrent" to module mod_auth_file
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching auth request "endgrent" to module mod_auth_unix
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching CMD command 'PASS (hidden)' to mod_auth
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching auth request "getgroups" to module mod_auth_file
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching auth request "getgroups" to module mod_auth_unix
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching auth request "getpwnam" to module mod_auth_file
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching auth request "getpwnam" to module mod_auth_unix
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching auth request "gid2name" to module mod_auth_file
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching auth request "gid2name" to module mod_auth_unix
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching auth request "auth" to module mod_tls
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching auth request "auth" to module mod_auth_pam
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): ROOT PRIVS at mod_auth_pam.c:264
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): RELINQUISH PRIVS at mod_auth_pam.c:423
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): user mercator authenticated by mod_auth_pam.c
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching auth request "setgrent" to module mod_auth_file
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching auth request "setgrent" to module mod_auth_unix
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): ROOT PRIVS at mod_auth.c:463
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): RELINQUISH PRIVS at mod_auth.c:465
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): USER PRIVS 210 at mod_auth.c:1042
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): RELINQUISH PRIVS at mod_auth.c:1044
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]):
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): Config for EIH Test ftp server:
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): DefaultServer
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): IdentLookups
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): HiddenStores
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): RootLogin
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): TimeoutStalled
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): RootLogin
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): TimeoutStalled
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): TimeoutNoTransfer
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): TimeoutIdle
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): TimeoutLogin
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): SyslogLevel
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): DebugLevel
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): DelayEngine
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): DefaultRoot
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): Umask
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): UserID
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): UserName
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): GroupID
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): GroupName
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): /
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): Limit
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): DenyAll
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): AllowOverwrite
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): HiddenStores
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): RootLogin
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): Umask
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): TransferLog
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): TransferLog
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): ExtendedLog
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): CURRENT-CLIENTS
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): USER
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): USER mercator: Login successful.
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): ROOT PRIVS at mod_auth.c:1113
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): opening TransferLog '/var/adm/ftplog_pipe.xfer'
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): RELINQUISH PRIVS at mod_auth.c:1142
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): ROOT PRIVS at mod_auth.c:1185
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): SETUP PRIVS at mod_auth.c:1192
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): FS: using system chdir()
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): in dir_check_full(): path = '/home/mercator', fullpath = '/home/merc
ator'.
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): FS: using system stat()
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): FS: using system stat()
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): FS: using system stat()
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): FS: using system stat()
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): FS: using system stat()
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): FS: using system stat()
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): FS: using system stat()
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): FS: using system stat()
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching POST_CMD command 'PASS (hidden)' to mod_tls
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching POST_CMD command 'PASS (hidden)' to mod_delay
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching POST_CMD command 'PASS (hidden)' to mod_log
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching POST_CMD command 'PASS (hidden)' to mod_ls
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching POST_CMD command 'PASS (hidden)' to mod_auth
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): RELINQUISH PRIVS at mod_auth.c:1552
May 10 15:18:49 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching LOG_CMD command 'PASS (hidden)' to mod_log
May 10 15:18:53 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching PRE_CMD command 'PORT 10,17,11,32,10,135' to mod_tls
May 10 15:18:53 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching PRE_CMD command 'PORT 10,17,11,32,10,135' to mod_core
May 10 15:18:53 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching PRE_CMD command 'PORT 10,17,11,32,10,135' to mod_core
May 10 15:18:53 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching CMD command 'PORT 10,17,11,32,10,135' to mod_core
May 10 15:18:53 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): FS: using system stat()
May 10 15:18:53 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): FS: using system stat()
May 10 15:18:53 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching LOG_CMD command 'PORT 10,17,11,32,10,135' to mod_log
May 10 15:18:53 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching PRE_CMD command 'RETR /tmp/olly.txt' to mod_tls
May 10 15:18:53 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching LOG_CMD command 'PORT 10,17,11,32,10,135' to mod_log
May 10 15:18:53 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching PRE_CMD command 'RETR /tmp/olly.txt' to mod_tls
May 10 15:18:53 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching PRE_CMD command 'RETR /tmp/olly.txt' to mod_core
May 10 15:18:53 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching PRE_CMD command 'RETR /tmp/olly.txt' to mod_core
May 10 15:18:53 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching PRE_CMD command 'RETR /tmp/olly.txt' to mod_xfer
May 10 15:18:53 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): FS: using system stat()
May 10 15:18:53 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): FS: using system lstat()
May 10 15:18:53 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): dispatching CMD command 'RETR /tmp/olly.txt' to mod_xfer
May 10 15:18:53 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): FS: using system open()
May 10 15:18:53 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): FS: using system stat()
May 10 15:18:53 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): ROOT PRIVS at inet.c:323
May 10 15:18:53 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): RELINQUISH PRIVS at inet.c:381
May 10 15:18:53 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): active data connection opened - local : 10.106.13.8:20
May 10 15:18:53 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): active data connection opened - remote : 10.17.11.32:2695
May 10 15:18:53 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): FS: using system read()
May 10 15:18:53 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): FS: using system read()
May 10 15:18:53 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): FS: using system read()
... loads more system reads ....
May 10 15:20:00 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): FS: using system read()
May 10 15:20:00 europa_tst proftpd[64356] europa_tst.exel.com (10.17.11.32[10.17.11.32]): FS: using system close()