Skip to content

Timeouts on LISTing #256

@e-fik123

Description

@e-fik123

Hi @Castaglia i am now experiencing this issue, i have compiled ProFTPd:

proftpd -V
Compile-time Settings:
Version: 1.3.9rc1 (devel)
Platform: LINUX [Linux 5.15.0-89-generic x86_64]
OS/Release:
PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
UBUNTU_CODENAME=jammy
Built: Tue Dec 5 2023 14:01:30 CET
Built With:
configure '--with-includes=/usr/include/openssl:/usr/include:/usr/local/src/proftpd/contrib:/usr/local/src/proftpd/contrib/mod_proxy/include:/usr/include/mysql' '--sysconfdir=/etc/proftpd' '--with-libraries=/usr/lib/ssl:/usr/lib/x86_64-linux-gnu/:/usr/local/src/proftpd/contrib/mod_proxy/lib' '--enable-openssl' '--with-modules=mod_sql:mod_sql_mysql:mod_tls:mod_sftp:mod_proxy:mod_rewrite:mod_ban:mod_dynmasq:mod_wrap:mod_wrap2:mod_wrap2_file:mod_wrap2_sql:mod_ifsession:mod_shaper:mod_ctrls_admin:mod_unique_id:mod_site_misc:mod_load:mod_sftp_sql' '--enable-dso' '--enable-ctrls'

CFLAGS: -g2 -O2 -Wall -fno-omit-frame-pointer -fno-strict-aliasing
LDFLAGS: -Wl,-L$(top_srcdir)/lib,-L$(top_builddir)/lib -rdynamic -L/usr/local/src/proftpd/contrib/mod_proxy/lib -L/usr/lib/x86_64-linux-gnu/ -L/usr/lib/ssl -L/usr/lib/x86_64-linux-gnu
LIBS: -lssl -lcrypto -lwrap -lnsl -lsqlite3 -lssl -lm -lmysqlclient -lz -lcrypto -lcrypt -pthread

Files:
Configuration File:
/etc/proftpd/proftpd.conf
Pid File:
/usr/local/var/proftpd.pid
Scoreboard File:
/usr/local/var/proftpd.scoreboard
Header Directory:
/usr/local/include/proftpd
Shared Module Directory:
/usr/local/libexec

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
- ncurses support
- NLS support
+ OpenSSL support (OpenSSL 3.0.2 15 Mar 2022)
- PCRE support
- PCRE2 support
- POSIX ACL support
- Redis support
+ Sendfile support
+ Shadow file support
- Sodium support
+ Trace support
+ xattr support

Tunable Options:
PR_TUNABLE_BUFFER_SIZE = 1024
PR_TUNABLE_DEFAULT_RCVBUFSZ = 65536
PR_TUNABLE_DEFAULT_SNDBUFSZ = 65536
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

with the latest mod_proxy. The backend FTP servers are: ProFTPd: 1.3.5 and also 1.3.9rc1.

Command: MLSD
Answer: 150 Opening BINARY mode data connection for MLSD
Error: Can not connect: ETIMEDOUT - Connection try exceeded timout limit

Any help is more then welcome.

Thank you

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions