aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Expand)AuthorAgeFilesLines
* Parse CAPAB CAPABILITIES and FJOIN messages with spacesepstream.•••Special tokenisation rules are not necessary here. Gravatar Peter Powell2018-08-102-2/+2
* Remove the original line parameter of On{Pre,Post}Command.•••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. Gravatar Peter Powell2018-08-1020-29/+44
* Switch m_xline_db to use the xline snomask character.Gravatar Peter Powell2018-08-101-6/+6
* Switch m_dnsbl to use its own snomask character.Gravatar Peter Powell2018-08-071-7/+12
* Remove the 'debug' snotice character.Gravatar Peter Powell2018-08-074-6/+5
* Make the FJOIN timestamp message easier for users to understand.Gravatar Peter Powell2018-08-051-1/+2
* Remove support for static modules.•••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. Gravatar Peter Powell2018-07-313-156/+0
* Rename User::fullname to realname and make it private.Gravatar Peter Powell2018-07-3012-23/+29
* Replace most usages of "name" with "real" or "real name".Gravatar Peter Powell2018-07-307-10/+10
* Replace most usages of "GECOS" with "real" or "real name".Gravatar Peter Powell2018-07-3011-18/+21
* Replace irc::stringjoiner with a generic stdalgo::string::join.•••This can also be used with different types of collection containing values which are not a string. Gravatar Peter Powell2018-07-265-21/+5
* Use CommandBase::Params instead of std::vector<std::string>.•••This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters. Gravatar Peter Powell2018-07-26168-410/+418
* Add a module which implements the HAProxy PROXY v2 protocol.Gravatar Peter Powell2018-07-262-0/+332
* Make more config stuff case insensitive.Gravatar Peter Powell2018-07-2420-51/+51
* Fix building on Windows.Gravatar Peter Powell2018-07-242-1/+5
* Remove Log() calls made unnecessary by the previous commit.Gravatar Peter Powell2018-07-203-9/+0
* Log snotices with their description rather than just as "snomask".Gravatar Peter Powell2018-07-201-5/+2
* Use arc4random_buf() instead of random() when available.Gravatar Peter Powell2018-07-201-3/+7
* Initial support for listening on UNIX socket endpoints.Gravatar Peter Powell2018-07-187-104/+241
* Add the family() member to the sockaddrs union.Gravatar Peter Powell2018-07-1811-35/+40
* Release v3.0.0 alpha 8. v3.0.0a8Gravatar Peter Powell2018-07-151-1/+1
* Merge branch 'insp20' into master.Gravatar Peter Powell2018-07-152-2/+1
|\
| * Clean up the WHO helpop documentation.Gravatar Peter Powell2018-07-121-1/+1
| * Fix replying with the source user in oper-restricted WHO lookups.Gravatar Peter Powell2018-07-111-3/+1
| * Fix invalid conversion from 'const char*' to 'char*' on FreeBSD.Gravatar Peter Powell2018-06-081-1/+1
* | Use mysql_real_escape_string instead of mysql_escape string.•••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). Gravatar Peter Powell2018-07-151-3/+2
* | Implement support for the WHOX extension.•••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> Gravatar Peter Powell2018-07-121-282/+469
* | Switch core_dns validation to use InspIRCd::IsHost.Gravatar Peter Powell2018-07-101-6/+1
* | Switch <server:name> validation to use InspIRCd::IsHost.Gravatar Peter Powell2018-07-101-22/+1
* | Add InspIRCd::IsHost for checking the validity of hostnames.Gravatar Peter Powell2018-07-101-0/+59
* | Add a ConfigTag::getString overload that calls a validation method.Gravatar Peter Powell2018-07-101-0/+15
* | Allow exempting of registered users from securelist.Gravatar Peter Powell2018-07-101-1/+9
* | Add a silent option to <options:restrictbannedusers>.•••This is useful when dealing with spambots that switch method when they receive ERR_CANNOTSENDTOCHAN. Gravatar Peter Powell2018-07-103-6/+17
* | Use !empty() instead of 'size() > 0' when checking parameter count.Gravatar B00mX0r2018-07-034-5/+5
* | Allow relative paths to be passed in --config on boot.•••Closes #1115. Gravatar Peter Powell2018-06-251-1/+10
* | Add --nopid command line option (#1497).•••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.Gravatar Chris Novakovic2018-06-041-2/+10
* | Improve support for MOTD escape codes.•••- Implement escapes for italic, monospace, and strikethrough. - Use the escape codes in the example MOTDs to demonstrate their formatting effects. - Remove support for octal escape codes. In modern computing octal is rarely used and is confusing for users who might confuse it for decimal. Gravatar Peter Powell2018-04-221-13/+14
* | Always process MOTD formatting escape codes.•••The options for disabling these were added to keep compatibility with previous 2.0 releases and are not needed any more. Gravatar Peter Powell2018-04-223-8/+2
* | Fix some oversights relating to numerics.•••- ERR_CANNOTSENDTOCHAN only takes the channel name and a message. - ERR_INVALIDCAPCMD is 410 not 232. Gravatar Peter Powell2018-04-223-3/+3
* | Release v3.0.0 alpha 7. v3.0.0a7Gravatar Peter Powell2018-04-221-1/+1
* | Move a bunch of optional module numerics to the module source file.Gravatar Peter Powell2018-04-226-3/+35
* | Replace ERR_{NOCTCPALLOWED,WORDFILTERED} with ERR_CANNOTSENDTOCHAN.•••There is no reason for these responses to have their own numerics when other modules do not. The only thing this does is make life harder for client developers. Gravatar Peter Powell2018-04-222-2/+2
* | Merge tag 'v2.0.26' into master.Gravatar Peter Powell2018-04-228-6/+51
|\|
| * Release v2.0.26 v2.0.26Gravatar Peter Powell2018-04-201-1/+1
| * Fix blank instead of empty PART message when a user is shunnedGravatar B00mX0r2018-04-111-1/+1
| * Remove swhois messages set in the oper block on deoper.•••Closes #1240. Gravatar Peter Powell2018-04-093-4/+35
| * Fix ELine::Matches returning false on existing match•••When checking for an E-Line match, we want to actually check for a current match even if we previously matched and are set exempt. This fixes situations where you have an E-Lined CGI:IRC address, a G-Lined IP range for some area/host/etc and a smaller E-Lined IP range for known good clients. Currently when CGI:IRC changes the IP, E-Lines are rechecked but because the user is already exempt (from the CGI:IRC E-Line), they are set no longer exempt and match a G-Line, when they should match an E-Line. This exact change has been done before in commit 'c8b344e' and shortly reverted in 'c490a90' to fix issue #989 (CGI:IRC users remaining exempt when the CGI:IRC address is E-Lined but they are not). The actual cause to this issue was likely that the user's hostname was not changed from the CGI:IRC hostname/IP prior to rechecking E-Lines. This is being fixed in a separate commit. Gravatar genius30002018-04-061-3/+0
| * Set User::host before calling ChangeIP()•••ChangeIP() calls SetClientIP() which revalidates whether the user matches an ELine. However, because the hostname has not changed yet the user may incorrectly be marked as non-exempt. Gravatar Peter Powell2018-04-061-3/+3
| * Update the GeoIP ExtItem when CGI:IRC sets the real IP (#1471)•••Since CGI:IRC calls it's 'ChangeIP()' either from 'OnCheckReady()' or 'OnUserRegister()', both of which are called after the user has sent NICK/USER, we can safely skip re-setting the ExtItem prior to this point. This skips the first 'OnSetUserIP()' from 'User::AddUser()' as the 'OnSetConnectClass()' catch handles the initial setting.Gravatar genius30002018-03-301-1/+8
| * m_ssl_openssl: Remove deprecated API members.•••Backported from 2afc1af4639ae2bbef397f4f6acc834950017d91. Gravatar Wade Cline2018-03-021-3/+12