Mar 07, 2019
FTP Proxy : pwd problem
Hello, Im currently using following code snippet for FTP proxy. https://devcentral.f5.com/codeshare/ftp-proxy-lite when CLIENT_ACCEPTED {
TCP::respond "220 Welcome to the F5 FTP ...
Because your user does not have an FTP server included maybe?
FTP command: Client "::ffff:130.0.0.150", "USER ictst"
But the code requires the user to be of the type username@ip address:
scan $cuser {%[^@]@%s} garbage remote_ftp_site_addr
scan $garbage %s%s cmd uid
TCP::payload replace 0 [string length $cuser ] "USER $uid\r\n"
node $remote_ftp_site_addr [TCP::local_port]