Jump to content

ict.fys

Members
  • Posts

    8
  • Joined

  • Last visited

Everything posted by ict.fys

  1. Any updates on this? We are almost getting to the limit of our max simultaneous server connections. Still on version 3.7, this would be a reason to buy an upgrade for us.
  2. Thanks, FTPS works and update-url supports https.
  3. No it does not work. I updated to 3.5.0.2605, but the resident agent files (tniwinagent.exe, libeay32.dll, ssleay32.dll) are not different from the previous version.
  4. Both .dll files are in the same directory. I also tried copying them to the Windows system folder and tried latest versions, both 64 an 32-bit files from http://indy.fulgan.com/SSL/ I'm using windows 10 and start the agent as admin with command "tniwinagent.exe /install /start /testrun" and before exporting new test settings "tniwinagent.exe /uninstall". I've now setup my own vsftpd test server with TLS enabled and I get the same error "[ERROR] Error sending data: check the send settings and network settings" This is the server log: Feb 28 12:09:21 dhcp-10-33-62-66 vsftpd[27071]: CONNECT: Client "10.33.62.74" Feb 28 12:09:21 dhcp-10-33-62-66 vsftpd[27071]: FTP response: Client "10.33.62.74", "220 test FTP server" Feb 28 12:09:21 dhcp-10-33-62-66 vsftpd[27071]: FTP command: Client "10.33.62.74", "AUTH TLS" Feb 28 12:09:21 dhcp-10-33-62-66 vsftpd[27071]: FTP response: Client "10.33.62.74", "234 Proceed with negotiation." Feb 28 12:09:21 dhcp-10-33-62-66 vsftpd[27071]: "" from "10.33.62.74": error:00000000:lib(0):func(0):reason(0) This is the server log connecting with Filezilla client with exact same settings: Feb 28 12:11:29 dhcp-10-33-62-66 vsftpd[27654]: CONNECT: Client "10.33.62.74" Feb 28 12:11:29 dhcp-10-33-62-66 vsftpd[27654]: FTP response: Client "10.33.62.74", "220 test FTP server" Feb 28 12:11:29 dhcp-10-33-62-66 vsftpd[27654]: FTP command: Client "10.33.62.74", "AUTH TLS" Feb 28 12:11:29 dhcp-10-33-62-66 vsftpd[27654]: FTP response: Client "10.33.62.74", "234 Proceed with negotiation." Feb 28 12:11:29 dhcp-10-33-62-66 vsftpd[27654]: FTP command: Client "10.33.62.74", "USER test" Feb 28 12:11:29 dhcp-10-33-62-66 vsftpd[27654]: [test] FTP response: Client "10.33.62.74", "331 Please specify the password." Feb 28 12:11:29 dhcp-10-33-62-66 vsftpd[27654]: [test] FTP command: Client "10.33.62.74", "PASS <password>" Feb 28 12:11:29 dhcp-10-33-62-66 vsftpd[27653]: [test] OK LOGIN: Client "10.33.62.74" Feb 28 12:11:29 dhcp-10-33-62-66 vsftpd[27655]: [test] FTP response: Client "10.33.62.74", "230 Login successful." Feb 28 12:11:29 dhcp-10-33-62-66 vsftpd[27655]: [test] FTP command: Client "10.33.62.74", "OPTS UTF8 ON" Feb 28 12:11:29 dhcp-10-33-62-66 vsftpd[27655]: [test] FTP response: Client "10.33.62.74", "200 Always in UTF8 mode." Feb 28 12:11:29 dhcp-10-33-62-66 vsftpd[27655]: [test] FTP command: Client "10.33.62.74", "PBSZ 0" Feb 28 12:11:29 dhcp-10-33-62-66 vsftpd[27655]: [test] FTP response: Client "10.33.62.74", "200 PBSZ set to 0." Feb 28 12:11:29 dhcp-10-33-62-66 vsftpd[27655]: [test] FTP command: Client "10.33.62.74", "PROT P" Feb 28 12:11:29 dhcp-10-33-62-66 vsftpd[27655]: [test] FTP response: Client "10.33.62.74", "200 PROT now Private." Feb 28 12:11:29 dhcp-10-33-62-66 vsftpd[27655]: [test] FTP command: Client "10.33.62.74", "PWD" Feb 28 12:11:29 dhcp-10-33-62-66 vsftpd[27655]: [test] FTP response: Client "10.33.62.74", "257 "/srv/ftp"" Feb 28 12:11:29 dhcp-10-33-62-66 vsftpd[27655]: [test] FTP command: Client "10.33.62.74", "TYPE I" Feb 28 12:11:29 dhcp-10-33-62-66 vsftpd[27655]: [test] FTP response: Client "10.33.62.74", "200 Switching to Binary mode." Feb 28 12:11:29 dhcp-10-33-62-66 vsftpd[27655]: [test] FTP command: Client "10.33.62.74", "PASV" Feb 28 12:11:29 dhcp-10-33-62-66 vsftpd[27655]: [test] FTP response: Client "10.33.62.74", "227 Entering Passive Mode (10,33,62,66,117,84)." Feb 28 12:11:29 dhcp-10-33-62-66 vsftpd[27655]: [test] FTP command: Client "10.33.62.74", "LIST" Feb 28 12:11:29 dhcp-10-33-62-66 vsftpd[27655]: [test] FTP response: Client "10.33.62.74", "150 Here comes the directory listing." Feb 28 12:11:29 dhcp-10-33-62-66 vsftpd[27655]: [test] FTP response: Client "10.33.62.74", "226 Directory send OK." This is my config file: [ResidentAgent] version=18.02.16.0 config-timestamp=20180228121217.956000+060 [schedules] [sendDataSettings] method=smFTP save-sent-data=0 URL=ftps://10.33.62.66 Login=test Password=04000000C4F02FB5E2795EE06280481972597009 Timeout=30000 UseFW=0 UseProxy=0
  5. Also the update URL does not handle https it seems. https://www.server.net/update/tniwinagent.ini 2018.02.22 11:35:02.011 [ERROR] Scheduler: download failed: 500 -> works fine using wget in linux (HTTP request sent, awaiting response... 200 OK) http://www.server.net/update/tniwinagent.ini 2018.02.22 11:32:02.031 [ERROR] Scheduler: download failed: 301 Moved Permanently --> redirect to https is not handled
  6. In the meantime, I am trying to use FTPS but cannot get it to work either. tniwinagent.log 2018.02.21 16:40:10.183 [iNFO] Starting service... 2018.02.21 16:40:10.183 [iNFO] Notification successful 2018.02.21 16:40:10.183 [iNFO] Resident mode 2018.02.21 16:40:10.186 [iNFO] {9E4A6CAF-1C8C-4B5C-83FD-088DD9D605A4}=weekly|1|201802211130|1|0010010||||189912300000|189912300000|0|0 2018.02.21 16:40:10.187 [iNFO] Starting local scan... 2018.02.21 16:40:10.187 [iNFO] Make local scan 2018.02.21 16:40:25.749 [iNFO] Scan finished 2018.02.21 16:40:25.763 [ERROR] Login error: check the send settings and network settings ftp://ftp.server.net/dir WORKS ftp://ftp.server.net:21/dir WORKS ftp://ftp.server.net:990/dir FAILS ftps://ftp.server.net:990/dir FAILS I can connect using Filezilla on port 990 and setting 'encryption' to 'Require explicit FTP over TLS'. I tried another server aswell that has TLS default on port 21, but same error.
  7. I would also be nice to have an option to set a random delay for the scan schedule. If all clients connect simultaneously at the exact same time to upload their inventory file, this could cause a problem with max. remote logins.
  8. Does "Resident agent" have support for SFTP (SSH File Transfer Protocol)? I entered URL like my.server.net:22/remote_dir/, but nothing gets uploaded. (/debug gives no further info) FTP works fine.
×
×
  • Create New...