about summary refs log tree commit diff
AgeCommit message (Collapse)Author
2011-01-18conf: fix 'Value of "..." is not a number!' for negative valuesAlexander Barton
Don't use isdigit() function any more, because it only checks the first character of the variable value and because it doesn't know about the minus sign which is required e.g. for "Group = -1".
2011-01-18Don't read MOTD file twiceAlexander Barton
The MOTD file is read in Read_Config(), so don't read it when handling the "MotdFile" configuration variable. Instead make sure that it is initialized properly when (re-)reading the configuration.
2011-01-18Add [Features] section to ngircd-test{1|2}.confAlexander Barton
Fix commit 5a34bb203a: It is not enough to strip the "No" prefix from "Ident" and "PAM", but we have to introduce the new [Features] section to fix all warning messages of ngIRCd. Variables "Ident" and "PAM" in [Global] are completely wrong :-(
2011-01-18Enable WHOIS command to return information about servicesAlexander Barton
2011-01-18Update testsuite configuration: strip No... prefixesAlexander Barton
2011-01-16Add connection/socket information to some log messagesAlexander Barton
2011-01-10Implement channel mode 'O': "IRC operators only"Alexander Barton
This channel mode is used on DALnet (bahamut), for example.
2011-01-10Remove ZeroConf variable from sample-ngircd.confAlexander Barton
2011-01-09Remove support for ZeroConf/Bonjour/Rendezvous service registrationAlexander Barton
2011-01-09TOPIC command: test for channel admin rights correctlyAlexander Barton
This enables other servers, services and IRC operators to change channel topics, even when the client is not joined to this channel. Now the handler for TOPIC behaves like the one for MODE.
2011-01-09Channel_CheckAdminRights(): test if client can admin a channelAlexander Barton
This generic function tests if a client is allowed to do administrative tasks to a specific channel: - servers and services are always truested ("allowed everything"), - channel operators are allowed, - IRC operarors are allowed if OperCanUseMode is set in the config.
2011-01-09conf: fix 'unknown section' FEATURES parse errorFlorian Westphal
pointed out by Alex: ngircd.conf, line 105: Unknown section "[Features]"!
2011-01-09IRC_TOPIC(): code cleanupAlexander Barton
2011-01-09conf: move 'run-time-feature-disable' options to new FEATURE sectionFlorian Westphal
2011-01-09array: remove check for allocated == 0Florian Westphal
allocated can only be zero if ->mem is NULL.
2011-01-09array: remove alignment of requested sizeFlorian Westphal
libc should know better than us. Also, this helps debugging with tools like valgrind: When you allocate an array of size x, and then erronoulsy use x+1 valgrind cannot detect the bug because due to ALIGN_() made by array.c we might have allocated more than size x...
2011-01-09conf: Warn if PAM=true when ngircd was built without PAM supportFlorian Westphal
2011-01-09conf: add missing static qualifierFlorian Westphal
internal helper, so it should be static. also, add UNUSED to 'Line'.
2011-01-09Update copyright notices for 2010 :)Alexander Barton
And update the NEWS and ChangeLog file as well.
2011-01-09Make NoZeroConf option work with HowlAlexander Barton
2011-01-09config: deprecate NoXX-OptionsFlorian Westphal
ngircd unfortunately uses several options using double-negation, e.g. NoIdent = No, NoPam = No, etc. This renames all options by dropping the "No" prefix, e.g. "NoIdent = no" becomes "Ident = yes". The old options will continue to work, but will cause a warning message. Also update man pages and default config. To prevent silly 'Ident = yes' from appearing in --configtest output in the 'ident support not compiled in and Ident Option not used' case, make default value depend on feature availability. If feature is available, enable by default, otherwise disable. We might consider moving these options to a new [Feature] section, or something like that, because none of these options are essential. Another possible improvement: 'Ident = yes' option in ngircd.conf causes a warning if ngircd was built without ident support. This does not happen with e.g. zeroconf....
2010-12-31channel: fix confusing "adding to invite list" debug outputFlorian Westphal
adding entries to ban list produced 'invite list' debug output...
2010-12-29Command throttling: introduce MAX_COMMANDS_SERVICEAlexander Barton
New MAX_COMMANDS_SERVICE (currently set to MAX_COMMANDS_SERVER[10]), so that services are handled like servers (and not regular users).
2010-12-29Don't throttle services and servers beeing registeredAlexander Barton
2010-12-29Xcode: correctly sort filesAlexander Barton
2010-12-24Don't assert() when serching a client for an invalid server tokenAlexander Barton
This is only relevant when a trusted server on a server-server link sends invalid commands.
2010-12-19ngIRCd release 17.1 rel-17.1Alexander Barton
2010-12-02--configtest: remember if MOTD is configured by file or phraseAlexander Barton
Configuration variables "MotdFile" and "MotdPhrase" are mutually exclusive; so don't display content in both of them when running "ngircd --configtest": instead remember which one is beeing used.
2010-12-02Enhance log messages when establishing server links a little bitAlexander Barton
2010-12-02Reset ID of outgoing server link on DNS error correctlyAlexander Barton
Not resetting the ID prevents the daemon from trying to re-establish outgoing server links when the DNS resolver failed to resole a hostname.
2010-12-02Don't log critical (or worse) messages to stderrAlexander Barton
stderr isn't redirected to the "error file" any more, so there is no point in trying to log to it ...
2010-12-01Manual page ngircd(8): add SIGNALS sectionAlexander Barton
2010-12-01Manual pages: update and simplyfy AUTHORS sectionAlexander Barton
2010-12-01Remove "error file" when compiled with debug code enabledAlexander Barton
The information written to the "error file" (/tmp/ngircd-<PID>.err) when ngIRCd is compiled with debug code enabled isn't that usefule, so don't create this file at all.
2010-11-19README: Updated list of implemented commandsAlexander Barton
2010-11-15add doc/README-Interix.txt and doc/Bopm.txt to distribution tarballAlexander Barton
2010-11-15Merge branch 'numeric-329'Alexander Barton
* numeric-329: New numeric 329: get channel creation time on "MODE #chan" commands Save channel creation time; new function Channel_CreationTime()
2010-11-14add doc/PAM.txt to distribution tarballFlorian Westphal
doc/PAM.txt was not included in the release tarball. reported by Christoph Biedl.
2010-11-11New numeric 329: get channel creation time on "MODE #chan" commandsAlexander Barton
2010-11-11Save channel creation time; new function Channel_CreationTime()Alexander Barton
2010-11-07ngIRCd release 17 rel-17Alexander Barton
2010-11-07Updated doc/Platforms.txt for upcoming release 17Alexander Barton
2010-11-07contrib/platformtest.sh: make command name quoting consistentAlexander Barton
2010-11-07contrib/ngircd-redhat.init: updated email address of Naoya NakazawaAlexander Barton
2010-11-03Fix up generation and distribution of sample-ngircd.confAlexander Barton
- Add generated sample-ngircd.conf to new .gitignore file, - refactor Makefile.am to generate sample-ngircd.conf on "make all", to clean it up on "make clean", and to install it to the correct place. - Make sure path names in sample-ngircd.conf are separated by "/".
2010-11-03doc: change path names in sample-ngircd.conf depending on sysconfdirFlorian Westphal
2010-10-27ngIRCd Release 17~rc3 rel-17-rc3Alexander Barton
2010-10-27Fix connect attempts to further IP addresses of outgoing server linksAlexander Barton
If a hostname resolves to more than one IP address (round-robin DNS, IPv4 and IPv6) and an attempt to connect to the first address fails, ngIRCd should try to connect to the 2nd address, 3rd address etc. But because of a wrong variable used in the call to New_Server(), the wrong server structure has been used in further connection attemps which possibly lead to connection attempts to already connected servers.
2010-10-27Debian: Install default /etc/pam.d/ngircd allowing all loginsAlexander Barton
This is required for backwards compatibility when installing the -full or -full-dbg package variant: PAM is enabled now but no configuration present, so all login attempts would be denied ... Creating /etc/pam.d/ngircd including "auth required pam_permit.so" restores the old behaviour of allowing all connections.
2010-10-26Debian: update standards to 3.9.1; add libpam0g-dev dependencyAlexander Barton