about summary refs log tree commit diff
AgeCommit message (Collapse)Author
2011-09-07Update doc/GIT.txtAlexander Barton
2011-09-07Only close "unrelated" sockets in forked child processesAlexander Barton
This fixes the problem that ngIRCd can't do any IDENT lookups because of the socket has already been closed in the child process. The bug has been introduced starting with ngIRCd 17 ... :-( (commit ID 6ebb31ab35e)
2011-08-26Added doc/Modes.txt: document modes supported by ngIRCdAlexander Barton
2011-08-26Implemented user mode "R" and channel mode "R"Alexander Barton
- User mode "R": indicates that the nick name of this user is "registered". This mode isn't handled by ngIRCd itself, but must be set and unset by IRC services like Anope. - Channel mode "R": only registered users (having the user mode "R" set) are allowed to join this channel.
2011-08-23Use Proc_Close() to remove no longer unused pipes to child processesAlexander Barton
This removes spurious (but harmless) debug messages.
2011-08-23New function Proc_Close() to shutdown pipes to child processesAlexander Barton
2011-08-23Introduce DEBUG_BUFFER, rework some debug messagesAlexander Barton
DEBUG_BUFFER is off by default and therefore disables these messages: - "Handle_Write() called for connection XX, YY bytes pending ..." - "Connection XX: ZZ bytes left in read buffer."
2011-08-22Testsuite: bind to loopback (127.0.0.1) interface onlyAlexander Barton
2011-08-19doc/Platforms.txt: ngIRCd 18 on Nexenta worksAlexander Barton
Thanks to Götz Hoffart for testing!
2011-08-19New 2nd message "Nickname too long" for error code 432Alexander Barton
2011-08-19Client_CheckNick(), Client_IsValidNick(): code cleanupAlexander Barton
2011-08-13Merge branch 'ServerMode'Alexander Barton
* ServerMode: Handle channel user modes 'a', 'h', and 'q' from remote servers Handle unknown channel modes on server links Handle unknown user modes on server links IRC_MODE(), Client_Mode(): code cleanup [2/2] Enlarge client user mode buffer, reduce client flags buffer Infom clients when other servers change their user modes IRC_MODE(), Client_Mode(): code cleanup [1/2]
2011-08-09Merge branch 'bug113-SrvPrefix'Alexander Barton
* bug113-SrvPrefix: Slightly change (and document!) IRC_KILL() calling convention Spoofed prefixes: close connection on non-server links only
2011-08-07Xcode: update project file to Xcode 3.2 or newerAlexander Barton
Xcode requires Mac OS X 10.6 or newer; Xcode 4 supports this project format as well, so effectively you can use Mac OS X 10.6.x or 10.7.x for building ngIRCd with the Apple Xcode IDE.
2011-08-07Xcode: Mac OS X config.h: support 10.5 as well as 10.6/10.7 SDKAlexander Barton
2011-08-02Xcode: exclude more Xcode 4 specific directories in ".gitignore"Alexander Barton
2011-08-02Cast getpid() and time() results for srand() inputAlexander Barton
This fixes: src/ngircd/ngircd.c:596: warning: implicit conversion shortens 64-bit value into a 32-bit value (i686-apple-darwin11-llvm-gcc-4.2)
2011-08-02Xcode: update and add missing files to projectAlexander Barton
2011-08-02IRC_QUIT(): disconnect directly linked servers sending QUITAlexander Barton
Without this patch, the server becomes removed from the network and the client structures, but the connection isn't shut down at all ...
2011-08-01contrib/ngindent: detect "gindent" as GNU indentAlexander Barton
2011-08-01Handle channel user modes 'a', 'h', and 'q' from remote serversAlexander Barton
These channel user modes aren't used for anything at the moment, but ngIRCd knows that these three modes are "channel user modes" and not "channel modes", that is that these modes take an "nick name" argument. Like unknown user and channel modes, these modes are saved and forwarded, but ignored otherwise.
2011-08-01Handle unknown channel modes on server linksAlexander Barton
2011-08-01Handle unknown user modes on server linksAlexander Barton
2011-08-01IRC_MODE(), Client_Mode(): code cleanup [2/2]Alexander Barton
2011-08-01Enlarge client user mode buffer, reduce client flags bufferAlexander Barton
We have to enlage our user mode buffer, so we can handle even unknown user modes in the future; and reduce the client flags buffer, because I can't imagine why we ever would need ~100 flags!? Now we support up to 15 user modes (was: 8) and up to 15 flags (was: 99). So in the end, we even save 99-15+8-15=77 bytes for each client structure!
2011-08-01Infom clients when other servers change their user modesAlexander Barton
2011-08-01doc/Platforms.txt: re-add mipsel/unknown/linux-gnu with gcc 4.1.2Alexander Barton
2011-08-01Updated doc/Platforms.txt: mipsel/unknown/linux-gnuAlexander Barton
2011-08-01IRC_MODE(), Client_Mode(): code cleanup [1/2]Alexander Barton
2011-07-30Slightly change (and document!) IRC_KILL() calling conventionAlexander Barton
2011-07-30Testsuite: make getpid.sh work even when run as rootAlexander Barton
Use ps(1) flag "-a" (as well as "-f"): "Select all processes except both session leaders (see getsid(2)) and processes not associated with a terminal." Thanks to Götz Hoffart for reporting this problem!
2011-07-19Spoofed prefixes: close connection on non-server links onlyAlexander Barton
On server-links, spoofed prefixes can happen because of the asynchronous nature of the IRC protocol. So don't break server-links, only log a message and ignore the command. This fixes bug 113, see: <https://arthur.barton.de/bugzilla/show_bug.cgi?id=113>
2011-07-10Fix typo in doc/Platforms.txt; make Linux footnote more genericAlexander Barton
2011-07-10ngIRCd release 18 rel-18Alexander Barton
2011-07-10Update ChangeLog and NEWS for ngIRCd release 18Alexander Barton
2011-07-10Updated doc/Platforms.txt for ngIRCd release 18Alexander Barton
2011-07-10MorePrivacy: Don't register WHOWAS informationAlexander Barton
Citing an email from Florian to the ngIRCd mailing list: "I wonder what the expected behaviour is when Conf_MorePrivacy is changed from 'yes' to 'no' and the config is reloaded. At the moment, WHOWAS will start giving out information on Users that were connected during Conf_MorePrivacy=yes period. If this is not wanted, Client_RegisterWhowas() should be changed to not store a record when Conf_MorePrivacy is enabled." And I think it is "not wanted" :-)
2011-07-10Add preliminary ngIRCd protocol module for Anope 1.9Alexander Barton
See contrib/Anope/README and doc/Services.txt for more details and installation instructions!
2011-07-02Update timestamp of ngircd(8) manual pageAlexander Barton
2011-06-29ngIRCd release 18~rc2 rel-18-rc2Alexander Barton
2011-06-28GnuTLS: use 1024 (DH_BITS_MIN) as minimum size of the DH primeAlexander Barton
For outgoing connections, we use 2048 (DH_BITS) since commit 49b2d0e. This patch enables ngIRCd to accept incoming connections from other servers and clients that use at least 1024 bits (and no longer requires 2048 for incoming connections, too). Patch proposed by Florian Westphal.
2011-06-28ngircd.8: document debugging optionsAlexander Barton
2011-06-28ngircd.conf.5: strip "SSL" prefix from variables in [SSL] sectionAlexander Barton
2011-06-28Fix some wording, use spellchecker ;-)Alexander Barton
2011-06-28doc/SSL.txt: adopt to new configuration file layoutAlexander Barton
2011-06-27ngIRCd release 18~rc1 rel-18-rc1Alexander Barton
2011-06-27hash: Use UINT32 instead of uint32_tAlexander Barton
2011-06-27Update NEWS and ChangeLog file for our upcoming next releaseAlexander Barton
2011-06-27hash: use more recent lookup3 algorithm instead of lookup2Florian Westphal
Bob Jenkins published a newer hash function in May 2006, it has better distribution. See http://burtleburtle.net/bob/hash/doobs.html for lengthy comparisions.
2011-06-26Use srand()/rand() instead of srandom()/random(); seems to be more portableAlexander Barton