Commit Briefs

4bcf4613f9 Alexander Barton

ngIRCd Release 26~rc2 (tags/rel-26-rc2)


c55a832806 Alexander Barton

Update NEWS, ChangeLog and doc/Platforms.txt files



07cb8ed9ae Alexander Barton

Don't send invalid CHANINFO commands when no key is set

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.


b003d469f1 Alexander Barton

Update NEWS and ChangeLog files


15c7444283 Alexander Barton

Update description text in manual page, too!


eb46f3d96d Alexander Barton

ngircd.spec: Fix name of README.md and INSTALL.md


a84cba8f78 Alexander Barton

Update description texts

Bring them in line with the updated texts on the homepage.



02cf31c0e2 Alexander Barton

IRC_SERVER: Make sure that the client sent a prefix

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 & reporting this as well for the patch & pull request! But I think this is the "more correct" fix.


430bb22376 Alexander Barton

Enhance debug logging for PONG commands

Distinguish between expected and unexpected PONG commands.


dc6807338e Alexander Barton

Fix PING-PONG handling when processing backlog in read buffers

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 < 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. <t>: time stamp of last sent out PING command.


0d503945cb Alexander Barton

Revert "Set the "last data" time to "last ping" time when updating the latter"

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.


bae68eb612 Alexander Barton

testsuite: Add missing files to EXTRA_DIST

26~rc1 as extracted from tarball cannot be built/tested with SSL support because of a missing script and certificates.


03aec7d0b3 Alexander Barton

ngIRCd Release 26~rc1 (tags/rel-26-rc1)


5d5fdfb3fd Alexander Barton

Update config.guess and config.sub to recent versions

- config.guess: 2020-04-26 - config.sub: 2020-05-04 And set both scripts +x, they are executable.


05261c020e Alexander Barton

Update NEWS and ChangeLog files


e860807500 Alexander Barton

Add missing authors to AUTHORS, tweak ".mailmap" file


e889de9d92 Alexander Barton

Tweak & update doc/HowToRelease.txt a bit ...


fcf2874a9d Alexander Barton

Allow more characters per line in MOTD and help text files

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.


4b7e8db418 Alexander Barton

Show allowed channel types in ISUPPORT(005) numeric only

Don't show the static list of all possibly available channel types ... Closes #273.


bc22f41c51 Alexander Barton

Platforms.txt: Add x86_64/apple/darwin19.0.0

- Add x86_64/apple/darwin19.0.0 (Apple clang 11.0)


d11f13f187 Alexander Barton

Update Platforms.txt

- Update powerpc/apple/darwin8.11.0 (gcc 4.0.1) - Add mips/sgi/irix6.5 (SGI C compiler) - Add mipsel/unknown/netbsd8.0 (gcc 5.5.0) Thanks to Götz Hoffart <goetz@hoffart.de>!


21f33e5911 Alexander Barton

SSL test server: Use port 6790, like "test server #2"

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.


db88b92c8a Alexander Barton

Git: Ignore generated files of SSL tests