PDA

View Full Version : 5.3.0r


darkone
11-17-2003, 09:27 PM
Another new release? Expect to see 'u' version within few days

All:
- New: Internal directory cache
- Fix: Invalid ports were used for passive mode
- Fix: Hostnames did not work properly in hosts.rules
- Fix: Resume permission
- Fix: Stats modification on DELE
- Change: Non-raided directories are now alpha sorted (directories first.. makes use of httpd much more fun)
- Change: Directory_Cache_Max to DirectoryCache_Size (determinates size of one of the eight cache buckets; real amount of directories cached is 8x this value)
- Change: Execute permission is no longer required to enter directory. (execute controls listing)

Itcl:
- New: waitobject command. (see scripting forum for definition)
- New: user list
- New: group list
- New: vfs chattr <filename> <attribute> returns requested special attribute for directory. (0 = private path, 1 = symbolic link)
- Fix: Invalid idle time was given for users
- Change: vfs read/write no longer require directory/file parameter
- Change: vfs default-* commands were removed. Use 'config read' instead.

darkone
11-17-2003, 09:41 PM
-edit- Downloads should be working now

darkone
11-17-2003, 11:11 PM
I'm not going to bother to document updates during next few days; they are mainly bug fixes.

Pharaoh
11-18-2003, 12:08 AM
sweeet! :D

toki
11-18-2003, 02:08 AM
any other ini file changes?

so i can upgrade from 5.2.15 to 5.3.1 only with cache bucket line update right?

greetz toki

darkone
11-18-2003, 03:18 AM
Yep.. btw, report bugs here :)

b>d>>s
11-18-2003, 10:08 AM
53*r

idle itcl still wrong

b>d>>s
11-18-2003, 10:11 AM
cool functions, [users ...] [groups ...]

:)

Pharaoh
11-18-2003, 10:24 AM
some users had problems to upload:
MKD /0DAY/1118/Popup.Free.v1.50U-DYNAMiTE
550 /0DAY/1118/Popup.Free.v1.50U-DYNAMiTE: Permission denied.
CWD /0DAY/1118/Popup.Free.v1.50U-DYNAMiTE
550 /0DAY/1118/Popup.Free.v1.50U-DYNAMiTE: No such file or directory.
Transfer queue completed

So I rolled back to 5.2.15r and no problem there...

-=DoBBeR=-
11-18-2003, 01:22 PM
oups, I missed this thread, I'll just put a link to my bugreport here then =)

http://www.ioftpd.com/board/showthread.php?s=&postid=13056#post13056

-=DoBBeR=-
11-18-2003, 01:23 PM
just noticed pharaos problem, looks somewhat similar to mine..

darkone
11-18-2003, 01:48 PM
Originally posted by b&gt;d&gt;&gt;s
53*r

idle itcl still wrong

It's right.. idle time is seconds

darkone
11-18-2003, 02:26 PM
5.3.3

-=DoBBeR=-
11-18-2003, 02:34 PM
tnx for the fast fix =)

cez
11-18-2003, 10:08 PM
5.3.4 sometimes crashes when closing it down. Don't know what I have done the times when it does. crashes with "0x77f5d61b read memory at 0x00000010" or whatever those debug messages now say

edit:: no scripts at all used the time

neoxed
11-18-2003, 10:19 PM
Originally posted by cez
5.3.4 sometimes crashes when closing it down. Don't know what I have done the times when it does. "0x77f5d61b read memory at 0x00000010" or whatever those messages now say is the debug message

Are there users online when your shutting down ioFTPD?

cez
11-18-2003, 10:47 PM
Originally posted by NeoXed
Are there users online when your shutting down ioFTPD? Don't think there was but it's 5am and I'm tired so I might be wrong

sCry
11-19-2003, 01:59 AM
thank, got it.

darkone
11-19-2003, 02:43 AM
Originally posted by NeoXed
Are there users online when your shutting down ioFTPD?

Yep, it crashes if there's someone online.. doesn't matter wheter that's sitebot, iogui, ... :)

Pharaoh
11-19-2003, 06:42 AM
Originally posted by Pharaoh
some users had problems to upload:
MKD /0DAY/1118/Popup.Free.v1.50U-DYNAMiTE
550 /0DAY/1118/Popup.Free.v1.50U-DYNAMiTE: Permission denied.
CWD /0DAY/1118/Popup.Free.v1.50U-DYNAMiTE
550 /0DAY/1118/Popup.Free.v1.50U-DYNAMiTE: No such file or directory.
Transfer queue completed

So I rolled back to 5.2.15r and no problem there...

5.3.4 didn't fix this problem... :(

darkone
11-19-2003, 06:44 AM
You need to figure out way for me to replicate that... it works fine on all my test sites.

Btw. you did know that old newday scripts aren't compatible :)

Zer0Racer
11-19-2003, 07:41 AM
Isn't it a fact that all permissions and ownerships (.ioFTPD files) from 5.2.x are not compatible with 5.3.x ? You need to chmod your upload dirs to restore the permissions. Would be nice to have a script/util that could update the .ioFTPD format from 5.2.x -> 5.3.x.

Harm
11-19-2003, 08:50 AM
That's a good idea. Are the file format specifications for both of them available somewhere ?

darkone
11-19-2003, 09:07 AM
I wrote some examples for the older version... but .ioFTPD files shouldn't be directly accessed :)

http://www.ioftpd.com/~darkone/tmp/VFS.cpp

Zer0Racer
11-19-2003, 10:01 AM
If not directly altering .ioFTPD files then scan through dirs on site to read 'old' .ioFTPD files and then using chmod and chown etc. to update the dir structure. What more is stored in those files besides chmod permissions and ownership? Dir size, date/time, detailed vfs permissions, chattr etc.? Maybe script that can be run from 5.2.x (reading the .ioFTPD files) automatically creating batch cmd script to run in 5.3.x. Or maybe there is a less haxxor fix way to do it? :)

Stardog
11-19-2003, 10:07 AM
Originally posted by darkone
Btw. you did know that old newday scripts aren't compatible :)

What has changed to make them not work?

darkone
11-19-2003, 10:18 AM
!vfs:add was changed

Mouton
11-19-2003, 10:24 AM
??
All zipscripts use vfs:add to change the permissions of files they created i'd guess...

What has changed ? I don't seem to find any thread where u talk about that change.

darkone
11-19-2003, 10:36 AM
They shouldn't use !vfs:add .. since files always inherit ownership permissions from parent directory :)

!vfs:add no longer requires one to define wheter target is a file or directory... (i think it required that before)

Mouton
11-19-2003, 10:40 AM
What if i want to change a file or dir permissions to 000 ?
When I create a file or dir in ioB, I always use vfs:add to tell io what permission and owner i want for it.

And btw, the syntax i use for vfs:add doesn't say file or dir:
("!vfs:add 666 %s:%s %s",uid,gid,filename)

darkone
11-22-2003, 04:54 AM
If file/directory is set to "000", it becomes inaccessible. Owner of file/directory, or master/vfs admin may change this attribute to make it readable again.


...

5.3.8 supports phat32 :)

odd
11-23-2003, 09:27 AM
Ive got a little question about upgrade. First time I make a upgrade on my ioftpd with scripts and Im not sure what ive should do. Iam useing 5.2.15r and want to upgrade to 5.3.8r.

What ive figure out is that I need to get exe from 5.3.8 and change one line in the ioftpd.ini file to "DirectoryCache_Size".

Is that the only thing I need to do or is ther something else? Sorry as said have never upgrade my ioftpd with full of scripts before.

Pharaoh
11-23-2003, 10:25 AM
Originally posted by odd
Ive got a little question about upgrade. First time I make a upgrade on my ioftpd with scripts and Im not sure what ive should do. Iam useing 5.2.15r and want to upgrade to 5.3.8r.

What ive figure out is that I need to get exe from 5.3.8 and change one line in the ioftpd.ini file to "DirectoryCache_Size".

Is that the only thing I need to do or is ther something else? Sorry as said have never upgrade my ioftpd with full of scripts before.

http://www.ioftpd.com/board/showthread.php?s=&threadid=1571

odd
11-23-2003, 11:30 AM
doesnt say anything about 5.3.8 :(

Pharaoh
11-23-2003, 11:34 AM
Originally posted by odd
doesnt say anything about 5.3.8 :(

5.3.2 -> 5.38: exe update only

neoxed
11-24-2003, 01:52 AM
Something i found while coding...

make the file ../scripts/loop.itcl

iputs -nobuffer "lets make a loop =O"
iputs something to loop"


[Scripts]
loop = TCL ..\scripts\loop.itcl

Then type "site loop"
site loop
200-lets make a loop =O
Connection lost: localhost

At this point, ioFTPD is running at 100% cpu usage.

When using iputs you should enclose the message in quotations, but it seems if you mix a quotation it causes a loop. Shouldn't the ITCL command just fail and leave an entry in SystemError.log