ioFTPD General New releases, comments, questions regarding the latest version of ioFTPD. |
12-23-2007, 03:56 AM
|
#121
|
Member
FlashFXP Beta Tester
Join Date: Aug 2004
Posts: 37
|
Yil, thanks for all you've done, and for all that you will do in the future.
|
|
|
12-23-2007, 07:59 AM
|
#122
|
Senior Member
FlashFXP Registered User ioFTPD Foundation User
Join Date: Jun 2004
Posts: 165
|
[B]Merry Christmas - Happy New Year to everyone, espacially our santa coder Yil
|
|
|
12-27-2007, 08:53 AM
|
#123
|
Senior Member
FlashFXP Beta Tester ioFTPD Foundation User
Join Date: Dec 2001
Posts: 306
|
hi Yil!, i hope you have a nice xmas. I was wondering if you please can nail this $user permanately. Check this post please: http://www.inicom.net/forum/showthread.php?t=12745
Thanks
|
|
|
12-27-2007, 12:10 PM
|
#124
|
Too much time...
FlashFXP Beta Tester ioFTPD Administrator
Join Date: May 2005
Posts: 1,194
|
Flow: I downloaded nxTools and took a really quick look. I believe it's entirely reasonable to not have the $user variable set in some situations and the script should not assume it's always set...
In particular it looks like the problem pasted in that thread is occurring during a call to "nxClose.tcl LOGIN" called from the FTP_Pre-Command_Event set on the PASS command. This is a somewhat special case for two reasons. As a PRE command no checking on the validity of that command has been performed yet since the script is given the first chance at approval, and second it's occurring before the user has actually logged in and thus guaranteeing a valid user account.
Thus there are at least 2 situations where $user cannot be set.
1) Someone specified a username that doesn't exist.
2) The highly improbably, but nevertheless possible, client issuing a PASS command without ever issuing a USER command.
The PRE command on the PASS event, or for that matter a POST event on the LOGIN event, must check before using $user to make sure it's dealing with a valid login attempt...
|
|
|
12-27-2007, 01:16 PM
|
#125
|
Senior Member
FlashFXP Beta Tester ioFTPD Foundation User
Join Date: Dec 2001
Posts: 306
|
Now.....why do I feel like im in the middle of somethin. . Easiest for me i guess is just ignore the damn .log file.
|
|
|
12-28-2007, 05:03 AM
|
#126
|
Member
FlashFXP Registered User ioFTPD Foundation User
Join Date: Apr 2006
Posts: 54
|
Using my laptop and FlashFXP, i connect to USER 0 and USER 1 on ioFTPD, which is on my desktop! What i am doing is FXPing files that are on the same pc as ioFTPD to that same pc. reason i would do such a thing is to pass all my files through a zipscript. the FXP does well, however if i try to FXP two or more things at once, meaning 2-3 flashFXP open, it does ok but every now and then i get this in status
Quote:
[R] 426 Connection closed: Only one usage of each socket address (protocol/network address/port) is normally permitted.
|
i seen this before and maybe talked about it but probally didn't explain it well. it doesn't happen near as often and not aggravating as it was before. i changed from ioSFV to ioNiNJA and i run no other scripts! my question is, is this a problem caused by ioFTPD by say trying to use the same port, or is this a script problem?
|
|
|
12-28-2007, 08:49 AM
|
#127
|
Too much time...
FlashFXP Beta Tester ioFTPD Administrator
Join Date: May 2005
Posts: 1,194
|
psa9: It's not a script issue, it's a TCP issue. When you go really fast through a lot of connections you can use up the passive port range before the TCP protocol allows the port to be re-used. Try making the PASV port range larger in ioFTPD.ini. That won't eliminate the problem, but should make it more rare.
You can even setup a second device / ftp service in ioFTPD.ini with a really large port range and connect to that locally for FXPing so as to keep the number of ports forwarded in the firewall small for the remote configuration.
On the other hand, have you considered a recursive site rescan? Or perhaps a standalone zipscript? That would save you having to transfer files...
|
|
|
12-29-2007, 09:41 AM
|
#128
|
Senior Member
ioFTPD Foundation User
Join Date: Oct 2006
Posts: 163
|
Got some big problems here.
If i fxpd between drFTPD and ioFTPD with ssl on transfer. i get
Code:
Connection closed: Ãverlappad I/O-Ã¥tgärd pÃ¥gÃ¥r.
BUT if i transfer to glFTPD, then it works.
So i guess it´s a bug? but where i have no idea. If it´s drFTPD fault or ioFTPD´s =)
|
|
|
12-29-2007, 10:47 AM
|
#129
|
Junior Member
Join Date: Nov 2007
Posts: 9
|
Quote:
Originally Posted by razoor
Got some big problems here.
If i fxpd between drFTPD and ioFTPD with ssl on transfer. i get
Code:
Connection closed: Ãverlappad I/O-Ã¥tgärd pÃ¥gÃ¥r.
BUT if i transfer to glFTPD, then it works.
So i guess it´s a bug? but where i have no idea. If it´s drFTPD fault or ioFTPD´s =)
|
same here! but if i set "down (no pasv)" in the fxping options it does not happen anymore..
Last edited by daddoso; 12-29-2007 at 12:10 PM.
|
|
|
01-01-2008, 03:42 PM
|
#130
|
Member
Join Date: Feb 2007
Posts: 31
|
hi Yil,
I have directory permissions set to 777 because I need different users of different groups to race in the same dir
now I want to deny anyone from having write access to root dir but I got this error:
[R] site chmod 775 /
[R] 500 /: Permission denied.
I try this with ioFTPD account and chmod command works everywhere except in root dir
is it a bug?
|
|
|
01-01-2008, 05:45 PM
|
#131
|
Too much time...
FlashFXP Beta Tester ioFTPD Administrator
Join Date: May 2005
Posts: 1,194
|
ldm: Nope, works fine for me. Do you mount / on a drive letter instead of a directory? I.e. d:\ ? I could see where that might cause a problem. Is there a .ioFTPD file wherever / is mounted and is it writable?
|
|
|
01-01-2008, 07:07 PM
|
#132
|
Member
Join Date: Feb 2007
Posts: 31
|
Quote:
Originally Posted by Yil
ldm: Nope, works fine for me. Do you mount / on a drive letter instead of a directory? I.e. d:\ ? I could see where that might cause a problem. Is there a .ioFTPD file wherever / is mounted and is it writable?
|
thx Yil I just found the error
my default.vfs was:
"E:\site" /
I set:
"E:\site\" /
and now works!!
|
|
|
01-04-2008, 01:04 PM
|
#133
|
Junior Member
Join Date: Nov 2004
Posts: 18
|
hi Yil
possible to disable !username? may be useful for shared accounts
|
|
|
01-04-2008, 06:55 PM
|
#134
|
Too much time...
FlashFXP Beta Tester ioFTPD Administrator
Join Date: May 2005
Posts: 1,194
|
pointBreak: There isn't a way to disable the !username feature. If shared users are fighting it out I'd suggest creating more than one account...
|
|
|
01-05-2008, 09:49 PM
|
#135
|
Member
FlashFXP Registered User ioFTPD Foundation User
Join Date: Jul 2005
Posts: 43
|
Great!
YIL once again you doing a great job!
Still i,m amazed to about the code you're doing.
Never seen this kind of addiction before
Lotsa coders could learn from you, You'r loyal to the ioFTPD users and i really appreciate that
O ye MERRY X-MAS and a HAPPY NewYear
|
|
|
Thread Tools |
|
Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:20 AM.
|