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 and TFTP services cant receive data #324

Open
arifwc opened this issue Apr 6, 2021 · 3 comments · May be fixed by #330
Open

FTP and TFTP services cant receive data #324

arifwc opened this issue Apr 6, 2021 · 3 comments · May be fixed by #330
Assignees
Milestone

Comments

@arifwc
Copy link

arifwc commented Apr 6, 2021

ISSUE TYPE
  • Bug Report
DIONAEA VERSION
0.11.0
CONFIGURATION
OS / ENVIRONMENT
  • Ubuntu 18.04
SUMMARY

I have a project that includes dionaea. So Ive been wondering why ftp and tftp services cant receive data that I send from my computer. After I tried send using ftp it break suddenly with error log I provide below. But in TFTP it said that "Write requests not implemented at this time." Im sorry for my english and I really hope someone can help me.

STEPS TO REPRODUCE
  1. Install dionaea from source
  2. Run dionaea
  3. Try ftp service and it breaks
EXPECTED RESULTS

Data stored in /opt/dionaea/var/lib/dionaea/ftp/root/ and /opt/dionaea/var/lib/dionaea/tftp/root

ACTUAL RESULTS
[06042021 09:32:20] root (unknown file):0: There was an error in the Python service
Traceback (most recent call last):
  File "binding.pyx", line 794, in dionaea.core.handle_io_in_cb
  File "lib/dionaea/python/dionaea/ftp.py", line 236, in handle_io_in
    self.processcmd(cmd, args)
  File "lib/dionaea/python/dionaea/ftp.py", line 263, in processcmd
    msg = method(*l)
  File "lib/dionaea/python/dionaea/ftp.py", line 322, in ftp_PORT
    self.dtp = FTPDataConnect(ip, port, self)
  File "lib/dionaea/python/dionaea/ftp.py", line 715, in __init__
    FTPDataCon.__init__(self, ctrl)
  File "lib/dionaea/python/dionaea/ftp.py", line 580, in __init__
    connection.__init__(self, 'tcp')
  File "binding.pyx", line 457, in dionaea.core.connection.__init__
dionaea.exception.LoaderError: All arguments of __init__ must have a default value. class: 'FTPDataConnect', arg: 'host'
@welcome
Copy link

welcome bot commented Apr 6, 2021

Thanks for opening your first issue here! Be sure to follow the issue template!

@SubhasisMukh
Copy link

I am facing the same problem.

This is what it looks like in the current version of Dionaea
dionaea_new_version

But when I use one old version of Dionaea, that is, I downloaded it around November 2020, the issue is not there anymore as can be seen below

dionaea_old_version

I hope this issue gets resolved.

@arifwc
Copy link
Author

arifwc commented Apr 7, 2021

Thanks for your reply. Now I use version 0.10.0 and works well.

I hope this issue can get resolved in 0.11.0.

@phibos phibos added this to the 0.11.1 milestone Apr 15, 2021
@phibos phibos self-assigned this Apr 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants