Commits


ngIRCd Release 21~rc2


platformtest.sh: Detect clang compilers


Add support for longer config lines With the introduction of CipherList we could have longer config lines. Handle up to 1024 bytes and warn if the line will be truncated.


Report the correct file on error


doc/Platforms.txt: Add Open64 and tcc C compilers on Linux Thanks to Götz Hoffart!


platformtest.sh: Detect tcc compiler


Add support for arc4random If arc4random is present it will be used over the srand/rand interface. This fixes some warnings in OpenBSD-current.


Fix another strcat warning missed in commit 4c5b43


platformtest.sh: Clean up GIT source tree, when possible


platformtest.sh: Detect Apple LLVM (clang) compiler


Update (date of) manual pages


ChnageLog file: even more spelling fixes ...


INSTALL file: Update "Upgrade Information"


Fix spelling in NEWS and ChangeLog files


ngircd.c, main(): use strlcat() instead of strcat() This fixes the following warning on OpenBSD 5.3: ngircd.o(.text+0xeb4): In function `main': src/ngircd/ngircd.c:300: warning: strcat() is almost always misused, please use strlcat() Thanks to Götz Hoffart for reporting this!


ngIRCd Release 21~rc1


Update NEWS and ChangeLog files


Actually KILL clients on GLINE/KLINE Kill all clients that match a new GLINE/KLINE mask and genrate apropriate KILL commands. These KILL commands can be superfluous, but are required when the IRC Operator isn't allowd to set remote G-Lines or if there are older servers in the network that don't kill clients on GLINE/KLINE. Closes bug #156.


Don't forward KILL commands for unknown clients


New function IRC_KillClient() to kill clients The old local function Kill_Nick() in irc.c has been an ugly hack. This patch implements a generic function for killing clients. Adjust all callers of Kill_Nick() and respect the return code!


Adjust log messages for invalid and spoofed prefixes Now invalid prefixes aren't logged no more when originating from an other server (besides in debug mode), and spoofed prefixes are correctly logged using LOG_WARNING (from an other server) or LOG_ERR (from a client) levels. In addition, the log message texts have been adjusted to better reflect what will happen: commands with invalid prefixes are ignored and logged, commands with spoofed prefixes will result in the client being disconncted (regular users) or the command being ignored (other servers). This cleans up logging of commands related to already KILL'ed clients.


Remove CLIENT.oper_by_my, Client_SetOperByMe() and Client_OperByMe() All places where Client_OperByMe() is used can either be converted to Client_HasMode(Client, 'o') or Op_Check(). And Op_Check() itself can use the connection handle for deciding whether the IRC Operator is a local user or not.


Add support to show user links using "STATS L" Change "stats L" to show servers and user links and restrict it to IRC Operators.


Log an error (not info) when working directory can't be changed


doc/PAM.txt: add a slightly more useful example