Bug#591009: 421 Service not available, remote server has closed connection

2017-02-27 Thread Martin Sebald
Hi Hilmar,

sorry, that was more than 6 years ago. I switched to pure-ftpd many years ago. 
I even did not remember the problem or if I switched because of that. So I 
cannot be any help anymore. Sorry.

Cheers,
Martin



Bug#591009: 421 Service not available, remote server has closed connection

2017-02-26 Thread Hilmar Preuße
On 30.07.2010 23:53, Martin Sebald wrote:

Hi Martin,

https://bugs.debian.org/591009

> I'm using ProFTPd with MySQL, no other modules.
> 
> When trying to transfer a file with 1.3.3a-1 the client gets disconnected
> after sending the file (sent file seems to be ok). With cmdline client the
> connection just breaks, other clients (like Total Commander and FileZilla)
> reconnect, so users might not be aware of that. FileZilla sometimes (just
> sometimes) asks to overwrite the last file because it noticed some error
> and wanted to try again - but just sometimes.
> 
> Downgrade to 1.3.2e-4 solved the problem, everything works fine again.
> 
> As 1.3.3a-1 is already in testing I thought this bug should be brought to
> your attention.
> 
Are you still able to reproduce the problem? Does
http://bugs.proftpd.org/show_bug.cgi?id=3496 describes your problem?

Hilmar
-- 
http://www.hilmar-preusse.de.vu/   #206401 http://counter.li.org



Bug#591009: 421 Service not available, remote server has closed connection

2010-07-31 Thread Martin Sebald
Hello Francesco,

sure, here is the configuration. Note that I run this configuration on
three servers - all had the problem. After downgrading and without altering
the configuration it worked again.

Regards,
Martin

-

proftpd.conf
-

Include /etc/proftpd/modules.conf

ServerName  "server"
ServerType  standalone
ServerAdmin m...@domain.tld
DefaultRoot ~
ServerIdent off "server.domain.tld"
DeferWelcomeon
DefaultServer   on
MultilineRFC2228on
ShowSymlinkson
AllowOverwrite  on
AllowForeignAddress on
TimeoutNoTransfer   1200
TimeoutStalled  3600
TimeoutIdle 2400
DisplayLogin/etc/proftpd/welcome.msg
DisplayConnect  /etc/proftpd/connect.msg
ListOptions "-la"
DenyFilter  \*.*/
Port2266
PassivePorts2267 2276
TimesGMT off
IdentLookups off
MaxInstances30
Userwww-data
Group   www-data


  Umask 022  022
  AllowOverwriteon
  AllowRetrieveRestart  on
  AllowStoreRestart on


MaxClientsPerHost   10  "Nicht mehr als %m Verbindungen."
MaxClientsPerUser   10  "Nicht mehr als %m Verbindungen."
MaxClients  30  "Leider sind schon %m Clients verbunden."
TransferLog /var/log/proftpd/proftpd.xferlog
LogFormatdefault "%h %l %u %t \"%r\" %s %b"
LogFormatauth"%v [%P] %h %t \"%r\" %s"
LogFormatwrite   "%h %l %u %t \"%r\" %s %b"
LogFormatawstats "%t%h  %u  %m  %f  %s  
%b"

# Log file/dir access
ExtendedLog /var/log/proftpd/proftpd.access_log
WRITE,READ write

# Record all logins
ExtendedLog /var/log/proftpd/proftpd.auth_log  AUTH auth

# Paranoia logging level
ExtendedLog /var/log/proftpd/proftpd.paranoid_log  ALL 
default

# AWstats
ExtendedLog /var/log/proftpd/proftpd.awstats read,write 
awstats

MaxLoginAttempts3

SQLConnectInfo  db_n...@localhost db_user db_user_pw
SQLAuthenticate users*
SQLAuthTypesbackend
SQLDefaultGID   33
SQLDefaultUID   33
SQLMinUserGID   20
SQLMinUserUID   500
SQLGroupInfoproftpd_groups groupname gid members
SQLUserInfo users userid passwd uid gid homedir shell

SQLLog PASS counter
SQLNamedQuery counter UPDATE "last_used=now(), count=count+1 WHERE userid='%u'" 
users

# xfer Log in mysql
SQLLog RETR,STOR transfer1
SQLNamedQuery  transfer1 INSERT "'%f', '%b', '%...@%v', '%h', '%a', '%m', '%T', 
now(), 1" stats

SQLLOG ERR_RETR,ERR_STOR transfer2
SQLNamedQuery  transfer2 INSERT "'%f', '%b', '%...@%v', '%h', '%a', '%m', '%T', 
now(), 0" stats


TLSEngine   on
TLSLog  /var/log/proftpd/tls.log
TLSProtocol SSLv23
TLSOptions  NoCertRequest
TLSRSACertificateFile   /etc/proftpd/proftpd-cert.pem
TLSRSACertificateKeyFile/etc/proftpd/proftpd-key.pem
TLSVerifyClient off
TLSRequired off


-


modules.conf
-

ModulePath /usr/lib/proftpd

ModuleControlsACLs insmod,rmmod allow user root
ModuleControlsACLs lsmod allow user *

LoadModule mod_tls.c
LoadModule mod_sql.c
LoadModule mod_sql_mysql.c
LoadModule mod_ifsession.c

-




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#591009: 421 Service not available, remote server has closed connection

2010-07-31 Thread Francesco P. Lovergine
On Fri, Jul 30, 2010 at 11:53:47PM +0200, Martin Sebald wrote:
> Package: proftpd-basic
> Version: 1.3.3a-1
> 
> Hello all,
> 
> I'm using ProFTPd with MySQL, no other modules.
> 
> When trying to transfer a file with 1.3.3a-1 the client gets disconnected
> after sending the file (sent file seems to be ok). With cmdline client the
> connection just breaks, other clients (like Total Commander and FileZilla)
> reconnect, so users might not be aware of that. FileZilla sometimes (just
> sometimes) asks to overwrite the last file because it noticed some error
> and wanted to try again - but just sometimes.
> 
> Downgrade to 1.3.2e-4 solved the problem, everything works fine again.
> 
> As 1.3.3a-1 is already in testing I thought this bug should be brought to
> your attention.
> 
> See below for a log when transfering the file from the cmdline linux
> client.
> 

You always need to provide your configuration in order to do
some tests.

-- 
Francesco P. Lovergine



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#591009: 421 Service not available, remote server has closed connection

2010-07-30 Thread Martin Sebald
Package: proftpd-basic
Version: 1.3.3a-1

Hello all,

I'm using ProFTPd with MySQL, no other modules.

When trying to transfer a file with 1.3.3a-1 the client gets disconnected
after sending the file (sent file seems to be ok). With cmdline client the
connection just breaks, other clients (like Total Commander and FileZilla)
reconnect, so users might not be aware of that. FileZilla sometimes (just
sometimes) asks to overwrite the last file because it noticed some error
and wanted to try again - but just sometimes.

Downgrade to 1.3.2e-4 solved the problem, everything works fine again.

As 1.3.3a-1 is already in testing I thought this bug should be brought to
your attention.

See below for a log when transfering the file from the cmdline linux
client.

Regards,
Martin


> 230 User test logged in
> Remote system type is UNIX.
> Using binary mode to transfer files.
> ftp> put test.file
> local: test.file remote: test.file
> 200 PORT command successful
> 150 Opening BINARY mode data connection for test.file
> 421 Service not available, remote server has closed connection
> 749 bytes sent in 0.00 secs (23595.0 kB/s)
> ftp> quit




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org