Peter Powell
3faa9e3299
Move forking code into a function and remove DaemonSeed.
2019-12-08 21:19:47 +00:00
Peter Powell
191ad98fb5
Extract the core dump size increasing code to a function.
2019-12-08 20:53:19 +00:00
Peter Powell
399abe05ea
Make the UpdateTime function easier to read.
2019-12-08 20:39:46 +00:00
Peter Powell
71130d15b3
Extract root dropping code to a function.
2019-12-08 20:39:28 +00:00
Peter Powell
a47e2df0ce
Replace our Windows getopt_long wrapper with ya_getopt.
...
Closes #546 .
2019-12-08 19:59:34 +00:00
Peter Powell
914d8140d9
Use meaningful variable names in consolecolors.
2019-12-08 19:12:56 +00:00
Peter Powell
c9a06147e6
Extract rng initialisation code to a function.
2019-12-08 19:05:01 +00:00
Peter Powell
eaa47be713
Move various static functions into an anonymous namespace.
2019-12-08 18:51:52 +00:00
Peter Powell
b8cb1e5f01
Clean up the initialisation of the InspIRCd class.
2019-12-08 17:26:58 +00:00
Peter Powell
bd04209104
Get rid of the platform tests in the Travis build script.
...
We only build on Xenial nowadays so this check is unnecessary.
2019-12-06 19:33:55 +00:00
iwalkalone
aea5500b46
Fixing MatchCIDR call when checking proxy range
2019-12-06 19:30:11 +00:00
Peter Powell
7f36a33713
Bump the InspIRCd ABI version.
2019-12-03 12:25:12 +00:00
Peter Powell
54b3cf898e
Add a note to the issue template about the security policy.
2019-12-03 12:09:29 +00:00
Peter Powell
eaea34e987
Send * for empty targets in the no such nick/channel message.
2019-12-03 12:09:15 +00:00
Peter Powell
cad88bcffb
Use network-online instead of network in the systemd service.
...
As recommended at https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/ .
Closes #1729 .
2019-11-30 16:17:32 +00:00
Peter Powell
694c121908
Change the default for <waitpong:sendsnotice> to false.
...
This message exists for an incredibly rare issue and just confuses
the vast majority of people.
2019-11-29 13:48:13 +00:00
Peter Powell
df2a3d6fc4
Minor cleanup of the conn_umodes module.
2019-11-29 13:43:49 +00:00
Peter Powell
965460400b
WebSocket: move the OriginList typedef inside WebSocketConfig.
2019-11-29 11:11:11 +00:00
Peter Powell
afb5972ab5
WebSocket: replace the behindproxy switch with a proxy IP list.
2019-11-29 11:09:36 +00:00
Peter Powell
bb1f892f68
Implement support for websocket connections via a proxy like nginx.
2019-11-28 17:59:35 +00:00
Peter Powell
6f2d0b505f
Move WebSocket config to its own class.
2019-11-28 17:06:11 +00:00
Peter Powell
bef13bcae3
Add some overloads of IRCv3::Replies::Reply#Send.
2019-11-25 14:10:42 +00:00
Peter Powell
478a092258
Rename ldapoper class to LDAPOper.
...
This might be causing issues for some people?
2019-11-22 14:13:45 +00:00
Matt Schatz
7ae4ca1a23
Split the channel mode and extban replies.
...
Tell the user when they are extbanned rather than incorrectly say
that the channel mode is set.
Refactored the logic in m_nonotice to match that of the others.
2019-11-18 11:18:00 +00:00
Matt Schatz
36d7ee44a8
Change Config->CaseMapping back when unloading.
...
Now that casemapping is configurable in the core and we set that
Config variable rather than just modifying the ISupport output each
time, we need to change the variable back when being unloaded. So we
save the current value when loading and set it back when being
unloaded. We also need to call the ISupport builder a second time as
the core calls it before we destruct.
2019-11-18 11:07:19 +00:00
Matt Schatz
43da9c3232
Allow options:casemapping to remain defined when using m_nationalchars.
2019-11-18 11:07:19 +00:00
Peter Powell
2ec7654267
Deprecate Send{Channel,User}Notice; use SendMessage instead.
2019-11-17 22:37:24 +00:00
Peter Powell
8be79c0797
Make rehashing messages more consistent.
2019-11-17 22:23:51 +00:00
Peter Powell
687778b72e
Allow Channel::WriteNotice send to other servers and status ranks.
2019-11-17 22:17:42 +00:00
Peter Powell
b443df3938
Close connections when an I/O hook is configured but not loaded.
2019-11-16 22:05:42 +00:00
Peter Powell
d15e3bd110
Only show classbase ctor/dtor/cull messages in debug builds.
2019-11-16 22:05:42 +00:00
Peter Powell
586abc72da
Improve reading xlines from the server configuration.
2019-11-16 22:05:42 +00:00
Peter Powell
e8b476bea9
Refactor the MySQL code slightly.
2019-11-16 22:05:42 +00:00
Matt Schatz
05066eb189
SSL modules: send SNOTICE upon successful rehash.
2019-11-15 10:21:10 +00:00
Peter Powell
fe87ef1967
Refactor the MySQL query and result queue classes.
2019-11-13 16:20:34 +00:00
Peter Powell
b2c876c577
Get rid of some dead code in the MySQL module.
2019-11-13 16:20:34 +00:00
Peter Powell
db45e2e69c
Improve the logic around connecting to a MySQL server.
...
- The connection timeout can now be customised with <database:timeout>.
- <database:port> is now limited to the 1-65535 range.
- The MySQL library will now not install a SIGPIPE handler as it
would override the default InspIRCd ignore behavopur.
- Errors caused by setting the default character set and executing
the initial query are now no longer ignored.
2019-11-13 13:26:58 +00:00
Peter Powell
43fb2f9972
Add GetId() to the SQL::Provider class.
2019-11-13 12:58:18 +00:00
Peter Powell
78a72b90b0
Use case insensitive comparisons when checking for SSL rehashes.
2019-11-03 19:05:52 +00:00
Peter Powell
f28161a652
Release v3.4.0.
v3.4.0
2019-10-25 11:40:44 +01:00
Peter Powell
dc782bc846
Add a workaround for connectban hitting gateway IP addresses.
2019-10-25 09:53:27 +01:00
Peter Powell
23d0ffcdde
Extract connectban's range checking code to a function.
2019-10-25 09:35:15 +01:00
Robby
96925ce0e8
m_noctcp: Fix noctcp user mode not applying to exempted channel ops.
2019-10-24 16:10:34 +01:00
Peter Powell
7f4bf231bc
Exempt the KiwiIRC.com servers from X-lines.
2019-10-24 15:56:21 +01:00
Peter Powell
5c9427fb43
Fix a typo in the KiwiIRC.com server IPs.
2019-10-24 15:56:21 +01:00
Peter Powell
95b8763734
Raise <connflood:bootwait> from 10 seconds to 2 minutes.
...
Many clients don't reconnect automatically and it can take a while
for them to reconnect.
2019-10-24 15:56:21 +01:00
Peter Powell
493acff4eb
Disable DNS/DNSBL/ident lookups for unregistered KiwiIRC.com users.
2019-10-24 15:56:20 +01:00
Peter Powell
0d2f3cdc51
Ignore DNSBL responses if the user's IP address has changed.
2019-10-24 15:56:20 +01:00
Peter Powell
2e75491aed
Fix respecting the deprecated <channels:users> tag.
2019-10-24 15:56:20 +01:00
Matt Schatz
2998a2251c
Improve the timed ban notices ( #1722 ).
...
- Save the nick of the setter to use in the expiry message.
- Change both notice messages to a standard and informative style.
2019-10-24 15:48:28 +01:00