<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ngircd/src, branch rel-26-rc2</title>
<subtitle>ngircd with make
</subtitle>
<id>http://git.nakidai.ru/ngircd/atom?h=rel-26-rc2</id>
<link rel='self' href='http://git.nakidai.ru/ngircd/atom?h=rel-26-rc2'/>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/'/>
<updated>2020-06-11T14:45:30+00:00</updated>
<entry>
<title>Don't send invalid CHANINFO commands when no key is set</title>
<updated>2020-06-11T14:45:30+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2020-06-11T14:45:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=07cb8ed9ae14307b7b9335faa957baa340632e57'/>
<id>urn:sha1:07cb8ed9ae14307b7b9335faa957baa340632e57</id>
<content type='text'>
It can happen that a channel is +k, but no key is set: for example by
misconfiguring a pre-defined channel. In this case, ngIRCd sent an
invalud CHANINFO command ("CHANINFO #test +Pk  0 :'", note the unset
key represented by the two spaces) to its peers.

Fix this and enhance the CHANINFO documentation.
</content>
</entry>
<entry>
<title>IRC_SQUIT(): Fix use-after-free when unregistering the sending client</title>
<updated>2020-05-25T22:05:22+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2020-05-25T22:05:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=d697de31862bc659461498bb5169e7a9bdd525b2'/>
<id>urn:sha1:d697de31862bc659461498bb5169e7a9bdd525b2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>IRC_SERVER: Make sure that the client sent a prefix</title>
<updated>2020-05-25T21:51:00+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2020-05-25T21:43:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=02cf31c0e267a4c9a7656d43ad3ad4eeb37fc9c5'/>
<id>urn:sha1:02cf31c0e267a4c9a7656d43ad3ad4eeb37fc9c5</id>
<content type='text'>
The SERVER command is only valid with a prefix when received from other
servers, so make sure that there is one and disconnect the peer if not
(instead of crashing ...).

This obsoletes PR #275.

Thanks Hilko Bengen (hillu) for finding &amp; reporting this as well for the
patch &amp; pull request! But I think this is the "more correct" fix.
</content>
</entry>
<entry>
<title>Enhance debug logging for PONG commands</title>
<updated>2020-05-25T21:30:07+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2020-05-25T21:30:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=430bb223765281487e5c6d415a8efb91e2bf3320'/>
<id>urn:sha1:430bb223765281487e5c6d415a8efb91e2bf3320</id>
<content type='text'>
Distinguish between expected and unexpected PONG commands.
</content>
</entry>
<entry>
<title>Fix PING-PONG handling when processing backlog in read buffers</title>
<updated>2020-05-25T20:59:58+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2020-05-25T17:02:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=dc6807338e240d8093f43337dab7bfe488c35c4a'/>
<id>urn:sha1:dc6807338e240d8093f43337dab7bfe488c35c4a</id>
<content type='text'>
Prior to this commit, the PONG wasn't registered correctly, becauuse the
"last ping" time was set to time(NULL), which could be bigger than the
"last data" time stamp, for example when handling the read buffer took
more than 1 second -- and this resulted in the PONG time out kicking in
effectively disconnecting a newly linked server for example, because
ngIRCd thought it was still waiting for a PONG: last data &lt; last ping.

Now the "last ping" value has three possible values:

    0: new connection, no PING, no PONG so far.
    1: got a PONG, no longer waiting for a PONG.
  &lt;t&gt;: time stamp of last sent out PING command.
</content>
</entry>
<entry>
<title>Revert "Set the "last data" time to "last ping" time when updating the latter"</title>
<updated>2020-05-25T20:59:00+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2020-05-24T21:24:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=0d503945cb527e275ef6644a234a6876ff61322b'/>
<id>urn:sha1:0d503945cb527e275ef6644a234a6876ff61322b</id>
<content type='text'>
This patch completely broke the PING-PONG logic: now ngIRCd never
disconnects any stale peers but keeps sending out PINGs over and over
again ...

The real issue (server disconnects right after connect) will be fixed in
the next commit, but let's revert to the somewhat "half-broken but
'known' state" first ...

This reverts commit 79a917f954bef8089967786bd3597a6e5ff5c336.
</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>Allow more characters per line in MOTD and help text files</title>
<updated>2020-05-07T16:10:41+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2020-05-07T16:10:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=fcf2874a9d64675c64afbce58cd4cdc73de54978'/>
<id>urn:sha1:fcf2874a9d64675c64afbce58cd4cdc73de54978</id>
<content type='text'>
Change the line buffer in the Read_TextFile() function from 127 to
COMMAND_LEN (=512) bytes. Lines can't even get that long, because they
have to be prefixed before being sent to the client, so this is a sane
maximum.

This allows for even more "fancy" and "wider" MOTDs :-)

Closes #271.
</content>
</entry>
<entry>
<title>Show allowed channel types in ISUPPORT(005) numeric only</title>
<updated>2020-05-07T16:03:06+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2020-05-07T16:03:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=4b7e8db418340576c95f1edad8470b66d6fe886d'/>
<id>urn:sha1:4b7e8db418340576c95f1edad8470b66d6fe886d</id>
<content type='text'>
Don't show the static list of all possibly available channel types ...

Closes #273.
</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>
</feed>
