about summary refs log tree commit diff
AgeCommit message (Collapse)Author
2013-08-04Change cloaked hostname to be malloc'd on demandFederico G. Schwindt
This shaves a few bytes when cloaked hostnames are not used and restricts the cloakhost announcement iif there is something to send.
2013-08-04Add Client_HasFlag() to check if a client has certain flagFederico G. Schwindt
2013-08-04Fix spellingFederico G. Schwindt
2013-08-04Rename XXX_Fingerprint to XXX_CertFpFederico G. Schwindt
2013-08-04Improved client announcementFederico G. Schwindt
Move Announce_User() to client.c and rename it to Client_Announce(). Use this in cb_introduceClient() instead of duplicating the code. This fix the certificate fingerprint announcement for new clients. Also ensure the certificate fingerprint is only announced if the client supports it (`M' flag).
2013-08-03Merge remote-tracking branch 'fgsch/certfp'Alexander Barton
* fgsch/certfp: Simplify MOTD handling Add certificate fingerprint support
2013-08-02Simplify MOTD handlingFederico G. Schwindt
Merge Show_MOTD_Start, Show_MOTD_Sendline and Show_MOTD_End into IRC_Show_MOTD.
2013-08-02Add certificate fingerprint supportFederico G. Schwindt
2013-08-03Update irc-server.c to use irc-macros.hAlexander Barton
And add some comments :-)
2013-08-02Commands.txt: Update more descriptionsAlexander Barton
Update description of "CHANINFO", "METADATA", "NJOIN", "SERVER", "SQUIT", "GET", and "POST".
2013-08-02Update irc-oper.c to use irc-macros.hAlexander Barton
2013-08-02Commands.txt: Update more descriptionsAlexander Barton
Update description of "CONNECT", "DIE", "DISCONNECT", "GLINE", "KILL", "KLINE", "OPER", "REHASH", "RESTART" and "WALLOPS".
2013-08-02Commands.txt: Fix <target> description of TRACE commandAlexander Barton
2013-08-02Update irc-mode.c to use irc-macros.hAlexander Barton
This includes code cleanups and more comments, too.
2013-08-02Update irc-channel.c to use irc-macros.hAlexander Barton
This includes code cleanups, too :-)
2013-08-02Commands.txt: Update more descriptionsAlexander Barton
Update descriptions of "AWAY", "JOIN", "LIST", "MODE", "PART", "TOPC", and "TRACE".
2013-08-02Commands.txt: Streamline references to IRC+ protocolAlexander Barton
2013-08-01Show IRC Operator name when logging a successful OPER commandAlexander Barton
2013-07-30Add penalty times in error paths of generic IRC helper macrosAlexander Barton
Add a 2 second penalty time when the number of parameters is invalid.
2013-07-30Add more penalty times in error pathsAlexander Barton
This patch changes the handlers of the "PASS", "NICK", "USER", and "SERVICE" commands to enforce a 2 second penalty when an error like "need more/other parameters" occurs. More functions should follow, I think ...
2013-07-30Update irc-login.c to use irc-macros.hAlexander Barton
This includes code cleanups, too :-)
2013-07-30Commands.txt: Update more descriptionsAlexander Barton
Update descriptions of "NICK", "PASS", "PING", "PONG", "QUIT", "USER", "WEBIRC", "SERVICE", and "SVSNICK".
2013-07-19Commands.txt: Update description of "PRIVMSG", "NOTICE", and "SQUERY"Alexander Barton
2013-07-18Add "compile" to .gitignore fileAlexander Barton
2013-07-18Commands.txt: Update description of the "ERROR" commandAlexander Barton
2013-07-18Update irc.c to use irc-macros.hAlexander Barton
This includes code cleanups and better documentation for some functions, too.
2013-07-18Merge pull request #4 from fgsch/masterAlexander Barton
Changes for ngircd 21.
2013-07-18Handle services in IRC_WHOIS_SendReply()Federico G. Schwindt
If the target is a service, advertise it as such and ignore operator mode.
2013-07-18Fix spellingFederico G. Schwindt
2013-07-17Slightly update ngircd.8 manual pageAlexander Barton
2013-06-04Travis-CI: Enable OpenSSL and libiconv supportAlexander Barton
2013-06-04Updated NEWS and ChangeLog filesAlexander Barton
2013-06-04Enhance Travis-CI configuration fileAlexander Barton
It now configures the sandbox to build ngIRCd with IPv6, IDENT, PAM, TCP-Wrappers, and zlib support. And it installs expect(1) and telnet(1) for the test suite.
2013-05-30Merge pull request #3 from Cofyc/masterAlexander Barton
irc-info.c: some commands use LINE_LEN as command buffer len
2013-05-30LINE_LEN -> COMMAND_LENYecheng Fu
LINE_LEN is configuration file line length
2013-05-25IncludeDir: default to "$SYSCONFDIR/ngircd.conf.d"Alexander Barton
Now "IncludeDir" defaults to "$SYSCONFDIR/ngircd.conf.d" instead of no directory, but a missing directory is only reported as an error if it has explicitely configured in the main configuration file and simply ignored otherwise. Therefore it is now possible not to touch the default (sample) configuration file at all, and set all distribution and/or system specific configuration options in "*.conf" files stored in "$SYSCONFDIF/ngircd.conf.d/". Thanks to "Elmasloco" for the idea!
2013-05-24"IncludeDir" can't be overwritten by included filesAlexander Barton
2013-05-24Implement new configuration option "IncludeDir"Alexander Barton
The option "IncludeDir" in the [Options] section can be used to specify a directory which can contain further configuration files and configuration file snippets matching the pattern "*.conf" that should be read in after the main configuration file ("ngircd.conf" by default) has been parsed. Closes bug #157.
2013-05-24conf.c: New function Read_Config_File()Alexander Barton
This function reads in and parses a single configuration file. Adjust all other functions to display the correct name of the file being read in currently.
2013-04-21Rename "Mask" variables into "Pattern" in assert() statementsAlexander Barton
This completes commit 3ab00e3a11 which broke debug builds.
2013-04-20Ensure there is enough space for the maskFederico G. Schwindt
As pointed by Alex while strl{cat,cpy} take the full length we need to leave space to ensure a proper mask is always created so revert the removal of - N from my last change.
2013-04-20Better description for Lists_CheckReason()Federico G. Schwindt
2013-04-20Change Lists_MakeMask() to receive a buffer for the maskFederico G. Schwindt
Change callers accordingly so they don't rely on a global buffer and rename Mask to Pattern where it makes sense since some functions where indeed receiving a pattern and not a mask.
2013-04-20Fix use-after-free on Lists_CheckReason()Federico G. Schwindt
Change Lists_CheckReason() to receive a buffer where the reason will be stored and its length. Change callers accordingly. Change Class_GetMemberReason() (and its callers) in a similar way so it doesn't rely on a global buffer for the rejected reason.
2013-04-01Update doc/Platforms.txt a little bit ...Alexander Barton
2013-03-27Build OS X package with correct file permissionsAlexander Barton
This requires to have the correct permissions in the source tree, which is "root:wheel", which in turn requires root privileges. Therefore the Makefile now tries to become root on "make osxpkg-dest" but tries hard not to require root privileges on "clean" etc.
2013-03-27Xcode: fix detection of host OS, vendor, and CPUAlexander Barton
2013-03-27PackageMaker: use relativ path namesAlexander Barton
2013-03-25Add Travis-CI configuration fileAlexander Barton
2013-03-24Make configure[.ng] compatible with autoconf 1.10 againAlexander Barton
The incompatibility has been introduced by commit d0c9f4a6, "configure: search for iconv_open as well as libiconv_open".