Re: "Connection refused" error when internal IP address is set on listener

2015-06-09 Thread Martin Wunderlich
Could not connect to server 16:01:50 Trace: CFileZillaEnginePrivate::ResetOperation(66) Cheers, Martin > Am 09.06.2015 um 15:47 schrieb David Latorre : > > Probably the full Filezilla log file will be enough > El 09/06/2015 15:46, "Martin Wunderlich" escribió: > &

Re: "Connection refused" error when internal IP address is set on listener

2015-06-09 Thread Martin Wunderlich
you include the log file (with the messages which have been received > and sent) of the Ftp server? Also, the log file of the ftp client would > be helpful > El 09/06/2015 15:25, "Martin Wunderlich" escribió: > >> No, in the client I set the external IP address, becaus

Re: "Connection refused" error when internal IP address is set on listener

2015-06-09 Thread Martin Wunderlich
. > when you set the ip to the ftp server, do you use the same ip on the ftp > client as well? > > On Tuesday, June 9, 2015, Martin Wunderlich wrote: > >> Hi all, >> >> We observed some strange behavior that I can’t quite explain: Our FTP >> server is runn

"Connection refused" error when internal IP address is set on listener

2015-06-09 Thread Martin Wunderlich
Hi all, We observed some strange behavior that I can’t quite explain: Our FTP server is running in passive mode and offering a listener for FTP over TLS. When the internal IP address is set in the configuration, I am not able to connect with the FTP client (tested with both Filezilla and Cyber

Re: Strange exception caught in DefaultFtpHandler: java.io.IOException: Connection reset by peer

2015-06-08 Thread Martin Wunderlich
> connection with a TCP RST. > >> On Jun 3, 2015, at 6:31 AM, Martin Wunderlich wrote: >> >> Hi all, >> >> We have implemented an FTP service based on Apache FTPServer/MINA. Recently, >> there are some odd exceptions being logged (see below), the root

Strange exception caught in DefaultFtpHandler: java.io.IOException: Connection reset by peer

2015-06-03 Thread Martin Wunderlich
Hi all, We have implemented an FTP service based on Apache FTPServer/MINA. Recently, there are some odd exceptions being logged (see below), the root cause of which isn’t clear at all. There are no uploads or connections attempts at the time of the exception. It seems the exceptions are thrown

Re: How to suppress logging of SSLHandshakeException

2014-12-16 Thread Martin Wunderlich
; and recompile Mina FTP Server or maybe you can modify > the FilterChain in a servlet when you get the AUTH TLS request and > substitute FtpLoggingFilter for your own implementation. I do not know if > there is a way to solve this using NDC or MDC... > > > Kindest regards, >

How to suppress logging of SSLHandshakeException

2014-12-15 Thread Martin Wunderlich
Hi all, we recently noticed that the Apache MINA FTPServer will log an javax.net.ssl.SSLHandshakeException when the server does not have a valid certificate. The complete stracktrace from the log files is listed below. Since it is logged on the MINA-side, it doesn’t even reach my section of th

Re: Error while connection to FTP server running implicit SSL

2014-07-11 Thread Martin Wunderlich
cifically (or "Explicitly") > > As delivered the server let's the client use plain FTP if it doesn't > request SSL. > > You can make it insist on SSL by writing an ftplet that rejects USER or > PASS commands unless the session is secured. > > > On 10 July

Re: Error while connection to FTP server running implicit SSL

2014-07-10 Thread Martin Wunderlich
CControlSocket::ResetOperation(0) > 19:18:03 Status: Directory listing successful > 19:18:03 Trace: CFileZillaEnginePrivate::ResetOperation(0) > > NOTE: This connection works but it seems to be an insecure one, because no > TLS is requested. > > FileZIlla conf

Error while connection to FTP server running implicit SSL

2014-06-30 Thread Martin Wunderlich
Hi all, I am expanding our MINA-based FTP server by adding a setting for implicit vs. explicit SSL. I have made all the necessary changes, but for some reason I can’t connect to the server anymore when implicit SSL is set to true. In explicit SSL mode it works fine. When trying to connect, I

Unexpected high server load caused by MINA-threads

2014-05-06 Thread Martin Wunderlich
Hi all, We have caught some high CPU loads on a server that runs the FTP server feature which is based on MINA. The only running threads at the time were two MINA-related threads and I am wondering, if anyone might know what the cause could be. JStack gives the following thread details: "Ni

How to set the log level for the FtpLoggingFilter

2014-01-21 Thread Martin Wunderlich
Hi, I am wondering, how I can adjust the log levels for some message types in the FtpLoggingFilter when using the FTP Server. In particular, I would like the follow to have log level DEBUG: sessionCreatedLevel sessionOpenedLevel sessionIdleLevel sessionClosedLevel I had a look around the cod

Question on DataConnectionConfiguration.requestPassivePort()

2014-01-08 Thread Martin Wunderlich
Hi all, We have implemented an FTP server service based on this excellent Apache project. There is one detail, though, that isn't clear to me in relation to the passive mode: What value should be returned by the method requestPassivePort() in cases where all available (i.e. configured) passive

How explicitly free ports on server close?

2013-10-24 Thread Martin Wunderlich
Hi all, We have noticed that the FTP server doesn't seem to release it's used ports when the close() method is called. The result is that the server can't be restarted, because its ports are already in use. Is this the normal behavior and, if yes, how can I tell the FTP server to release the

Re: Error during file transfer: "550 - Permission denied"

2013-09-27 Thread Martin Wunderlich
Perhaps someone could shed some light on this. Thanks a lot. Kind regards, Martin Am 26.09.2013 um 18:23 schrieb Martin Wunderlich : > I think I figured out what you meant. In my UserManager the methods "save" > and "getUserByName" were not implemented,

Re: Error during file transfer: "550 - Permission denied"

2013-09-26 Thread Martin Wunderlich
> Did you create "create users" via UserManagerFactory? > > -Original Message- > From: Martin Wunderlich [mailto:m...@censhare.de] > Sent: Thursday, September 26, 2013 10:52 AM > To: ftpserver-users@mina.apache.org > Subject: Error during file transfer: "550 - Permis

Re: Error during file transfer: "550 - Permission denied"

2013-09-26 Thread Martin Wunderlich
artin Am 26.09.2013 um 17:32 schrieb "Goodwin, Matthew" : > Did you create "create users" via UserManagerFactory? > > -----Original Message- > From: Martin Wunderlich [mailto:m...@censhare.de] > Sent: Thursday, September 26, 2013 10:52 AM > To: ftpserver-us

Error during file transfer: "550 - Permission denied"

2013-09-26 Thread Martin Wunderlich
Dear all, I have just joined this list, because I started working on an integration of the Apache FtpServer into an existing project. So far, things have gone well and I can connect to the FTP server. However, when trying to upload a file, I get an "550 - Permission denied" error. I have check