View Issue Details

IDProjectCategoryView StatusLast Update
0003722PluginsNetBoxpublic2019-07-14 13:39
ReporterPx Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Platformx64OSWindowsOS Version7
Summary0003722: netbox не отображает содержимое папок по ftp если дата в листинге в utf8
DescriptionДан ftp сервер без поддержки команд MLSD/UTF8, но выхлоп ls идёт в UTF8, включая даты. netbox не может распарсить выхлоп, и отображает пустую папку
Steps To ReproduceПодключиться к серверу без MLSD/UTF8, пример - ftpd на FreeBSD с региональными настройками в UTF8/не en_US, увидеть пустую панель в netbox
Additional Information. 2019-07-14 16:38:16.698 --------------------------------------------------------------------------
. 2019-07-14 16:38:16.698 NetBox Operation was successfully completed. Connection was closed. (OS 6.1.7601 Service Pack 1 - Windows Server 2008 R2 Standard)
. 2019-07-14 16:38:16.700 Configuration: NetBox 3\
. 2019-07-14 16:38:16.701 Working directory: D:\Far30b5424.x86.20190714
. 2019-07-14 16:38:16.701 Process ID: 55256
. 2019-07-14 16:38:16.701 Time zone: Current: GMT, Standard: GMT (Финляндия (зима)), DST: GMT (Финляндия (лето)), DST Start: 31.03.2019, DST End: 27.10.2019
. 2019-07-14 16:38:16.701 --------------------------------------------------------------------------
. 2019-07-14 16:38:16.701 Transfer Protocol: FTP
. 2019-07-14 16:38:16.701 Code Page: 65001
. 2019-07-14 16:38:16.702 Ping type: Dummy, Ping interval: 30 sec; Timeout: 15 sec
. 2019-07-14 16:38:16.702 Disable Nagle: Yes
. 2019-07-14 16:38:16.702 Proxy: None
. 2019-07-14 16:38:16.702 Send buffer: 262144
. 2019-07-14 16:38:16.702 UTF: Off
. 2019-07-14 16:38:16.702 FTPS: None [Client certificate: No]
. 2019-07-14 16:38:16.702 FTP: Passive: Yes [Force IP: Auto]; MLSD: Off [List all: Auto]; HOST: Auto
. 2019-07-14 16:38:16.702 Local directory: default, Remote directory: /usr/home/ftptr, Update: Yes, Cache: No
. 2019-07-14 16:38:16.702 Cache directory changes: No, Permanent: No
. 2019-07-14 16:38:16.702 Recycle bin: Delete to: No, Overwritten to: No, Bin path:
. 2019-07-14 16:38:16.702 Timezone offset: 0h 0m
. 2019-07-14 16:38:16.702 --------------------------------------------------------------------------
. 2019-07-14 16:38:16.721 Connecting to 192.168.100.198 ...
. 2019-07-14 16:38:16.722 Connected with 192.168.100.198. Waiting for welcome message...
< 2019-07-14 16:38:16.777 220 bsd-route FTP server (Version 6.00LS) ready.
> 2019-07-14 16:38:16.777 USER ftptr
< 2019-07-14 16:38:16.842 331 Password required for ftptr.
> 2019-07-14 16:38:16.842 PASS ****************
< 2019-07-14 16:38:16.992 230 User ftptr logged in.
> 2019-07-14 16:38:17.042 SYST
< 2019-07-14 16:38:17.042 215 UNIX Type: L8 Version: BSD-199506
> 2019-07-14 16:38:17.042 FEAT
< 2019-07-14 16:38:17.042 211- Extensions supported:
< 2019-07-14 16:38:17.042 MDTM
< 2019-07-14 16:38:17.042 REST STREAM
< 2019-07-14 16:38:17.042 SIZE
< 2019-07-14 16:38:17.042 TVFS
< 2019-07-14 16:38:17.042 UTF8
< 2019-07-14 16:38:17.042 211 End.
> 2019-07-14 16:38:17.042 OPTS UTF8 ON
< 2019-07-14 16:38:17.042 500 OPTS UTF8 ON: command not understood.
. 2019-07-14 16:38:17.044 Connected
. 2019-07-14 16:38:17.044 Got reply 1 to the command 1
. 2019-07-14 16:38:17.044 --------------------------------------------------------------------------
. 2019-07-14 16:38:17.044 Using FTP protocol.
. 2019-07-14 16:38:17.045 Doing startup conversation with host.
> 2019-07-14 16:38:17.047 PWD
< 2019-07-14 16:38:17.049 257 "/usr/home/ftptr" is current directory.
. 2019-07-14 16:38:17.049 Got reply 1 to the command 16
. 2019-07-14 16:38:17.049 Changing directory to "/usr/home/ftptr".
> 2019-07-14 16:38:17.050 CWD /usr/home/ftptr
< 2019-07-14 16:38:17.053 250 CWD command successful.
. 2019-07-14 16:38:17.053 Got reply 1 to the command 16
. 2019-07-14 16:38:17.053 Getting current directory name.
> 2019-07-14 16:38:17.053 PWD
< 2019-07-14 16:38:17.062 257 "/usr/home/ftptr" is current directory.
. 2019-07-14 16:38:17.062 Got reply 1 to the command 16
. 2019-07-14 16:38:17.069 Retrieving directory listing...
> 2019-07-14 16:38:17.069 TYPE A
< 2019-07-14 16:38:17.071 200 Type set to A.
> 2019-07-14 16:38:17.071 PASV
< 2019-07-14 16:38:17.074 227 Entering Passive Mode (192,168,100,198,231,46)
> 2019-07-14 16:38:17.074 LIST -a
. 2019-07-14 16:38:17.074 Connecting to 192.168.100.198:59182 ...
< 2019-07-14 16:38:17.079 150 Opening ASCII mode data connection for '/bin/ls'.
< 2019-07-14 16:38:17.279 226 Transfer complete.
. 2019-07-14 16:38:17.329 Data connection closed
. 2019-07-14 16:38:17.329 total 1
. 2019-07-14 16:38:17.329 drwxrwxr-x 2 ftptr ftptr 512 14 лип. 16:17 .
. 2019-07-14 16:38:17.329 drwxr-xr-x 3 root wheel 512 14 лип. 15:42 ..
. 2019-07-14 16:38:17.329 -rw-rw-r-- 1 root ftptr 958 14 лип. 16:14 .cshrc
. 2019-07-14 16:38:17.329 -rw-rw-r-- 1 root ftptr 160 14 лип. 16:14 .login.conf
. 2019-07-14 16:38:17.329 -rw-rw-r-- 1 ftptr ftptr 75 14 лип. 16:11 .profile
. 2019-07-14 16:38:17.329 lrwxrwxr-x 1 root ftptr 13 14 лип. 15:44 Photo -> /usr/px/Photo
. 2019-07-14 16:38:17.329 -rw-r--r-- 1 ftptr ftptr 27 14 лип. 15:48 tmp.txt
. 2019-07-14 16:38:17.329 Directory listing successful
. 2019-07-14 16:38:17.329 Got reply 1 to the command 2
. 2019-07-14 16:38:17.329 Detecting timezone difference...
. 2019-07-14 16:38:17.329 Found no file to use for detecting timezone difference
. 2019-07-14 16:38:17.329 LIST with -a switch returned empty directory listing, will try pure LIST
. 2019-07-14 16:38:17.329 Retrieving directory listing...
> 2019-07-14 16:38:17.329 TYPE A
< 2019-07-14 16:38:17.332 200 Type set to A.
> 2019-07-14 16:38:17.382 PASV
< 2019-07-14 16:38:17.386 227 Entering Passive Mode (192,168,100,198,231,47)
> 2019-07-14 16:38:17.386 LIST
. 2019-07-14 16:38:17.386 Connecting to 192.168.100.198:59183 ...
< 2019-07-14 16:38:17.393 150 Opening ASCII mode data connection for '/bin/ls'.
< 2019-07-14 16:38:17.394 226 Transfer complete.
. 2019-07-14 16:38:17.444 Data connection closed
. 2019-07-14 16:38:17.494 total 1
. 2019-07-14 16:38:17.494 -rw-rw-r-- 1 root ftptr 958 14 лип. 16:14 .cshrc
. 2019-07-14 16:38:17.494 -rw-rw-r-- 1 root ftptr 160 14 лип. 16:14 .login.conf
. 2019-07-14 16:38:17.494 -rw-rw-r-- 1 ftptr ftptr 75 14 лип. 16:11 .profile
. 2019-07-14 16:38:17.494 lrwxrwxr-x 1 root ftptr 13 14 лип. 15:44 Photo -> /usr/px/Photo
. 2019-07-14 16:38:17.494 -rw-r--r-- 1 ftptr ftptr 27 14 лип. 15:48 tmp.txt
. 2019-07-14 16:38:17.494 Directory listing successful
. 2019-07-14 16:38:17.494 Got reply 1 to the command 2
. 2019-07-14 16:38:17.494 Detecting timezone difference...
. 2019-07-14 16:38:17.494 Found no file to use for detecting timezone difference
. 2019-07-14 16:38:17.494 ..;D;0;1899-12-30T1191:02:47.297Z;0;"" [0];"" [0];---------;0
. 2019-07-14 16:38:17.495 Startup conversation with host finished.
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-07-14 13:39 Px New Issue