Commits
- 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!
- Commit:
8f0c705029501141528fbe7671e4107b4e1f395f
- From:
- Alexander Barton <alex@barton.de>
- Date:
portab/Makefile: Split list into separate lines
- Commit:
d803ff052585b29defb41f7e5c3c0915f767bebc
- From:
- Alexander Barton <alex@barton.de>
- Date:
configure.ng: Split list into separate lines
- Commit:
3559940e4affa674048ebebef32e6325504befcc
- From:
- Alexander Barton <alex@barton.de>
- Date:
Update NEWS and ChangeLog files
- Commit:
34bdb0d98afada4af4e723acabdd7c829d30ec99
- From:
- Alexander Barton <alex@barton.de>
- Date:
2018!
- Commit:
7ed22d0b22dc1ed624c3931e1cff9e21f4156bd9
- From:
- Alexander Barton <alex@barton.de>
- Date:
Fix compiler warning in ForwardLookup()
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]
- Commit:
d9f81ac66942000861d46cd33708585a729b1207
- From:
- Alexander Barton <alex@barton.de>
- Date:
Fix compiler warning in Option_String()
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.
- Commit:
7207bef418c655107d3076b20dd797418ad82cd7
- From:
- Alexander Barton <alex@barton.de>
- Date:
Fix Get_Error() usage, take II
This should fix the following compiler warning:
resolve.c:113:1: warning: ‘Get_Error’ defined but not used
[-Wunused-function]
Which can happen, because the logic of commit 543f44bf isn't sufficient:
Get_Error() is only used when neither HAVE_WORKING_GETADDRINFO nor
HAVE_GETNAMEINFO are set ...
Enhances 543f44bf.
Closes #241.
- Commit:
619a3f3ff28e49d0f827924d1dbe84c6c3a284c0
- From:
- Alexander Barton <alex@barton.de>
- Date:
contrib/ngircd.logcheck: Add sample logcheck(8) rules
- Commit:
05640f9285e28ce64180833d39f7ceda88d3915a
- From:
- Alexander Barton <alex@barton.de>
- Via:
- GitHub <noreply@github.com>
- Date:
Allow IRC Ops and remote servers to KILL service clients (#242)
In the end, service clients behave like regular users, therefore IRC
operators and servers should be able to KILL them: for example to
resolve nick collisions.
This is related to #238.
- Commit:
e009fc87d54602cc2a4d9b60257f40bad14fc081
- From:
- James Lu <james@overdrivenetworks.com>
- Via:
- Alexander Barton <alex@barton.de>
- Date:
Don't forward KILLs to other servers if they've been blocked locally
This prevents clients from killing IRC services, for example.
Closes #238.
Closes #239.
- Commit:
c37d6971d66a2d840a2b20fe2b995443c2bd6c87
- From:
- Alexander Barton <alex@barton.de>
- Date:
Update AUTHORS file
- Commit:
ddeb7b20ebd660683c6a8638c552e27bde828a9d
- From:
- Alexander Barton <alex@barton.de>
- Via:
- GitHub <noreply@github.com>
- Date:
Merge pull request #240 from bkuhls/fix_Get_Error
Fix Get_Error usage
- Commit:
543f44bff8d56785dc13a74a14d4eaa96465bf05
- From:
- Bernd Kuhls <bernd.kuhls@t-online.de>
- Date:
Fix Get_error usage
The usage of Get_Error is guarded by "ifdef h_errno" in this file, the
definition of this function should follow the same rules.
Fixes a build error when cross-compiling:
https://github.com/ngircd/ngircd/issues/223