<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ngircd/src/testsuite, branch rel-26.1</title>
<subtitle>ngircd with make
</subtitle>
<id>http://git.nakidai.ru/ngircd/atom?h=rel-26.1</id>
<link rel='self' href='http://git.nakidai.ru/ngircd/atom?h=rel-26.1'/>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/'/>
<updated>2020-11-01T16:25:39+00:00</updated>
<entry>
<title>Test suite: Wait 2 seconds after reloading the daemon</title>
<updated>2020-11-01T16:25:39+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2020-11-01T16:25:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=5cf0eabd841b644eef8022dad97fa96aa3661c6a'/>
<id>urn:sha1:5cf0eabd841b644eef8022dad97fa96aa3661c6a</id>
<content type='text'>
On reload, all listening ports are closed, configuration updated, and
then opened again. Which leads to subsequent tests running while the
daemon isn't listening on any ports, and that's why the tests fail.

The "proper" way whould be to loop and check for open ports, but waiting
is what the start-server.sh script does right now, so stick with this in
reload-server.sh for now as well.

This fixes the issue, at least on my RaspberryPi ...

Closes #280.
</content>
</entry>
<entry>
<title>testsuite: Add missing files to EXTRA_DIST</title>
<updated>2020-05-22T15:23:42+00:00</updated>
<author>
<name>Hilko Bengen</name>
<email>bengen@hilluzination.de</email>
</author>
<published>2020-05-22T10:29:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=bae68eb612ef0d8aa515e03c1479e2a57d243dee'/>
<id>urn:sha1:bae68eb612ef0d8aa515e03c1479e2a57d243dee</id>
<content type='text'>
26~rc1 as extracted from tarball cannot be built/tested with SSL
support because of a missing script and certificates.
</content>
</entry>
<entry>
<title>SSL test server: Use port 6790, like "test server #2"</title>
<updated>2020-05-06T22:02:00+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2020-05-06T21:55:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=21f33e591185fcd8ea5fa02924ffca6f7bf6a686'/>
<id>urn:sha1:21f33e591185fcd8ea5fa02924ffca6f7bf6a686</id>
<content type='text'>
Don't use the "standard" IRC SSL port 6697, as this easily collides with
real (ng)IRCd instances running on the same machine.

And by reusing port 6790, which is already used by the "test server #2",
we don't need any other port than the test suite already uses.
</content>
</entry>
<entry>
<title>updating testsuite to support ssl-tests</title>
<updated>2020-04-24T22:04:38+00:00</updated>
<author>
<name>Johann Hartwig Hauschild</name>
<email>git@hauschild.it</email>
</author>
<published>2020-04-24T22:04:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=11ea6a5070e27194a28267937067203d13e5b4a4'/>
<id>urn:sha1:11ea6a5070e27194a28267937067203d13e5b4a4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Test suite: Test multiple "Modes" lines in [Channel] sections</title>
<updated>2020-03-29T00:16:37+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2020-03-29T00:15:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=ba3b22b851d1b20fc918569a50e328ed7edf906d'/>
<id>urn:sha1:ba3b22b851d1b20fc918569a50e328ed7edf906d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Predefined channles: Fix handling of legacy configuration options</title>
<updated>2020-03-28T23:45:59+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2020-03-28T22:37:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=4d519cfdbf57344aeaa3610a302bf4c654c058f6'/>
<id>urn:sha1:4d519cfdbf57344aeaa3610a302bf4c654c058f6</id>
<content type='text'>
Fix the handling of legacy "Key" and "MaxUsers" [Channel] settings:

- Activate them before evaluating the "Modes" parameter, to allow the
  latter to override those legacy options.
- Enforce setting the respective +k/+l mode(s) to support the legacy
  "Mode = kl" notation, which was valid but is an invalid MODE string:
  key and limit are missing! So set them manually when "k" or "l" are
  detected in the first MODE parameter.
- Sort modes +kl alphabetically, adjust test suite accordingly.
</content>
</entry>
<entry>
<title>Make test suite compatible with Haiku</title>
<updated>2019-11-03T14:15:59+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2019-11-03T14:15:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=4169cb25e620cbd8a54cd19b509a8f88d7c295f9'/>
<id>urn:sha1:4169cb25e620cbd8a54cd19b509a8f88d7c295f9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement new configuration option "MaxPenaltyTime" (#251)</title>
<updated>2018-11-28T13:13:09+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2018-11-28T13:13:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=456eea6f1896528dad344ed2c254fd07bdc3a4b1'/>
<id>urn:sha1:456eea6f1896528dad344ed2c254fd07bdc3a4b1</id>
<content type='text'>
This option configures the maximum penalty time increase in seconds, per
penalty event. Set to -1 for no limit (the default), 0 to disable
penalties altogether. ngIRCd doesn't use penalty increases higher than 2
seconds during normal operation, so values higher than 1 rarely make
sense.

Disabling (or reducing) penalties can greatly speed up "make check" runs
for example, see below, but are mostly a debugging feature and normally
not meant to be used on production systems!

Some example timings running "make check" from my macOS workstation:

- MaxPenaltyTime not set: 4:41,79s
- "MaxPenaltyTime = 1":   3:14,71s
- "MaxPenaltyTime = 0":     25,46s

Closes #249.</content>
</entry>
<entry>
<title>Send_Message: Fix handling of "empty" targets</title>
<updated>2016-01-07T00:54:11+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2016-01-07T00:54:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=7dba1a0766b35d01cd8892753d1e0dd578ca2cd9'/>
<id>urn:sha1:7dba1a0766b35d01cd8892753d1e0dd578ca2cd9</id>
<content type='text'>
Clients can specify multiple targets for the "PRIVMSG", "NOTICE", and
"SQUERY" commands, separated by commas (e. g. "PRIVMSG a,#b,c :text").

Since commit 49ab79d0 ("Limit the number of message targes, and suppress
duplicates"), ngIRCd crashed when the client sent the separator character
only as target(s), e. g. "," or ",,,," etc.!

This patch fixes the bug and adds a test case for this issue.

Thanks to Florian Westphal &lt;fw@strlen.de&gt; for spotting the issue!
</content>
</entry>
<entry>
<title>Limit the number of message targes, and suppress duplicates</title>
<updated>2016-01-04T21:15:46+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2016-01-04T21:11:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=49ab79d0e64c73d575dfe87edce40637b8f2adef'/>
<id>urn:sha1:49ab79d0e64c73d575dfe87edce40637b8f2adef</id>
<content type='text'>
This prevents an user from flooding the server using commands like this:

  PRIVMSG nick1,nick1,nick1,...

Duplicate targets are suppressed silently (channels and clients).

In addition, the maximum number of targets per PRIVMSG/NOTICE/... command
are limited to MAX_HNDL_TARGETS (25). If there are more, the daemon sends
the new 407 (ERR_TOOMANYTARGETS_MSG) numeric, containing the first target
that hasn't been handled any more.

Closes #187.
</content>
</entry>
</feed>
