View Single Post
Old 11-12-2004, 02:54 PM  
durulink
Senior Member
 
Join Date: Mar 2003
Posts: 102
Default

http://www.ioftpd.com/kb/view.php?kbid=118


Q: How is ADDIP related to Hosts.Rules ?

The IP(s) that you allow when creating users, or by using SITE ADDIP, are in no way related to Hosts.Rules.

Hosts.Rules rules are checked before the username is sent by the client. ADDIP rules are check just after the username is sent.

Hosts.Rules allow or deny connections.
ADDIP allow or deny logins.

When the connection is allowed but the login is blocked by an ADDIP rule, the following message will appear in your logs\Error.log:
Host '@' did not match any of user '' allowed hosts.

Note that the Error.log will always log the hostname associated with the IP when one is available. It doesn't mean you must use hostnames in ADDIP. ioFTPD will check both hostname and IP of the user trying to login against ADDIP rules. If none match, it will log the above message, and show the hostname.
durulink is offline   Reply With Quote