FileZilla Forums

Welcome to the official discussion forums for FileZilla
Donate to project
It is currently 2014-04-21 10:18

All times are UTC




Post new topic Reply to topic  [ 10 posts ] 
Author Message
PostPosted: 2009-07-22 09:30 
Offline
500 Command not understood

Joined: 2009-07-22 08:56
Posts: 2
Recently I put up a small FTP server, running under the Xp64 to exchange files between some family here in Japan and relatives who live in Brazil.

It happens about 2 times already, I found an "intruder" tried login as "administrator" on the server. Obviously I have a "Banned" them and putting their IP's in the filter of FileZilla:

Image

I got the range of IP possibly used by the provider, the "intruders" and was wanting to block their IP's:
65.80.0.0 to 65.83.255.255
and
60.166.0.0 to 60.175.255.255.

Following the guidelines in another forum, set up as follows:
65.80.0.0 to 65.83.255.255
Code:
65.80.*.*
65.81.*.*
65.82.*.*
65.83.*.*


To block the IP's between 60.166.0.0 to 60.175.255.255, there another way to do it without being the way down?

60.166.*.*
60.167.*.*
60.168.*.*
60.169.*.*
60.170.*.*
60.171.*.*
60.172.*.*
60.173.*.*
60.174.*.*
60.175.*.*


P.S.:

Sorry, but I don't speak English. :oops:
I used the Google Tranlsator to post this topic.


Top
 Profile  
 
PostPosted: 2009-07-22 10:26 
Online
Site Admin
User avatar

Joined: 2004-02-23 20:49
Posts: 22541
Try 60.166.0.0-60.175.255.255


Top
 Profile  
 
PostPosted: 2009-07-22 10:44 
Offline
500 Command not understood

Joined: 2009-07-22 08:56
Posts: 2
botg wrote:
Try 60.166.0.0-60.175.255.255


Thank you very much !!

:D


Top
 Profile  
 
PostPosted: 2011-08-25 22:11 
Offline
500 Command not understood

Joined: 2011-08-25 21:59
Posts: 3
Sorry for using this thread, but I have the same question.

I have FZ Server 0.9.39. I put in the range like "60.166.0.0-60.175.255.255" without the quotation marks. But it won't work. Always the message: Invalid IP address/range/mask.

But what is my mistake? I put instead of "-" a "/" or with blanks. Always the same message.

Thanks for helping and greets,

JAY.


Top
 Profile  
 
PostPosted: 2011-08-26 03:59 
Offline
226 Transfer OK
User avatar

Joined: 2006-05-01 03:28
Posts: 19658
Location: Germany
Since server version 0.9.38, ranges entered like that are no more supported. I will quote the relevant piece of the changelog:
Quote:
Range, wildcard, regular expression and dot-decimal notation subnet IP address filters have been removed. These filter rules need to be recreated using CIDR notation.
You will need to enter your IP ranges in CIDR notation. Only that and single IPs are supported.

Of course features are not removed just for fun. It has to do with the new IPv6 support.

_________________
### BEGIN SIGNATURE BLOCK ###
FTP connection problems? Do yourself a favor and read Network Configuration.
All FileZilla products fully support IPv6. http://worldipv6launch.org
All support requests per PM will be ignored!
### END SIGNATURE BLOCK ###


Top
 Profile  
 
PostPosted: 2011-08-26 11:56 
Offline
500 Command not understood

Joined: 2011-08-25 21:59
Posts: 3
Thanks for your answer.
But what can I do now, to block those IPs i won't let connect? Wildcards are not allowed too? :-(


Top
 Profile  
 
PostPosted: 2011-08-26 13:40 
Offline
226 Transfer OK
User avatar

Joined: 2006-05-01 03:28
Posts: 19658
Location: Germany
Quote:
But what can I do now, to block those IPs i won't let connect?
Enter the range in CIDR notation. Needs two entries.
Code:
60.166.0.0/15
60.168.0.0/13


Quote:
Wildcards are not allowed too? :-(
No.

But actually you can use the following website (I did, too, for your range): http://ip2cidr.com/ :P.

@botg: Would it be hard to get a small converter into the server? Or at least a link to the website?

_________________
### BEGIN SIGNATURE BLOCK ###
FTP connection problems? Do yourself a favor and read Network Configuration.
All FileZilla products fully support IPv6. http://worldipv6launch.org
All support requests per PM will be ignored!
### END SIGNATURE BLOCK ###


Top
 Profile  
 
PostPosted: 2011-08-27 07:01 
Online
Site Admin
User avatar

Joined: 2004-02-23 20:49
Posts: 22541
Not everything can be converted into CIDR, e.g. *.23.*.42 would require 65k lines or so. Such filters make no sense, but as they were possible, users must have had them. Regex based filters cannot be converted into CIDR at all.

Long story short, a converter would be much work and would fail all too easily.


I won't link to that website as it contains user tracking (Google) and advertisement (Google).


Top
 Profile  
 
PostPosted: 2011-08-28 00:31 
Offline
500 Command not understood

Joined: 2011-08-25 21:59
Posts: 3
@boco: Damn, thank you. I do not understand any of the senseless IP6... But the converter does^^

I hope it works...

Thanks to you all and good night :-D


Top
 Profile  
 
PostPosted: 2011-08-28 01:04 
Offline
226 Transfer OK
User avatar

Joined: 2006-05-01 03:28
Posts: 19658
Location: Germany
Quote:
I do not understand any of the senseless IP6... But the converter does^^
CIDR is not IPv6.

Example of an IPv6 address:

2001:459a:2240:afcd:202:7aff:fe30:cdfe

Try to remember that. :roll: If you have Windows Vista or Windows 7, you already have at least a link local IPv6 address per network interface, possibly without even knowing it.

_________________
### BEGIN SIGNATURE BLOCK ###
FTP connection problems? Do yourself a favor and read Network Configuration.
All FileZilla products fully support IPv6. http://worldipv6launch.org
All support requests per PM will be ignored!
### END SIGNATURE BLOCK ###


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Dedicated server provided by Artmotion.
Forum sponsored by Everyware.ch.
Powered by phpBB® Forum Software © phpBB Group