PDA

View Full Version : Hostmask problem


NeoRoxx
11-12-2004, 08:42 AM
Hi, i have a Problem with de ident@hostmask check. I have add some ips to a user but when he tries to login it does not work. It doesnt work by any user. This is my errorlog:

Host 'xx@xx' did not match any of user 'xx' allowed hosts.

Have you any idea?

Mfg

Neo

durulink
11-12-2004, 02:54 PM
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.