PDA

View Full Version : FXP outgoing problem with Win2003


Jog
02-03-2005, 05:16 AM
Hi guys,
i've a site with latest ioFTPD and i've some problems when i make FXP outgoing to other sites.

This is a Win2003 machine, the others are WinXP or Win2k.

the configuration of my ioFTPD is the same of all other sites, but with this one i had a problem when making outgoing FXP.

It transfer one file and so it blocks, i had to disconnect from ftp and relaunch my queue, so it transfer An other one file and it blocks ... and so on!
I tryed 3 different clients (UltraFXP, FlashFXP and FTPRush) but always the same problem.

My scripts are: ioA, php_psio, NewDir and others not relevant, all at the latest version.

Any idea?
The only difference between this and others site is that here i have Win2003 :(

Zer0Racer
02-03-2005, 08:15 AM
I doubt there is a problem with ioFTPD and Win2k3. It's developed on machine running Win2k3 so.. Must be something in your config or problem with hw, fw, nic drivers or something.

What port settings etc. do you use?

Jog
02-03-2005, 02:44 PM
this are 2 extract of my ioFTPD.ini

[Threads]
Process_Priority = NORMAL # Suggested process base priority (Idle/Normal/High/Realtime)
Io_Threads = 2 # Number of io threads
Worker_Threads = 1 # Number of worker threads
Worker_Fibers = 50 # Initial number of fibers
Encryption_Threads = 2 # Number of encryption threads

[File]
MessageCache_Size = 1000 # Amount of message files to cache
DirectoryCache_Size = 1000 # Amount of directories to cache per cache bucket (8 buckets)
Device_Concurrency = 5 # Maximum simultanous io operations per device
Upload_PreAllocation = 0 #

[Locations]
User_Id_Table = ..\etc\UserIdTable
Group_Id_Table = ..\etc\GroupIdTable
Hosts_Rules = ..\etc\Hosts.Rules
User_Files = ..\users
Group_Files = ..\groups
Log_Files = ..\logs
Cache_Files = ..\cache
Default_Vfs = ..\etc\default.vfs
Environment = ..\etc\ioftpd.env

##################### DEVICES ########################
##
#
# [Device Name]
# Host = <Host/IP> # External host. Address shown to clients. (0.0.0.0 = any local ip)
# Ports = <Begin-End> # Ports to use for data transfers. May contain comma seperated list of port ranges.
# Random = <True/False> # Use ports in random order
# Bind = <Host/IP> # Internal host. If specified, connections are bound to this address instead of HOST.
#
# Global_Inbound_Bandwidth = <kB/s> # Limit overall inbound speeds
# Global_Outbound_Bandwidth = <kB/s> # Limit overall outbound speeds
# Client_Inbound_Bandwidth = <kB/s> # Limit client inbound speeds
# Client_Outbound_Bandwidth = <kB/s> # Limit client outbound speeds
#
[Any]
Host = 0.0.0.0
Ports = 1024-2048
Random = True
;Global_Inbound_Bandwidth = 10000
;Global_Outbound_Bandwidth = 10000
;Client_Inbound_Bandwidth = 100 [*registered version*]
;Client_Outbound_Bandwidth = 50 [*registered version*]
;Bind =
################## END OF DEVICES ####################

##################### SERVICES #######################
[FTP_Service]
Type = FTP
Device_Name = Any
Port = 21
Description = FTP Service
User_Limit = 100
Allowed_Users = !A *
Messages = ..\text\ftp

### Encryption ###
Require_Encrypted_Auth = !1 !S *
Require_Encrypted_Data = !*
Certificate_Name = onecert
Explicit_Encryption = True
Encryption_Protocol = SSL3
Min_Cipher_Strength = 128
Max_Cipher_Strength = 256

### IDNT command handler ###
Get_External_Ident = True

### Traffic Balancing ###
;Data_Devices =
;Random_Devices = True

[Network]
Active_Services = FTP_Service
Ident_Timeout = 5 # Set ident timeout (seconds)
Hostname_Cache_Duration = 1800 # Seconds cached hostname is valid
Ident_Cache_Duration = 120 # Seconds cached ident is valid
Connections_To_Ban = 1000000 #
Ban_Counter_Reset_Interval = 30 #
Temporary_Ban_Duration = 1200 # Seconds host remains banned
Internal_Transfer_Buffer = 65536 # Internal transfer buffer size
Scheduler_Update_Speed = NORMAL # Socket scheduler update speed (HIGH/NORMAL/LOW/DISABLED)

[Ftp]
Idle_TimeOut = 120
Login_Attempts = 3
Login_TimeOut = 15
Socket_Send_Buffer = 4096
Socket_Recv_Buffer = 1024
DataSocket_Nagle = False
Transfer_Buffer = 65536 # For maximum scalability, set Transfer & DataSocket buffers to to low values
DataSocket_Send_Buffer = 32864
DataSocket_Recv_Buffer = 32864

Mouton
02-03-2005, 04:31 PM
Try to fxp to another site.
This might be a problem with the remote site you're sending to.

Jog
02-03-2005, 05:36 PM
i tryed fxp to a lot of different site.

the problem is only when i try to fxp fromt this to any other, when i fxp from others to this i've NO problems :(

mr. pd
11-02-2005, 07:31 AM
i tryed fxp to a lot of different site.

the problem is only when i try to fxp fromt this to any other, when i fxp from others to this i've NO problems :(

Had same problem when testing/configuring my own FTP and after a while I found out that it's a "different" problem and has nothing to do with which OS you are using or ioFTPD or any other FTPD.

You're behind a router on a LAN trying to FXP out from that same LAN to an outside FTP. You connect to the internal (LAN) IP of the FTPD from an internal (LAN) IP then trying to fxp from there to a WAN IP. Simple test is to let "outside" users try to do same and you iwll see it will fxp out, simply cuz they connect to the EXTERNAL IP and router doesn't have problems with that (that is when you set up the correct pasv range in your router and ini ioFTPD file).

There probably is someone aroudn here wjo could give a more technical correct explanation but this is the "done by a common user" one ;)

One more remark if the above explanation is true....:
Why fxp from your lLAN to another ftp when you have same or even faster results (not as much resources. in between steps) uploading from your harddisks to outside FTP?