Project

General

Profile

Bug #1489

Input fails on Windows

Added by Luke Murphey about 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
09/20/2016
Due date:
% Done:

100%

History

#1 Updated by Luke Murphey about 8 years ago

  • Target version changed from 0.6 to 1.0

#2 Updated by Luke Murphey about 8 years ago

Observations:

  • Making an input manually works
    • Even without anonymous support
  • The port is open: netstat -nab
  • The logs indicate that the server has started:
    • (index=_internal sourcetype=ftp_modular_input) OR (sourcetype=ftp)
    • index=_internal execprocessor ftp sourcetype=splunkd
  • No logs indicate anything about the connection being made
Possible causes:
  • It appears that the server cannot serve on the blank port

#3 Updated by Luke Murphey about 8 years ago

The following does not work:

from pyftpdlib.authorizers import DummyAuthorizer
from pyftpdlib.handlers import FTPHandler
from pyftpdlib.servers import FTPServer

authorizer = DummyAuthorizer()
authorizer.add_user("user", "12345", "C:\\", perm="elradfmw")
#authorizer.add_anonymous("C:\\")

handler = FTPHandler
handler.authorizer = authorizer

#server = FTPServer(("127.0.0.1", 2122), handler)
server = FTPServer(("", 2122), handler)
server.serve_forever()

#4 Updated by Luke Murphey about 8 years ago

I bet the webhooks app is also affected.

#5 Updated by Luke Murphey about 8 years ago

Netstat shows listening on:

 TCP    [::]:2122              [::]:0                 LISTENING
[python.exe]

#6 Updated by Luke Murphey about 8 years ago

Other ports show a different listening port status:

[svchost.exe]
 UDP    [::1]:59854            *:*
 SSDPSRV

#7 Updated by Luke Murphey about 8 years ago

  • Target version changed from 1.0 to 0.6

#8 Updated by Luke Murphey about 8 years ago

  • % Done changed from 0 to 100

#9 Updated by Luke Murphey about 8 years ago

  • Status changed from New to Closed

Also available in: Atom PDF