0.31

Releases and bugs in here...
arnetheduck
The Creator Himself
Posts: 296
Joined: 2003-01-02 22:15

0.31

Post by arnetheduck » 2003-12-25 12:24

dchpp-0.31-2*.rar at the usual server...

BSOD2600
Forum Moderator
Posts: 503
Joined: 2003-01-27 23:47
Location: USA

Post by BSOD2600 » 2004-01-03 00:24

DCH++ v0.31-Release (Plugin API v0.31) compiled on Dec 24 2003 20:43:18
Os: Win2000 Server SP4
Uptime: 21:13:30:02 (CPU time used: 0:00:27:57)
Memory, Working Set (peak): 9.29 MB (12.92 MB)
Memory, VM size (peak): 7.66 MB (11.50 MB)

Data sent: 577.44 MB (325 B/s)
Data received: 100.36 MB (56 B/s)
Users / Sockets active: 25 / 78

Users allowed into the hub: 14372 (27.77/h)
Users denied access: 395169 (763.61/h)
Reasons for being denied / disconnected:
Banned: 11141 (21.53/h)
Invalid nick: 0 (0.00/h)
Nick or description length: 0 (0.00/h)
Min share not met: 300188 (580.07/h)
Disconnected by plugins: 14478 (27.98/h)
Flooding: 1 (0.00/h)
Early search (moglo?): 1434 (2.77/h)
Protocol Violations: 2862 (5.53/h)
Buffer Overflow (In): 1 (0.00/h)
Buffer Overflow (Out): 384 (0.74/h)
Hub full: 0 (0.00/h)
Nick busy: 1289 (2.49/h)
Wrong password: 3 (0.01/h)
Login timeouts: 2103 (4.06/h)
Unallowed ip's: 0 (0.00/h)
Unregistered: 0 (0.00/h)

Kicked: 89 (0.17/h)
Redirected: 0 (0.00/h)
User info updates (MyINFO): 351077 (678.41/h)
User info requests (GetINFO): 113808 (219.92/h)

Active searches: 80415 (155.39/h)
Passive searches: 64025 (123.72/h)
Passive search results: 92023 (177.82/h, 1.44/search)
Chat messages: 925 (1.79/h)
Private messages: 749 (1.45/h)
Statistics shown =): 17 (0.03/h)

Note; All numbers are for incoming traffic, of which much results in "numberOfUsers" times as much outgoing traffic.
[11:33] <DCH++> [HubRules] Statistics:
* Allowed active search bots: 19175
* BotINFO's interpreted: 14
* Clients disconnected: 64531
- old version: 3532
- many hubs: 7221
- few slots: 4
- many slots: 61
- few slots/hub: 6278
- extra slots limit (O:): 0
- low upload limit: 211
- no [isp] nick: 0
- bad nickname: 2
- early search: 33049
- bad data: 0
- disallowed client: 0
- bad tag: 0


Currently loaded scripts (Name MemUsage / NextGC (files):
Executer 22.00 kB / 28.00 kB (executer.lua)
Opcomextra 45.00 kB / 84.00 kB (OpComExtra.lua)
Searchkick 32.00 kB / 56.00 kB (searchkick.lua)
WarnOldDC 32.00 kB / 34.00 kB (DCppSec.lua)
HubListAllow 36.00 kB / 37.00 kB (HublistPingerHelper.lua)
+me 19.00 kB / 26.00 kB (me.lua)
ChatHistory 21.00 kB / 40.00 kB (ChatHistory.lua)


*sigh* seems my hub is shrinking :(
Last edited by BSOD2600 on 2004-01-17 19:38, edited 3 times in total.

yakko
Posts: 258
Joined: 2003-01-27 06:04

Post by yakko » 2004-01-09 06:07

sigh...I'm stupid and didn't realize the plugins are now included.

DCH++ v0.31-Release (Plugin API v0.31) compiled on Dec 25 2003 13:00:53
Os: Linux 2.4.21cybertron-network (i586)
Uptime: 0:00:15:06
CPU usage:
\_ 0:00:00:00 (u) 0:00:00:00 (s) 0:00:00:00 (cu) 0:00:00:00 (cs) [5751]
\_ 0:00:00:00 (u) 0:00:00:00 (s) 0:00:00:00 (cu) 0:00:00:00 (cs) [5752]
\_ 0:00:00:00 (u) 0:00:00:00 (s) 0:00:00:00 (cu) 0:00:00:00 (cs) [5753]
\_ 0:00:00:00 (u) 0:00:00:00 (s) 0:00:00:00 (cu) 0:00:00:00 (cs) [5754]
totals: 0:00:00:00 (u) 0:00:00:00 (s) 0:00:00:00 (cu) 0:00:00:00 (cs) 0:00:00:00 (total)
Memory usage (vmsize): 8.31 MB (8712192)

Data sent: 12.37 kB (13 B/s)
Data received: 1.05 kB (1 B/s)
Users / Sockets active: 1 / 1

Users allowed into the hub: 1 (3.97/h)
Users denied access: 7 (27.81/h)
Reasons for being denied / disconnected:
Banned: 0 (0.00/h)
Invalid nick: 0 (0.00/h)
Nick or description length: 0 (0.00/h)
Min share not met: 0 (0.00/h)
Disconnected by plugins: 0 (0.00/h)
Flooding: 0 (0.00/h)
Early search (moglo?): 0 (0.00/h)
Protocol Violations: 0 (0.00/h)
Buffer Overflow (In): 0 (0.00/h)
Buffer Overflow (Out): 0 (0.00/h)
Hub full: 7 (27.81/h)
Nick busy: 0 (0.00/h)
Wrong password: 0 (0.00/h)
Login timeouts: 0 (0.00/h)
Unallowed ip's: 0 (0.00/h)
Unregistered: 0 (0.00/h)

Kicked: 0 (0.00/h)
Redirected: 0 (0.00/h)
User info updates (MyINFO): 2 (7.95/h)
User info requests (GetINFO): 0 (0.00/h)

Active searches: 0 (0.00/h)
Passive searches: 0 (0.00/h)
Passive search results: 0 (0.00/h, 0.00/search)
Chat messages: 3 (11.92/h)
Private messages: 0 (0.00/h)
Statistics shown =): 1 (3.97/h)

Note; All numbers are for incoming traffic, of which much results in "numberOfUsers" times as much outgoing traffic.
[23:58] <-=VectorSigma=-> [HubRules] Statistics:
* Allowed active search bots: 0
* BotINFO's interpreted: 0
* Clients disconnected: 0
- old version: 0
- many hubs: 0
- few slots: 0
- many slots: 0
- few slots/hub: 0
- extra slots limit (O:): 0
- low upload limit: 0
- no [isp] nick: 0
- bad nickname: 0
- early search: 0
- bad data: 0
- disallowed client: 0
- bad tag: 0


This is after I've just gotten it setup. I hope to get some users in here later today (friday).

BSOD, where'd you get the me.lua? If possible can I get a copy of it? I've been looking for a +me type script for a while!

BSOD2600
Forum Moderator
Posts: 503
Joined: 2003-01-27 23:47
Location: USA

Post by BSOD2600 » 2004-01-09 06:13

Sed gave it to me after I bugged him ;-)

Code: Select all

-- vim:ts=4:sw=4:noet

function dchpp.clientMessage( client, msg )
        local cmd = string.sub( msg, 1, 4 )
        if cmd == "+me " then
           dchpp.sendToAll( "* "..client:getNick().." "..string.sub( msg, 5 ).."|" )
           return dchpp.ACTION_STOP
        end
end

arnetheduck
The Creator Himself
Posts: 296
Joined: 2003-01-02 22:15

Post by arnetheduck » 2004-01-09 16:52

so, any functional issues in 0.31? I was thinking about a public release soon...

Oh, and in case you wonder, I'll still have use for you beta testers (specially since you seem pretty loyal and hardened by now, not giving up on first error =), I plan on making dch++ releases a bit more stable / tested than the dc++ counterpart =)...and I don't plan on making the public ones very often either, I have no interest whatsoever in caring about whining hub owners (not that I care particularily about whining client users, anyway)...

In case people ask, the first public release will _probably_ be closed-source, no public plugin api and non-commercial use only done mainly as a large scale beta test...

yakko
Posts: 258
Joined: 2003-01-27 06:04

Post by yakko » 2004-01-09 18:31

BSOD2600 wrote:Sed gave it to me after I bugged him ;-)


W00t! works great! Thanks to both of you!

yakko
Posts: 258
Joined: 2003-01-27 06:04

Post by yakko » 2004-01-09 18:34

arnetheduck wrote:so, any functional issues in 0.31? I was thinking about a public release soon...

Oh, and in case you wonder, I'll still have use for you beta testers (specially since you seem pretty loyal and hardened by now, not giving up on first error =), I plan on making dch++ releases a bit more stable / tested than the dc++ counterpart =)...and I don't plan on making the public ones very often either, I have no interest whatsoever in caring about whining hub owners (not that I care particularily about whining client users, anyway)...

In case people ask, the first public release will _probably_ be closed-source, no public plugin api and non-commercial use only done mainly as a large scale beta test...


I haven't stress tested it, but I think it might need some more detailed instructions or a version of the readme with Linux instructions with the Linux distro. I had to get the one from the windows one last nite. I can go through that one in a few minutes and change the appropriate details if you don't mind.

BSOD2600
Forum Moderator
Posts: 503
Joined: 2003-01-27 23:47
Location: USA

Post by BSOD2600 » 2004-01-09 19:10

I havn't noticed any problems. I've had up to 450 people on my hub at one time via a T1. Only thing left before release is good documentation on how to set it up, etc.

yakko
Posts: 258
Joined: 2003-01-27 06:04

Post by yakko » 2004-01-09 19:26

I can't seem to run it in daemon mode in linux. It just dies automatically. command-line mode seems to work fine though.

here's some changes in the readme I'd suggest:

Code: Select all

-- Installation --

1. Unextract all files into a directory of your choice. By default the config files will be looked for in /etc/dchpp. You can specify a directory of your choice by adding the -c command
2. Open dchpp.xml with notepad and check that all settings are to your satisfaction. If you don't understand
   a setting you're most probably better off leaving it alone.
3. Open the other xml's you'll find in the config dir. Most important are levels.xml and users.xml.

4. Try starting the hub by opening a command prompt and typing "dchpp". When the hub has started, you should
   be able to connect to it with a client of your choice. If something doesn't work, make sure you've enabled
   logging, and check the log file for hints why things didn't work out.
5. Edit motd.txt to your liking.
6. * Linux only *
   To run the hub start it with "dchpp <network card>"
      *note: you may have to be root to run dchpp*
6. * Windows only *
   To run the hub as a service, install it with "dchpp -i <name>". A service with the name <name> will be installed,
   and you can then use "net start <name>" to start it. If you want to run multiple hubs as services, use
   "dchpp -i <name>" with a different name for each service (put them in different directories to use different
   config files). To uninstall, type "dchpp -u <name>".

arnetheduck
The Creator Himself
Posts: 296
Joined: 2003-01-02 22:15

Post by arnetheduck » 2004-01-12 16:05

yakko wrote:I can't seem to run it in daemon mode in linux. It just dies automatically. command-line mode seems to work fine though.

anything in log at all? what return code does the process give?

yakko
Posts: 258
Joined: 2003-01-27 06:04

Post by yakko » 2004-01-12 16:12

arnetheduck wrote:
yakko wrote:I can't seem to run it in daemon mode in linux. It just dies automatically. command-line mode seems to work fine though.

anything in log at all? what return code does the process give?


I get nothing returned, so I assume it worked, but it's not in the process list. Running in normal mode works most of the time but I seem to get seg faults occasionally (nothing in the logs about it).
Anything I can do to get more information to you?

arnetheduck
The Creator Himself
Posts: 296
Joined: 2003-01-02 22:15

Post by arnetheduck » 2004-01-12 16:17

yeah, join wza.digitalbrains.com:1416

OLDoMiNiON
Posts: 202
Joined: 2003-01-06 11:22
Location: Salford, England.

Post by OLDoMiNiON » 2004-01-18 23:18

consider the following two +stats views:

0.31 running for 2 weeks. 1210 users, ~110MB RAM!

[12:23] <EssentialSecurity™>
DCH++ v0.31-Release (Plugin API v0.31) compiled on Dec 24 2003 20:43:18
Os: Win2003 Server
Uptime: 16:11:49:43 (CPU time used: 0:12:53:15)
Memory, Working Set (peak): 93.34 MB (109.37 MB)
Memory, VM size (peak): 97.23 MB (111.75 MB)

Data sent: 291.46 GB (214.47 kB/s)
Data received: 18.00 GB (13.25 kB/s)
Users / Sockets active: 1210 / 1278

Users allowed into the hub: 264020 (667.01/h)
Users denied access: 4055181 (10244.79/h)
Reasons for being denied / disconnected:
Banned: 372389 (940.78/h)
Invalid nick: 0 (0.00/h)
Nick or description length: 18679 (47.19/h)
Min share not met: 10345 (26.14/h)
Disconnected by plugins: 1461184 (3691.46/h)
Flooding: 720 (1.82/h)
Early search (moglo?): 1339 (3.38/h)
Protocol Violations: 57000 (144.00/h)
Buffer Overflow (In): 19 (0.05/h)
Buffer Overflow (Out): 67726 (171.10/h)
Hub full: 0 (0.00/h)
Nick busy: 54989 (138.92/h)
Wrong password: 164 (0.41/h)
Login timeouts: 20993 (53.04/h)
Unallowed ip's: 0 (0.00/h)
Unregistered: 0 (0.00/h)

Kicked: 7203 (18.20/h)
Redirected: 5 (0.01/h)
User info updates (MyINFO): 2256492 (5700.68/h)
User info requests (GetINFO): 91788750 (231890.13/h)

Active searches: 1522035 (3845.19/h)
Passive searches: 1428827 (3609.71/h)
Passive search results: 57828067 (146093.70/h, 40.47/search)
Chat messages: 201344 (508.66/h)
Private messages: 308465 (779.29/h)
Statistics shown =): 303 (0.77/h)

Note; All numbers are for incoming traffic, of which much results in "numberOfUsers" times as much outgoing traffic.



0.32. runtime: 6 hours. 1424 users. only 25MB of RAM used.
(same plugins, and MORE scripts than above ;))

DCH++ v0.32-Release (Plugin API v0.32) compiled on Jan 17 2004 19:00:11
Os: Win2003 Server
Uptime: 0:06:29:56 (CPU time used: 0:00:15:01)
Memory, Working Set (peak): 19.66 MB (26.68 MB)
Memory, VM size (peak): 18.28 MB (24.99 MB)

Data sent: 9.32 GB (417.86 kB/s)
Data received: 496.50 MB (21.73 kB/s)
Users / Sockets active: 1424 / 1499

Users allowed into the hub: 10905 (1677.98/h)
Users denied access: 92605 (14249.36/h)
Reasons for being denied / disconnected:
Banned: 7563 (1163.74/h)
Invalid nick: 0 (0.00/h)
Nick or description length: 315 (48.47/h)
Min share not met: 175 (26.93/h)
Disconnected by plugins: 39393 (6061.50/h)
Flooding: 27 (4.15/h)
Early search (moglo?): 41 (6.31/h)
Protocol Violations: 1213 (186.65/h)
Buffer Overflow (In): 1 (0.15/h)
Buffer Overflow (Out): 4047 (622.72/h)
Hub full: 0 (0.00/h)
Nick busy: 864 (132.95/h)
Wrong password: 7 (1.08/h)
Login timeouts: 880 (135.41/h)
Unallowed ip's: 0 (0.00/h)
Unregistered: 0 (0.00/h)

Kicked: 320 (49.24/h)
Redirected: 0 (0.00/h)
User info updates (MyINFO): 62962 (9688.12/h)
User info requests (GetINFO): 3296772 (507282.41/h)

Active searches: 34152 (5255.05/h)
Passive searches: 32829 (5051.48/h)
Passive search results: 1943203 (299005.42/h, 59.19/search)
Chat messages: 4094 (629.95/h)
Private messages: 5597 (861.22/h)
Statistics shown =): 7 (1.08/h)

Note; All numbers are for incoming traffic, of which much results in "numberOfUsers" times as much outgoing traffic.


Possible (albeit very slow) memory leak in 0.31? Fixed in 0.32?

arnetheduck
The Creator Himself
Posts: 296
Joined: 2003-01-02 22:15

Post by arnetheduck » 2004-01-19 09:39

opcomextra uses more and more memory the longer you use it...

OLDoMiNiON
Posts: 202
Joined: 2003-01-06 11:22
Location: Salford, England.

Post by OLDoMiNiON » 2004-01-19 15:51

how come?

Sedulus
Forum Moderator
Posts: 687
Joined: 2003-01-04 14:32

Post by Sedulus » 2004-01-20 02:24

ghe =)
because it stores every unique IP and nick

get the newest from dchpp.digitalbrains.com
that one won't save login stuff, because I assume you're running simplelog, which should be a (better) replacement
http://dc.selwerd.nl/hublist.xml.bz2
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)

OLDoMiNiON
Posts: 202
Joined: 2003-01-06 11:22
Location: Salford, England.

Post by OLDoMiNiON » 2004-01-20 15:26

never realised ;) ..never had a use for it since simplelog did all i wanted. ;)

Updated anyway. :)

Who is online

Users browsing this forum: Google [Bot] and 0 guests