Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FTP not working, commands are async and random responses are returned #573

Open
bestrocker221 opened this issue Apr 24, 2022 · 0 comments
Open
Labels

Comments

@bestrocker221
Copy link

Hi, when connecting via FTP towards the default conpot configuration, commands and response are randomly returned.

To Reproduce

  1. conpot default template
  2. ftp 2121
  3. ls multiple times

Expected behavior

ftp> ls
150 Here comes the directory listing.
-rwxrwxrwx   1 nobody   ftp            49 Aug 01  2018 ftp_data.txt

Received:

ftp> ls
226 Transfer complete.
200 PORT Command Successful. Consider using PASV.
ftp> ls
150 Here comes the directory listing.
ftp> ls
226 Directory send OK.
200 PORT Command Successful. Consider using PASV.
ftp> ls
150 Here comes the directory listing.
ftp> ls
226 Directory send OK.
226 Transfer complete.
ftp> ls
150 Here comes the directory listing.
ftp> ls
226 Directory send OK.
501 Invalid PORT format.
ftp> ls
200 PORT Command Successful. Consider using PASV.
150 Here comes the directory listing.
-rwxrwxrwx   1 nobody   ftp            49 Aug 01  2018 ftp_data.txt
226 Directory send OK.
ftp> ls
226 Transfer complete.
200 PORT Command Successful. Consider using PASV.
ftp> ls
150 Here comes the directory listing.
ftp> ls
226 Directory send OK.
501 Invalid PORT format.

Desktop (please complete the following information):

  • OS: Debian 11
  • kernel 5.16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant