PtokaX forum

Forum => News => Topic started by: PPK on 31 July, 2005, 18:24:31

Title: PtokaX 0.3.3.2 released...
Post by: PPK on 31 July, 2005, 18:24:31
New PtokaX (http://www.ptokax.org) is here :]

Changelog... (http://ptxwiki.psycho-chihuahua.net/wikka.php?wakka=PtokaXChangeLog)
QuoteFixed: SetHubName now change hubname on-the-fly (thx bastya_elvtars for report).
Fixed: Data sent to user from NewUserConnected/OpConnected now PtokaX send after MOTD.
Fixed: Renaming of registered user to already existing nick (thx GeceBekcisi for report).
Fixed: Loading of reglist with more same nick (thx GeceBekcisi for report).
Fixed: Crash on try to add user with profile lower than 0 (thx AmsterdamBulldogs for report).
Fixed: Not working returning value from NewUser/OpConnected (thx Mogli for report).
Fixed: Crash caused by buffer overflow on long NickList.
Fixed: Crash caused by buffer overflow on long OpList.
Fixed: Crash on converting old ReservedNicks.dat to new xml format (thx paka for report).
Fixed: Minimize on startup now working.
Fixed: Crashing in registered users hash manager.
Fixed: About text box no more allow deleting or typing text (thx NeiSep for report).
Fixed: Crash on !startscript hub command with buggy script (thx Star for report).
Fixed: Crash on !restartscript hub command with buggy script (thx Star for report).
Fixed: Bug with whitechars before DC messages (thx Santa-Claus for playing with telnet).
Fixed: SetHubName from lua no more allow $ and | (thx Dag for report).
Fixed: Bug in same pm messages deflood (thx Alexandros for report).
Added: Cls buttons to Script Editor (request by Star).
Added: Button to reload text files.
Added: getscripts hub command (request by Star).
Added: SetChatTrace and SetCmdTrace to lua (request by the_pest).
Added: DefloodWarn for userobject to allow additional deflooding with warning from script.
Added: Save of banlist/reglist/settings/MOTD on windows shutdown (request by Star).
Added: iDefloodWarns to userobject in lua.
Added: all gets/sets for inbuild PtokaX deFlood to lua.
Added: Missing functions to on/off registered only hub to lua (request by Hawk).
Added: Max share settings and needed functions for it to lua.
Added: Max/Min nick length check and all needed functions for get/set to lua.
Added: Option to add user mode before description (request by GeceBekcisi).
Added: UserIP2 support.
Added: Checkbox per profile for sending all users ip.
Added: Checkbox to enable sending of ip to user on login.
Added: Popup menu with load/save on script (request by bluebear).
Added: GetProfilePermissions() to lua (request by plop.
Changed: Keep slow clients online improved to fix problem with data lost if user is not really slow .. for example on login to big hub.
Changed: Lua is now in separate .dll, this allow creating of .dll for loading in scripts (big thx to bluebear for help).
Changed: Load/Save initial folder for scripts is on PtokaX startup set to actual script folder (request by bluebear).
Changed: Connection deflood for better performance.
Improved: Gui, added back now maybe bug free XP like style for Windows XP users.
Title:
Post by: Madman on 31 July, 2005, 20:13:48
Nice as always =)
Title: yes
Post by: ?Tr??T_???? on 31 July, 2005, 20:41:54
its nice like allllways... ;)
Title:
Post by: PPK on 31 July, 2005, 20:50:58
It's bad.... after release it start freezing for me X(
Title:
Post by: nightbird on 31 July, 2005, 20:53:15
same problem with me  ?(
Title:
Post by: PPK on 31 July, 2005, 22:05:52
QuoteOriginally posted by Mutor
Is there anything that seems related with the freezing?
Probably thread problem in new connection deflood :(
Title:
Post by: Psycho_Chihuahua on 31 July, 2005, 22:15:06
in hope to getting a complete database with all versions of ptx please check this one out --> Swiss PtokaX Mirror (http://ptokax.psycho-chihuahua.net)

Anyone having versions not on the page - i can make an upload account via pm or email  :D
Title:
Post by: Alexandros on 31 July, 2005, 22:39:46
it has something strange on redraw...when i move the window arrownd the screen it redraws slow and 1 time it freeze when i was doing that. Another time it freeze when it was in tray. I have 200 users in an Atlhon XP 2200+
Title:
Post by: PPK on 31 July, 2005, 23:11:24
Version with try to fix freezing problem http://czdcplusplus.no-ip.org/PtokaX/0.3.3.2a.nt.dbg.7z  :rolleyes:
Title:
Post by: enigma on 01 August, 2005, 00:06:32
QuoteOriginally posted by PPK
New PtokaX (http://www.ptokax.org) is here :]

[/QUOTE]

download for 98 is not working.please check ppk.
Title:
Post by: Psycho_Chihuahua on 01 August, 2005, 01:22:22
QuoteOriginally posted by enigma
QuoteOriginally posted by PPK
New PtokaX (http://www.ptokax.org) is here :]

download for 98 is not working.please check ppk.

PtokaX Mirror (http://ptokax.psycho-chihuahua.net)
Title:
Post by: Fifide2e on 01 August, 2005, 01:33:31
QuoteOriginally posted by PPK
Version with try to fix freezing problem http://czdcplusplus.no-ip.org/PtokaX/0.3.3.2a.nt.dbg.7z  :rolleyes:

yay, it works fine

splendid work :]
Title:
Post by: 6Marilyn6Manson6 on 01 August, 2005, 04:10:46
link not found :C
Title:
Post by: PPK on 01 August, 2005, 04:25:46
0.3.3.2 on homepage updated to 0.3.3.21

Changelog...
QuoteFixed: Crash on try to load not exist script (thx Kavu for report).
Fixed: Maybe random freezing...
Changed: Main loop to fix some connections reset by server.
Title:
Post by: blackwings on 01 August, 2005, 05:13:53
Sorry if any of my question are a bit stupid :P


1) Added: SetChatTrace and SetCmdTrace to lua (request by the_pest).
--- Q: whats is this? spy function or something :P

2) Added: UserIP2 support.
--- Q: this is some kind of dc protocol addition right? but what does it really do?

3) Added: Checkbox per profile for sending all users ip.
--- Q: I have no idea of what this does, can anyone explain? And what can it be used for?

4) Added: Checkbox to enable sending of ip to user on login.
--- Q: Again I have no idea of what this does, can anyone explain? And what can it be used for?

5) Changed: Load/Save initial folder for scripts is on PtokaX startup set to actual script folder (request by bluebear).
--- Q: the ptokax script folder is like before when you unzip the zip file, whats the difference with this change?
Title:
Post by: Madman on 01 August, 2005, 06:09:42
QuoteOriginally posted by blackwings
Sorry if any of my question are a bit stupid :P


1) Added: SetChatTrace and SetCmdTrace to lua (request by the_pest).
--- Q: whats is this? spy function or something :P
In the User/Chat tab you hace 2 checkboxex... Cmd and Chat.. it's to set thoose boxes on and off
Title:
Post by: Dessamator on 01 August, 2005, 11:57:38
QuoteOriginally posted by blackwings
Sorry if any of my question are a bit stupid :P

5) Changed: Load/Save initial folder for scripts is on PtokaX startup set to actual script folder (request by bluebear).
--- Q: the ptokax script folder is like before when you unzip the zip file, whats the difference with this change?

That has to do with script handling , when u use the script editor, if u loaded a different folder and tried to save, it would save on the previous folder, or something like it !
Title:
Post by: Pothead on 01 August, 2005, 12:49:06
Just guessing:
2
QuoteExtensions.txt
Feature: UserIP2
Since: 0.305

Usage: This indicates support for $UserIP, see http://dcplusplus.sf.net/wiki/

Basically it gives you the users Ip.  Before in older versions ptokaX just let OP's send $UserIP nick| requests.  Now it will give all the IP's in one go.

3 A way to decide who receives this.

4 Also giving you the IP of new connecting users, instead of just the ones already connected. :)

5 What Dessamator said.  Try using the script editor in an older version, and load / save script in a different directory.  Next time you use it, it will point to that directory.
Title:
Post by: blackwings on 01 August, 2005, 14:01:00
QuoteOriginally posted by Pothead
3 A way to decide who receives this.
You mean when you download something from someone, you will recieve/see their ip?

QuoteOriginally posted by Pothead
4 Also giving you the IP of new connecting users, instead of just the ones already connected. :)
Isn't that the same as using user.sIP in NewUserConnected?
Or maybe you meant that with this activated, you will see all users ips immediately when you connect?
Title:
Post by: Pothead on 01 August, 2005, 14:06:41
QuoteOriginally posted by blackwings
maybe you meant that with this activated, you will see all users ips immediately when you connect?
;)
3 is for when you connect.
4 is for when they connect, after you.
i think. :)
Title:
Post by: blackwings on 01 August, 2005, 14:41:21
QuoteOriginally posted by Pothead
QuoteOriginally posted by blackwings
maybe you meant that with this activated, you will see all users ips immediately when you connect?
;)
3 is for when you connect.
4 is for when they connect, after you.
i think. :)
ehm, ok, so only ops should be allowed to have this option :P
Title:
Post by: PPK on 01 August, 2005, 17:28:35
QuoteOriginally posted by blackwings
1) Added: SetChatTrace and SetCmdTrace to lua (request by the_pest).
--- Q: whats is this? spy function or something :P
Is to set checkbox under chat in Users / Chat tab in gui... i remove saving of this buttons few versions ago because some hubowners leave it enabled and complains about high memory usage :(
QuoteOriginally posted by blackwings
2) Added: UserIP2 support.
--- Q: this is some kind of dc protocol addition right? but what does it really do?
It is extension to send IPs to users. In default it send IP to user on login (is usefull to set active mode) and to send all users IP to OPs...
QuoteOriginally posted by blackwings
3) Added: Checkbox per profile for sending all users ip.
--- Q: I have no idea of what this does, can anyone explain? And what can it be used for?
Send to user of enabled profile all users ip on login and ip of any new loged user...
QuoteOriginally posted by blackwings
4) Added: Checkbox to enable sending of ip to user on login.
--- Q: Again I have no idea of what this does, can anyone explain? And what can it be used for?
Send ip to user on login... used for example to set active mode IP;)  
QuoteOriginally posted by blackwings
5) Changed: Load/Save initial folder for scripts is on PtokaX startup set to actual script folder (request by bluebear).
--- Q: the ptokax script folder is like before when you unzip the zip file, whats the difference with this change?
For example. I have 2 PtokaX, one running always and second for testing changes in new versions. If i want to load/save in one of this PtokaX then in old PtokaX is always remembered folder where i save/load. In new PtokaX is save/load always from default script folder of Ptokax where i do it and not from remembered dir  :rolleyes:
Title:
Post by: blackwings on 01 August, 2005, 17:56:25
so if I want to have it like in the previous releases ptokax, then I should have like this? =

3) Added: Checkbox per profile for sending all users ip.
--- turn this one on only for ops

4) Added: Checkbox to enable sending of ip to user on login.
--- turn this one on for every profile
Title:
Post by: PPK on 01 August, 2005, 18:27:16
QuoteOriginally posted by blackwings
so if I want to have it like in the previous releases ptokax
Then disable it ;)
Title:
Post by: blackwings on 02 August, 2005, 04:33:47
QuoteOriginally posted by PPK
QuoteOriginally posted by blackwings
so if I want to have it like in the previous releases ptokax
Then disable it ;)
both of them?
Title:
Post by: PPK on 02 August, 2005, 06:40:10
QuoteOriginally posted by blackwings
both of them?
Yes, if you want it like previous PtokaX versions then disable it both. For both is used UserIP2 support (not available in previous version) and if you enable it then it increase hub upload...
Title:
Post by: Ubikk on 03 August, 2005, 10:21:06
Congrats PPK on the version of PtokaX. :)
Is 0.3.3.21 stable now?  :rolleyes:
Title: Super
Post by: Snoris on 03 August, 2005, 12:28:20
Very nice to see a functionel version of ptokax...
I do have a requset tough...
A [SEARCH] botton in the script editor.
In many cases I scripted and dont remember where i finished and so on..
And even worse if you downloaded someone else script..You cant find anything if you find any problems...Or just want to change some stuff  =)

Can this be arranged??

BTW...Rock on...I just loooove PtokAx
Title:
Post by: PPK on 03 August, 2005, 19:27:12
QuoteOriginally posted by Ubikk
Is 0.3.3.21 stable now?  :rolleyes:
Yes is stable for me, and on friend 10 mbit hub :]
QuoteVersion: PtokaX DC Hub 0.3.3.2a [debug] built on Jul 31 2005 22:52:05
Uptime: 2 days, 19 hours, 46 minutes
Users (Max/Actual Peak (Max Peak)/Logged) : 3333 / 3225 (3225) / 2039

Version: PtokaX DC Hub 0.3.3.21 [debug] built on Aug  1 2005 03:47:40
Uptime: 2 days, 15 hours, 32 minutes
Users (Max/Actual Peak (Max Peak)/Logged) : 175 / 142 (442) / 132
Title:
Post by: nightbird on 03 August, 2005, 21:05:35
did anyone notice users cannot register when they use !regme....I see in mainchat users who type !regme as it shouldn't be notice in mainchat when it's working ok
and I use the newest photax hub now.
Title:
Post by: Pothead on 04 August, 2005, 01:47:15
Regme is not a ptokaX command.  Check your scripts. :)
Title:
Post by: aL1en on 04 August, 2005, 02:15:02
well well..

i just updated my hub, to ptokax 0.3.3.21 and robocop 10.01e..

but now one of my best users can't login.. hes a t a linux machine running a client called: "Direct Connect Text Client v0.85.9" .. and he cannot connect..

he got this error on his log:
Read > VAR ] ""fake_dcpp_client|0
Read > VAR ] ""disp_user|1
Read > VAR ] ""com_port|10000
Read > VAR ] ""socks_ip|
Read > VAR ] ""socks_port|1080
Read > VAR ] ""socks_name|
Read > VAR ] ""vshare_dir|/jail/glftpd/site/mp3/
Read > VAR ] ""gdlasports|0:0
Read > VAR ] ""tos|0,0,0,0
Read > VAR ] ""fake_dcpp_version|
Read > VAR ] ""hub_capa|
Read > VAR ] ""dctc_capa|MD4x
Read > VAR ] ""gdl_met_dir|
Read > VAR ] ""gdl_met_poll|5
Read > VAR ] ""cnx_status|2
Write> /FORCEQUIT

...
is it robocop related? clients/min versions?

where and how can i fix this prob and allow that specific user to enter the hub?


thnx !

P.S: dunno if its ptokax or robocop related.. so i posted ere also ;)
Title:
Post by: PPK on 04 August, 2005, 03:24:58
QuoteOriginally posted by aL1en
i just updated my hub, to ptokax 0.3.3.21 and robocop 10.01e..
"Direct Connect Text Client v0.85.9"
1 ) as i know DCTC don't have tag, and robocop don't allow clients without tag.
2 ) DCTC have bug and send to hub unknown command ($Capabilites) without reason... PtokaX don't allow this.
Title:
Post by: PPK on 04 August, 2005, 04:05:11
QuoteOriginally posted by Mutor
[DCGUI as I understand it is a Graphical frontend for DCTC].
Here is DCGUI (frontend for DCTC) and DCGUI-QT. Second one is now known as Valknut (and have DCGUI tag) ;)
Title:
Post by: aL1en on 04 August, 2005, 11:35:57
true true..
his client dont has tag..
but..

"i can't use the dcgui since i am connecting via ssh"
" i only have a shell and no real graphical user interface"

thats the prob :(


is there any other way to fix besides using a GUI?
if i add something to ClientTags.xml maybe works?

thnx in advance for replying and helping!
Title:
Post by: Ubikk on 04 August, 2005, 14:14:13
Sorry for posting in the wrong thread.. but is there a way to show the tempban reason to the user that has been banned?
Right now if I tempban a user like this:

Quote!tempban testuser 2h because this_is_a_test
[/size]

the message this_is_a_test
will ony be displayed once like this:

Quote[15:11] You had been temp banned to: 2 min because: test
[15:11] *** Disconnected
[15:12] *** Connecting to 192.168.240.31...
[15:12] *** Connected
[15:12] You are temporarily banned for 2 min!
[15:12] *** Disconnected
[15:12] *** Connecting to 192.168.240.31...
[15:12] *** Connected
[15:12] You are temporarily banned for 2 min!
[15:12] *** Disconnected
[15:12] *** Connecting to 192.168.240.31...
[15:12] *** Connected
[15:12] You are temporarily banned for 2 min!
[15:12] *** Disconnected
[/size]

is it possible to show the ban message each time the user tries to connect?

.. something like this:

Quote[15:12] *** Connected
[15:12] You are temporarily banned for 2 min! Reason: this_is_a_test
[/size]

Thanks in advance :)
Title:
Post by: Inflictor on 04 August, 2005, 15:14:57
am going to add to Ubikk thread



*OFFTOPIC**

You are temporarily banned for hr : mins , by user for this reason: Reason would be entered here (if given)


Edit

maybe a mod should split this thread into a Request section

//

Title:
Post by: uffetjur on 04 August, 2005, 16:29:43
well isnt that for the script part to be done
Title:
Post by: PPK on 04 August, 2005, 16:42:14
QuoteOriginally posted by aL1en
is there any other way to fix besides using a GUI?
DCTC is open-source ... is easy to add tag and fix problem with sending unknown command to hub  :)
Title:
Post by: aL1en on 04 August, 2005, 19:22:57
thnx for helping.. we fixed.. edited some c+ code in a rusty way of a different client (microdc) and then it was able join.. and it even runs better than before :P


thnx for the time and replys ;)
Title: deflood functions usage
Post by: ruspant on 11 August, 2005, 10:44:40
Hi guys, I'm a bit concerned about intercepting deflood events.
The new version has implemented some really nice functions but it should be nice if the server raises a FloodArrival event or something like that.
Now I'm simply don't understanding where to use that functions (maybe you could give me some hits  :D )

I would like to intercept these kind of events

*** Connection flood from IP xxx.xxx.xxx.xxx detected.

and ban the related nick cause these are mainly provoked by hacked clients (I guess).
Any help appreciated.
Best regards
ruspant
Title:
Post by: Psycho_Chihuahua on 12 August, 2005, 19:44:12
Here some Stats

------------------------------------------------------------
Current stats:
------------------------------------------------------------
Version: PtokaX DC Hub 0.3.3.21 [debug] built on Aug 1 2005 04:03:42
Uptime: 9 days, 10 hours, 2 minutes
Users (Max/Actual Peak (Max Peak)/Logged) : 150 / 70 (70) / 57
Chat messages: 2023 x
Unknown commands: 0 x
PM commands: 5324 x
Key commands: 3075 x
Supports commands: 2988 x
MyINFO commands: 14212 x
ValidateNick commands: 3044 x
GetINFO commands: 0 x
Password commands: 2303 x
Version commands: 2028 x
UserIP commands: 12191 x
GetNickList commands: 2290 x
Search commands: 186066 x
SR commands: 62143 x
CTM commands: 3202842 x
RevCTM commands: 767572 x
BotINFO commands: 0 x
------------------------------------------------------------
CPU usage (60 sec avg): 1.57%
CPU time: 4:31:32
Mem usage (Old style): 1433 kB
Mem usage (Peak): 5.57 MB (20.65 MB)
VM size (Peak): 18.71 MB (25.83 MB)
------------------------------------------------------------
SendRests (Peak): 0 (1)
RecvRests (Peak): 0 (2)
Data sent: 1000.86 MB
Data received: 172.97 MB
Tx (60 sec avg): 223 B/s (1.02 kB/s)
Rx (60 sec avg): 223 B/s (248 B/s)
Title:
Post by: nEgativE on 12 August, 2005, 19:56:43
More stats

------------------------------------------------------------
Current stats:
------------------------------------------------------------
Version: PtokaX DC Hub 0.3.3.21 [debug] built on Aug  1 2005 04:03:42
Uptime: 11 days, 7 hours, 34 minutes
Users (Max/Actual Peak (Max Peak)/Logged) : 200 / 150 (150) / 139
Chat messages: 2530 x
Unknown commands: 3 x
PM commands: 3829 x
Key commands: 304402 x
Supports commands: 291200 x
MyINFO commands: 336648 x
ValidateNick commands: 304091 x
GetINFO commands: 1 x
Password commands: 2618 x
Version commands: 296793 x
UserIP commands: 17348 x
GetNickList commands: 293147 x
Search commands: 190914 x
SR commands: 264526 x
CTM commands: 509297 x
RevCTM commands: 357182 x
BotINFO commands: 84 x
------------------------------------------------------------
CPU usage (60 sec avg): 0.02%
CPU time: 0:19:18
Mem usage (Old style): 2143 kB
Mem usage (Peak): 6.99 MB (19.55 MB)
VM size (Peak): 6.67 MB (19.92 MB)
------------------------------------------------------------
SendRests (Peak): 1 (5)
RecvRests (Peak): 0 (2)
Data sent: 1.46 GB
Data received: 174.42 MB
Tx (60 sec avg): 208 B/s (2.56 kB/s)
Rx (60 sec avg): 89 B/s (670 B/s)
Title: more stats running on p3-800 1024mb mem
Post by: (NL)waarom on 12 August, 2005, 22:03:12
Version: PtokaX DC Hub 0.3.3.21 [debug] built on Aug  1 2005 04:03:42
Uptime: 0 days, 12 hours, 29 minutes
Users (Max/Actual Peak (Max Peak)/Logged) : 740 / 522 (640) / 483
Chat messages: 404 x
Unknown commands: 3 x
PM commands: 72 x
Key commands: 167034 x
Supports commands: 152684 x
MyINFO commands: 163175 x
ValidateNick commands: 165614 x
GetINFO commands: 44897 x
Password commands: 2627 x
Version commands: 152545 x
UserIP commands: 9706 x
GetNickList commands: 152373 x
Search commands: 39654 x
SR commands: 222649 x
CTM commands: 245564 x
RevCTM commands: 157124 x
BotINFO commands: 4 x
------------------------------------------------------------
CPU usage (60 sec avg): 3.57%
CPU time: 0:24:06
Mem usage (Old style): 2570 kB
Mem usage (Peak): 12.75 MB (14.61 MB)
VM size (Peak): 16.59 MB (18.41 MB)
------------------------------------------------------------
SendRests (Peak): 6 (12)
Title:
Post by: BeeR on 17 August, 2005, 19:27:58
Hellu folks

can some1 tell me whats this is and whats happends if i change the value ??
MaxLogins=100
Title:
Post by: bastya_elvtars on 17 August, 2005, 19:37:07
QuoteOriginally posted by BeeR
Hellu folks

can some1 tell me whats this is and whats happends if i change the value ??
MaxLogins=100

Maybe it sets the number of maximum simultaneous logins. A geek can also tell how this is influenced by WinXPSP2.
Title:
Post by: BeeR on 17 August, 2005, 19:51:51
QuoteOriginally posted by bastya_elvtars
QuoteOriginally posted by BeeR
Hellu folks

can some1 tell me whats this is and whats happends if i change the value ??
MaxLogins=100

Maybe it sets the number of maximum simultaneous logins. A geek can also tell how this is influenced by WinXPSP2.

and if i use win2k3 std edition ??
Title:
Post by: bluebear on 17 August, 2005, 20:40:39
QuoteOriginally posted by bastya_elvtars
QuoteOriginally posted by BeeR
Hellu folks

can some1 tell me whats this is and whats happends if i change the value ??
MaxLogins=100

Maybe it sets the number of maximum simultaneous logins. A geek can also tell how this is influenced by WinXPSP2.

The MaxLogins setting is the threshold for how many simultanoius clients that can be validated.

I belive this setting has nothing todo with Microsoft Windows XP SP2 nor socket features in Microsoft Windows 2003 Server. But it is true that the windows sockets, in Microsoft Windows XP SP2 changes (restricts) some things. But it is mostly on raw socket, and programs affected would probably be programs like port scanners and such. Anyhow you should not concern your self about this, unless your developing software, or is some kind of superuser.

Hope this answer was usefull :)
Title:
Post by: bastya_elvtars on 17 August, 2005, 20:44:06
I was just asking because handshakes are limited to 10 at a time, and once I was told anout that it can affect servers as well.
Title:
Post by: bluebear on 17 August, 2005, 20:57:53
QuoteOriginally posted by bastya_elvtars
I was just asking because handshakes are limited to 10 at a time, and once I was told anout that it can affect servers as well.

Yes it can affect servers as well, but only a small amount of programs use raw sockets. If a program absolutely need usage of raw sockets, there is a workaround to allow it anyway. And the limit your talking about is only on incomplete outbound connections. When the limit is reached, all new outbound connections are put in a queue and will be resolved at a fixed rate.
Title:
Post by: blackwings on 17 August, 2005, 21:46:31
the default is 50 on max logins, will it take allot more cpu to raise the value to 100?
Title:
Post by: bluebear on 17 August, 2005, 22:26:11
QuoteOriginally posted by blackwings
the default is 50 on max logins, will it take allot more cpu to raise the value to 100?

I recalls a pm with PPK (not sure if im correct) but he said this was made an option. The older ptokax has the limit set to 50, but now there is the setting, wich defaults to 100 (or 50 if im wrong).

Changeing the setting will not take more cpu. Its the amount of concurrent validateing users that desides how much cpus is used. The logics will say that, the more concurrent users who are validated the more cpu you will use. But this setting is not that important, it is unlikely that this many users will connect to you and be validated simultanious (not counting hub restarts and such). But setting this to low on older ptokax version will allow a connection flooder to block access to new users. But this is resolved, with the inbuild deflood.

If it was me who maintained ptokax, this setting would be removed, and the usage of operation time-out would be used instead.
Title:
Post by: PPK on 18 August, 2005, 04:45:54
MaxLogins is no more used for mas simultaneous logins in 0.3.3.2x (= no more way to use it to block hub with flooder), is used for something else and will be replaced with another and better setting  :))
Title:
Post by: bluebear on 18 August, 2005, 07:39:51
Sounds good, what kind of setting will this new one be?
Title:
Post by: PPK on 18 August, 2005, 08:08:28
Something like how much users with finished login sequence add to hub simultaneously -> send userlist to this users -> if hub send it to very much users then is upload on max and hub start dropping users with connection reset :rolleyes:
Title:
Post by: bluebear on 18 August, 2005, 09:17:55
If i understand this right:
Unlimited number of clients can be validated simultaniously. But the nicklist/motd will only be sent to a limited amount of clients simultaniously, and the rest will be placed in a queue?

This will still could be exploitet, as easily as before.

I still think a operation timeout would be better (i know you don't want more timeouts).
For example.
hub sends
$Lock|
Now the client has 2 seconds to send $Supports or $Key
And then the same timeout for each command required to validateing this clients.
Title:
Post by: PPK on 18 August, 2005, 10:24:53
QuoteOriginally posted by bluebear
For example.
hub sends
$Lock|
Now the client has 2 seconds to send $Supports or $Key
$Lock is on start of login sqeuency and limit is after full login is finished and user be added to hub... timeout like this is here only waste of cpu :rolleyes:
Title:
Post by: Psycho_Chihuahua on 22 August, 2005, 22:53:16
[21:21:01] <.BlindGuardian.>
------------------------------------------------------------
Current stats:
------------------------------------------------------------
Version: PtokaX DC Hub 0.3.3.21 [debug] built on Aug 1 2005 04:03:42
Uptime: 19 days, 14 hours, 37 minutes
Users (Max/Actual Peak (Max Peak)/Logged) : 150 / 70 (70) / 61
Chat messages: 5237 x
Unknown commands: 0 x
PM commands: 10516 x
Key commands: 9378 x
Supports commands: 9485 x
MyINFO commands: 33851 x
ValidateNick commands: 5602 x
GetINFO commands: 56 x
Password commands: 7847 x
Version commands: 3500 x
UserIP commands: 39788 x
GetNickList commands: 7826 x
Search commands: 382872 x
SR commands: 128086 x
CTM commands: 8537963 x
RevCTM commands: 2048013 x
BotINFO commands: 0 x
------------------------------------------------------------
CPU usage (60 sec avg): 1.40%
CPU time: 8:38:53
Mem usage (Old style): 1437 kB
Mem usage (Peak): 7.00 MB (20.65 MB)
VM size (Peak): 8.38 MB (25.83 MB)
------------------------------------------------------------
SendRests (Peak): 0 (2)
RecvRests (Peak): 0 (2)
Data sent: 2.18 GB
Data received: 442.38 MB
Tx (60 sec avg): 382 B/s (1.67 kB/s)
Rx (60 sec avg): 344 B/s (287 B/s)


Intel 2,8ghz
512MB DDRAM
20 scripts
Title: Stats
Post by: Snoris on 23 August, 2005, 06:26:37
------------------------------------------------------------
Current stats:
------------------------------------------------------------
Version: PtokaX DC Hub 0.3.3.21 [debug] built on Aug  1 2005 04:03:42
Uptime: 4 days, 1 hours, 46 minutes
Users (Max/Actual Peak (Max Peak)/Logged) : 700 / 233 (233) / 49
Chat messages: 35 x
Unknown commands: 0 x
PM commands: 54 x
Key commands: 14498 x
Supports commands: 13631 x
MyINFO commands: 83067 x
ValidateNick commands: 14478 x
GetINFO commands: 2731 x
Password commands: 498 x
Version commands: 13631 x
UserIP commands: 11011 x
GetNickList commands: 13596 x
Search commands: 41053 x
SR commands: 29739 x
CTM commands: 25892 x
RevCTM commands: 11874 x
BotINFO commands: 0 x
------------------------------------------------------------
CPU usage (60 sec avg): 0.02%
CPU time: 0:01:46
Mem usage (Old style): 1920 kB
Mem usage (Peak): 5.12 MB (20.06 MB)
VM size (Peak): 7.18 MB (21.76 MB)
------------------------------------------------------------
SendRests (Peak): 0 (2)
RecvRests (Peak): 0 (1)
Data sent: 318.64 MB
Data received: 18.27 MB
Tx (60 sec avg): 0 B/s (529 B/s)
Rx (60 sec avg): 0 B/s (90 B/s)

*EDIT*
using a AMD 64 3500+ 1536MB ram

Title:
Post by: Quattro on 23 August, 2005, 09:36:49
QuoteOriginally posted by bluebear
QuoteOriginally posted by bastya_elvtars
QuoteOriginally posted by BeeR
Hellu folks

can some1 tell me whats this is and whats happends if i change the value ??
MaxLogins=100

Maybe it sets the number of maximum simultaneous logins. A geek can also tell how this is influenced by WinXPSP2.

The MaxLogins setting is the threshold for how many simultanoius clients that can be validated.

I belive this setting has nothing todo with Microsoft Windows XP SP2 nor socket features in Microsoft Windows 2003 Server. But it is true that the windows sockets, in Microsoft Windows XP SP2 changes (restricts) some things. But it is mostly on raw socket, and programs affected would probably be programs like port scanners and such. Anyhow you should not concern your self about this, unless your developing software, or is some kind of superuser.

Hope this answer was usefull :)

I didn't notice any problems with my ptokax on winXP SP2
But i got troubles with DC++ though....
DC++ will drop connections with hubs randomly or can't send enough data to the hub to stay in, causing the hub to disconnect you.
This definitely has something to do with the 10 handshakes per second, i was tinkering with the setting a bit using a special program and finally i opened them all.
This fixed my problem

So i recommend everyone using this program, sorry i can't remember the name or adress :S
Title:
Post by: bluebear on 23 August, 2005, 11:38:41
QuoteOriginally posted by Quattro
I didn't notice any problems with my ptokax on winXP SP2
But i got troubles with DC++ though....
DC++ will drop connections with hubs randomly or can't send enough data to the hub to stay in, causing the hub to disconnect you.
This definitely has something to do with the 10 handshakes per second, i was tinkering with the setting a bit using a special program and finally i opened them all.
This fixed my problem

So i recommend everyone using this program, sorry i can't remember the name or adress :S

Did you get any error with ID 4226 in your eventlog?
I have no problems with loss of connections to hub or anything else. Error ID 4226 i get sometimes (to many handshakes) but it do not cause loss of connections.
And a handshake has nothing to do with a connection already established, means that your connection loss probably did not happen because of restrictions on incomplete outbound connections. When i get the 4226 it is because i use all available bandwidht; this results in slow establishment of new connections and the limit will be reached fast. Mostly of all this will only slow down your programs, and i do not belive your dc client problem was directly caused by thease new restrictions in sp2. If your use many different p2p programs simultanious you might suffer greatly under this new restriction. The restriction might cause some programs to do unexpected things, like crash or maybe even drop a connection. The developer of your client should be the one to fix that.
Title:
Post by: Quattro on 23 August, 2005, 11:59:33
SP2 is definitely the cause of the connections being dropped
Because changing the amount of handshakes solves this problem
Title:
Post by: bastya_elvtars on 23 August, 2005, 12:44:49
You can do this setting with XP-Antispy (http://www.xp-antispy.org/).
Title:
Post by: bluebear on 23 August, 2005, 14:58:19
QuoteOriginally posted by Quattro
SP2 is definitely the cause of the connections being dropped
Because changing the amount of handshakes solves this problem

Okay then, but after reading what you described I still don't see any logical reason to why the limit on incompleted outbound connections, also should effect connections that is already established (completed).

I've testet it, by writeing a small program that connects to dcdev hub, and then it keeps flooding new connections that will not be completet (cause the ip is not used). And the programs connection to hub is not dropped nor is it in any other programs i use.

But if this little program bast posted solved your problem it's just great.
Title:
Post by: BeeR on 23 August, 2005, 19:02:05
------------------------------------------------------------
Current stats:
------------------------------------------------------------
Version: PtokaX DC Hub 0.3.3.21 [debug] built on Aug  1 2005 04:03:42
Uptime: 1 days, 11 hours, 37 minutes
Users (Max/Actual Peak (Max Peak)/Logged) : 2000 / 1592 (1592) / 1586
Chat messages: 293 x
Unknown commands: 0 x
PM commands: 183 x
Key commands: 794705 x
Supports commands: 760167 x
MyINFO commands: 825114 x
ValidateNick commands: 794758 x
GetINFO commands: 1 x
Password commands: 35 x
Version commands: 774919 x
UserIP commands: 146425 x
GetNickList commands: 772113 x
Search commands: 234793 x
SR commands: 2352944 x
CTM commands: 737860 x
RevCTM commands: 484344 x
BotINFO commands: 9 x
------------------------------------------------------------
CPU usage (60 sec avg): 8.58%
CPU time: 0:55:26
Mem usage (Old style): 3408 kB
Mem usage (Peak): 30.82 MB (49.64 MB)
VM size (Peak): 26.11 MB (44.97 MB)
------------------------------------------------------------
SendRests (Peak): 30 (47)
RecvRests (Peak): 0 (8)
Data sent: 13.87 GB
Data received: 661.20 MB
Tx (60 sec avg): 37.08 kB/s (376.11 kB/s)
Rx (60 sec avg): 11.13 kB/s (12.41 kB/s)


P4 2.8
1Gb ram
Title:
Post by: badtrip on 01 September, 2005, 10:08:21
hello



this is my stats...


I using a   P3 600Mhz
                                    250Mb pc133

------------------------------------------------------------
Current stats:
------------------------------------------------------------
Version: PtokaX DC Hub 0.3.3.21 [debug] built on Aug  1 2005 04:03:42
Uptime: 0 days, 0 hours, 5 minutes
Users (Max/Actual Peak (Max Peak)/Logged) : 120 / 31 (66) / 31
Chat messages: 2 x
Unknown commands: 0 x
PM commands: 0 x
Key commands: 50 x
Supports commands: 43 x
MyINFO commands: 63 x
ValidateNick commands: 49 x
GetINFO commands: 0 x
Password commands: 12 x
Version commands: 48 x
UserIP commands: 105 x
GetNickList commands: 48 x
Search commands: 7 x
SR commands: 0 x
CTM commands: 101 x
RevCTM commands: 36 x
BotINFO commands: 0 x
------------------------------------------------------------
CPU usage (60 sec avg): 1.92%
CPU time: 2:06:32
Mem usage (Old style): 1933 kB
Mem usage (Peak): 5.62 MB (10.00 MB)
VM size (Peak): 7.61 MB (8.10 MB)
------------------------------------------------------------
SendRests (Peak): 0 (0)
RecvRests (Peak): 0 (0)
Data sent: 328.76 kB
Data received: 22.33 kB
Tx (60 sec avg): 94 B/s (187 B/s)
Rx (60 sec avg): 94 B/s (52 B/s)
Title:
Post by: gander on 01 September, 2005, 12:34:49
heres mine...

got a p3 800mhz


------------------------------------------------------------
Current stats:
------------------------------------------------------------
Version: PtokaX DC Hub 0.3.3.21 [debug] built on Aug  1 2005 04:03:42
Uptime: 0 days, 11 hours, 31 minutes
Users (Max/Actual Peak (Max Peak)/Logged) : 400 / 251 (519) / 251
Chat messages: 3537 x
Unknown commands: 1 x
PM commands: 7 x
Key commands: 2529 x
Supports commands: 2425 x
MyINFO commands: 8324 x
ValidateNick commands: 2461 x
GetINFO commands: 0 x
Password commands: 58 x
Version commands: 1852 x
UserIP commands: 1363 x
GetNickList commands: 1799 x
Search commands: 12468 x
SR commands: 17257 x
CTM commands: 48740 x
RevCTM commands: 38688 x
BotINFO commands: 4 x
------------------------------------------------------------
CPU usage (60 sec avg): 0.75%
CPU time: 0:05:09
Mem usage (Old style): 2148 kB
Mem usage (Peak): 12.45 MB (15.20 MB)
VM size (Peak): 11.59 MB (15.06 MB)
------------------------------------------------------------
SendRests (Peak): 0 (4)
RecvRests (Peak): 0 (1)
Data sent: 229.81 MB
Data received: 153.98 kB
Tx (60 sec avg): 117 B/s (5.30 kB/s)
Rx (60 sec avg): 158 B/s (161 B/s)
Title:
Post by: witch on 09 September, 2005, 23:00:40
Hola guys!

i run 0.3.3.21.nt.dbg powered by RC10.01e, but damn where is Op-Chat gone. is it a BUG or it's just me.

thx in advince  :D
Title:
Post by: Psycho_Chihuahua on 09 September, 2005, 23:31:09
Here a Giant Hub  :D

running on a AMD 2500+ with 1Gb Ram

[23:28:37] <-SanitariuM->
------------------------------------------------------------
Current stats:
------------------------------------------------------------
Version: PtokaX DC Hub 0.3.3.21c [debug] built on Aug 19 2005 07:09:19
Uptime: 0 days, 22 hours, 58 minutes
Users (Max/Actual Peak (Max Peak)/Logged) : 150 / 5 (6) / 2
Chat messages: 242 x
Unknown commands: 0 x
PM commands: 3 x
Key commands: 640 x
Supports commands: 646 x
MyINFO commands: 681 x
ValidateNick commands: 642 x
GetINFO commands: 0 x
Password commands: 21 x
Version commands: 635 x
UserIP commands: 9 x
GetNickList commands: 617 x
Search commands: 204 x
SR commands: 0 x
CTM commands: 5 x
RevCTM commands: 3 x
BotINFO commands: 6 x
------------------------------------------------------------
CPU usage (60 sec avg): 0.00%
CPU time: 0:00:24
Mem usage (Old style): 1886 kB
Mem usage (Peak): 3.64 MB (10.12 MB)
VM size (Peak): 6.55 MB (7.95 MB)
------------------------------------------------------------
SendRests (Peak): 0 (0)
RecvRests (Peak): 0 (1)
Data sent: 698.00 kB
Data received: 216.50 kB
Tx (60 sec avg): 0 B/s (12 B/s)
Rx (60 sec avg): 0 B/s (0 B/s)


Scripts:
AsyncWhois
hostname
ResolveIP
Triggerbot
IPLog
Callscript
Lawmaker
D2Af
Title:
Post by: uffetjur on 09 September, 2005, 23:44:34
one of five hubs running on same machine:


p3, 560Mhz, 1024 MB Ram:

------------------------------------------------------------
Current stats:
------------------------------------------------------------
Version: PtokaX DC Hub 0.3.3.21 [debug] built on Aug  1 2005 04:03:42
Uptime: 3 days, 23 hours, 36 minutes
Users (Max/Actual Peak (Max Peak)/Logged) : 1000 / 378 (389) / 320
Chat messages: 1643 x
Unknown commands: 0 x
PM commands: 2776 x
Key commands: 7824 x
Supports commands: 7679 x
MyINFO commands: 16231 x
ValidateNick commands: 7889 x
GetINFO commands: 0 x
Password commands: 6221 x
Version commands: 5958 x
UserIP commands: 13998 x
GetNickList commands: 5989 x
Search commands: 485937 x
SR commands: 325614 x
CTM commands: 21687877 x
RevCTM commands: 3948110 x
BotINFO commands: 28 x
------------------------------------------------------------
CPU usage (60 sec avg): 1.47%
CPU time: 2:02:24
Mem usage (Old style): 2408 kB
Mem usage (Peak): 12.25 MB (29.79 MB)
VM size (Peak): 12.14 MB (30.79 MB)
------------------------------------------------------------
SendRests (Peak): 1 (4)
RecvRests (Peak): 0 (3)
Data sent: 13.47 GB
Data received: 1.42 GB
Tx (60 sec avg): 28.69 kB/s (37.70 kB/s)
Rx (60 sec avg): 4.23 kB/s (4.12 kB/s)
Title:
Post by: PPK on 09 September, 2005, 23:56:17
QuoteOriginally posted by witch
is it a BUG or it's just me.
No is not bug, check profilemanager and enable opchat for profiles where you want to have it  :]
Title:
Post by: blackwings on 10 September, 2005, 00:48:04
why is the option to choose what action that should be taken,
when a person hammer the hub removed from deflood in 0.3.3.21??
Title:
Post by: witch on 10 September, 2005, 11:08:31
QuoteOriginally posted by PPK
QuoteOriginally posted by witch
is it a BUG or it's just me.
No is not bug, check profilemanager and enable opchat for profiles where you want to have it  :]
damn me blind lol, just not to used to see op-chat anble box on profile manager...hehe

thx a lot dude  :D
Title:
Post by: witch on 11 September, 2005, 13:56:05
in  0.3.3.21.nt.dbg what exactly function "New Conections from same Ip" do? and what the meaning of 2 numeric boxes?

thx in advince  :P
Title:
Post by: blackwings on 11 September, 2005, 14:55:15
QuoteOriginally posted by witch
in  0.3.3.21.nt.dbg what exactly function "New Conections from same Ip" do? and what the meaning of 2 numeric boxes?

thx in advince  :P
for example, if you have 7/10 in New Conections from same Ip, then if a user from the same ip tries to connect more that 7 times to the hub in less then 10 seconds, then deflood with ban it or whatever. This function was it I talked about in mine post above.
Title:
Post by: witch on 11 September, 2005, 15:38:37
Quotefor example, if you have 7/10 in New Conections from same Ip, then if a user from the same ip tries to connect more that 7 times to the hub in less then 10 seconds, then deflood with ban it or whatever. This function was it I talked about in mine post above.
thx blackwings dude for fast replay, so if i understood right this function is like anti clone and i don't need to run any anti clone scripts. right?

thx  :))
Title:
Post by: bastya_elvtars on 11 September, 2005, 16:04:55
QuoteOriginally posted by witch
so if i understood right this function is like anti clone and i don't need to run any anti clone scripts. right?

thx  :))

No, because if a new user connects in an hour with the same IP, PtokaX will do nothing.
Title:
Post by: witch on 11 September, 2005, 17:45:36
QuoteNo, because if a new user connects in an hour with the same IP, PtokaX will do nothing.
so than this function on ptokax is useless?
Title:
Post by: imby on 11 September, 2005, 22:17:40
QuoteOriginally posted by witch
QuoteNo, because if a new user connects in an hour with the same IP, PtokaX will do nothing.
so than this function on ptokax is useless?

Are you completely braindead?
Title:
Post by: witch on 12 September, 2005, 10:27:37
QuoteOriginally posted by imby

Are you completely braindead?
YES i am, otherwise why i would ask it here U super CLEVER  smartess  :baby:
Title:
Post by: Pothead on 12 September, 2005, 17:17:20
No, it's for detecting flooders, and not clone users or people on a shared ip.
Title:
Post by: witch on 12 September, 2005, 18:07:40
QuoteOriginally posted by Pothead
No, it's for detecting flooders, and not clone users or people on a shared ip.
@last i hear senceble answer!

Thx a lot Pothead, chears  :))
Title:
Post by: blackwings on 12 September, 2005, 21:10:29
QuoteOriginally posted by witch
QuoteOriginally posted by Pothead
No, it's for detecting flooders, and not clone users or people on a shared ip.
@last i hear senceble answer!

Thx a lot Pothead, chears  :))
well, you should have known it yourself, everything in deflood is for detecting flooders ;)
Title:
Post by: imby on 13 September, 2005, 16:33:45
QuoteOriginally posted by witch
QuoteOriginally posted by imby

Are you completely braindead?
YES i am, otherwise why i would ask it here U super CLEVER  smartess  :baby:

Sorry I just thought it was painfully obvious, especially if you read what was written in front of you.
Title:
Post by: blackwings on 13 September, 2005, 21:35:00
I did created a seperate thread about this, but no one answered, so I ask here as well =

PPK, if I disable null sessions in windows, can it cause problems for Ptokax?
Title:
Post by: blackwings on 08 October, 2005, 16:06:48
just curious, when does the next release come, I really want to have it because of its new banlist + ofcourse that some bugs are fixed in that release :D

btw, ppk, have you fixed the auto register problem?
Title:
Post by: 6Marilyn6Manson6 on 11 October, 2005, 16:29:36
------------------------------------------------------------
Current stats:
------------------------------------------------------------
Version: PtokaX DC Hub 0.3.3.21 [debug] built on Aug  1 2005 04:03:42
Uptime: 6 days, 15 hours, 49 minutes
Users (Max/Actual Peak (Max Peak)/Logged) : 3400 / 1684 (3586) / 1400
Chat messages: 30257 x
Unknown commands: 10 x
PM commands: 34166 x
Key commands: 871868 x
Supports commands: 859640 x
MyINFO commands: 1031431 x
ValidateNick commands: 755684 x
GetINFO commands: 38246 x
Password commands: 1574 x
Version commands: 654539 x
UserIP commands: 406249 x
GetNickList commands: 568037 x
Search commands: 2726159 x
SR commands: 13570330 x
CTM commands: 25148606 x
RevCTM commands: 13077086 x
BotINFO commands: 45 x
------------------------------------------------------------
CPU usage (60 sec avg): 5.83%
CPU time: 5:56:07
Mem usage (Old style): 3277 kB
Mem usage (Peak): 20.86 MB (37.68 MB)
VM size (Peak): 20.81 MB (37.64 MB)
------------------------------------------------------------
SendRests (Peak): 11 (201)
RecvRests (Peak): 0 (5)
Data sent: 209.03 GB
Data received: 3.98 GB
Tx (60 sec avg): 279.19 kB/s (523.51 kB/s)
Rx (60 sec avg): 3.99 kB/s (13.67 kB/s)


BoT: RoboCop10.01e
very nice.. c ya
Title: Stats
Post by: Ricky12 on 15 October, 2005, 20:23:39
-----------------------------------------------------------
Current stats:
------------------------------------------------------------
Version: PtokaX DC Hub 0.3.3.21 [debug] built on Aug  1 2005 04:03:42
Uptime:  34 days, 19 hours, 20 minutes
Users (Max/Actual Peak (Max Peak)/Logged) : 150 / 116 (116) / 61
Chat messages: 184 x
Unknown commands: 28 x
PM commands: 351 x
Key commands: 958041 x
Supports commands: 855066 x
MyINFO commands: 1096320 x
ValidateNick commands: 966802 x
GetINFO commands: 90 x
Password commands: 3221 x
Version commands: 931675 x
UserIP commands: 14469 x
GetNickList commands: 913533 x
Search commands: 275778 x
SR commands: 11593 x
CTM commands: 71669 x
RevCTM commands: 69772 x
BotINFO commands: 0 x
------------------------------------------------------------
CPU usage (60 sec avg): 0.03%
CPU time: 0:19:51
Mem usage (Old style): 1974 kB
Mem usage (Peak): 8.38 MB (9.30 MB)
VM size (Peak): 8.62 MB (9.14 MB)
------------------------------------------------------------
SendRests (Peak): 0 (2)
RecvRests (Peak): 0 (1)
Data sent: 832.76 MB
Data received: 272.32 MB
Tx (60 sec avg): 4.58 kB/s (501 B/s)
Rx (60 sec avg): 0 B/s (55 B/s)
Title:
Post by: Oz on 18 October, 2005, 11:28:20
------------------------------------------------------------
Current stats:
------------------------------------------------------------
Version: PtokaX DC Hub 0.3.3.21 [debug] built on Aug  1 2005 04:03:42
Uptime: 36 days, 9 hours, 42 minutes
Users (Max/Actual Peak (Max Peak)/Logged) : 250 / 170 (170) / 70
Chat messages: 129764 x
Unknown commands: 2 x
PM commands: 107831 x
Key commands: 76935 x
Supports commands: 190590 x
MyINFO commands: 223782 x
ValidateNick commands: 72115 x
GetINFO commands: 40469 x
Password commands: 6168 x
Version commands: 64076 x
UserIP commands: 0 x
GetNickList commands: 72509 x
Search commands: 284485 x
SR commands: 664982 x
CTM commands: 177444 x
RevCTM commands: 71216 x
BotINFO commands: 0 x
------------------------------------------------------------
CPU usage (60 sec avg): 0.00%
CPU time: 0:08:54
Mem usage (Old style): 1469 kB
Mem usage (Peak): 7.80 MB (9.57 MB)
VM size (Peak): 7.82 MB (10.37 MB)
------------------------------------------------------------
SendRests (Peak): 0 (2)
RecvRests (Peak): 0 (1)
Data sent: 5.60 GB
Data received: 183.92 MB
Tx (60 sec avg): 0 B/s (175 B/s)
Rx (60 sec avg): 0 B/s (4 B/s)
Title:
Post by: 6Marilyn6Manson6 on 01 November, 2005, 00:28:30
------------------------------------------------------------
Current stats:
------------------------------------------------------------
Version: PtokaX DC Hub 0.3.3.21 [debug] built on Aug  1 2005 04:03:42
Uptime: 0 days, 3 hours, 46 minutes
Users (Max/Actual Peak (Max Peak)/Logged) : 180 / 176 (200) / 152
Chat messages: 5 x
Unknown commands: 0 x
PM commands: 1 x
Key commands: 29401 x
Supports commands: 29475 x
MyINFO commands: 16848 x
ValidateNick commands: 27649 x
GetINFO commands: 0 x
Password commands: 11 x
Version commands: 11559 x
UserIP commands: 9563 x
GetNickList commands: 10273 x
Search commands: 7947 x
SR commands: 7031 x
CTM commands: 4466 x
RevCTM commands: 2629 x
BotINFO commands: 0 x
------------------------------------------------------------
CPU usage (60 sec avg): 0.28%
CPU time: 0:01:26
Mem usage (Old style): 2043 kB
Mem usage (Peak): 7.30 MB (11.76 MB)
VM size (Peak): 6.47 MB (7.58 MB)
------------------------------------------------------------
SendRests (Peak): 0 (2)
RecvRests (Peak): 0 (1)
Data sent: 92.27 MB
Data received: 7.85 MB
Tx (60 sec avg): 14.40 kB/s (5.81 kB/s)
Rx (60 sec avg): 78 B/s (316 B/s)

C ya
Title:
Post by: uffetjur on 01 November, 2005, 01:13:46
------------------------------------------------------------
Current stats:
------------------------------------------------------------
Version: PtokaX DC Hub 0.3.3.21 [debug] built on Aug  1 2005 04:03:42
Uptime: 0 days, 0 hours, 38 minutes
Users (Max/Actual Peak (Max Peak)/Logged) : 2000 / 606 (628) / 603
Chat messages: 177 x
Unknown commands: 0 x
PM commands: 227 x
Key commands: 931 x
Supports commands: 959 x
MyINFO commands: 1192 x
ValidateNick commands: 940 x
GetINFO commands: 0 x
Password commands: 932 x
Version commands: 916 x
UserIP commands: 1539 x
GetNickList commands: 929 x
Search commands: 4691 x
SR commands: 1358 x
CTM commands: 220962 x
RevCTM commands: 49886 x
BotINFO commands: 0 x
------------------------------------------------------------
CPU usage (60 sec avg): 11.68%
CPU time: 0:06:03
Mem usage (Old style): 3056 kB
Mem usage (Peak): 16.55 MB (25.98 MB)
VM size (Peak): 18.14 MB (26.84 MB)
------------------------------------------------------------
SendRests (Peak): 0 (9)
RecvRests (Peak): 0 (1)
Data sent: 244.89 MB
Data received: 14.80 MB
Tx (60 sec avg): 234.31 kB/s (112.37 kB/s)
Rx (60 sec avg): 6.83 kB/s (7.19 kB/s)
Title: Hub user limit fails to meet real connecting user
Post by: ruspant on 07 November, 2005, 21:15:01
[21:06] *** Connessione in corso a pozzodelleanime.gotdns.org...
[21:06] *** Connesso
[21:06] <(+Mastro?di?Chiavi+)> This hub is full. 269 users online.    ?(  ?(
[21:06] *** Disconnesso


------------------------------------------------------------
Current stats:
------------------------------------------------------------
Version: PtokaX DC Hub 0.3.3.21 [debug] built on Aug  1 2005 04:03:42
Uptime: 2 days, 4 hours, 51 minutes
Users (Max/Actual Peak (Max Peak)/Logged) : 350 / 317 (317) / 274     ?(  ?(
Chat messages: 11640 x
Unknown commands: 1 x
PM commands: 5408 x
Key commands: 590309 x
Supports commands: 601271 x
MyINFO commands: 423579 x
ValidateNick commands: 440698 x
GetINFO commands: 1624 x
Password commands: 7023 x
Version commands: 235936 x
UserIP commands: 47432 x
GetNickList commands: 214336 x
Search commands: 203957 x
SR commands: 49116 x
CTM commands: 818412 x
RevCTM commands: 325454 x
BotINFO commands: 12 x
------------------------------------------------------------
CPU usage (60 sec avg): 0.47%
CPU time: 0:23:14
Mem usage (Old style): 2390 kB
Mem usage (Peak): 17.38 MB (20.81 MB)
VM size (Peak): 17.38 MB (20.00 MB)
------------------------------------------------------------
SendRests (Peak): 2  (6)
RecvRests (Peak): 0  (2)
Data sent: 2.00 GB
Data received: 203.95 MB
Tx (60 sec avg): 1.12 kB/s (19.68 kB/s)
Rx (60 sec avg): 1.02 kB/s (1.31 kB/s)


As you can see from above, the hub limit is set to 350 but hubsoft does not accept incoming users over 269...
Very strange behaviour if you think it does the same even with scripting disabled and after cleaning the ban list.
I've also tryed do do a "almost clean" install, keeping only my RegisteredUsers.xml.. and still the problem persists.
Any hints to solve this ?
Thanks a lot
Ruspant /Eymerich
Title:
Post by: uffetjur on 07 November, 2005, 22:25:38
set anything in dynamic redirect ???
Title:
Post by: PPK on 08 November, 2005, 03:37:35
QuoteOriginally posted by ruspant
As you can see from above, the hub limit is set to 350 but hubsoft does not accept incoming users over 269...
Look in users/chat to total, is number of total users connected (all users not finish login) and if this number is higher than userlimit then hub not accept more users.
Title:
Post by: 6Marilyn6Manson6 on 08 November, 2005, 16:58:09
Hi PPK.. I have small request for new PtokaX. Can you change getinfo command? Now not is nice.... change actually display with this:

---------------------------------------------------------------------------------------------------------
? Showing information on: 6Marilyn6Manson6
---------------------------------------------------------------------------------------------------------
? General information:
?  User: 6Marilyn6Manson6 (Online)
?  Profile: Master
?  IP: 87.X.XXX.XX (Connected: 2005-11-08 16:13:39)
?  DNS:
?  Passive: No
?  Operator: Yes
?  Times kicked: 0
?  
?  Sharesize: 1.84 TiB (exact size: 2022605183950 B)
?  Email: /
?  Description: /
?  Tag: <++ V:0.674,M:A,H:0/19/85,S:2>
?  Hubs: 104
?  Slots: 2
?  Client: DC++0.674
?
? IP history:
?  87.X.XXX.XX From: 2005-11-08 16:13:49 To: Still connected
?
---------------------------------------------------------------------------------------------------------

i things this is very very nice. Thanks a lot
Title:
Post by: Corayzon on 08 November, 2005, 23:23:43
It would be better to include templates for all the displays:

---------------------------------------------------------------------------------------------------------
? Showing information on: 6Marilyn6Manson6
---------------------------------------------------------------------------------------------------------
? General information:
?  User: #Nick (#Status)
?  Profile: #Profile
?  IP: #IP (Connected: #LastConnect)
?  DNS: #DNS
?  Passive: #Mode
?  Operator: #Operator
?  Times kicked: #TimesKicked
?  
?  Sharesize: #ShareSize (exact size: #ExactShareSize)
?  Email: #Email
?  Description: #Description
?  Tag: #Tag
?  Hubs: #TotalHubs
?  Slots: #Slots
?  Client: #Client #Version
---------------------------------------------------------------------------------------------------------

And so on.

This means hub owners can change the way the hub looks instead of being forced to use the generic displays.

Would also be nice to have a editable ban\reg\so forth messages =]
Title:
Post by: 6Marilyn6Manson6 on 08 November, 2005, 23:34:12
Thanks Corayzon and kisses for you LMAO
Title: Hub user limit fails to meet real connecting user
Post by: ruspant on 09 November, 2005, 21:54:38
Thanx PPK.
I'm just checking the hub now:

Userlimit: 300
Total: 302
Logged: 206

this.. while I have set

frmHub:SetMaxLogins(10)

and hub access is restricted to registered user only.

The total # of users keep floating around 300 but logged ones keep falling...

(Total - Logged) is always > 70 !!!!!

Sounds quite strange to me...
maybe some clients hangs while loggin in and lock the socket for a long time ?

I forgot to say that i'm using tcp 411 & 4111 and upd 1411 port.
Could this has some meaning about my problem ?
Title:
Post by: PPK on 09 November, 2005, 23:27:54
QuoteOriginally posted by ruspant
frmHub:SetMaxLogins(10)
This is very low, try 50 or maybe better 100...
QuoteOriginally posted by ruspant
maybe some clients hangs while loggin in and lock the socket for a long time ?
Yes some clients (DC++ and mods) without reason sometimes hang on login and block socket, i have two timeouts to catch it but if you have low max logins then is not big problem to take all login sockets  :(
Title:
Post by: ruspant on 10 November, 2005, 19:55:32
QuoteThis is very low, try 50 or maybe better 100...

The problem stil persist even with 50 or 100.
Maybe some client

QuoteYes some clients (DC++ and mods) without reason sometimes hang on login and block socket, i have two timeouts to catch it

Is it possible to change settings for these timeouts or otherwise close any "hanging" socket ?
Title:
Post by: 6Marilyn6Manson6 on 16 November, 2005, 14:59:40
------------------------------------------------------------
Current stats:
------------------------------------------------------------
Version: PtokaX DC Hub 0.3.3.21 [debug] built on Aug  1 2005 04:03:42
Uptime: 15 days, 9 hours, 38 minutes
Users (Max/Actual Peak (Max Peak)/Logged) : 800 / 137 (284) / 66
Chat messages: 9593 x
Unknown commands: 13 x
PM commands: 7525 x
Key commands: 4749330 x
Supports commands: 4782496 x
MyINFO commands: 4654785 x
ValidateNick commands: 4328840 x
GetINFO commands: 7867 x
Password commands: 2626 x
Version commands: 4139007 x
UserIP commands: 5364 x
GetNickList commands: 3675631 x
Search commands: 295713 x
SR commands: 146342 x
CTM commands: 954874 x
RevCTM commands: 396613 x
BotINFO commands: 92 x
------------------------------------------------------------
CPU usage (60 sec avg): 0.08%
CPU time: 0:29:57
Mem usage (Old style): 2199 kB
Mem usage (Peak): 7.98 MB (13.67 MB)
VM size (Peak): 8.04 MB (13.76 MB)
------------------------------------------------------------
SendRests (Peak): 0 (3)
RecvRests (Peak): 0 (4)
Data sent: 3.88 GB
Data received: 1.23 GB
Tx (60 sec avg): 517 B/s (2.09 kB/s)
Rx (60 sec avg): 368 B/s (466 B/s)

C ya
Title:
Post by: PPK on 16 November, 2005, 18:26:47
QuoteOriginally posted by ruspant
Is it possible to change settings for these timeouts
No, lower timeout cause disconnecting of slow users.
QuoteOriginally posted by ruspant
otherwise close any "hanging" socket ?
Here is no way to detect this sockets...