summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-08-10Remove the integer overloads of irc::tokenparser::GetToken().Peter Powell
The int overload was never used and the long overload was used in one place.
2018-08-10Parse CAPAB CAPABILITIES and FJOIN messages with spacesepstream.Peter Powell
Special tokenisation rules are not necessary here.
2018-08-10Remove the original line parameter of On{Pre,Post}Command.Peter Powell
In the brave new world of message tags and alternate wire formats this is no longer something that is appropriate to expose. In reality it was only ever used by m_alias which now reconstitutes the command name and parameters into a RFC 1459-style message for whatever it needs to do.
2018-08-10Fix sending malformed ERR_UNKNOWNCOMMAND messages in some cases.Peter Powell
This is not something the average user will encounter. It can only happen if the user sends a message with preceding whitespace or a prefix but no command name. This is not something that should ever be seen in practise so we just penalise the user and pretend nothing ever happened. The previous code also contained undefined behaviour but it acted sensibly on all compilers we support so it was not crashable.
2018-08-10Switch m_xline_db to use the xline snomask character.Peter Powell
2018-08-07m_httpd: close the HTTP connection after serving a request.Peter Powell
We always send "Connection: Close" so this is the right behaviour according to section 8.1 of RFC 2616. Closes #1507.
2018-08-07Switch m_dnsbl to use its own snomask character.Peter Powell
2018-08-07Remove the 'debug' snotice character.Peter Powell
2018-08-05Make the FJOIN timestamp message easier for users to understand.Peter Powell
2018-07-31Remove support for static modules.Peter Powell
This has been frequently broken in the past and as far as I know is used by literally nobody. Also, even if all modules are compiled into the core any libraries linked against are and have always been linked dynamically making this unusable on platforms without dynamic libraries.
2018-07-30Rename User::fullname to realname and make it private.Peter Powell
2018-07-30Replace most usages of "name" with "real" or "real name".Peter Powell
2018-07-30Replace most usages of "GECOS" with "real" or "real name".Peter Powell
2018-07-26Replace irc::stringjoiner with a generic stdalgo::string::join.Peter Powell
This can also be used with different types of collection containing values which are not a string.
2018-07-26Use CommandBase::Params instead of std::vector<std::string>.Peter Powell
This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
2018-07-26Add a module which implements the HAProxy PROXY v2 protocol.Peter Powell
2018-07-24Make more config stuff case insensitive.Peter Powell
2018-07-24Fix building on Windows.Peter Powell
2018-07-24Rename IntModuleList to Module::List.Peter Powell
2018-07-24Get rid of the unused string_list typedef.Peter Powell
2018-07-23Fix the Windows build system to use the new license file location.Peter Powell
2018-07-20Remove Log() calls made unnecessary by the previous commit.Peter Powell
2018-07-20Log snotices with their description rather than just as "snomask".Peter Powell
2018-07-20Define HAS_ARC4RANDOM_BUF in config.h if available.Peter Powell
2018-07-20Use arc4random_buf() instead of random() when available.Peter Powell
2018-07-18Initial support for listening on UNIX socket endpoints.Peter Powell
2018-07-18Add the family() member to the sockaddrs union.Peter Powell
2018-07-15Release v3.0.0 alpha 8.Peter Powell
2018-07-15Merge branch 'insp20' into master.Peter Powell
2018-07-15Use mysql_real_escape_string instead of mysql_escape string.Peter Powell
This is not exploitable as far as I know but it is probably best that we use the newer function just in case. Closes #649 (although the attack mentioned in that issue was not feasible).
2018-07-12Implement support for the WHOX extension.Peter Powell
This is a massive rewrite of core_who which was initially developed by Adam in 2014. I have rebased and cleaned it up and tightened up compliance with the specifications. Co-authored-by: Adam <Adam@anope.org>
2018-07-12Clean up the WHO helpop documentation.Peter Powell
2018-07-11Fix replying with the source user in oper-restricted WHO lookups.Peter Powell
2018-07-10Switch core_dns validation to use InspIRCd::IsHost.Peter Powell
2018-07-10Switch <server:name> validation to use InspIRCd::IsHost.Peter Powell
2018-07-10Add InspIRCd::IsHost for checking the validity of hostnames.Peter Powell
2018-07-10Add a ConfigTag::getString overload that calls a validation method.Peter Powell
2018-07-10Allow exempting of registered users from securelist.Peter Powell
2018-07-10Add a silent option to <options:restrictbannedusers>.Peter Powell
This is useful when dealing with spambots that switch method when they receive ERR_CANNOTSENDTOCHAN.
2018-07-10Update the readme so that it is actually useful.Peter Powell
2018-07-10Rename the license file so that people can find it easier.Peter Powell
2018-07-04Fix the configure checks for eventfd(), <stdint.h>, and strlcpy().Peter Powell
Closes #1503.
2018-07-03Use !empty() instead of 'size() > 0' when checking parameter count.B00mX0r
2018-06-26Always show Make commands for the user to execute in quotes.Peter Powell
Fixes #1189.
2018-06-25Allow relative paths to be passed in --config on boot.Peter Powell
Closes #1115.
2018-06-24Show the package name in the message when doing pkg-config lookups.Peter Powell
2018-06-18Clarify the documentation for m_httpd and m_httpd_{config,stats}.Peter Powell
Thanks to @SleepyEntropy for pointing out that multiple internet- accessible servers do not have these modules correctly configured.
2018-06-08Fix invalid conversion from 'const char*' to 'char*' on FreeBSD.Peter Powell
2018-06-04Add --nopid command line option (#1497).Chris Novakovic
Add a --nopid command line option, which causes a PID file not to be written to the file system regardless of the presence of the <pid> tag in the configuration file or the value of its "file" variable if it is present.
2018-05-01Use the `pwd` tool that is in the path rather than `/bin/pwd`.Peter Powell