[Proftpd-user] mod-exec and bitvise-scp client

banda bassotti <[email protected]>
Newsgroups gmane.network.proftpd.user
Message-ID <CAFfuJJGynZdGO5dfh1dB5kx2MtjBpuMTMf1eDzyBdVX+F6HJtQ@mail.gmail.com>
hello,

I have a client who uses the sftp bitvise client when he sends files the
command specified in ExecOnWrite is not executed.
In the acces.log logs I find:

172.28.157.133 UNKNOWN abcd [20/Jun/2018:10:41:34 +0200] "STOR
/var/home/abcd/file1.ZIP" 226 - 172.28.157.133 UNKNOWN abcd
[20/Jun/2018:10:41:34 +0200] "CLOSE cf0e22640b89933e" 0 1645 172.28.157.133
UNKNOWN abcd [20/Jun/2018:10:41:34 +0200] "OPENDIR /var/home/abcd" - 0
172.28.157.133
UNKNOWN abcd [20/Jun/2018:10:41:34 +0200] "OPEN /var/home/abcd/file2.ZIP" -
0 172.28.157.133 UNKNOWN abcd [20/Jun/2018:10:41:34 +0200] "MLSD
/var/home/abcd" - 0 172.28.157.133 UNKNOWN abcd [20/Jun/2018:10:41:34
+0200] "CLOSE 054991060dc5db44" 0 0 172.28.157.133 UNKNOWN abcd
[20/Jun/2018:10:41:34 +0200] "WRITE d7ad2141ce5eefd8 0 1571" 0 - 172.28.157.133
UNKNOWN abcd [20/Jun/2018:10:41:34 +0200] "FSETSTAT d7ad2141ce5eefd8" 0 -

I have hundred of clients with no problem.

my conf is:

<IfModule mod_exec.c> ExecEngine on ExecLog
/var/log/proftpd/mod_exec.log ExecOnCommand
APPE,STOR /usr/local/bin/eow.sh %f %u
</IfModule>

<VirtualHost 192.168.1.2> SFTPEngine On Port 22 AuthPAMConfig proftpd AuthOrder
mod_auth_pam.c* mod_auth_unix.c VRootEngine on VRootAlias /dev/ ~/dev
DefaultRoot
~ SFTPHostKey /etc/ssh/ssh_host_rsa_key SFTPHostKey
/etc/ssh/ssh_host_dsa_key SFTPLog /var/log/proftpd/sftp.log
SFTPAuthorizedUserKeys
file:/etc/proftpd/keys/%u/authorized_keys_rfc4716 SFTPAuthMethods publickey
password SFTPOptions IgnoreSFTPUploadPerms TransferLog
/var/log/proftpd/xferlog </VirtualHost>

any hint? thank you.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
ProFTPD Users List   <[email protected]>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.