Go Back   FlashFXP Forums > > > >

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

Reply
 
Thread Tools Rate Thread Display Modes
Old 10-03-2003, 02:29 PM   #1
ADDiCT
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Aug 2003
Posts: 517
Default upgrading to 5.1.* : what to change in ioftpd.ini

from 4.* to 5.*   (keeping users & groups)

U will need to reinstall all scripts, since most of them use different techniques (like shmem) or some commands have changed. U can however keep your users & groups, what is probably most important

1. Backup the 3 dirs \users\ and \groups\ and \etc\
2. Install new ioFTPD 5
3. Put the dirs \users\ and \groups\ and \etc\ back from your backup.
Make sure u keep the new \etc\Host.Rules file from ioFTPD 5
4. Go to http://www.ioftpd.com/passwdconv/
- paste your \etc\passwd file there to convert it, then rename it to \etc\UserIdTable
- paste your \etc\group file there to convert it, then rename it to \etc\GroupIdTable
5. config your new ioFTPD 5 (ioftpd.ini, host.rules, ...)

__________________________________________________

from 5.0.* to 5.1.*

This applies to sections [scripts] [events] [sheduler] [pre] [post] in ioFTPD.ini
(basically everywhere u run an external script)


old ioftpd 5.0.* (and 4.*)

[Events]
OnUploadComplete = ..\scripts\ioZS\ioZS.exe Upload
OnUploadComplete = ..\scripts\nfourl.itcl
[Post]
dele = ..\scripts\ioZS\ioZS.exe Delete
[Scripts]
traffic = ..\scripts\ioGroups.exe sitestats
myinfo = %..\scripts\ioGroups.exe userinfo %[$user]


new ioftpd 5.1.*

[Events]
OnUploadComplete = EXEC ..\scripts\ioZS\ioZS.exe Upload
OnUploadComplete = TCL ..\scripts\nfourl.itcl
[Post]
dele = EXEC ..\scripts\ioZS\ioZS.exe Delete
[Scripts]
traffic = EXEC ..\scripts\ioGroups.exe sitestats
myinfo = %EXEC ..\scripts\ioGroups.exe userinfo %[$user]

Basically, u put EXEC infront of all executable scripts (exe bat ...), and TCL infront of itcl scripts. Note that % goes infront of the EXEC/TCL. Message files and aliasses remain unchanged:
HELP = !..\help\help.msg
RHS = @config rehash

Also in message files, using the %[execute(..)] cookie:
%[execute(EXEC D:\ioftpd\scripts\blabla.exe Arguments)]
ADDiCT is offline   Reply With Quote
Old 10-04-2003, 09:54 AM   #2
EwarWoo
Senior Member
FlashFXP Registered User
ioFTPD Registered User
 
Join Date: Oct 2002
Posts: 462
Default Version 5.1.3 to version 5.1.6

All you need to change is the .exe

(And yeah, I do know its a bit silly with these ones, but still will help some considerring it came with full package does make 1 stop and wonder)
EwarWoo is offline   Reply With Quote
Old 10-13-2003, 04:39 AM   #3
EwarWoo
Senior Member
FlashFXP Registered User
ioFTPD Registered User
 
Join Date: Oct 2002
Posts: 462
Default 5.1.7 - 5.1.8

1. Replace ioFTPD.exe

2. Open ioFTPD.ini and replace:
Worker_Thread_Min = 10 # Minimum amount of worker threads
Worker_Thread_Max = 10 # Maximum amount

with:
Worker_Thread_Count = 10 # Number of worker threads
EwarWoo is offline   Reply With Quote
Old 10-17-2003, 07:54 AM   #4
EwarWoo
Senior Member
FlashFXP Registered User
ioFTPD Registered User
 
Join Date: Oct 2002
Posts: 462
Default 5.1.8 - 5.1.17

Update ioFTPD.exe

In ioFTPD.ini in the section titled:

[ioFTPD]
ad dthe following line:
File_Concurrent_Requests = 5 # Limit maximum concurrent reads&writes to this value

(ini change came in for 5.1.11, rest are just .exe swaps)
EwarWoo is offline   Reply With Quote
Old 10-23-2003, 05:43 AM   #5
EwarWoo
Senior Member
FlashFXP Registered User
ioFTPD Registered User
 
Join Date: Oct 2002
Posts: 462
Default 5.1.17 - 5.2.2

Wohooo!! We now have B/W limitting
Only downside is another largish upgrade job
Here we go.

Open ioFTPD.ini and change the following:
1. Under [Device Name] (the listing for the device in device section, default is [ANY]) add the lines:
Global_Inbound_bandwidth = 100 # Inbound bandwidth in kb/sec
Global_Outbound_bandwidth = 100 # Outbound bandwidth in kb/sec

2. Under [Network] add the line:
Scheduler_Update_Speed = NORMAL # Socket scheduler update speed (HIGH/NORMAL/LOW/DISABLED)

3. Under [Change-Permissions]
add the following:
speedlimit = 1GM

Change the .exe

And we're done, go limit those leechers

(ini update is for 5.1.11 - 5.2.0, rest just .exe updates.)
EwarWoo is offline   Reply With Quote
Old 10-23-2003, 12:36 PM   #6
iXi
Senior Member
ioFTPD Foundation User
 
Join Date: Nov 2002
Posts: 220
Default

works nice

but 1 question where are the speedlimit settings for each user are stored?

cya
iXi is offline   Reply With Quote
Old 10-23-2003, 02:36 PM   #7
Zer0Racer
Senior Member
ioFTPD Scripter
 
Join Date: Oct 2002
Posts: 703
Default

In user file. LIMITS <BW> <BW> X X X
Zer0Racer is offline   Reply With Quote
Old 10-24-2003, 03:35 AM   #8
EwarWoo
Senior Member
FlashFXP Registered User
ioFTPD Registered User
 
Join Date: Oct 2002
Posts: 462
Default 5.2.2 - 5.2.3

1. Open ioFTPD.ini: Change your default device (for sake of demonstration will use [FTP-Data] as d1 did). Change Inbound_bandwidth and Outbound_bandwidth to Global_Inbound_bandwidth and Global_Outbound_bandwidth.

Steps 2,3 are optional and only useful if you want to cap control channel speeds and protect from DoS attacks.

2. Add a new device called [FTP-Listen] (or whatever) with the following settings:
[FTP-Listen]
Host = (same host as FTP-Data)
Global_Inbound_bandwidth = 10 #limit overall speeds
Global_Outbound_bandwidth = 10 #limit overall speeds
Client_Inbound_bandwidth = 2 #limit per user speeds
Client_Outbound_bandwidth = 5 #limit per user speeds

3. [FTP-Service] (or whatever is your ftp service name)
...
Device_Name = FTP-Listen
Data_Devices = FTP-Data

4. Change the exe.

Now thats not the only config, not by a long way from looks of it, but thats prolly what I'll be using and looks like most straight forward.
Must admit though, dont wanna say this does work till I've tried it and too busy to update my sites atm, so if anyone sees something wrong drop a reply.

/edit: just updated my sites and seems to work anyways
EwarWoo is offline   Reply With Quote
Old 10-27-2003, 09:32 AM   #9
Zer0Racer
Senior Member
ioFTPD Scripter
 
Join Date: Oct 2002
Posts: 703
Default 5.2.3 - 5.2.6

Change your ioFTPD.ini:
[ioFTPD]
Encryption_Thread_Count = 1 # Good value for encryption thread count is # of logical processors

Upgrade .exe
Zer0Racer is offline   Reply With Quote
Old 10-27-2003, 10:48 AM   #10
bounty
Senior Member
ioFTPD Scripter
 
Join Date: Aug 2002
Posts: 529
Default

wouldn't be possible to offer a sample of how the latest ioFTPD.ini should looks please ??

because with all these updates & changes i'm lost (and maybe not only me)

would be really appreciate if someone want to keep a file attachment up do date in the 1st post or in another post

very big thx
bounty

(sorry for my crappy english )

*edit by Mouton: French translation by Google:
ne serait-il pas possible pour offrir un échantillon de la façon dont le dernier ioFTPD.ini devrait-il des regards satisfaire?? parce qu'avec tous ces mises à jour et changements que je suis perdu (et peut-être non seulement je) serais vraiment apprécie si quelqu'un veulent garder un attachement de dossier vers le haut date dans la 1ère générosité très grande de thx de poteau
bounty is offline   Reply With Quote
Old 10-27-2003, 11:09 AM   #11
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default ioFTPD.526.ini

There.

Still valid for 5.2.14u and 5.2.15r.
Attached Files
File Type: ini ioftpd.526.ini (8.0 KB, 363 views)
Mouton is offline   Reply With Quote
Old 11-02-2003, 04:22 PM   #12
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default 5.2.6 to 5.2.14u or 5.2.15r

Upgrade .exe only.

Or get full package if you want to develop scripts (the headers have changed).
Mouton is offline   Reply With Quote
Old 11-18-2003, 09:20 AM   #13
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default 5.2.15r to 5.3.9r

Update .exe

Optional: Change ioFTPD.ini setting 'Directory_Cache_Max' to 'DirectoryCache_Size'.

Get whole package if you want the new header files (to develop scripts).

Default .ini from 5.3.0r package attached. Still valid for 5.3.9r
Attached Files
File Type: ini ioftpd.ini (8.6 KB, 236 views)
Mouton is offline   Reply With Quote
Old 12-27-2003, 02:53 AM   #14
ADDiCT
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Aug 2003
Posts: 517
Default

5.3.9 -> 5.4.3:
alot of changes in the ioftpd.ini file so i think it's best to completely reconfigure the default ini file

Gone: [ioFTPD]
New: [Threads] & [File] & [Ftp] & [Telnet]
Change: [Pre] becomes [FTP_Pre-Command_Events]
Change: [Post] becomes [FTP_Post-Command_Events]
Change: [Scripts] becomes [FTP_Custom_Commands]
New: [Telnet_Binaries]
Change: [Ftp-Permissions] becomes [FTP_Command_Permissions]
Change: [Ftp-SITE-Permissions] becomes [FTP_SITE_Permissions]
Change: [Telnet-Permissions] becomes [Telnet_Command_Permissions]
New: [Telnet_Binary_Permissions]
Change: [Http-Permissions] becomes [Http_Permissions]

also some (all?) message files changed, the most questions are asked about this one:
\text\ftp\stat.msg becomes \text\ftp\TransferComplete

Replace those events:

;OnFtpNewDir =
;OnFtpDelDir =
;OnFtpLogIn =

by

;OnNewDir =
;OnDelDir =
;OnLogIn =

and add those two:
;OnServiceStart =
;OnServiceStop =

Note: The new INI shows [Change_Permissions], but you need to change it to [Change-Permissions] for it to work!
If you don't, everyone will be able to use all commands! (Only applies for u version. Newer r versions are fixed.)

Also, make sure Messages = ..\text\ftp is un-commented in your services, as there is no default value anymore.
ADDiCT is offline   Reply With Quote
Old 01-09-2004, 12:56 PM   #15
MastaJ
Junior Member
ioFTPD Registered User
 
Join Date: Sep 2003
Posts: 6
Default 5.4.3r to 5.5.6r

- Replace .exe

- ioFTPD.ini, under [Threads]

add:
Worker_Fibers = 2-5x # (x = # of Worker_Threads)

delete:
Message_Threads = ...

- ioftpd.env
add:
SYSTEMPATH=%[$path]
VIRTUALPATH=%[$pwd]
MastaJ is offline   Reply With Quote
Reply

Tags
ioftpd, onuploadcomplete, scriptsiogroups.exe, scriptsiozsiozs.exe, upload

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 02:57 AM.

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