summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-12-09Make ForkIntoBackground handle exiting by itself.Peter Powell
2019-12-09Extract command line option parsing to a function.Peter Powell
2019-12-09Fix indentation of CheckRoot() and error in non-interactive mode.Peter Powell
2019-12-08Improve behaviour when running as root.Peter Powell
- Only give the annoying message about root if --runasroot is not specified. - If --runasroot is specified then assume the user knows what they are doing. - Move CheckRoot to a static function in inspircd.cpp.
2019-12-08Show the header before checking if the config file exists.Peter Powell
2019-12-08Initialise Winsock from inside the socket engine.Peter Powell
2019-12-08Extract config file finding code to a function.Peter Powell
2019-12-08Extract performance stat code to a function.Peter Powell
2019-12-08Move XLine garbage collection to core_xline.Peter Powell
2019-12-08Increase the core dump size earlier in the process lifetime.Peter Powell
According to `man 2 getrlimit` resource limits are inherited by the child when a process forks.
2019-12-08Call RecoverFromFork from ForkIntoBackground.Peter Powell
2019-12-08Convert InspIRCd::SetSignals to a static function.Peter Powell
2019-12-08Move forking code into a function and remove DaemonSeed.Peter Powell
2019-12-08Extract the core dump size increasing code to a function.Peter Powell
2019-12-08Make the UpdateTime function easier to read.Peter Powell
2019-12-08Extract root dropping code to a function.Peter Powell
2019-12-08Replace our Windows getopt_long wrapper with ya_getopt.Peter Powell
Closes #546.
2019-12-08Use meaningful variable names in consolecolors.Peter Powell
2019-12-08Extract rng initialisation code to a function.Peter Powell
2019-12-08Move various static functions into an anonymous namespace.Peter Powell
2019-12-08Clean up the initialisation of the InspIRCd class.Peter Powell
2019-12-06Get rid of the platform tests in the Travis build script.Peter Powell
We only build on Xenial nowadays so this check is unnecessary.
2019-12-06Fixing MatchCIDR call when checking proxy rangeiwalkalone
2019-12-03Bump the InspIRCd ABI version.Peter Powell
2019-12-03Add a note to the issue template about the security policy.Peter Powell
2019-12-03Send * for empty targets in the no such nick/channel message.Peter Powell
2019-11-30Use network-online instead of network in the systemd service.Peter Powell
As recommended at https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/. Closes #1729.
2019-11-29Change the default for <waitpong:sendsnotice> to false.Peter Powell
This message exists for an incredibly rare issue and just confuses the vast majority of people.
2019-11-29Minor cleanup of the conn_umodes module.Peter Powell
2019-11-29WebSocket: move the OriginList typedef inside WebSocketConfig.Peter Powell
2019-11-29WebSocket: replace the behindproxy switch with a proxy IP list.Peter Powell
2019-11-28Implement support for websocket connections via a proxy like nginx.Peter Powell
2019-11-28Move WebSocket config to its own class.Peter Powell
2019-11-25Add some overloads of IRCv3::Replies::Reply#Send.Peter Powell
2019-11-22Rename ldapoper class to LDAPOper.Peter Powell
This might be causing issues for some people?
2019-11-18Split the channel mode and extban replies.Matt Schatz
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-18Change Config->CaseMapping back when unloading.Matt Schatz
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-18Allow options:casemapping to remain defined when using m_nationalchars.Matt Schatz
2019-11-17Deprecate Send{Channel,User}Notice; use SendMessage instead.Peter Powell
2019-11-17Make rehashing messages more consistent.Peter Powell
2019-11-17Allow Channel::WriteNotice send to other servers and status ranks.Peter Powell
2019-11-16Close connections when an I/O hook is configured but not loaded.Peter Powell
2019-11-16Only show classbase ctor/dtor/cull messages in debug builds.Peter Powell
2019-11-16Improve reading xlines from the server configuration.Peter Powell
2019-11-16Refactor the MySQL code slightly.Peter Powell
2019-11-15SSL modules: send SNOTICE upon successful rehash.Matt Schatz
2019-11-13Refactor the MySQL query and result queue classes.Peter Powell
2019-11-13Get rid of some dead code in the MySQL module.Peter Powell
2019-11-13Improve the logic around connecting to a MySQL server.Peter Powell
- 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-13Add GetId() to the SQL::Provider class.Peter Powell