PDA

View Full Version : ioFTPD problems with bncs


Jog
10-12-2003, 07:30 AM
Hi guys.

i've used ioFTPD 4.x for months and so i'm trying the 5.* version.

now i'm using 5.1.7.

In italy we have a fast provider called fastweb that offer 10 and 100mbit connectivity, but his network is a wan and so only certain people have a public ip (it depends on the payment!).

So the problem is that we use to put ioFTPD on pcs that are in this network, but we want to connect to them also from any other pc on the internet.

We use a pc on this network that have public ip and we mount here a bnc that point to the internal ip of my ioFTPD server.
Example

internal pc with ioFTPD: 1.25.33.54 port 569
pc on fstweb with public ip: 80.21.66.187

on this pc we mount a bnc like this: 80.21.66.187:4569 --> 1.25.33.54:569

Using this bnc everyone on the internet can connect to my ioFTPD server.
But ther's a problem, one persone logins, two, thre and so on... when it arrivers to 5-8 users connected ioFTPD reject connections tha comes from this bnc but continue to accept connection from ips that doesn't use this bnc.
The error with FlasFXP is:

Connecting to MyioFTPD
Connected to MyioFTPD-> IP=80.21.66.187 PORT=4569
Connection failed (Connection lost)

On my ioFTPD logs nothing is written ...

my ioFTPD.ini looks like this:

[Any]
Host = 0.0.0.0
Ports = 1024-9216
Random = False
;Bind =

so everyone can connect.

The problem is that if i use ioFTPD 4.9.4 it works always, but with any of the 5.x versione no :(

does someone as an idea?

ADDiCT
10-12-2003, 07:46 AM
have u properly configged \etc\Hosts.Rules ?

Jog
10-12-2003, 08:27 AM
my Host.Rules is this:
# Default policy
#
# POLICY ACCEPT CONNECTIONS_PER_IP
# POLICY DENY
#
POLICY ACCEPT 100

# Classes
#
# CLASS CLASS_NAME TOTAL_CONNECTIONS_PER_CLASS

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

and so no limitation!

darkone
10-13-2003, 01:44 AM
Actually it sounds like ip has been banned.. (dynamic ban)

Jog
10-13-2003, 03:55 AM
where i can look at this information?

there's a log for banned ip?
I've looked at all my log files but no info on ban ip is present!

it is possible to disable ip ban?

Jog
10-14-2003, 08:45 AM
ok, now i've tryed to set to 1 timing of dynamics ban and it seems to work properly!

thanks d1!!