Filezilla seems to fail after a big amount of requests

Need help with FileZilla Server? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
m910q
500 Command not understood
Posts: 4
Joined: 2011-03-29 18:03

Filezilla seems to fail after a big amount of requests

#1 Post by m910q » 2011-03-29 18:42

Hi

I am having a problem with my FileZilla FTP server which is normally running fine.

I got XBMC to travel a folder on my FTP server, to look for movies, series and such.
When doing so, it searches for a lot of non-existing files as well. Making a lot of requests.

It's running totally fine, like 20 files/sec over LAN. But after some times (30sec to several minutes) it's start bugging.
Connections either fail or perform very very slowly.

The only solution I have found, is to restart the FileZilla service. (Done while no connection is made, so it won't affect XBMC, removing XBMC from being the troublemaker here)

Here I got a log when trying to access my server when it seems to fail:
Notice how slow the working connection at the end is.

Code: Select all

(000023)29-03-2011 20:12:50 - (not logged in) (192.168.1.6)> Connected, sending welcome message...
(000023)29-03-2011 20:12:50 - (not logged in) (192.168.1.6)> 220 Ich bin FTP!?
(000024)29-03-2011 20:12:50 - (not logged in) (192.168.1.6)> Connected, sending welcome message...
(000024)29-03-2011 20:12:50 - (not logged in) (192.168.1.6)> 220 Ich bin FTP!?
(000025)29-03-2011 20:12:50 - (not logged in) (192.168.1.6)> Connected, sending welcome message...
(000025)29-03-2011 20:12:50 - (not logged in) (192.168.1.6)> 220 Ich bin FTP!?
(000026)29-03-2011 20:12:50 - (not logged in) (192.168.1.6)> Connected, sending welcome message...
(000026)29-03-2011 20:12:50 - (not logged in) (192.168.1.6)> 220 Ich bin FTP!?
(000027)29-03-2011 20:12:50 - (not logged in) (192.168.1.6)> Connected, sending welcome message...
(000027)29-03-2011 20:12:50 - (not logged in) (192.168.1.6)> 220 Ich bin FTP!?
(000023)29-03-2011 20:12:55 - (not logged in) (192.168.1.6)> disconnected.
(000026)29-03-2011 20:12:55 - (not logged in) (192.168.1.6)> disconnected.
(000027)29-03-2011 20:12:55 - (not logged in) (192.168.1.6)> disconnected.
(000024)29-03-2011 20:12:55 - (not logged in) (192.168.1.6)> disconnected.
(000025)29-03-2011 20:12:55 - (not logged in) (192.168.1.6)> disconnected.
(000028)29-03-2011 20:12:55 - (not logged in) (192.168.1.6)> Connected, sending welcome message...
(000028)29-03-2011 20:12:55 - (not logged in) (192.168.1.6)> 220 Ich bin FTP!?
(000029)29-03-2011 20:12:55 - (not logged in) (192.168.1.6)> Connected, sending welcome message...
(000029)29-03-2011 20:12:55 - (not logged in) (192.168.1.6)> 220 Ich bin FTP!?
(000028)29-03-2011 20:13:00 - (not logged in) (192.168.1.6)> disconnected.
(000029)29-03-2011 20:13:00 - (not logged in) (192.168.1.6)> USER User1
(000029)29-03-2011 20:13:00 - (not logged in) (192.168.1.6)> 331 Password required for user1
(000029)29-03-2011 20:13:06 - (not logged in) (192.168.1.6)> PASS Pass1
(000029)29-03-2011 20:13:06 - user1 (192.168.1.6)> 230 Logged on
(000029)29-03-2011 20:13:14 - user1 (192.168.1.6)> PWD
(000029)29-03-2011 20:13:14 - user1 (192.168.1.6)> 257 "/" is current directory.
(000029)29-03-2011 20:13:14 - user1 (192.168.1.6)> CWD Serier
(000029)29-03-2011 20:13:14 - user1 (192.168.1.6)> 250 CWD successful. "/Serier" is current directory.
(000029)29-03-2011 20:13:14 - user1 (192.168.1.6)> CWD Breaking Bad
(000029)29-03-2011 20:13:14 - user1 (192.168.1.6)> 250 CWD successful. "/Serier/Breaking Bad" is current directory.
(000029)29-03-2011 20:13:14 - user1 (192.168.1.6)> PASV
(000029)29-03-2011 20:13:14 - user1 (192.168.1.6)> 227 Entering Passive Mode (192,168,1,3,168,242)
(000029)29-03-2011 20:13:14 - user1 (192.168.1.6)> disconnected.

The weird thing is, that if I connect with a client like FileZilla FTP client, it works fine as far as I can tell.

There is something between XBMC and FileZilla communication that does not match...
Restarting XBMC don't change anything.

Info:
Windows 7 Enterprise 64-bit
FileZilla 0.9.37b (Had the problem with 0.9.36b as well)
I'm running with default settings except for the "welcome message" as you can see.


- Thanks

User avatar
botg
Site Admin
Posts: 35651
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: Filezilla seems to fail after a big amount of requests

#2 Post by botg » 2011-03-29 21:53

Does the problem resolve itself if you wait a couple of minutes?

User avatar
boco
Contributor
Posts: 26980
Joined: 2006-05-01 03:28
Location: Germany

Re: Filezilla seems to fail after a big amount of requests

#3 Post by boco » 2011-03-29 23:24

That client is triggering the anti-hammer protection which artificially slows down login attempts.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

m910q
500 Command not understood
Posts: 4
Joined: 2011-03-29 18:03

Re: Filezilla seems to fail after a big amount of requests

#4 Post by m910q » 2011-03-30 11:21

Thanks for your quick responses!
botg wrote:Does the problem resolve itself if you wait a couple of minutes?
No not that I have noticed. I need to test this later today. But I'm pretty sure that I have waited more than 2min without luck.
Edit: No matter how long I wait it does still not work. I have tested a span of several hours.
boco wrote:That client is triggering the anti-hammer protection which artificially slows down login attempts.
How come it works after the FileZilla service is restarted? If I restart the client(XBMC) it does not change a thing.
Again, this is done while no connection is up, and the server and client are running on two computers, so the client has no chance of knowing if the FileZilla service has been restarted or not.


An addition; I forgot to mention, going in offline-mode does not help either. I need to restart the Windows service.

User avatar
botg
Site Admin
Posts: 35651
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: Filezilla seems to fail after a big amount of requests

#5 Post by botg » 2011-03-30 19:48

On the server machine, do you have any third-party software installed that has anything to do with networking? E.g. firewalls, security solutions, speed limiters, sniffers, VPNs and so on.

m910q
500 Command not understood
Posts: 4
Joined: 2011-03-29 18:03

Re: Filezilla seems to fail after a big amount of requests

#6 Post by m910q » 2011-03-30 22:00

Nope, none of the above mentioned except 2. Firewall and sort of VPN.

List of network application running:
- VisualSVN (Port 443)
- Apache (Port 82)
- mySQL
- IIS (Port 80)
- MS SQL
- UnrealIRCd
- Anope (Services for IRC server)
- sBNC (A bouncer for IRC)
- Hamachi
- Dropbox

I usually have my Windows Firewall enabled, but I have just tested without (on both server and client).
I have tried to turn off Hamachi (and disabled the virtual network adapter) when firewall was disabled. No luck there either.

If it should matter, I got 2 netcards, both running on the same LAN.
When the firewall is turned on, one is restricted to LAN, the other to WAN.

User avatar
boco
Contributor
Posts: 26980
Joined: 2006-05-01 03:28
Location: Germany

Re: Filezilla seems to fail after a big amount of requests

#7 Post by boco » 2011-03-31 03:00

How come it works after the FileZilla service is restarted? If I restart the client(XBMC) it does not change a thing.
Again, this is done while no connection is up, and the server and client are running on two computers, so the client has no chance of knowing if the FileZilla service has been restarted or not.
Anti hammer protection is built into the server. It's not permanent, restarting the service clears it, so does some waiting.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

User avatar
botg
Site Admin
Posts: 35651
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: Filezilla seems to fail after a big amount of requests

#8 Post by botg » 2011-03-31 06:26

m910q wrote:Hamachi
That might be the culprit, last time I checked they were actively violating the internet specifications by using a reserved IP address space. Than that address space got allocated and as result, the legit owners of those IP addresses had all sorts of problems due to Hamachi illegitimately using those addresses. Who knows what else they are doing...
Last edited by boco on 2011-03-31 09:50, edited 1 time in total.
Reason: boco: Fixed quoting

m910q
500 Command not understood
Posts: 4
Joined: 2011-03-29 18:03

Re: Filezilla seems to fail after a big amount of requests

#9 Post by m910q » 2011-03-31 10:57

botg wrote:Who knows what else they are doing...
Yea, they are using 5.0.0.0/8. And then they are trying to punch trough the NAT or whatever is preventing a direct connection. Thats it.
Now, as I wrote earlier, I have disabled Hamachi as well as disabled the virtual adapter to it. Which will be the same as not having Hamachi at all. If you don't believe it, I can uninstall it. But I'm using it, so I would like not to :)

boco wrote:Anti hammer protection is built into the server. It's not permanent, restarting the service clears it, so does some waiting.
Quoting myself:
m910q wrote:No matter how long I wait it does still not work. I have tested a span of several hours.
And that's with no other connection made from any client. Waiting does not help anything :(

Post Reply