Go Back   FlashFXP Forums > > > >

ioFTPD General New releases, comments, questions regarding the latest version of ioFTPD.

Reply
 
Thread Tools Rate Thread Display Modes
Old 03-23-2008, 01:50 PM   #1
dxmxa
Member
ioFTPD Foundation User
 
Join Date: Sep 2006
Posts: 32
Default [L] 530 Login failed: Maximum concurrent connections for single host reached.

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

who can i change it?
dxmxa is offline   Reply With Quote
Old 03-23-2008, 03:48 PM   #2
l.d.m
Member
 
Join Date: Feb 2007
Posts: 31
Default

etc\Hosts.Rules

POLICY ACCEPT CONNECTIONS_PER_IP
l.d.m is offline   Reply With Quote
Old 03-24-2008, 03:59 AM   #3
dxmxa
Member
ioFTPD Foundation User
 
Join Date: Sep 2006
Posts: 32
Default

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"
dxmxa is offline   Reply With Quote
Old 03-25-2008, 06:20 PM   #4
Yil
Too much time...
FlashFXP Beta Tester
ioFTPD Administrator
 
Join Date: May 2005
Posts: 1,194
Default

The current default etc/Hosts.Rules file looks like:

Code:
###
### 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
Yil is offline   Reply With Quote
Reply

Tags
connections, host, reached, single, [l]

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 12:56 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)