View Issue Details

IDProjectCategoryView StatusLast Update
0002473unrealircdpublic2005-05-26 16:53
ReporterDuplex Assigned To 
PrioritynormalSeveritycrashReproducibilityhave not tried
Status closedResolutionopen 
Product Version3.2.3 
Summary0002473: /spamfilter add u viruschan - - <reason> <regex> -> crashes all leafs with userload if 200+ users match
DescriptionWe are running a 0001464:0004500 user network on Unreal 3.2.3
We found a 350 clients botnet and wanted to "viruschan" them, all had "abc|d" as realname.
So i added:
  /spamfilter add u viruschan - - <reasonhere> abc\|d

Afer that, all leafs with userload on them died.
I tried to do this on a testnetwork (one server, same version, same services), but there it worked fine. Seems only to happen if many (100+) users match.

That happened ~10days ago. Yesterday another spamfilter was added:
/spamfilter add u viruschan - Suspected_bot [a-z][0-9]{4}

Regex was not very well chosen, so this one again probably triggered some 100 clients and all leafs with userload on them crashed.

First spamfilter was issued on a hub, second on a leaf.
We will try to reproduce that and i will report here
Steps To Reproduce1.) bring ~200+ (perpaps more, perhaps less) users with a soimilar realname online.
2.) add a spamfilter:
/spamfilter add u viruschan - Suspected_bot <realname_regex_here>
3.) look if leafs crash because of mass-match of regex.
3rd party modules

Activities

vonitsanet

2005-04-11 06:45

reporter   ~0009729

any source modification?
Any modules loaded?
Can you also upload the core file?

syzop

2005-04-11 10:10

administrator   ~0009731

Since it's a crash you should have a core file, could you do the following on that?
--
gdb src/ircd name.of.core.file
bt
--

syzop

2005-05-26 16:53

administrator   ~0010000

no bt provided

Issue History

Date Modified Username Field Change
2005-04-11 06:36 Duplex New Issue
2005-04-11 06:45 vonitsanet Note Added: 0009729
2005-04-11 10:10 syzop Note Added: 0009731
2005-05-26 16:53 syzop Status new => closed
2005-05-26 16:53 syzop Note Added: 0010000