Commit Briefs

cade80dcf5 Alexander Barton

Added missing contrib/platformtest.sh to distribution (tags/rel-15)


c414d0bd3a Alexander Barton

ngIRCd release 15


bc88b2cb06 Florian Westphal

configtest: print ssl config options even when unset

Print "SSLOptionVar =" instead of omitting the option when running --configtest with ssl enabled. This better matches the behaviour of other options, e.g. ChrootDir.


bc1ac7fbc5 Alexander Barton

ngIRCd release 15~rc1 (tags/rel-15-rc1)


37e950a40c Alexander Barton

Updated NEWS and ChangeLog files


55c04e691d Alexander Barton

Make sure forwarded CONNECT commands are handled correctly


881b9af251 Alexander Barton

Generate WALLOPS message on operator-generated SQUIT


294320ed62 Alexander Barton

Enable SQUIT command for IRC Operators

This patch enables IRC Operators to use the SQUIT command as specified in RFC 2812, section 3.1.8 "Squit". When forwarding SQUIT commands, the server connected to the target will drop the connection (not the target server itself!). Please note: - the configuration option "AllowRemoteOper" mus be enabled on the server disconnecting the target to allow forwarding of SQUIT commands. - if the remote server is configured to establish the connection, it will just do this; so the disconnect is not permanent in this case!


03b70229eb Alexander Barton

Xcode: added new op.{c|h} to project file


9918dfc1d5 Alexander Barton

Use functions provided by op.c "module"

Local functions Check_Oper() and No_Privileges() have been replaced by global functions in op.c "module": Op_Check() and Op_NoPrivileges().


e46cf64cc1 Alexander Barton

New "module" op.c/op.h for IRC operator related functions

The new "module" op.c is used to implement functions related to IRC Ops. At the moment, these two functions are available: - Op_Check() to check for a valid IRC Op, and - Op_NoPrivileges() to generate "permission denied" messages.


113bd34878 Alexander Barton

Allow forwarding of CONNECT commands.

The syntax of the CONNECT command now is: - CONNECT <server-id> - CONNECT <server-id> <port> - CONNECT <server-id> <port> <target> - CONNECT <server-id> <port> <host> <my-pwd> <peer-pwd> - CONNECT <server-id> <port> <host> <my-pwd> <peer-pwd> <target> Note: the configuration option "AllowRemoteOper" mus be enabled on the target server to allow forwarding of CONNECT commands.



45b1a45c97 Alexander Barton

No_Privileges(): handle forwarded messages.



30b584c2e8 Alexander Barton

CONNECT, DISCONNECT: generate WALLOPS messages


eaaf0c3bd5 Alexander Barton

New function IRC_SendWallops().

Implement new global function IRC_SendWallops() that can be called by other functions to generate WALLOPS messages to users with +w mode.


9a7499af8b Alexander Barton

Code cleanup of IRC_DISCONNECT().



926204cacd Alexander Barton

New local functions Check_Oper() and No_Privileges().


3bf0c6f3b9 Alexander Barton

Bad_OperPass(): code cleanup.


f78b0c61e9 Alexander Barton

New configuration option "AllowRemoteOper"

Added new configuration option "AllowRemoteOper" to control whether remote IRC operators are allowed to use administrative commands that affect this server or not This commit introduces the configuration variable, but actually no function is using it. That's up for the next patches to come ...


fa09883c72 Florian Westphal

fix assertion failure in ng_ipaddr.c

when building with debugging enabled, but without ipv6 support, ngircd dumped core when loading a config file that specified an ipv6 listen address. ngircd: ng_ipaddr.c:45: ng_ipaddr_init: Assertion `sizeof(*addr) >= res0->ai_addrlen' failed.


affa03b277 Florian Westphal

configtest: complain when ssl keys are not readable


5b1efaee67 Alexander Barton

Check for sockaddr_in.sin_len and initialize it

Test for sockaddr_in.sin_len and initialize it to the correct value which some systems (notably Mac OS X) require. Note: this code path is only relevant when not using getaddrinfo().