Age | Commit message (Collapse) | Author |
|
Using the latter is problematic as if you don't copy the return
value before calling Format again your formatted message will be
overwritten by something else. This bug was observed in m_callerid
where InspIRCd::Format was being used for formatting two arguments
the latter of which was being overwritten with the former.
We could have preserved the return type and just copied the string
but then callers would have had to deallocate the string once they
have finished with it which is an undesirabable burden to put on
callers.
|
|
|
|
|
|
- Respect the value of <cgiirc:opernotice> when sending snotices
to operators.
- Write to the log file if opernotice is disabled.
- Log to the correct snomask in all cases. This was caused by an
oversight when merging insp20 into master.
- Replace the full user mask in log messages with a uuid/ip. The
WEBIRC command is sent as the first command so there will not be
a nickname or username at this point.
|
|
|
|
|
|
|
|
This allows clients to accurately predict the maximum safe length
of a NOTICE or PRIVMSG and truncate/split as appropriate.
As proposed at https://defs.ircdocs.horse/defs/isupport.html
|
|
This is just a thin wrapper around exit(). I don't think we really
need it.
While we are changing this code the setgroup/setuser code should be
using EXIT_STATUS_CONFIG too.
|
|
- Move everything into the SQL namespace and drop the SQL prefix.
- Move SQLProvider::PopulateUserInfo to SQL::PopulateUserInfo.
- Rename SQLEntry to SQL::Field and clean up.
- Rename SQLEntries to SQL::Row.
- Rename SQLerror to SQL::Error and clean up.
- Rename SQLerrorNum to SQL::ErrorCode and drop the SQL_ prefix.
- Rename ParamL to SQL::ParamList.
- Rename ParamM to SQL::ParamMap;
- Make implementing SQLQuery::OnError mandatory.
- Redo most of the documentation in the sql header.
|
|
Fixed misc. instances of ERR_NOSUCHNICK instead of channel numerics
Closes #1122.
|
|
Per #1122
|
|
The previous name was horrible and didn't describe what the setting
actually does.
|
|
Add SHUN as a /filter action
|
|
This resolves #483
|
|
Add OpenSSL CRLs.
|
|
Add snomask alert on m_filter quit/part G-Line
|
|
Clarify error message when attempting to /NICK while banned
|
|
|
|
Resolves an oversight of #1264
|
|
Show server versions in /MAP for opers
|
|
This resolves #1203
|
|
|
|
Closes #1235.
|
|
Closes #1440.
|
|
The 'crlfile' argument can point to a file that contains valid CRLs.
The 'crlpath' argument can point to a directory which contains CRLs,
albeit in OpenSSL's special hashed/symlink format. The 'crlmode' option
'chain' checks all certificates in the chain while the option 'leaf'
checks only the leaf certificate in a chain.
|
|
Closes #451.
|
|
|
|
|
|
Add optional oper override umode +O.
|
|
|
|
This fixes #1431 and closes #1432.
|
|
Closes #1430.
|
|
|
|
- Add constants for all of the used numerics.
- Switch RPL_CHANNELSMSG from 336 to 651 to avoid a conflict with
RPL_INVITELIST from ircd-hybrid.
- Switch RPL_WHOWASIP from 379 to 652 to avoid a conflict with
RPL_WHOISMODES from UnrealIRCd.
|
|
|
|
- Get rid of MakeHash and inline the logic into the actual handler.
- Return CMD_FAILURE when password hashing fails for some reason.
- Change the module name and description to be more accurate.
|
|
Closes #1264.
|
|
Closes #634.
|
|
Closes #466.
|
|
|
|
In the future we will have server linking modules that are not the
spanningtree module.
|
|
Fix m_cloaking umode desync
|
|
Remove extra double quote (") from modules.conf
|
|
|
|
Old TLS libraries should not be used anymore due to security risks.
|
|
- Always disable SSLv3. Unreal has already done this so clients
will have to upgrade anyway.
- Disable TLSv1.0 by default. Various security standards (e.g.
PCI DSS) are already planning on sunsetting this so we should
too.
|
|
|
|
This numeric is a lot more friendly for clients to deal with.
|
|
As far as I can tell this is not a problem as all ban masks are
canonicalised but its better to be safe than sorry.
|