Sadie Powell
9ef90acced
Merge branch 'insp3' into master.
2021-02-01 18:57:52 +00:00
Sadie Powell
aa4c7489b7
Duplicate the stdout file handle when used for logging.
...
Failure to do this may result in a crash on shutdown when started
in debug mode.
2021-02-01 18:10:53 +00:00
Sadie Powell
5b21a60a9d
Fix using the TR1 headers on compilers that support C++17.
2021-02-01 17:00:19 +00:00
Sadie Powell
a235e43560
Move SSLINFO code for users to its own function and refactor.
2021-02-01 14:34:00 +00:00
Sadie Powell
b191657921
Allow using SSLINFO on channels.
2021-02-01 14:33:56 +00:00
Sadie Powell
35530841cf
Convert SSLINFO to SplitCommand.
2021-02-01 13:08:21 +00:00
Sadie Powell
ff06be6c44
Read <sslinfo:operonly> once at load time.
2021-02-01 12:59:06 +00:00
Sadie Powell
55a0a6ab66
Fix the base path being used for more than just the install prefix.
2021-01-31 14:38:46 +00:00
Sadie Powell
2b2d37ff50
Make MyClass private and move everything to GetClass.
2021-01-31 14:00:34 +00:00
Sadie Powell
14eed26666
Move sendmsglist to above the functions in LocalUser.
2021-01-31 13:50:28 +00:00
Sadie Powell
7f764767fa
Fix a shadowing warning in SERVLIST.
2021-01-30 19:55:27 +00:00
Sadie Powell
601ddbbb25
Replace defaultdeleter with the C++11 one and rename culldeleter.
2021-01-30 19:53:36 +00:00
Sadie Powell
3ae299f298
Rename Extensible::doUnhookExtensions to UnhookExtensions.
2021-01-30 19:16:49 +00:00
Sadie Powell
10714b0ded
Fix bitshift in INSPIRCD_VERSION_SINCE.
2021-01-30 17:31:40 +00:00
Sadie Powell
563c9aba9e
Fix an oversight in the previous commit.
2021-01-30 16:46:23 +00:00
Sadie Powell
219d0fa1a6
Fix a few issues with SERVLIST.
...
- Implement support for service type matching based on the service
oper type. This isn't the same as irc2 but its close enough.
- Fix erroneously sending the mask in the <mask> field. This field
is for the service name mask not the service distribution mask.
2021-01-30 16:32:43 +00:00
Sadie Powell
e8514f7149
Replace all internal references to uline with services.
2021-01-30 14:20:25 +00:00
Sadie Powell
aa6cc72191
Rename <uline> to <service>.
2021-01-30 14:04:59 +00:00
Sadie Powell
74661a8112
Allow ServerConfig::Conf{Value,Tags} to have a fallback default.
2021-01-30 14:04:19 +00:00
Sadie Powell
2b1d0f5ef4
Rename <deaf:privdeafuline> to <deaf:privdeafservice>.
2021-01-30 13:44:15 +00:00
Sadie Powell
702d9bc3e5
Rename <deaf:bypasscharsuline> to <deaf:servicebypasschars>.
2021-01-30 13:42:25 +00:00
Sadie Powell
3c7d5e2823
Rename <silence:exemptuline> to <silence:exemptservice>.
2021-01-30 13:32:55 +00:00
Sadie Powell
67e212710b
Rename <alias:uline> to <alias:service>.
2021-01-30 13:30:32 +00:00
Sadie Powell
61f3f350f2
Rename <security:hideulines> to <security:hideservices>.
2021-01-30 13:24:05 +00:00
Sadie Powell
589c4b80f4
Rename <security:hideulinekills> to <security:hideservicekills>.
2021-01-30 13:23:19 +00:00
Sadie Powell
bb35650b57
Merge branch 'insp3' into master.
2021-01-29 18:15:32 +00:00
Sadie Powell
3236e2b26f
Allow using fixedpart/fixedquit with an empty message.
2021-01-29 18:02:46 +00:00
Sadie Powell
ce05e885a9
Remove unnecessary chdirs in the helper script.
2021-01-29 15:01:37 +00:00
Sadie Powell
0e5081e87c
Fix some minor oversights introduced in 859a799 and 3e557e8.
2021-01-29 14:24:56 +00:00
Sadie Powell
413a08a4d3
Improve the ./configure --help
output
...
- Document --portable, --runtime-dir, and INSPIRCD_VERBOSE.
- Make the output coloured on supporting terminals.
- Fix the description of --data-dir.
- Wrap all lines at 80 charactrs.
- Upper case the value names and wrap in <> not [].
2021-01-29 14:10:00 +00:00
Sadie Powell
2fceea41e8
Always use for in Perl modules.
2021-01-29 13:46:37 +00:00
Sadie Powell
3e557e85d3
Purge all remaining uses of print_format.
2021-01-29 13:39:13 +00:00
Sadie Powell
ad1ad11067
Update the mailmap.
2021-01-28 11:58:15 +00:00
Sadie Powell
0ea4e0cb91
Exempt IRCCloud users from connectban and DNSBL lookups.
2021-01-27 19:39:34 +00:00
Sadie Powell
05fe4bdd1d
Allow disabling connectban for specific connect classes.
...
Ref: #1841 .
2021-01-27 19:39:32 +00:00
Sadie Powell
859a79923a
Migrate some stuff away from print_format.
2021-01-27 16:47:08 +00:00
Sadie Powell
f6b861f12d
Fix unnecessary begin blocks in Perl source files.
2021-01-25 12:39:56 +00:00
Sadie Powell
cc28ba0f21
Make the UNIX socket listener path relative to the runtime path.
...
This is not a breaking change because unless the runtime path is
explicitly set it defaults to the same as the data path.
2021-01-20 11:54:13 +00:00
Sadie Powell
a601cf2f0d
Add <dns:enabled>; allows disabling DNS lookups entirely.
...
Ref: #1839 .
2021-01-19 08:42:44 +00:00
Sadie Powell
ebe3e3f3cf
Allow converting a Cap::Reference to a Cap::Capability*.
2021-01-19 08:11:01 +00:00
Sadie Powell
28fef58b88
Send ERR_CANTUNLOADMODULE when unloading a module on reload fails.
2021-01-19 07:19:48 +00:00
Sadie Powell
5fe9da839c
Refactor the globalload module.
...
- Require that a non-empty last parameter is given to the commands.
- Use WriteRemoteNumeric instead of WriteNumeric so opers actually see the response.
- Store <security:allowcoreunload> instead of looking it up every time.
2021-01-19 07:09:56 +00:00
Sadie Powell
da7cba6938
Fix the DNS socket not being closed when core_dns is unloaded.
2021-01-19 01:43:52 +00:00
R-V6
c2369968bc
Added <module name="codepage"> to modules.conf.example.
2021-01-18 23:46:32 +00:00
Sadie Powell
db0052bcc2
Merge branch 'insp3' into master.
2021-01-18 11:42:25 +00:00
Sadie Powell
4a126ad130
Add a separate stats class for DNSBL errors.
2021-01-18 10:22:57 +00:00
Sadie Powell
e626ceeb33
Improve the robustness of the DNSBL module.
...
- Handle DNSBLs that return invalid lookup results.
- Fix DNSBLs that return non-local addresses blocking connections.
- Fix silently failing when a DNSBL returns no IPv4 results.
- General code cleanup.
2021-01-18 10:22:57 +00:00
iwalkalone
6223be60de
Implemented configurable kick message for the repeat module ( #1835 ).
2021-01-18 07:22:44 +00:00
Sadie Powell
f9a6631854
Fix showing the start header when using --version.
2021-01-18 07:12:23 +00:00
Sadie Powell
a59ed4b394
Add a new runtime directory and move the pid file to it.
...
The data directory is intended for persistent files whereas the pid
file is ephemeral. This distinction doesn't matter by default but
on system-wide installs ephemeral runtime files go in /var/run or
/run instead.
2021-01-18 07:05:27 +00:00