PDA

View Full Version : ioA request full path shows


odd
02-16-2004, 10:51 AM
Should ioA display full path in request?
Never seen that before.

site request dididid
200--[Request]----------------------------------------------------------------------
200- Added request: dididid
200-c:\ioFTPD\site\ftp\_request\[REQ]-dididid
200---------------------------------------------------------------------------[ioA]-
200 Command successful.

WarC
02-18-2004, 07:41 AM
no it should not :)

Dunno if I forgot to remove something there or you got a special debugversion. Try disable debug and see if its still there.

odd
02-18-2004, 08:47 AM
still there when debug is off :(

WarC
02-18-2004, 06:14 PM
ok then after asking others to test as well the conclusion is...

1. You got a NON official release of ioA. These should never be used!!!

2. You got some other script running on same event.

odd
02-24-2004, 08:35 PM
Non official? hmm dunno but ive downloaded it from warc.mine.nu.

Will grab a new one and try it.

What do you mean by another script running on same event?
OnLogIn = EXEC ..\scripts\ioA\ioA.exe logon
Thats what ive got in my ini, nothing more is running on OnLogIn event.


EDIT:
Just added a complete new ioA 1.1.0(from warc.mine.nu) to ioftpd 5.8.2r(was useing 5.6.3r before) and same message when requesting. So an unofficial cant it be. Dunno what u mean as said about Events.

Mouton
02-24-2004, 09:05 PM
CTRL-F in ioFTPD.ini
'request'
u got any more script running on request = ... ?
You should have only ioA.

odd
02-25-2004, 06:00 AM
I do only have ioA who has request thingi.

request = EXEC ..\scripts\ioA\ioA.exe REQUEST
reqfilled = EXEC ..\scripts\ioA\ioA.exe REQFILLED
reqdel = EXEC ..\scripts\ioA\ioA.exe REQDEL

request = *
reqfilled = *

Thats the only request I have in my ioftpd.ini
Why is it always me who has some wierd errors :(

odd
02-26-2004, 08:05 AM
Recently tested 5.8.4r with only! ioA 1.1.0 downloaded from warc.mine.nu and I have only changed all path in ioa.cfg to c:\ instead of d:\. Added only from ioA manual all ftp_custom_cmd and site_permissions and onlogin event according to ioA manual. Nothing else. And I still get full path. It shouldnt be possible if u say that your test sites doenst get this.

This is in the debug log
02-26-2004 13:57:54 REQUEST - Request_Field " -> "
02-26-2004 13:57:54 REQUEST - Request_Field " [%##] [%-10user] -> %request
02-26-2004 13:57:54 REQUEST - Found 0 requests


site request hej
200--[Request]----------------------------------------------------------------------
200- Added request: hej
200-c:\ioFTPD\site\request\[REQ]-hej
200---------------------------------------------------------------------------[ioA]-

CWD request
250--[Request]----------------------------------------------------------------------
250- [001] [ioFTPD ] -> hej
250---------------------------------------------------------------------------[ioA]-
250 CWD command successful.

Lathieza
02-26-2004, 09:45 AM
hmmz
got same here

[L] site request test-je
[L] 200--[Request]----------------------------------------------------------------------
[L] 200- Added request: test-je
[L] 200-c:\ftp\REQUESTS\[REQ]-test-je
[L] 200---------------------------------------------------------------------------[ioA]-
[L] 200 Command successful.

ioftpd 582r ioa110 php-psio104 dzsbot11

romracer
02-26-2004, 10:11 AM
[09:10:19] [R] 200--[REQUEST]----------------------------------------------------------------------
[09:10:19] [R] 200- Added request: test
[09:10:19] [R] 200-d:\ioFTPD\site\[REQ]-test
[09:10:19] [R] 200---------------------------------------------------------------------------[ioA]-

I've done some beta testing for you in the past WarC, figured I'd post mine too. Does it here as well and thats on a ioFTPD 5.6.3 system with 1.1.0. You know where to find me if you need me :P

Edit, heres my ioftpd.env

ACCSPEED=%.4[speed]
COMSPEC=%[environment(COMSPEC)]
CREDITS=%[credits(mega)]
CREDITSECTION=%[$creditsection]
FLAGS=%[$flags]
GID=%[$gid]
GROUP=%[$group]
GROUPS=%[group]
IDENT=%[$ident]
IP=%[$ip]
PATH=%[$path]
PWD=%[$pwd]
REALPATH=%[environment(PATH)]
SECTION=%[$sectionid]
SESSIONNAME=%[environment(SESSIONNAME)]
SPEED=%.[speed]
STATSSECTION=%[$statssection]
SystemDrive=%[environment(SystemDrive)]
SYSTEMPATH=%[$path]
SYSTEMROOT=%[environment(SYSTEMROOT)]
TAGLINE=%[$tagline]
UID=%[$uid]
USER=%[$user]
VIRTUALPATH=%[$pwd]

As you can see there's not much difference. It runs on a win2k3 box. I have a network drive in my VFS but thats not where I store request info or requests for that matter. I run ioB as my zipscript but it has no request functionality that I know of, at least nothing bound to commands. If you think of anything else that might be useful let us know.

Second edit, d:\ioftpd\site is the / (root) of my VFS, but no actual directories reside in \site. They are all stored on other drive letters in the VFS, including requests.

Zer0Racer
02-26-2004, 01:36 PM
That's not alot of info for WarC to go on. Anyways.. I currently use ioFTPD 5.6.3 and ioA 1.1.0.

[19:32:31] [L] site request test
[19:32:32] [L] 200--[Request]----------------------------------------------------------------------
[19:32:32] [L] 200- Added request: test
[19:32:32] [L] 200---------------------------------------------------------------------------[ioA]-

Works just fine here. Sounds like it could be a problem with enviroment variables. My ioftpd.env looks like this:

ACCSPEED=%.4[speed]
CREDITSECTION=%[$creditsection]
FLAGS=%[$flags]
GID=%[$gid]
GROUP=%[$group]
GROUPS=%[group]
IDENT=%[$ident]
IP=%[$ip]
PATH=%[$path]
PWD=%[$pwd]
REALPATH=%[environment(PATH)]
SECTION=%[$sectionid]
SPEED=%.[speed]
STATSSECTION=%[$statssection]
SYSTEMPATH=%[$path]
TAGLINE=%[$tagline]
UID=%[$uid]
USER=%[$user]
VIRTUALPATH=%[$pwd]
ComSpec=C:\WINDOWS\system32\cmd.exe
SYSTEMROOT=C:\WINDOWS
SESSIONNAME=%[environment(SESSIONNAME)]
SystemDrive=%[environment(SystemDrive)]
CREDITS=%[credits(mega)]

I still have a couple of old vars in env. But it works. Check your /etc/ioftpd.env and tell us what differs for the one above.

Zer0Racer
02-26-2004, 02:12 PM
romracer, okay so only difference seems to be SYSTEMROOT.

Yours: SYSTEMROOT=%[environment(SYSTEMROOT)]
Mine: SYSTEMROOT=C:\WINDOWS

So first step would be for you to change yours to resemble mine.

odd
02-26-2004, 03:01 PM
Ive tryed to add yours(as test) to my enviroment variables to see if the problem resolves but same thing happens.

I just changed this to SYSTEMROOT=C:\WINDOWS -> SYSTEMROOT=C:\WINNT

Zer0Racer
02-26-2004, 03:26 PM
Okay, so SYSTEMROOT doesn't seem to be the problem. What else could it be? I'm on WinXP Sp1 btw.

Mouton
02-26-2004, 04:11 PM
paste your ioA request config section. I'm pretty sure it's something about creating file or dir on site request...

Zer0Racer
02-26-2004, 04:46 PM
[Request]
Request_IRC_Uid = 0
Request_IRC_Gid = 0
Request_Header = "-[Request]----------------------------------------------------------------------"
Request_Footer = "--------------------------------------------------------------------------[ioA]-"
Request_File = "d:\ftp\requests\.ioFTPD.message"
Request_Line = " [%##] [%-10user] -> %request"
Request_Field = " -> "
Request_Max = 10
Request_Max_User = 3
Request_Too_Many_Made = " Too many requests made. Limit is %.0request"
Request_Too_Many_Made_User = " You have made too many requests already. Limit is %.0request"
Request_Already_Made = " That is already requested"
Request_Output_Line = " Added request: %request"
Request_Log = ""%user" "%group" "%request" "
Request_Add_Tag = 0
Request_Tag = "[REQ]-%request"
Reqfilled_Not_Found = " Request not found"
Reqfilled_Log = ""%user" "%group" "%request""
Reqdel_Log = ""%user" "%group" "%request""
Reqdel_Output_Line = " Deleted following request: %request"
Reqfilled_Output_Line = " Filled following request: %request"
Reqfilled_Tag = "[FILLED]-%request"
ReqFilled_Add_Tag = 0
ReqFilled_Send_Message = 1


I don't create dirs or anything on request.

EDIT: Even with Request_Add_Tag = 1 I get this:
[22:49:18] [L] site request test
[22:49:18] [L] 200--[Request]----------------------------------------------------------------------
[22:49:18] [L] 200- Added request: test
[22:49:18] [L] 200---------------------------------------------------------------------------[ioA]-
[22:49:18] [L] 200 Command successful.

ReqFilled_Add_Tag = 1 works just fine too.

EDIT2: Some debug info

02-26-2004 22:55:25 INFO - -----------------------------------------
02-26-2004 22:55:25 INFO - user = zer0racer
02-26-2004 22:55:25 INFO - group = crew
02-26-2004 22:55:25 INFO - creditsection = 0
02-26-2004 22:55:25 INFO - uid = 100
02-26-2004 22:55:25 INFO - gid = 100
02-26-2004 22:55:25 INFO - groups = crew ioftpd
02-26-2004 22:55:25 INFO - statsection = 0
02-26-2004 22:55:25 INFO - flags = MTL
02-26-2004 22:55:25 INFO - vfs = /requests/
02-26-2004 22:55:25 INFO - path = d:\ftp\requests
02-26-2004 22:55:25 INFO - -----------------------------------------
02-26-2004 22:55:25 ioA - 1.1.0
02-26-2004 22:55:25 REQUEST - f/d requestfield "d:\ftp\requests\.ioFTPD.message"
02-26-2004 22:55:25 REQUEST - f/d requestline [%##] [%-10user] -> %request

romracer
02-26-2004, 05:44 PM
I use:
Request_Add_Tag = 2
ReqFilled_Add_Tag = 2

When changed to 0 it works fine and I don't see the directory in the output. It also appears to work when its set to 1. So I guess the bug is something to do with whenever they are set to 2. odd can you confirm if you have yours set to 2 too?

WarC
02-26-2004, 06:17 PM
Found and fixed

odd
02-26-2004, 06:41 PM
site request dsfds
200--[Request]----------------------------------------------------------------------
200- Added request: dsfds
200---------------------------------------------------------------------------[ioA]-
200 Command successful.

Thank u romracer and all others, much appreciated.
It doesnt add any tags now but we know whats wrong and next version will fix it yippi :)

WarC
02-27-2004, 04:12 AM
It adds tags as it should with those settings. It creates the files on request and renames them on reqfilled

odd
02-27-2004, 06:25 AM
sorry what I meant was I can create dirs(1) and nothing(0) but not files(2) in the request dir. Well I can create files but then I get this fullpath msg.
Tags has always worked.

aquarius
04-15-2004, 10:24 PM
humm 1 question, how permision must have the users for perform a requests (a user normal) ??

Harm
04-16-2004, 03:27 AM
To use SITE REQUEST, an user must have one of the flags you have defined under [FTP_SITE_Permissions] in ioFTPD.ini.

aquarius
04-16-2004, 10:35 AM
Originally posted by Harm
To use SITE REQUEST, an user must have one of the flags you have defined under [FTP_SITE_Permissions] in ioFTPD.ini.
ok but this flag is maybe '*' ?? but i have '*' in my config...

Harm
04-16-2004, 10:45 AM
'*' = anyone

aquarius
04-17-2004, 10:38 PM
10x man !!