about summary refs log tree commit diff
AgeCommit message (Collapse)Author
2008-09-23Allow IRC services to change their nick names.Alexander Barton
2008-09-23New function Client_TypeText() and Destroy_UserOrService().Alexander Barton
Client_TypeText() is used to get correct naming ("Client", "Service", ...) for log messages, and Destroy_UserOrService() is used to correctly destroy user and services clients.
2008-09-23Send_Message(): really enforce target client type.Alexander Barton
2008-09-23sample-ngircd.conf & ngircd.conf(5): document "ServiceMask" option.Alexander Barton
2008-09-23Allow ngIRCd to detect services connected to an "virtual services server".Alexander Barton
Introduce a new configuration variable "ServiceMask" in SERVER blocks to define a mask matching nick names that should be treated as services. Regular servers don't need this parameter (leave it empty, the default), but you should set it to "*Serv" when connection ircservices, for example. This patch allows ngIRCd to detect services, it doesn't change the functionality: you only get different log messages ;-)
2008-09-23Centralize logging functions in Introduce_Client().Alexander Barton
2008-09-23Get rid of INTRO_INFO structure again: we don't need it at all!Alexander Barton
All the required information is already stored in the CLIENT structure of new new connection, so pass this to Introduce_Client() and don't invent an unneeded new structure ...
2008-09-23Announce_User(): support RFC 1459 compatibility mode.Alexander Barton
2008-09-23Introduce_Client(): send MODES in RFC 1459 mode, too.Alexander Barton
2008-09-23numeric.c: whitespace fixes ...Alexander Barton
2008-09-23Server links: detect RFC 1459 mode direct after SERVER commandAlexander Barton
This patch allows ngIRCd to detect right after receiving the SERVER command from the peer whether the RFC 1459 compatibility mode must be used or not. And it fixes the announcement of users during establishing new server links with such peers.
2008-09-23Send and handle NICK+USER commands for user registration (RFC 1459).Alexander Barton
This patch enables ngIRCd to deal with NICK and USER commands following RFC 1459 to register new clients, and to send these commands instead of one full NICK command as specified in RFC 2813 on connections that are in RFC 1459 compatibility mode. Can be useful for e. g. IRC services that simulate a RFC 1459 server.
2008-09-23New function IRC_WriteStrServersPrefixFlag_CB() using a callback function.Alexander Barton
2008-09-23New function Introduce_Client() to announce new local and remote users.Alexander Barton
2008-09-23New connection option CONN_RFC1459.Alexander Barton
This new connection option CONN_RFC1459 indicates that the peer on this link only supports the IRC protocol as defined in RFC 1459 and that the compatibility mode (e. g. for outgoing commands like NICK) should be used.
2008-09-23New global function Conn_SetOption().Alexander Barton
2008-09-23USER: servers and services can alter user information after registration.Alexander Barton
This is required to do RFC 1459 style user registration on server links, and is used by some services packages, too. See RFC 1459 section 4.1.3.
2008-09-23NICK: allow servers and services to use RFC 1459 syntax (2 parameters).Alexander Barton
This patch allows servers and services to call the NICK command using the syntax defined in RFC 1459 to register new users, with only two parameters. See section 4.1.2. Useful for some services packages, which emulate this protocol.
2008-09-23Whitespace fixes: remove trailing tabulator characters.Alexander Barton
2008-09-15conn-ssl.c: don't append a newline to ConnSSL_GetCipherInfoFlorian Westphal
2008-09-13TLS/SSL support: code changes.Florian Westphal
This adds the required code to enable ssl/tls support during compile and run time, respectively.
2008-09-13TLS/SSL support: documentation.Florian Westphal
2008-09-13TLS/SSL support: core files.Florian Westphal
Contains support for both OpenSSL and GNU TLS. Certificate Authentification is not yet supported.
2008-08-30Fix handling of MaxConnections optionFlorian Westphal
Config option claimed to be 'number of connections' but in reality this was treated as 'largest file descriptor allowed'. This also fixes another bug in New_connection, where the ng_ipaddr_tostr_r error path was missing a return statement.
2008-08-18Include "mcheck.h" when using mtrace().Alexander Barton
2008-08-17SECURITY: Fixed a message handling bug which could crash the daemon.Alexander Barton
Some message targets could lead to a NULL pointer dereference and therefore could crash the daemon (denial of service). (cherry picked from commit e493ad2d30ff80bca2556cde2212e367cb006517)
2008-08-13Enable GNU libc "memory tracing" when compiled with debug code.Alexander Barton
This patch lets ngIRCd activate "memory tracing" of the GNU libc when compiled with debug code (configure: --enable-debug) and the functionality is available on the system. (http://www.gnu.org/software/libc/manual/html_node/Allocation-Debugging.html)
2008-08-12New make target: "osxpkg" to create an Mac OS X installer package.Alexander Barton
This patch adds a new make target, "osxpkg", to the main Makefile which gereates a Apple Mac OS X installer package of ngIRCd. The packagemaker(1) project bundle is stored in contrib/MacOSX/ngIRCd.pmdoc.
2008-08-11Clean up Mac OS X Xcode environment.Alexander Barton
- Remove obsolete contrib/MacOSX/cvs-version.h - Change SDK to 10.4
2008-08-10doc/Platforms.txt: added Debian GNU/Hurd, "i686/unknown/gnu0.3"Alexander Barton
2008-08-10Added CVE identifiers to ChangeLog.Alexander Barton
see http://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=ngircd
2008-08-06Remove de.barton.ngircd.plist on "make clean", its a generated file.Alexander Barton
2008-08-01Make ngIRCd compile and run on NeXTSTEP 3.3 and OPENSTEP 4.2Alexander Barton
by Steven D. Blackford <kb7sqi@aol.com>: "I wanted to let you know that I've done a quick port of ngircd-0.12.0 for NEXTSTEP3.3/OPENSTEP4.2. There wasn't a lot of changes required to get it to compile clean, but I did make the necessary changes so that I didn't have to use -posix flag. The NeXT has a pretty buggy POSIX implementation so I always try to work around it. :-) Anway, here's the changes required to get it to compile."
2008-07-31Merge branch 'master' of git://ngircd.barton.de/ngircdAlexander Barton
2008-07-31Install /Library/LaunchDaemons/de.barton.ngircd.plist into $(DESTDIR)Alexander Barton
2008-07-31FAQ: add entry about /OPER and OperCanUseModeFlorian Westphal
2008-07-27GIT: added src/testsuite/message-test to ignore list.Alexander Barton
2008-07-27Fix Validate_Args(): unused parameter "Idx" and "Req"Alexander Barton
This patch fixes the following error message of GCC (tested with version 4.3.0) when not compiling ngIRCd in "strict RFC" mode: parse.c: In function "Validate_Args": parse.c:341: error: unused parameter "Idx" parse.c:341: error: unused parameter "Req"
2008-07-27message-test: Disable two tests using "localhost" as host nameAlexander Barton
Some operating systems, for example OpenBSD and OpenSolaris, use "localhost.<domain>" instead of just "localhost" for 127.0.0.1, so the "message-test" using "localhost" failed on such systems. Don't have an idee how to make this work on all platforms ... :-/ So I simply disabled the two affected tests to make the testsuite run on OpenBSD and OpenSolaris again.
2008-07-27Fix Send_Message(): "lastCurrentTarget" may be used uninitializedAlexander Barton
This patch fixes the following warning of GCC 4.3.1: irc.c: In function "Send_Message": irc.c:315: error: "lastCurrentTarget" may be used uninitialized in this function
2008-07-27Fix t_diff(): declaration of 'div' shadows a global declarationAlexander Barton
This patch fixes the following GCC warning message: irc-info.c:422: warning: declaration of 'div' shadows a global declaration
2008-07-27Cosmetic whitespace and line length fixes, mostly in Send_Message().Alexander Barton
2008-07-27Added "message-test" to Makefile, so it is distrubuted and run.Alexander Barton
2008-07-27Cleaned up PRIVMSG and NOTICE patches.Brandon Beresini
2008-07-27Cumulative Message PatchBrandon Beresini
2008-07-22Don't allow empty channel names ("#") in strict RFC mode.Alexander Barton
This closes Bug #88. Patch proposed by Eric <egrunow@ucsd.edu>, but with wrong length comparision: please note that Channel_IsValidName() checks the name INCLUDING the prefix, so the test must be length<=1!
2008-07-22Return 461 (syntax error) on "JOIN :" and "PART :"Alexander Barton
Up to this patch ngIRCd did not return any result (GIT master) or a badly formated 403 (":irc.server 403 test :No such channel" [note the two spaces!], branch-0-12-x) on the above commands, this patch changes the behaviour to reflect ircd 2.11 which returns 461 in both cases.
2008-07-22Channel_Join(): Code cleanup.Alexander Barton
2008-07-21Added more supported and tested platforms to doc/Platforms.txt.Alexander Barton
2008-07-21Fixes to misc-test: accept "localhost.<domain>" as well as "localhost"Alexander Barton
Some operating systems, for example OpenBSD, use "localhost.<domain>" instead of "localhost", so the "who-test" expecting "localhost" failed on such systems. (Please see 149859c5fecc..., which fixes this for the who-test already)