Matt Schatz
79650e86fd
Send SNOTICES for failed secure only or fingerprint oper attempts.
2020-04-09 06:57:36 -06:00
Matt Schatz
2ec69dcc73
Prevent a trailing space in the failed oper SNOTICE.
2020-04-09 06:57:30 -06:00
Matt Schatz
160649b767
Set Unix socket permissions after binding.
2020-04-09 06:57:09 -06:00
Sadie Powell
ab564db05e
More HasFd() conversions.
2020-04-09 00:34:05 +01:00
Sadie Powell
0e7e1ea393
Improve the logging of the httpd module.
2020-04-09 00:14:59 +01:00
Sadie Powell
338946c969
Add a way to disable using environment variables in included files.
2020-04-07 14:45:43 +01:00
Sadie Powell
ba30c383ba
Fix Numerics::CannotSendTo sending the wrong numeric for users.
2020-04-06 20:34:44 +01:00
Sadie Powell
620c6f9f2e
Fix building the sqlite3 module on the macOS CI.
2020-04-06 13:20:02 +01:00
Sadie Powell
c353cb5aee
Add a tool for retrieving directives from source files.
2020-04-06 10:35:11 +01:00
Sadie Powell
f28c467e95
Send ERR_BANNEDFROMCHAN when a user can't create a restricted channel.
...
Closes #1772 .
2020-04-05 19:10:48 +01:00
Sadie Powell
758a0aa59b
Vendor the optional-lite library.
2020-04-05 12:14:01 +01:00
Sadie Powell
0609b6cdad
Update the http_parser library to v2.9.4.
2020-04-05 12:03:00 +01:00
Matt Schatz
3d56d49cf1
Don't send a geolocation whois line for uline clients.
2020-04-04 19:18:59 -06:00
Matt Schatz
d6133886f5
Don't override a different Displayed Host with the rDNS.
...
If the dnsbl module is set to mark with a vHost, it can finish before
the hostname resolution finishes. This is especially the case when
the result is already cached.
Resolves #1770 .
2020-04-04 19:12:28 -06:00
Sadie Powell
fe23e07f02
Squish the cmd_whowas header.
...
There's no reason for this to be in a header and it can't be used
by anything else.
2020-04-04 13:25:10 +01:00
Sadie Powell
5c6b063067
Don't filter mass-messages sent by server operators.
...
This matches the behaviour of the censor module.
2020-04-04 12:31:14 +01:00
Sadie Powell
cbe5b99314
Add the Numerics::CannotSendTo class and switch stuff to use it.
2020-04-04 12:31:14 +01:00
Matt Schatz
cad2f3f979
Ignore clients on ulined servers when counting invisible users.
...
This is in addition to 4cc992f.
2020-04-04 02:58:59 -06:00
Sadie Powell
235a986964
Add support for sending a standard reply with no command name.
2020-04-02 20:55:53 +01:00
Sadie Powell
26ddc3942d
Add constants for the uninvite numerics.
2020-04-02 20:53:23 +01:00
Sadie Powell
e75b2f92b5
Fix the log message in the disable module.
...
Modes are set and unset not executed.
2020-04-02 11:36:25 +01:00
Sadie Powell
339826812b
Clear the entire DNS cache on rehash.
2020-04-01 20:35:26 +01:00
Sadie Powell
e19674d50a
Document Module::Prioritize.
2020-04-01 14:32:02 +01:00
Sadie Powell
bec70fca51
Add a comment for packagers who delete the --{uid,gid} checks.
2020-03-31 17:33:55 +01:00
Matt Schatz
a5cb6b99fb
Add back the prefix on a server target message.
...
The prefix is dropped when building the message. We add it back here
so that the remote servers can recognize it as a server target.
2020-03-31 08:41:04 -06:00
Sadie Powell
29addc0799
Fix clock skip warnings being inverted.
2020-03-30 23:41:46 +01:00
Sadie Powell
25052ccef3
Make showing the channel modes in /LIST configurable.
2020-03-30 23:38:42 +01:00
Sadie Powell
9ebda853f5
Fix various documentation and formatting issues.
2020-03-30 17:24:12 +01:00
Sadie Powell
3f3da905b9
Add support for the servers/ignore-shun privilege.
2020-03-29 12:08:19 +01:00
Sadie Powell
92732be632
Include ADMIN and OPER in the default for <shun:enabledcmds>.
2020-03-29 11:58:09 +01:00
Sadie Powell
5fff3610d5
Clean up the parsing logic for <shun:enabledcmds>.
2020-03-29 11:57:27 +01:00
Matt Schatz
ac3c8eb9e6
Correct a typo in the example config.
2020-03-28 23:28:53 -06:00
Sadie Powell
2ff5d46dc3
Fix expanding module names.
2020-03-27 14:25:09 +00:00
Sadie Powell
13d6390aec
Update the credits.
...
- Move Attila to former developers (RIP).
- Move genius3000 to core developers.
- Add Robby to contributors.
- Add prawnsalad to thanks.
2020-03-27 13:39:37 +00:00
Sadie Powell
0412648fc1
Alphabetically sort names in the credits.
2020-03-27 13:33:50 +00:00
Sadie Powell
ceed9acdee
Improve the issue templates slightly.
2020-03-25 14:28:01 +00:00
Matt Schatz
695fb03219
Only send a local X-line SNOTICE.
...
Spanningtree sends a local SNOTICE to 'X' when adding
a line. No need to send a global SNOTICE from here.
2020-03-25 02:38:34 +00:00
Matt Schatz
998b407b2a
Fix the signed-ness within ConvToNum char overloads.
...
It should be signed int with signed char and vice-versa.
Currently, anything over 127 as unsigned char would return 0.
2020-03-24 18:26:59 +00:00
Matt Schatz
7a9e579b49
Correct a module name typo.
2020-03-24 18:19:20 +00:00
Sadie Powell
c0703f66d7
Add a raw source/target PRIVMSG overload for sending a status msg.
2020-03-19 07:34:33 +00:00
Sadie Powell
92d83e9103
Allow commands to override ERR_{NEEDSMOREPARAMS,NOTREGISTERED}.
2020-03-18 11:26:05 +00:00
Sadie Powell
e91a017aca
Force people to use an issue template.
2020-03-13 07:58:34 +00:00
Sadie Powell
176acbfdb0
Move CHANMODES to core_mode and add USERMODES.
2020-03-12 18:32:35 +00:00
Sadie Powell
1efc234a54
Implement support for the SERVLIST command.
2020-03-12 17:51:03 +00:00
Sadie Powell
906e44f687
Add a CapReference class for the message-tags capability.
2020-03-12 05:23:04 +00:00
Joel Sing
1a7b4bac42
Improve logging for the m_ldap and m_ldapauth modules ( #1757 ).
...
Currently, it is difficult to diagnose LDAP authentication failures,
since the logs do not provide sufficient information about what is
actually being queried and what actually failed.
This increases logging details so that information about the LDAP query
is included, for example:
Fri Mar 06 2020 08:02:59 ANNOUNCEMENT: Error binding as manager to LDAP
server: Invalid credentials (bind dn=cn=adminz,dc=nodomain)
Rather than:
Fri Mar 06 2020 08:02:59 ANNOUNCEMENT: Error binding as manager to LDAP
server: Invalid credentials
Same with connection logging:
Fri Mar 06 2020 07:59:53 CONNECT: Forbidden connection from
jsing!jsing@192.168.200.1 (Invalid credentials (bind
dn=uid=jsing,dc=nodomain))
Fri Mar 06 2020 08:01:19 CONNECT: Successful connection from
jsing!jsing@192.168.200.1 (dn=uid=jsing,dc=nodomain)
2020-03-12 05:20:46 +00:00
Sadie Powell
0a67b8861a
Warn if the server config contains an unhashed password.
...
This will be made a hard failure in v4.
2020-03-11 15:06:19 +00:00
Sadie Powell
55882c39f1
Fix detection of the "plaintext" pseudo-hash being case sensitive.
2020-03-11 13:58:45 +00:00
Sadie Powell
feaceb2b03
Fix unnecessary inlining in command handler constructors.
2020-03-09 22:50:48 +00:00
Sadie Powell
0643ce085c
Fix not assigning bits to capabilities correctly.
...
This makes it correctly throw when the capability limit is reached
and allows up to 64 capabilities to be created instead of 32.
2020-03-09 13:57:06 +00:00