PDA

View Full Version : [Solved] Cant connect after updating to 5.2.3


Sup3rm4n
10-25-2003, 10:10 AM
I have updated to the newest version and updated the things needed in ioftpd.ini, but now i just get connection refused, whats wrong with my setting:



[ioFTPD]
Ftp_Login_Attempts = 3
Hide_Tray = False
Cache_Max = 100 # Maximum number of cookie files to cache
Directory_Cache_Max = 5000 # Maximum number of directories to cache
TCL_Pool_Size = 10
Double_Click = https://127.0.0.1:10000/
Process_Priority = Normal # (Idle/Normal/High/Realtime)
Worker_Thread_Count = 10 # Number of worker threads
Io_Thread_Count = 3 # Io Threads
LogIn_TimeOut = 15 #
Idle_TimeOut = 9999 #
File_PreAllocation = 0 # Amount of kilobytes to pre-allocate for uploads

File_Concurrent_Requests = 5 # Limit maximum concurrent reads&writes to this value

[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

Ftp_Messages = ..\text\ftp
Telnet_Messages = ..\text\telnet
Html_Files = ..\text\http

Default_Vfs = ..\etc\default.vfs
Environment = ..\etc\ioftpd.env


##################### DEVICES ########################
##
#
# [Device Name]
# Host = <Host/IP> = External host. Address that is shown to clients.
# 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 bind to this address instead of HOST.
#
#


[FTP-Listen]
Host = 192.168.0.1
Global_Inbound_bandwidth = 10
Global_Outbound_bandwidth = 10
Client_Inbound_bandwidth = 2
Client_Outbound_bandwidth = 5

[FTP-Data]
Host = 192.168.0.1
Ports = 1000-2000
Global_Inbound_bandwidth = 190
Global_Outbound_bandwidth = 192


[Any]
Device_Name = FTP-Listen
Data_Devices = FTP-Data

################## END OF DEVICES ####################



##################### SERVICES #######################

[FTP_Service]
Type = FTP
Device_Name = Any
Port = 50000
Description = My FTP Service
User_Limit = 20
Allowed_Users = *
;Messages = ..\text\ftp

### Encryption ###
#
Require_Encrypted_Auth = !*
Require_Encrypted_Data = !*
#Certificate_Name = 192.168.1.11
Explicit_Encryption = True
Encryption_Protocol = SSL3
Min_Cipher_Strength = 56
Max_Cipher_Strength = 384

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

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


[Telnet_Service]
Type = Telnet
Device_Name = Any
Port = 10001
Description = My Telnet Service
User_Limit = 10
Allowed_Users = T !*
;Messages = ..\text\telnet


[HTTP_Service]
Type = HTTP
Device_Name = Any
Port = 10000
Description = My HTTP Service
User_Limit = 50
Allowed_Users = H !*
;Messages = ..\text\http
#Certificate_Name = 192.168.1.11
Explicit_Encryption = False
Encryption_Protocol = SSL3
Min_Cipher_Strength = 128
Max_Cipher_Strength = 384


################## END OF SERVICES ###################


[Network]
Active_Services = FTP_Service Telnet_Service HTTP_Service

Scheduler_Update_Speed = NORMAL # Socket scheduler update speed (HIGH/NORMAL/LOW/DISABLED)

Nagle = False # Enable/Disable TCP Nagle algorithm
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 = 5 #
Ban_Counter_Reset_Interval = 120 #
Temporary_Ban_Duration = 1200 # Seconds host remains banned
Internal_Transfer_Buffer = 65536 # Internal transfer buffer size

any help apreciated:confused: :confused: :confused:

Mouton
10-25-2003, 10:13 AM
Remove that:
[Any]
Device_Name = FTP-Listen
Data_Devices = FTP-Data

And change your [FTP_Service]:
...
Device_Name = FTP-Listen
...
Data_Devices = FTP-Data
...

ihdistro
10-25-2003, 04:22 PM
im having the same problem, any suggestions

[ioFTPD]
Ftp_Login_Attempts = 3
Hide_Tray = False
Cache_Max = 100 # Maximum number of cookie files to cache
Directory_Cache_Max = 5000 # Maximum number of directories to cache
TCL_Pool_Size = 10
Double_Click = http://127.0.0.1:10000
Process_Priority = Normal # (Idle/Normal/High/Realtime)
Worker_Thread_Count = 10 # Number of worker threads
Io_Thread_Count = 3 # Io Threads
LogIn_TimeOut = 15 #
Idle_TimeOut = 220 #
File_PreAllocation = 0 # Amount of kilobytes to pre-allocate for uploads
File_Concurrent_Requests = 5 # Limit maximum concurrent reads&writes to this value

[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

Ftp_Messages = ..\text\ftp
Telnet_Messages = ..\text\telnet
Html_Files = ..\text\http

Default_Vfs = ..\etc\default.vfs
Environment = ..\etc\ioftpd.env


##################### DEVICES ########################
##
#
# [Device Name]
# Host = <Host/IP> = External host. Address that is shown to clients.
# 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 bind to this address instead of HOST.
#
#
[FTP-Listen]
Host = 0.0.0.0
Global_Inbound_bandwidth = 1000
Global_Outbound_bandwidth = 1000
Client_Inbound_bandwidth = 2000
Client_Outbound_bandwidth = 5000

[FTP-Data]
Host = 0.0.0.0
Ports = 1000-2000
Global_Inbound_bandwidth = 5000
Global_Outbound_bandwidth = 5000



################## END OF DEVICES ####################



##################### SERVICES #######################

[FTP_Service]
Type = FTP
Device_Name = FTP-Listen
Data_Devices = FTP-Data
Port = 61
Description = IHD
User_Limit = 10
Allowed_Users = *
;Messages = ..\text\ftp

### Encryption ###
#
;Require_Encrypted_Auth = !*
;Require_Encrypted_Data = !*
#Certificate_Name = 192.168.1.11
Explicit_Encryption = True
Encryption_Protocol = SSL3
Min_Cipher_Strength = 128
Max_Cipher_Strength = 384

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

### Traffic Balancing ###
#
;Data_Devices =
;Random_Devices = False


[Telnet_Service]
Type = Telnet
Device_Name = Any
Port = 10001
Description = My Telnet Service
User_Limit = 10
Allowed_Users = T !*
;Messages = ..\text\telnet


[HTTP_Service]
Type = HTTP
Device_Name = Any
Port = 10000
Description = My HTTP Service
User_Limit = 50
Allowed_Users = H !*
;Messages = ..\text\http
#Certificate_Name = 192.168.1.11
Explicit_Encryption = False
Encryption_Protocol = SSL3
Min_Cipher_Strength = 128
Max_Cipher_Strength = 384


################## END OF SERVICES ###################


[Network]
Active_Services = FTP_Service HTTP_Service

Nagle = False # Enable/Disable TCP Nagle algorithm
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 = 5 #
Ban_Counter_Reset_Interval = 120 #
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)



[Sections]
## Maximum of 10 different credit sections ##
#
# <alias> = <credit section #> <path>
# <alias> = <credit section #> <stats section #> <path>
#

Home = 0 1 /home/*
Default = 0 *


[VFS]
###
# Default attributes for files & directories
#
# Required Parameters: <filemode> <owner uid>:<owner gid>
#

Default_Directory_Attributes = 755 0:0
Default_File_Attributes = 644 0:0


###
# Command specific rules
#
Modify_Stats_On_Delete = False


###
# Detailed permissions for directories
#
# priviledge = <virtual path> <rights>
#
Upload = * 3
Resume = * 3
Download = * *
MakeDir = * *
RemoveOwnDir = * *
RemoveDir = * 1VM
Rename = * 1VM
RenameOwn = * *
Overwrite = * 3
Delete = * 1VM
DeleteOwn = * *
NoStats = * =lSpeed !*
ShowActivity = /private/* -ioFTPD !*
ShowActivity = * !A *

[Reset]
WeeklyReset = Sunday
MonthlyReset = 1st


[Scheduler]
###
# Scheduler
#
# Event = <minutes> <hours> <day of week> <day of month> Command
#
# Internal Commands:
#
# &Reset : Resets upload/download counters
# &Service_Update : Reloads devices and Restarts services, if bind ip of service has changed
#
Reset = 0 0 * * &Reset
Service_Update = 10,30,50 * * * &Service_Update
Rotate_Log = 0 0 * * EXEC ..\scripts\ioBanana.exe rotatelog
Day_Stats = 59 23 * * EXEC ..\scripts\ioBanana.exe daystats
;Spider = 0 0 * * ..\scripts\ioBanana.exe SPIDER FORCEDELETE


[Events]
;OnUploadError =
;OnUploadComplete =
;OnDownloadError =
;OnDownloadComplete =
;OnResume =
;OnUpload =
;OnFtpNewDir =
;OnFtpDelDir =
;OnFtpLogIn =
;OnTelnetLogIn =
;OnHttpLogIn =
;OnServerStart =
;OnServerStop =
OnFtpLogIn = EXEC ..\ioA\ioA.exe logon
OnUploadComplete = EXEC ..\scripts\ioBanana.exe upload
OnUploadError = EXEC ..\scripts\ioBanana.exe uploadfailed



[Pre]
;list =
;stor =
;mkd =
user = EXEC ..\scripts\ioBanana.exe closed
list = EXEC ..\scripts\ioBanana.exe ban
retr = EXEC ..\scripts\ioBanana.exe limiter
mkd = EXEC ..\scripts\ioBanana.exe dupecheck_dir
mkd = EXEC ..\scripts\ioBanana.exe checkdenypre
stor = EXEC ..\scripts\ioBanana.exe pre_stor



[Post]
;mkd =
;rmd =
;stor =
;dele =
pass = %EXEC ..\scripts\ioBanana.exe alert %[service($service)(users)] %[$service]
dele = EXEC ..\scripts\ioBanana.exe zsdel
mkd = EXEC ..\scripts\ioBanana.exe mkd
rmd = EXEC ..\scripts\ioBanana.exe dirlog
rnfr = EXEC ..\scripts\ioBanana.exe dirlog
rnto = EXEC ..\scripts\ioBanana.exe dirlog



[HTTP]
Executable = *.exe *.com *.cgi *.php *.php3 *.bat


[Scripts]
## SITE <script> <parameters>
#
# !file = Show file
# @string = Alias
# %file = Execute file (translate cookies)
# file = Execute file
#
;EXEC = ..\scripts\exec.bat
HELP = !..\help\help.msg
WKUP = @stats wkup
WKDN = @stats wkdn
;rules = !..\text\ftp\rules.msg
ginfo = EXEC ..\scripts\ioBanana.exe ginfo
gstats = EXEC ..\scripts\ioBanana.exe gstats
pretime = EXEC ..\scripts\ioBanana.exe pretime
new = EXEC ..\scripts\ioBanana.exe sitenew
cid = EXEC ..\scripts\ioBanana.exe cid
resetstats = EXEC ..\scripts\ioBanana.exe resetstats
roulette = EXEC ..\scripts\ioBanana.exe roulette
dice = EXEC ..\scripts\ioBanana.exe dice
open = EXEC ..\scripts\ioBanana.exe open
close = EXEC ..\scripts\ioBanana.exe close
approve = EXEC ..\scripts\ioBanana.exe approve
listapproved = EXEC ..\scripts\ioBanana.exe listapproved
version = EXEC ..\scripts\ioBanana.exe version
rotatelog = EXEC ..\scripts\ioBanana.exe rotatelog
rescan = EXEC ..\scripts\ioBanana.exe rescan
totals = EXEC ..\scripts\ioBanana.exe totals
age = EXEC ..\scripts\ioBanana.exe age
user = @uinfo
user = EXEC ..\scripts\ioBanana.exe age uinfo
undupe = EXEC ..\scripts\ioBanana.exe undupe
nfo = EXEC ..\scripts\ioBanana.exe nfo
uptime = EXEC ..\scripts\ioBanana.exe uptime
restart = EXEC ..\scripts\ioBanana.exe restart
stransfer = EXEC ..\scripts\ioBanana.exe transfer
pre = EXEC ..\scripts\ioBanana.exe pre
wipe = EXEC ..\scripts\ioBanana.exe dirlog
nuke = EXEC ..\scripts\ioBanana.exe kicknuke NUKE
unnuke = EXEC ..\scripts\ioBanana.exe kicknuke UNNUKE
reqfilled = EXEC ..\scripts\ioBanana.exe kicknuke REQFILLED
rank = EXEC ..\scripts\ioBanana.exe rank
moverls = EXEC ..\scripts\ioBanana.exe moverls
nuke = EXEC ..\ioA\ioA.exe nuke
unnuke = EXEC ..\ioA\ioA.exe unnuke
request = EXEC ..\ioA\ioA.exe request
reqfilled = EXEC ..\ioA\ioA.exe reqfilled
reqdel = EXEC ..\ioA\ioA.exe reqdel
pre = EXEC ..\ioA\ioA.exe pre
invite = EXEC ..\ioA\ioA.exe invite
newdate = EXEC ..\ioA\ioA.exe newdate
ioaver = EXEC ..\ioA\ioA.exe ioaver
msg = EXEC ..\ioA\ioA.exe msg
wipe = EXEC ..\ioA\ioA.exe wipe
give = EXEC ..\ioA\ioA.exe give
take = EXEC ..\ioA\ioA.exe take
search = EXEC ..\ioA\ioA.exe search
rescan = EXEC ..\ioA\ioA.exe rescan
rescanall = EXEC ..\ioA\ioA.exe rescanall
onel = EXEC ..\ioA\ioA.exe onel
sfv = EXEC ..\ioA\ioA.exe sfv
size = EXEC ..\ioA\ioa.exe size
syslog = EXEC ..\ioA\ioa.exe syslog
errlog = EXEC ..\ioA\ioa.exe errlog
cmdlog = EXEC ..\ioA\ioa.exe cmdlog
weekly = EXEC ..\ioA\ioa.exe weekly
transfer = EXEC ..\ioA\ioa.exe transfer
resetstats = EXEC ..\ioA\ioa.exe resetstats
resetuser = EXEC ..\ioA\ioa.exe resetuser

[Modules]
;CookieModule = ..\modules\cookie.dll
;SuperCookieModule = ..\modules\supercookie.dll
;UserModule = ..\modules\networkuser.dll
;GroupModule = ..\modules\networkgroup.dll

......

megauser
10-26-2003, 12:29 AM
isnt your 127.0.0.1 address conflicting with the 192.168.x.x address.. ?? or am I missing something here...

Localhost is localhost...

sorry, if Im wrong here, but its late :)

ihdistro
10-26-2003, 07:42 AM
No, Its just for the HTTP interface (that 127.0.0.1) .. the others are 0.0.0.0 which is use any connection avalible. Thats not the issue here ... that was unchanged from before.

Mouton
10-26-2003, 12:11 PM
Try to go back to your old config see if it works, then change your config block by block untill u find what config settings make it not work.

also check with netstat -an (in DOS) to see what ports (services) have started correctly.

ihdistro
10-27-2003, 01:08 PM
Thanks .. should have thought about that before ... Damn troubleshooting Steps :)