Commits
- Commit:
bc1ac7fbc57bb6341b0b553c29d2da82464fc866
- From:
- Alexander Barton <alex@barton.de>
- Date:
ngIRCd release 15~rc1
- Commit:
37e950a40ceef1e28fde92dd3b2c3bcd03800295
- From:
- Alexander Barton <alex@barton.de>
- Date:
Updated NEWS and ChangeLog files
- Commit:
55c04e691d2e069eebf1f2cc7d9992d2510f681f
- From:
- Alexander Barton <alex@barton.de>
- Date:
Make sure forwarded CONNECT commands are handled correctly
- Commit:
881b9af2512a9707cdd599f84628a03c4e22cf2b
- From:
- Alexander Barton <alex@barton.de>
- Date:
Generate WALLOPS message on operator-generated SQUIT
- Commit:
294320ed62bdb7dac546cea43fac3b4c916788a4
- From:
- Alexander Barton <alex@barton.de>
- Date:
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!
- Commit:
03b70229eb95e218f56ab22ce30fa6279b3ae91f
- From:
- Alexander Barton <alex@barton.de>
- Date:
Xcode: added new op.{c|h} to project file
- Commit:
9918dfc1d595a680573910d12beb337cf4a58b14
- From:
- Alexander Barton <alex@barton.de>
- Date:
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().
- Commit:
e46cf64cc1e3bf21060df1d1125502277d035170
- From:
- Alexander Barton <alex@barton.de>
- Date:
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.
- Commit:
113bd34878c17f730d8fb878157b0dbba9380326
- From:
- Alexander Barton <alex@barton.de>
- Date:
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.
- Commit:
4a3e40bc95e783145855da611fa5944401a9c2c9
- From:
- Alexander Barton <alex@barton.de>
- Date:
Check_Oper(): check origin of forwarded messages instead of server.
- Commit:
45b1a45c979d0418591a1c62204d5a607cf86cde
- From:
- Alexander Barton <alex@barton.de>
- Date:
No_Privileges(): handle forwarded messages.
- Commit:
7d6de7c352f7b91b396cbdb6f2d194e2422b35b3
- From:
- Alexander Barton <alex@barton.de>
- Date:
IRC_SendWallops(): support format string and variable parameter lists.
- Commit:
30b584c2e8632f94312dc9575fccc510a2b437c0
- From:
- Alexander Barton <alex@barton.de>
- Date:
CONNECT, DISCONNECT: generate WALLOPS messages
- Commit:
eaaf0c3bd5ce4f48205ca928fba994d0c44e59b2
- From:
- Alexander Barton <alex@barton.de>
- Date:
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.
- Commit:
9a7499af8bb3c4b781492fef216c86cf7ab04134
- From:
- Alexander Barton <alex@barton.de>
- Date:
Code cleanup of IRC_DISCONNECT().
- Commit:
bce16c2864309d5fc7da8d0591120466303aa966
- From:
- Alexander Barton <alex@barton.de>
- Date:
Code cleanup of IRC_SQUIT() in preparation to deal with bug #73.
- Commit:
926204cacd05f49f24e79d0af404c2da4cfdbe3a
- From:
- Alexander Barton <alex@barton.de>
- Date:
New local functions Check_Oper() and No_Privileges().
- Commit:
3bf0c6f3b9cbeded68c2c7f7a6f2a020616b73f5
- From:
- Alexander Barton <alex@barton.de>
- Date:
Bad_OperPass(): code cleanup.
- Commit:
f78b0c61e967c66386803a3dc77069c66bd664de
- From:
- Alexander Barton <alex@barton.de>
- Date:
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 ...
- Commit:
fa09883c72855768a0f827a330097bf3dc5c839e
- From:
- Florian Westphal <fw@strlen.de>
- Date:
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.
- Commit:
affa03b277bb479c050f2d6967ae410e49e0d2ac
- From:
- Florian Westphal <fw@strlen.de>
- Date:
configtest: complain when ssl keys are not readable
- Commit:
5b1efaee67044b56f6ecac1ee70883bfc61f8c5d
- From:
- Alexander Barton <alex@barton.de>
- Date:
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().
- Commit:
d5f80b2a8deda30d0dcd69bea81a3ca862cf46ca
- From:
- Alexander Barton <alex@barton.de>
- Date:
Always use get{addr|name}info() when available
Both getaddrinfo() and getnameinfo() are now used always when available, and
not only when compiling ngIRCd with support for IPv6.
This not only enables ngIRCd to handle multiple addresses per hostname when
compiled without support for IPv6, but fixes binding ngIRCd to IP addresses
on Mac OS X (and probably other BSD-based systems) as well: these systems
require that sockaddr_in is zeroed out and sockaddr_in.sin_len is set to
sizeof(sockaddr_in) like that:
src/ipaddr/ng_ipaddr.c, line 54:
assert(ip_str);
+ memset(addr, 0, sizeof *addr);
+ addr->sin4.sin_len = sizeof(addr->sin4);
addr->sin4.sin_family = AF_INET;
But this would break all the systems not using sockaddr_in.sin_len, for
example Linux -- so we assume that all these systems provide getaddrinfo()
and use that for now.
- Commit:
60fc4d6335a2696f88532322b797978ef9e9005f
- From:
- Alexander Barton <alex@barton.de>
- Date:
Xcode: add "debug" configuration to project
- Commit:
536538968c6d2cd22669d4622a83d32f95d4eb55
- From:
- Alexander Barton <alex@barton.de>
- Date:
Fix cb_connserver() to handle aborted outgoing connections
A configured server could have been removed while a connection apptempt
is still in progress. So the cb_connserver() callback has to test if the
server configuration record is still valid.