about summary refs log tree commit diff
AgeCommit message (Collapse)Author
2013-12-27OS X has a working getaddrinfo() implementationAlexander Barton
2013-12-27Check for working getaddrinfo() functionAlexander Barton
At least AIX 4.3.3 and 5.1 have a broken implementation of getaddrinfo() which doesn't handle "0" as numeric service correctly. This patch adds a configure check for this case and changes all calling functions to only use getaddrinfo() if it "works". See <http://www.stacken.kth.se/lists/heimdal-discuss/2004-05/msg00059.html>
2013-12-07Fix spellingFederico G. Schwindt
2013-12-03doc/Platforms.txt: Add and update more systemsAlexander Barton
- add i386/unknown/netbsdelf1.5.2, egcs-1.1.2 - update i386/unknown/openbsd5.3, gcc 4.2.1 - add i386/unknown/openbsd5.4, gcc 4.2.1 - add x86_64/unknown/linux-gnu, nwcc 0.8.2 - update x86_64/unknown/linux-gnu, tcc 0.9.25 Thanks to Götz Hoffart <goetz@hoffart.de>!
2013-11-24doc/Platforms.txt: Add and update more systemsAlexander Barton
- add i386/unknown/openbsd3.5, gcc 2.95.3 - add x86_64/unknown/linux-gnu, Sun C 5.12 - update mipsel/unknown/linux-gnu, gcc 4.4.5 Thanks to Götz Hoffart <goetz@hoffart.de>!
2013-11-13doc/Platforms.txt: add DragonflyBSD 3.4 on x86_64Alexander Barton
Thanks to Götz Hoffart <goetz@hoffart.de>!
2013-11-12doc/Platforms.txt: add OpenBSD 5.4 on HPPAAlexander Barton
2013-11-12configure: clean up function definitionsAlexander Barton
2013-11-10Only use unsetenv() when it is availableAlexander Barton
AIX 4.3 dosn't support it, for example.
2013-11-09conf-ssl.h: make code compatible with pre-ANSI C compilersAlexander Barton
2013-11-09vsnprintf.c: make code compatible with ansi2knr toolAlexander Barton
2013-11-09Remove unused vsnprintf.c test functionAlexander Barton
2013-11-07Add comments around some IRC_SetPenalty() callsFederico G. Schwindt
2013-11-07Rework the penalty handling slightlyFederico G. Schwindt
Increase the penalty for a command before checking its arguments. This makes the handling more consistent and allow us to move more penalties to Handle_Request().
2013-11-07Move IRC_SetPenalty() to Handle_Request() when possibleFederico G. Schwindt
This centralizes the penalty handling. It also exposes some commands that lack it for our attention.
2013-11-07Introduce a macro to define the command listFederico G. Schwindt
This will pave the way to other changes and simplifies the entries somewhat.
2013-11-07When sending an error use the IRC_WriteErrClient() variantFederico G. Schwindt
This ensures that all errors have a 2 second penalty.
2013-11-06On bad /oper set the penalty to 10 secondsFederico G. Schwindt
This helps against brute-force attempts.
2013-11-06Remove unneded IRC_SetPenalty() callsFederico G. Schwindt
IRC_WriteErrClient() already calls IRC_SetPenalty(). While here convert some IRC_SetPenalty() + IRC_WriteStrClient() to IRC_WriteErrClient().
2013-11-06Use sizeof() intead of the explicit sizeFederico G. Schwindt
2013-11-01Remove wrong #ifdef in Option_String()Alexander Barton
This fixes the following error when compiling without zlib support: irc.c: In function ‘Option_String’: irc.c:487: error: ‘options’ undeclared (first use in this function) Reported by "der_baer" on #ngircd.
2013-11-01NEWS/ChangeLog: Clean up version numbers and release datesAlexander Barton
2013-10-30ngIRCd Release 21 rel-21Alexander Barton
2013-10-30doc/Platforms.txt: add Mac OS X 10.6.8Alexander Barton
2013-10-28Update doc/Platforms.txtAlexander Barton
2013-10-26ngircd.init: Make sure no stale PID file is left overAlexander Barton
2013-10-23platformtest.sh/Platforms.txt: allow user names up to 8 charactersAlexander Barton
2013-10-23Check and call arc4random_stir() if presentFederico G. Schwindt
FreeBSD prior to 10.0 does not automatically stir on fork(). Same with current NetBSD. If arc4random_stir() is present assume is needed and call it instead of srand().
2013-10-20Debian: Fix sed(1) rules adjusting "ngircd-full" packageAlexander Barton
Error introduced by last commit :-/
2013-10-20Debian: Fix default "HelpFile" file name in ngircd.confAlexander Barton
The "full" package variants must use "/usr/share/doc/ngircd-full/Commands.txt" and "/usr/share/doc/ngircd-full-dbg/Commands.txt" respectively.
2013-10-20ngIRCd Release 21~rc2 rel-21-rc2Alexander Barton
2013-10-20platformtest.sh: Detect clang compilersAlexander Barton
2013-10-17Add support for longer config linesFederico G. Schwindt
With the introduction of CipherList we could have longer config lines. Handle up to 1024 bytes and warn if the line will be truncated.
2013-10-17Report the correct file on errorFederico G. Schwindt
2013-10-16doc/Platforms.txt: Add Open64 and tcc C compilers on LinuxAlexander Barton
Thanks to Götz Hoffart!
2013-10-16platformtest.sh: Detect tcc compilerAlexander Barton
2013-10-16Add support for arc4randomFederico G. Schwindt
If arc4random is present it will be used over the srand/rand interface. This fixes some warnings in OpenBSD-current.
2013-10-16Fix another strcat warning missed in commit 4c5b43Federico G. Schwindt
2013-10-14platformtest.sh: Clean up GIT source tree, when possibleAlexander Barton
2013-10-14platformtest.sh: Detect Apple LLVM (clang) compilerAlexander Barton
2013-10-07Update (date of) manual pagesAlexander Barton
2013-10-07ChnageLog file: even more spelling fixes ...Alexander Barton
2013-10-07INSTALL file: Update "Upgrade Information"Alexander Barton
2013-10-07Fix spelling in NEWS and ChangeLog filesAlexander Barton
2013-10-07ngircd.c, main(): use strlcat() instead of strcat()Alexander Barton
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!
2013-10-05ngIRCd Release 21~rc1 rel-21-rc1Alexander Barton
2013-10-02Update NEWS and ChangeLog filesAlexander Barton
2013-10-01Actually KILL clients on GLINE/KLINEAlexander Barton
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.
2013-10-01Don't forward KILL commands for unknown clientsAlexander Barton
2013-10-01New function IRC_KillClient() to kill clientsAlexander Barton
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!