Commits
- Commit:
74631fa72870fd23040cd6fdda7797c4f0a2c50d
- From:
- Alexander Barton <alex@barton.de>
- Date:
ngIRCd Release 25
- Commit:
1d4f80b42297555ef1a72eec553c59f9ee1e8dce
- From:
- Alexander Barton <alex@barton.de>
- Date:
Platforms.txt: Add and update systems
- Update x86_64/apple/darwin16.5.0 (Apple clang 8.1)
- Add x86_64/apple/darwin17.7.0 (Apple clang 10.0)
- Add x86_64/apple/darwin18.2.0 (Apple clang 10.0)
- Add x86_64/unknown/haiku (gcc 7.3)
- Update x86_64/pc/linux-gnu (gcc 6.3.0)
- Commit:
fe01ef9a518d3596f60e0aa1602762c05132d31f
- From:
- shankari <shankari@eecs.berkeley.edu>
- Via:
- Alexander Barton <alex@barton.de>
- Date:
Fix documentation of MotdPhrase length (#254)
The max length is actually 126 (< 127), since the check errors out if
length >= 127. See
<https://github.com/ngircd/ngircd/blob/master/src/ngircd/conf.c#L1487>.
I didn't look through the history to see when the change happened. I
just happened to find during a migration that my 140 character MOTD
didn't work.
Update sample configuration file as well as the man page.
- Commit:
96bad2b861cffcd7724cf26464da4568852241de
- From:
- Alexander Barton <alex@barton.de>
- Date:
2019!
- Commit:
456eea6f1896528dad344ed2c254fd07bdc3a4b1
- From:
- Alexander Barton <alex@barton.de>
- Via:
- GitHub <noreply@github.com>
- Date:
Implement new configuration option "MaxPenaltyTime" (#251)
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.
- Commit:
7690716e4fa8ac3ae9b513f4adba685f9e2c0e1f
- From:
- Rosen Penev <rosenp@gmail.com>
- Via:
- Alexander Barton <alex@barton.de>
- Date:
Fix compilation without deprecated OpenSSL APIs (#252)
- Commit:
c97fb2e93e9c7d66b1ce70fa681a762d1f430521
- From:
- Alexander Barton <alex@barton.de>
- Date:
Update Xcode project for latest Xcode version (10.0)
- Commit:
c8162a80beba80f3b1d04fdba8e74bf5366c47f7
- From:
- Alexander Barton <alex@barton.de>
- Date:
Fix some compiler warnings of Apple Xcode/Clang
For example:
* src/ngircd/irc-login.c:102:21: Implicit conversion loses integer
precision: 'int' to 'char'
* src/ngircd/conn.c:1084:9: Implicit conversion turns floating-point
number into integer: 'double' to 'bool'
* src/tool/tool.c:85:10: Implicit conversion loses integer precision:
'int' to 'char'
- Commit:
e8e04b4c8fd63d075ffa6b85327c4b90d7005051
- From:
- Alexander Barton <alex@barton.de>
- Date:
Fix typos/errors/... in file comments
Found by Xcode/Clang code analyzer. No functional changes.
- Commit:
a38eea8987b32f3d17ae04eabdd9d114af57bd25
- From:
- Alexander Barton <alex@barton.de>
- Date:
Update doc/Protocol.txt for IRCv3 WEBIRC extension
See commit d0f9d3d92.
- Commit:
d0f9d3d92e8f3f1d33ece89f751b01343b5e1141
- From:
- ItsOnlyBinary <ItsOnlyBinary@users.noreply.github.com>
- Via:
- Alexander Barton <alex@barton.de>
- Date:
Allow a 5th parameter in WEBIRC
According to an IRCv3 extension, the 5th parameter can be used for extra
flags that are fine to ignore for now, but limiting WEBIRC params to 4
causes a syntax error.
See https://github.com/ircv3/ircv3-ideas/issues/12 for more information.
This closes #247.
- Commit:
bb4101cd6c1149cbb9a8b7e886c67f637de22541
- From:
- Alexander Barton <alex@barton.de>
- Date:
Update HowToRelease.txt: Include the website
- Commit:
e29e15ca27b7ede90415fddaf3406974cf634a95
- From:
- Alexander Barton <alex@barton.de>
- Date:
Platforms.txt: Add and update systems
- Update x86_64/unknown/freebsd10.0 (FreeBSD clang 3.3)
- Add x86_64/unknown/freebsd10.3 (FreeBSD clang 3.4)
- Update i386/pc/solaris2.11 (gcc 4.8.2)
- Add mipsel/openwrt/linux-uclibc (gcc 4.8) [cross-compiler]
- Add x86_64/pc/linux-gnu (gcc 5.4.0) [Win10/WSL]
- Platforms.txt: Update "pre-ANSI compiler" foot note.
Thanks to Götz Hoffart <goetz@hoffart.de>!
- Commit:
8bd88be8ad428138155a8658c3a723d06e64d2fe
- From:
- Alexander Barton <alex@barton.de>
- Date:
ngIRCd Release 25~rc1
- Commit:
fb760d94736897aea32bf81a864d87a150015276
- From:
- Alexander Barton <alex@barton.de>
- Date:
Update and fix logcheck(8) rules
- Commit:
7f2d21f96242af14d7ef4e0af0c6121373f20792
- From:
- Alexander Barton <alex@barton.de>
- Date:
Update config.guess and config.sub to recent versions
- config.guess: 2018-03-08
- config.sub: 2018-03-08
- Commit:
6af9476cad286d898c7bf72d477039425cb788e7
- From:
- Alexander Barton <alex@barton.de>
- Date:
Initialize listening socket: Streamline error message
- Commit:
263c5edb606459a74bc3d18f455ae117c1268f69
- From:
- Alexander Barton <alex@barton.de>
- Date:
Update NEWS and ChangeLog files
- Commit:
b4f7aae67e1ab3be8f01c27190316683fbe9f0d8
- From:
- Alexander Barton <alex@barton.de>
- Date:
Correctly retry outgoing conenctions when forking a resolver failed
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.
- Commit:
798de94d6556bdf2c6019f368ad7441fe6e2d1be
- From:
- Alexander Barton <alex@barton.de>
- Date:
Fix use-after-free while handling ERROR during client login
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 <joseph.bisch@gmail.com> for discovering
and reporting this issue!
- Commit:
ac341176da5bbe99a9b07353f6e9790575ce1493
- From:
- Alexander Barton <alex@barton.de>
- Date:
Only send TOPIC updates to a channel when the topic actually changed
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!)
- Commit:
6a622c0084ec69563609804520e2753501254503
- From:
- Alexander Barton <alex@barton.de>
- Date:
Update Xcode project for latest Xcode version (9.2)
This includes adding missing and deleting obsolete file references.
- Commit:
91ef17aba2b063d6e6eb1f38123acc6875d8662d
- From:
- Alexander Barton <alex@barton.de>
- Date:
Use .mailmap to fix spelling of Götz Hoffart
- Commit:
13761f1ec9b689c21d785521665bb7cb7370246a
- From:
- Alexander Barton <alex@barton.de>
- Date:
Little code cleanups, better comments
- Commit:
03acae970df0ebe713a4be791e6c75915d34a365
- From:
- Alexander Barton <alex@barton.de>
- Date:
User mode "C": Allow messages from servers, services, and IRC Ops
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!