<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ngircd/src, branch rel-25-rc1</title>
<subtitle>ngircd with make
</subtitle>
<id>http://git.nakidai.ru/ngircd/atom?h=rel-25-rc1</id>
<link rel='self' href='http://git.nakidai.ru/ngircd/atom?h=rel-25-rc1'/>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/'/>
<updated>2018-04-01T00:19:08+00:00</updated>
<entry>
<title>Initialize listening socket: Streamline error message</title>
<updated>2018-04-01T00:19:08+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2018-04-01T00:18:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=6af9476cad286d898c7bf72d477039425cb788e7'/>
<id>urn:sha1:6af9476cad286d898c7bf72d477039425cb788e7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Correctly retry outgoing conenctions when forking a resolver failed</title>
<updated>2018-03-25T19:59:01+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2018-03-25T19:55:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=b4f7aae67e1ab3be8f01c27190316683fbe9f0d8'/>
<id>urn:sha1:b4f7aae67e1ab3be8f01c27190316683fbe9f0d8</id>
<content type='text'>
When ngIRCd failed to spawn a new resolver subprocess, the connection
structure was still marked as "SERVER_WAIT", and no new attempt to
connect to this server was made.

Thanks to Robert Obermeier for reporting this bug!

Closes #243.
</content>
</entry>
<entry>
<title>Fix use-after-free while handling ERROR during client login</title>
<updated>2018-03-11T20:18:38+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2018-03-11T20:06:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=798de94d6556bdf2c6019f368ad7441fe6e2d1be'/>
<id>urn:sha1:798de94d6556bdf2c6019f368ad7441fe6e2d1be</id>
<content type='text'>
This patch fixes a "use after free" bug which is hit while processing
ERROR commands while a new client is logging into the server, which
leads to only the CLIENT structure becoming freed, but not the
CONNECTION structure, too. And this leads to the daemon accessing the
already freed CLIENT structure later on ...

So now IRC_ERROR() uses the correct function Conn_Close() to correctly
free both structures.

The CONNECTION structure is cleaned up later on, and the freed CLIENT
structure can't be overwritten during normal operations, therefore this
bug normally can't crash (DoS) the service -- but you can easily hit it
when using the GCC option "-fsanitize=address", or run ngIRCd with
Valgrind.

Thanks a lot to Joseph Bisch &lt;joseph.bisch@gmail.com&gt; for discovering
and reporting this issue!
</content>
</entry>
<entry>
<title>Only send TOPIC updates to a channel when the topic actually changed</title>
<updated>2018-03-11T20:01:45+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2018-03-11T19:57:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=ac341176da5bbe99a9b07353f6e9790575ce1493'/>
<id>urn:sha1:ac341176da5bbe99a9b07353f6e9790575ce1493</id>
<content type='text'>
This prevents the channel from becoming flooded by unecessary TOPIC
update messages, that can happen when IRC services try to enforce a
certain topic but which is already set (at least on the local server),
for example. Therefore still forward it to all servers, but don't inform
local clients (still update setter and timestamp information, though!)
</content>
</entry>
<entry>
<title>Little code cleanups, better comments</title>
<updated>2018-02-25T20:43:39+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2018-02-25T20:43:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=13761f1ec9b689c21d785521665bb7cb7370246a'/>
<id>urn:sha1:13761f1ec9b689c21d785521665bb7cb7370246a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>User mode "C": Allow messages from servers, services, and IRC Ops</title>
<updated>2018-02-25T02:22:05+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2015-03-27T23:05:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=03acae970df0ebe713a4be791e6c75915d34a365'/>
<id>urn:sha1:03acae970df0ebe713a4be791e6c75915d34a365</id>
<content type='text'>
Update user mode "C" handling ("Only users that share a channel are
allowed to send messages") to behave like user mode "b" ("block private
messages and notices") and therefore allow messages from servers, services,
and IRC Operators, too.

Change proposed by "wowaname" in #ngircd, thanks!
</content>
</entry>
<entry>
<title>portab/Makefile: Split list into separate lines</title>
<updated>2018-02-25T02:17:21+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2017-01-29T20:55:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=8f0c705029501141528fbe7671e4107b4e1f395f'/>
<id>urn:sha1:8f0c705029501141528fbe7671e4107b4e1f395f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>2018!</title>
<updated>2018-02-09T21:02:21+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2018-02-09T21:02:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=34bdb0d98afada4af4e723acabdd7c829d30ec99'/>
<id>urn:sha1:34bdb0d98afada4af4e723acabdd7c829d30ec99</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix compiler warning in ForwardLookup()</title>
<updated>2018-01-29T22:34:40+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2018-01-29T22:34:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=7ed22d0b22dc1ed624c3931e1cff9e21f4156bd9'/>
<id>urn:sha1:7ed22d0b22dc1ed624c3931e1cff9e21f4156bd9</id>
<content type='text'>
When compiling without "working getaddrinfo()", the "af" parameter of
ForwardLookup() is unused by that function. Mark it as such!

This prevents the following compiler warning:

  resolve.c:235:56: warning: unused parameter ‘af’
    [-Wunused-parameter]
</content>
</entry>
<entry>
<title>Fix compiler warning in Option_String()</title>
<updated>2018-01-29T22:32:06+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2018-01-29T22:32:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=d9f81ac66942000861d46cd33708585a729b1207'/>
<id>urn:sha1:d9f81ac66942000861d46cd33708585a729b1207</id>
<content type='text'>
When compiling ngIRCd without support for SSL and without support for
ZLIB, gcc outputs the following warning:

  irc.c:493:9: warning: variable ‘options’ set but not used
    [-Wunused-but-set-variable]

Fix it by providing a dummy function in this case.
</content>
</entry>
</feed>
