Go Back   FlashFXP Forums > > > >

Bug Reports If you discover any bugs that we are not aware of, please post it here so it may be corrected.

Thread Tools Rate Thread Display Modes
Old 05-23-2003, 05:15 PM   #1
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
Join Date: Sep 2002
Posts: 543
Default Dangling connections reason unknown

Doc- noticed some strange behaviour or ioFTPD and upon further investigation (using sitekill and looping though the connections) the following occured.
From your sitewho.cpp I conclude that nPos is the next valid connection and iPos=nPos-1 is the one that i sinteresting.

We had the following situation:
[22:25:23] 200-Password_File=..\etc\passwd
[22:25:23] 200-Group_File=..\etc\group
[22:25:23] 200-CALLED SendMessage with iPos=0 result: nPos=1
[22:25:23] 200-Connection 0 uid=419 gid=501 Dead=0
[22:25:23] 200-CALLED SendMessage with iPos=1 result: nPos=2
[22:25:23] 200-Connection 1 uid=454 gid=522 Dead=0
[22:25:23] 200-CALLED SendMessage with iPos=2 result: nPos=3
[22:25:23] 200-Connection 2 uid=396 gid=501 Dead=0
[22:25:23] 200-CALLED SendMessage with iPos=3 result: nPos=4
[22:25:23] 200-Connection 3 uid=457 gid=539 Dead=0
[22:25:23] 200-CALLED SendMessage with iPos=4 result: nPos=5
[22:25:23] 200-Connection 4 uid=-1 gid=539 Dead=0
[22:25:23] 200-User -1 can not be found in ..\etc\passwd
[22:25:23] 200-CALLED SendMessage with iPos=5 result: nPos=6
[22:25:23] 200-Connection 5 uid=103 gid=503 Dead=0
[22:25:23] 200-CALLED SendMessage with iPos=6 result: nPos=7
[22:25:23] 200-Connection 6 uid=457 gid=539 Dead=0
[22:25:23] 200-CompareNumber:idle>120 result:0
[22:25:23] 200-CALLED SendMessage with iPos=7 result: nPos=-1
[22:25:23] 200-Totally 0 connections kicked
[22:25:23] 200 Command Successful.

It appeared that there was a connection normally in the sequence of users connected with uid=-1... I couldnt find any reason why or how it got there. Clearly it is somethign from io only how it got there is unknown and not replicable. The connection could be easily killed with the new sitekill uid=-1 but yet it is strange to me. Maybe there is some minor bug in 4.6.2 left. So in the new version you might want to look at it.
Jeez is this techy or what?
FTPServerTools is offline   Reply With Quote
Old 05-24-2003, 06:15 AM   #2
FlashFXP Registered User
ioFTPD Administrator
darkone's Avatar
Join Date: Dec 2001
Posts: 2,230

User with 'uid -1' has not been logged in yet. These connections mainly exist in unregistered version - as in registered version, they will be timed out.
darkone is offline   Reply With Quote

200-called, dead=0, result, sendmessage, [222523]

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with U-Serv and FXP Crazy Badger General Discussion 4 09-13-2004 10:05 AM

All times are GMT -5. The time now is 10:33 PM.

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