Problem with CIDR notation

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
ilpippo
500 Command not understood
Posts: 1
Joined: 2011-06-06 12:42

Problem with CIDR notation

#1 Post by ilpippo » 2011-06-06 13:01

I have a problem with the IP filtering CIDR notation. In the users configuration window I have no problem setting IP filtering using plain IP addresses, but CIDR addresses don't seem to work.
For example, if I add the local network address "192.168.101.32" to the not-allowed list everything works as expected and any logon attempt from that address gets the answer "521 This user is not allowed to connect from this IP". So far so good.
Instead, if I try using the addresses "192.168.101.32/24" (or "192.168.101.0/24" or "192.168.101.1/24") the filtering does not work and logon attempts coming from "192.168.101.32" are allowed.
Am I missing something?

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

Re: Problem with CIDR notation

#2 Post by botg » 2011-06-06 19:36

Thanks for spotting this. A fix is available in the source code repository. A fixed version will be released no later than Wednesday.

Post Reply