Go Back   FlashFXP Forums > > > >

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

Closed Thread
 
Thread Tools Rate Thread Display Modes
Old 04-04-2007, 12:26 PM   #76
tuff
Senior Member
FlashFXP Registered User
ioFTPD Scripter
 
Join Date: Jan 2003
Posts: 277
Default

Quote:
Originally Posted by pion View Post
afaik it's not possible to do without loading a module for it, meaning it's not possible to use a script for it..? Feel free to correct me if I'm wrong
eh? your logic is flawed :P if you couldnt script something without a module then there would be very little scripts for io :P

what exactly are you wanting to do? if its simply sync the userbase with an sqldb then a scheduled script simply using [resolve uid/gid $uid/$gid] etc and the extended itcl userfile commands is more than enough to do that, using a dll would also allow the script to put the info into the sqldb, dunno why you would need a module
__________________
#iotools #ioftpd (both on efnet)
tuff is offline  
Old 04-04-2007, 11:35 PM   #77
Yil
Too much time...
FlashFXP Beta Tester
ioFTPD Administrator
 
Join Date: May 2005
Posts: 1,194
Default

In theory there is no need for a user module. You could simply have an application connect to the server and issue commands to create/delete/modify user accounts... I'll bet you that 99% of the functionality sought by a user module could be achieved with a new event run at password validation if used in combination with existing events. The new event could create/modify/etc the account and perhaps take over validating the password. If it had to fetch the user info from somewhere, create the account, etc isn't that what the user module would be doing anyway? That's probably the way I'd go... Definitely would still require some sort of background sync routine though in case the central authority was off-line or something...
Yil is offline  
Old 04-05-2007, 05:38 AM   #78
isteana
Senior Member
 
Join Date: Mar 2006
Posts: 110
Default

hope next version will full support unicode(make 100% handling it) for non english
isteana is offline  
Old 04-05-2007, 10:40 AM   #79
tuff
Senior Member
FlashFXP Registered User
ioFTPD Scripter
 
Join Date: Jan 2003
Posts: 277
Default

imo Yil should be spending time fixing the stability issues reported, and not wasting time adding features atm
__________________
#iotools #ioftpd (both on efnet)
tuff is offline  
Old 04-05-2007, 11:06 AM   #80
ESP
Junior Member
FlashFXP Registered User
 
Join Date: Sep 2005
Posts: 4
Default

I can't get Idle_Exempt to work.

What exactly is the format? Here's what I have:
Idle_Exempt = 1M!

Tried rehashing and restarting and it still doesn't work. Anybody else having this problem?
ESP is offline  
Old 04-05-2007, 11:21 AM   #81
tuff
Senior Member
FlashFXP Registered User
ioFTPD Scripter
 
Join Date: Jan 2003
Posts: 277
Default

you didnt read the changelog that well? Idle_Exempt = -user =group !*
__________________
#iotools #ioftpd (both on efnet)
tuff is offline  
Old 04-05-2007, 01:27 PM   #82
peep
Senior Member
FlashFXP Scripter
ioFTPD Foundation User
 
Join Date: Sep 2003
Posts: 132
Default

Yli: Sadly I didn't have the time to post while still at home but I've encountered that io also crashes when not running it as service, so it's not due to running as service. the crash.log had the same exception but different addresses (compared with the previous crashlog when running io as service).
This baffles me, hasn't anyone else encountered the same kind of crashes that I am encountering? I didn't have time to test it any more before running off.
Won't be home before tuesday next week but perhaps you'll stumble across what might be causing the crashes before that, fingers crossed

Happy easter (to all of you who celebrate it),
peep
peep is offline  
Old 04-05-2007, 04:18 PM   #83
Yil
Too much time...
FlashFXP Beta Tester
ioFTPD Administrator
 
Join Date: May 2005
Posts: 1,194
Default

I redid the whole source tree last night so I can distribute it in an easy to compile form that includes the tcl/php includes and libraries in the next release. I fixed Idle_Ignore, the directory rename problem, and the permission setting issue with drive root dirs, and a shutdown issue with the timer thread.

I also spent a lot of time the last couple days trying to track down the instability in shutting down. I'm reasonably convinced there is something wrong with the windows socket code. Whether it's the use of it in ioFTPD or the library itself is unknown right now though. If I comment out the closesocket() and WSAcleanup() calls everything is fine. If I leave them in it's dieing very often in one of those two functions. When it somehow makes it past those calls it crashes in the exit code in the windows library itself. There is clearly some form of memory corruption going on (the debug version reports that as the error). I'm going to keep looking into this but tools like Purify aren't finding anything which leads me to believe ioFTPD itself isn't corrupting memory but the actual windows socket library is doing the corrupting. For the record the unhandled exceptions starting with 0x7 are where the various windows dll's are loaded. I'm guessing that if memory corruption is actually taking place via the windows socket library in some cases that's also the cause of the runtime stability issue as users log in/out/etc. Interestingly enough pasv/active connections don't seem to have issues. I've transfered tens of thousands files to get it to crash and couldn't, but try forcing some connections closed during shutdown (or maybe during an idle timeout?) and all hell breaks loose...
Yil is offline  
Old 04-06-2007, 04:56 AM   #84
LordM
Senior Member
ioFTPD Foundation User
 
LordM's Avatar
 
Join Date: Jul 2005
Location: Germany
Posts: 138
Default

If I understand you correctly, then it could be, that it has to do with the windows dlls. And that would somehow explain, why I get a lot of crashes on Win 2k3 Server but it runs nearly stable on WinXP. Just my guess, that there are different dlls in it.
__________________
I'm using:

ioFTPD 7.7.2
ioNiNJA BETA Stable v0.8.9.6
LordM is offline  
Old 04-06-2007, 06:06 AM   #85
Yil
Too much time...
FlashFXP Beta Tester
ioFTPD Administrator
 
Join Date: May 2005
Posts: 1,194
Default Version 6.0.2

New version! Let me know how this works...

ioFTPD-v6.0.2.zip

Code:
v6.0.2 Release Notes:

1) Script compatility update! REMOVE THE "lib\tcl8.4\encoding" DIRECTORY.
   Looks like tcl might return strings in utf-8 format when configured
   correctly.  We could probably get around this using
   "fconfigure $handle -encoding identity" when trying to push stuff
   like .nfo files to the user but if TCL is able to find the default
   encoding for the windows system codepages it starts internally keeping
   everything in utf-8.  To play it safe and prevent other things
   from getting converted the only choice is to delete the directory which
   we clearly didn't need before...

2) Fixed an issue with the timer thread during shutdown.

3) The PHP function io_group_list_seek is now available.

4) Fixed Idle_Ignore. It was broken for all but single word commands.

5) You can now chmod/chown/etc mounted drive letters.  Since the code
   refused to access raw drives for permission info in some cases this
   may have been causing other issues.

6) Rename directory fixed.  It considered any rename a full move before
   and thus would copy all the files over if even in some drive.

7) Non-perfect fix applied to chmod/chown -R and move directory that
   prints status information every 10 seconds or so.  This should prevent
   FTP clients from disconnecting you on long operations and give you
   a happy feeling that the server is still there.

8) Changed around a lot of the shutdown logic.  Probably not really stable
   but you're exiting anyway...

9) For scripters added version info to the end of the executable.  The
   end of the file is now
     [version-string] NULL [length-of-version-string] NULL
   i.e. 6-0-2r\0\06\0
Yil is offline  
Old 04-06-2007, 11:39 AM   #86
Flow
Senior Member
FlashFXP Beta Tester
ioFTPD Foundation User
 
Flow's Avatar
 
Join Date: Dec 2001
Posts: 306
Default

Yil, /me love you long time never forget

ioftpd started @ 06/04/2007 15:11:51, running for 0d 3h 25m 27s

Berry Nice !
Flow is offline  
Old 04-06-2007, 01:31 PM   #87
tuff
Senior Member
FlashFXP Registered User
ioFTPD Scripter
 
Join Date: Jan 2003
Posts: 277
Default

http://www.iotools.co.uk/forum/viewtopic.php?p=162#162

an updated site version for 6.0.2+
__________________
#iotools #ioftpd (both on efnet)
tuff is offline  
Old 04-06-2007, 02:24 PM   #88
pion
Senior Member
 
Join Date: Feb 2006
Posts: 138
Default

Quote:
Originally Posted by Yil View Post
In theory there is no need for a user module. You could simply have an application connect to the server and issue commands to create/delete/modify user accounts... I'll bet you that 99% of the functionality sought by a user module could be achieved with a new event run at password validation if used in combination with existing events. The new event could create/modify/etc the account and perhaps take over validating the password. If it had to fetch the user info from somewhere, create the account, etc isn't that what the user module would be doing anyway? That's probably the way I'd go... Definitely would still require some sort of background sync routine though in case the central authority was off-line or something...
io wouldn't be aware of any outside changes then?

Main problem as I see it would be to sync stats and credits between multiple io servers.. also renuser I can imagine would cause trouble, which io got the correct one to sync..
pion is offline  
Old 04-06-2007, 02:47 PM   #89
Yil
Too much time...
FlashFXP Beta Tester
ioFTPD Administrator
 
Join Date: May 2005
Posts: 1,194
Default

You can't have it both ways pion. Either a user module would need to have a constantly updating local copy of the shared state (which is doable today) or it would need to consult a 3rd party like a database or master to get the info at the time of the request (not currently possible for logins). Since it's possible to keep ioftpd sync'd with the existing site admin commands the only functionality I see missing is the non-sync'd approached which is what I presume you were looking for. The idea of a pre-login event where you could issue ftp commands to create/rename/modify/validate users would appear to solve that.

The problem of which server to sync to is left to the reader. I've worked with distributed systems for a very long time and there is no single right answer. Whatever method would have been used by a module could be used by the event. You could even run an existing module standalone and then use the ioFTPD events to simply communicate with it that way.
Yil is offline  
Old 04-07-2007, 02:14 AM   #90
isteana
Senior Member
 
Join Date: Mar 2006
Posts: 110
Default

it crashed again with 6.0.2

Unhandled exception 3221225477 at address 0x7c9624b2 (0x00000000)
0x00000000 0x706ea002
Unhandled exception 3221225477 at address 0x0042d7b6 (0x00000000)
0x00000000 0x9d47ec94
isteana is offline  
Closed Thread

Tags
fxp, ioftpd, recursive, test, v6.0

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 07:59 PM.

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