[Proftpd-user] FEAT regression?

Mario Gastegger <[email protected]>
Newsgroups gmane.network.proftpd.user
Message-ID <CAAmKC5D1AMw5x=dkeGh96a_zHpLTRv5=772B-2wnzQquKxpGnA@mail.gmail.com>
Hi, not sure this is a bug or not....
I started using proftpd on debian and encountered encoding issues....
Characters were not handled correctly e.g. a directory names or files
containing an 'ü'

When i tried to find information about this i came across the FEAT command
with the respective RFC and that there was a bug in 2006... (RFC-2389
("Feature negotiation mechanism for the File Transfer Protocol"))
http://bugs.proftpd.org/show_bug.cgi?id=2752#c0

This might be the same issue as back then.

Appreciate help to get to the bottom of this. (even though i can force utf8
in filezilla which seems to be a workaround)

When i send the command FEAT i get the following:
Command: FEAT
Response: 211-Features:
Response: 211-AUTH TLS
Response: 211-CCC
Response: 211-CLNT
Response: 211-EPRT
Response: 211-EPSV
Response: 211-HOST
Response: 211-LANG fr-FR.UTF-8;fr-FR;zh-TW.UTF-8;zh-TW
Response: 211-MDTM
Response: 211-MFF modify;UNIX.group;UNIX.mode;
Response: 211-MFMT
Response: 211-MLST
modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.groupname*;UNIX.mode*;UNIX.owner*;UNIX.ownername*;
Response: 211-PBSZ
Response: 211-PROT
Response: 211-REST STREAM
Response: 211-SITE COPY
Response: 211-SITE MKDIR
Response: 211-SITE RMDIR
Response: 211-SITE SYMLINK
Response: 211-SITE UTIME
Response: 211-SIZE
Response: 211-SSCN
Response: 211-TVFS
Response: 211-UTF8
Response: 211 End


FTP Client:
FileZilla Client
----------------
Version:          3.39.0
Build information:
  Compiled for:   x86_64-pc-linux-gnu
  Compiled on:    x86_64-pc-linux-gnu
  Build date:     2019-01-25
  Compiled with:  gcc (Debian 8.2.0-14) 8.2.0
  Compiler flags: -g -O2
-fdebug-prefix-map=/build/filezilla-IpnBGc/filezilla-3.39.0=.
-fstack-protector-strong -Wformat -Werror=format-security -Wall
Linked against:
  wxWidgets:      3.0.4
  SQLite:         3.27.2
  GnuTLS:         3.6.7
Operating system:
  Name:           Linux 4.19.0-8-amd64 x86_64
  Version:        4.19
  CPU features:   sse sse2 sse3 ssse3 sse4.1 sse4.2 avx avx2 aes pclmulqdq
rdrnd bmi2 bmi2 lm
  Settings dir:   <...>

OS:
$ uname -a
Linux <...> 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1+deb10u1 (2020-04-27)
x86_64 GNU/Linux

$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian

$ sudo proftpd -V
Compile-time Settings:
  Version: 1.3.6 (stable)
  Platform: LINUX [Linux 4.19.0-8-amd64 x86_64]
  Built: Tue Feb 25 2020 21:23:14 UTC
  Built With:
    configure  '--build=x86_64-linux-gnu' '--includedir=${prefix}/include'
'--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info'
'--sysconfdir=/etc' '--localstatedir=/var' '--disable-silent-rules'
'--libdir=${prefix}/lib/x86_64-linux-gnu'
'--libexecdir=${prefix}/lib/x86_64-linux-gnu' '--disable-maintainer-mode'
'--disable-dependency-tracking' '--prefix=/usr'
'--with-includes=/usr/include/postgresql:/usr/include/mariadb:/usr/include/mariadb/mysql'
'--mandir=/usr/share/man' '--sysconfdir=/etc/proftpd'
'--localstatedir=/run' '--libexecdir=/usr/lib/proftpd' '--enable-sendfile'
'--enable-facl' '--enable-dso' '--enable-autoshadow' '--enable-ctrls'
'--enable-ipv6' '--enable-nls' '--enable-memcache'
'--with-lastlog=/var/log/lastlog' '--enable-pcre' '--disable-strip'
'--enable-redis' '--build' 'x86_64-linux-gnu'
'--with-shared=mod_unique_id:mod_site_misc:mod_load:mod_ban:mod_quotatab:mod_sql:mod_sql_mysql:mod_sql_postgres:mod_sql_sqlite:mod_sql_odbc:mod_dynmasq:mod_quotatab_sql:mod_ldap:mod_quotatab_ldap:mod_ratio:mod_tls:mod_rewrite:mod_radius:mod_wrap:mod_wrap2:mod_wrap2_file:mod_wrap2_sql:mod_quotatab_file:mod_quotatab_radius:mod_facl:mod_ctrls_admin:mod_copy:mod_deflate:mod_ifversion:mod_geoip:mod_exec:mod_sftp:mod_sftp_pam:mod_sftp_sql:mod_shaper:mod_sql_passwd:mod_ifsession:mod_auth_otp:mod_tls_redis:mod_wrap2_redis:mod_redis:mod_memcache:mod_tls_memcache:mod_readme:mod_snmp'
'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2
-fdebug-prefix-map=/build/proftpd-dfsg-h285Mw/proftpd-dfsg-1.3.6=.
-fstack-protector-strong -Wformat -Werror=format-security'
'LDFLAGS=-Wl,-z,relro' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'
'CXXFLAGS=-g -O2
-fdebug-prefix-map=/build/proftpd-dfsg-h285Mw/proftpd-dfsg-1.3.6=.
-fstack-protector-strong -Wformat -Werror=format-security'

  CFLAGS: -g2 -g -O2
-fdebug-prefix-map=/build/proftpd-dfsg-h285Mw/proftpd-dfsg-1.3.6=.
-fstack-protector-strong -Wformat -Werror=format-security -Wall
-fno-omit-frame-pointer -Werror=implicit-function-declaration
  LDFLAGS: -L$(top_srcdir)/lib -Wl,-z,relro -rdynamic
 -L/usr/lib/x86_64-linux-gnu/ -L/usr/lib/x86_64-linux-gnu
  LIBS: -lacl  -lpcreposix -lpcre -lssl -lcrypto -lcap  -lpam -lsupp -lattr
-lnsl -lresolv -lresolv -lcrypt -ldl -lhiredis -lmemcachedutil -lmemcached
 -pthread

  Files:
    Configuration File:
      /etc/proftpd/proftpd.conf
    Pid File:
      /run/proftpd.pid
    Scoreboard File:
      /run/proftpd.scoreboard
    Header Directory:
      /usr/include/proftpd
    Shared Module Directory:
      /usr/lib/proftpd

  Info:
    + Max supported UID: 4294967295
    + Max supported GID: 4294967295

  Features:
    + Autoshadow support
    + Controls support
    + curses support
    - Developer support
    + DSO support
    + IPv6 support
    + Largefile support
    + Lastlog support
    + Memcache support
    + ncursesw support
    + NLS support
    + Redis support
    - Sodium support
    + OpenSSL support
    + PCRE support
    + POSIX ACL support
    + Shadow file support
    + Sendfile support
    + Trace support
    + xattr support

  Tunable Options:
    PR_TUNABLE_BUFFER_SIZE = 1024
    PR_TUNABLE_DEFAULT_RCVBUFSZ = 8192
    PR_TUNABLE_DEFAULT_SNDBUFSZ = 8192
    PR_TUNABLE_ENV_MAX = 2048
    PR_TUNABLE_GLOBBING_MAX_MATCHES = 100000
    PR_TUNABLE_GLOBBING_MAX_RECURSION = 8
    PR_TUNABLE_HASH_TABLE_SIZE = 40
    PR_TUNABLE_LOGIN_MAX = 256
    PR_TUNABLE_NEW_POOL_SIZE = 512
    PR_TUNABLE_PATH_MAX = 4096
    PR_TUNABLE_SCOREBOARD_BUFFER_SIZE = 80
    PR_TUNABLE_SCOREBOARD_SCRUB_TIMER = 30
    PR_TUNABLE_SELECT_TIMEOUT = 30
    PR_TUNABLE_TIMEOUTIDENT = 10
    PR_TUNABLE_TIMEOUTIDLE = 600
    PR_TUNABLE_TIMEOUTLINGER = 10
    PR_TUNABLE_TIMEOUTLOGIN = 300
    PR_TUNABLE_TIMEOUTNOXFER = 300
    PR_TUNABLE_TIMEOUTSTALLED = 3600
    PR_TUNABLE_XFER_SCOREBOARD_UPDATES = 10

Regards, Mario.

_______________________________________________
ProFTPD Users List   <[email protected]>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.