PDA

View Full Version : [L] 530 Login failed: Maximum concurrent connections for single host reached.


dxmxa
03-23-2008, 01:50 PM
[L] 530 Login failed: Maximum concurrent connections for single host reached.

who can i change it?

l.d.m
03-23-2008, 03:48 PM
etc\Hosts.Rules

POLICY ACCEPT CONNECTIONS_PER_IP

dxmxa
03-24-2008, 03:59 AM
Default policy
#
# POLICY ACCEPT CONNECTIONS_PER_IP
# POLICY DENY
#
POLICY ACCEPT 2
## PLEASE REMOVE LINE BELOW
#POLICY DENY

# Classes
#
# CLASS CLASS_NAME TOTAL_CONNECTIONS_PER_CLASS
CLASS NORDIC 25
CLASS ADMIN -1

# Rules
#
# ACCEPT I|H IP|HOSTNAME CLASS_NAME CONNECTIONS_PER_IP
# DENY I|H IP|HOSTNAME LOG_STRING
#

ACCEPT I 192.168.1. ADMIN -1
ACCEPT I 127.0.0. ADMIN -1
ACCEPT H .fi NORDIC 2
ACCEPT H .se NORDIC 1
ACCEPT H .no NORDIC 1
DENY I 192.168. "Banned network address"
DENY I 10. "Banned network address"
DENY H .tw "Access from taiwan is prohibited"

Yil
03-25-2008, 06:20 PM
The current default etc/Hosts.Rules file looks like:

###
### This is the Hosts.Rules file for ioFTPD. It is used to control which
### ip addresses and hostnames have access to the server.
###
### This file is read from top to bottom, with the last matching rule
### being the one that applies to the connection. This means that more
### general rules will tend to be at the top of the file, with more
### specific rules matching later (lower).
###

## policy
##
## format:
## POLICY ACCEPT CONNECTIONS_PER_IP
## POLICY DENY
##
## The connections_per_ip argument here appears to only be necessary when
## the server is setup to allow anonymous users or you have multiple users
## sharing accounts. This is because you would normally limit a specific
## user to just 1 or 2 simultaneous connections in the individual user's
## account settings. However when you wish to do something like support
## 10 anon users but you don't want any one person hogging all of slots
## you can use connections_per_ip to prevent this.
##
## By default, we accept all incomming connections.
##
POLICY ACCEPT 4


## classes
##
## format:
## CLASS CLASS_NAME TOTAL_CONNECTIONS_PER_CLASS
##
## -1 for TOTAL_CONNECTIONS_PER_CLASS means unlimited.
##
##
CLASS USERS 25
CLASS ADMIN -1


## rules
##
## rules determine which ip addresses can connect to your server.
##
## rules can be specified by ip address ('I') or hostname ('H').
## both the ip address and hostname can be partial addresses, for
## instance the class C block of '192.168.1.' or any '.com' address.
##
## format:
## ACCEPT I|H IP|HOSTNAME CLASS_NAME CONNECTIONS_PER_IP
## DENY I|H IP|HOSTNAME LOG_STRING
##
ACCEPT I 127.0.0. ADMIN -1
ACCEPT I 192.168. ADMIN -1



use: POLICY ACCEPT 10 or something to get 10 per IP. The file you posted is quite old and likely from 5.8.5 or something so perhaps you might want to upgrade too :)