Thread: Hosts.Rules
View Single Post
Old 09-21-2011, 09:59 AM  
Rusher
Member
 
Join Date: Oct 2004
Posts: 57
Default

Hi

sorry for not explaining my problem more ingoing.. but here goes

i have in my ioftpd the following line :

Reject_Unknown_Ips = True

and well server lets me "try" to login example as follows :

[16:49:25] [R] Connecting to SERVER -> DNS=xxxxxxx IP=xxxxxxx PORT=xxxx
[16:49:25] [R] Connected to SERVER
[16:49:25] Ident Request: xxxxxxxx - UserID: xxxxxxx
[16:49:25] [R] 220 FTP Server ready.
[16:49:25] [R] AUTH TLS
[16:49:25] [R] 234 AUTH TLS successful.
[16:49:25] [R] Connected. Negotiating TLSv1 session
[16:49:25] [R] TLSv1 negotiation successful...
[16:49:25] [R] TLSv1 encrypted session using cipher ECDHE-RSA-AES256-SHA (256 bits)
[16:49:25] [R] PBSZ 0
[16:49:25] [R] 200 PBSZ 0 successful.
[16:49:25] [R] USER rusher
[16:49:25] [R] 331 Password required for rusher.
[16:49:25] [R] PASS (hidden)
[16:49:25] [R] 530 Login failed: Your IP/hostname is not authorized.


and when setting POLICY DENY in HOSTS.RULES i get following example :

[16:52:45] [R] Connecting to SERVER -> DNS=xxxxxxx IP=xxxxxxx PORT=xxxx
[16:52:45] [R] Connected to SERVER
[16:52:45] [R] Connection failed (Connection closed by server)

this is the way i would like ioftpd to treat all connections that is not in the user files, WITHOUT having to edit hosts.rules

i hope this feature could be considered for future ioftpd versions if not possible with the current one
Rusher is offline   Reply With Quote