aboutsummaryrefslogtreecommitdiff
path: root/src/coremods
Commit message (Expand)AuthorAgeFilesLines
* If no DNS bindport is specified then randomise it on rehash.Gravatar Sadie Powell2023-05-291-1/+1
* Update copyright headers.Gravatar InspIRCd Robot2023-04-281-1/+1
* Fix core_dns rejecting simple hostnames.Gravatar Sadie Powell2023-01-131-1/+1
* Update copyright headers.Gravatar InspIRCd Robot2022-12-3042-52/+42
* Tell an oper when the X-line they were trying to match is too wide.•••Also move the snotice for an overwide X-line to snomask 'X' which should have been done when it was added. Gravatar Sadie Powell2022-12-107-8/+12
* Allow specifying multiple masks when adding an X-line.•••The only exemptions for this are RLINE (a real name might contains commas) and SVSHOLD (sent by services only). Closes #1972. Gravatar Sadie Powell2022-12-105-9/+20
* Fix reading the MOTD when <connect:motd> is a literal path.Gravatar Sadie Powell2022-12-091-5/+14
* Fix sending malformed MOTD and showfile messages to clients.Gravatar Sadie Powell2022-12-092-6/+15
* Document how DNS PTR record lookups work better.Gravatar Sadie Powell2022-10-151-1/+4
* Fix the default case in GetFirstVisibleChannel and document it.Gravatar Sadie Powell2022-10-131-2/+5
* Allow modules to control the visible channel in a WHO request.Gravatar Sadie Powell2022-10-121-7/+15
* Add the matched channel to the WHO request data.Gravatar Sadie Powell2022-10-121-3/+3
* Send ERR_NONICKNAMEGIVEN when an empty nick is given in WHOIS/WHOWAS.Gravatar Sadie Powell2022-09-122-3/+14
* Fix unnecessarily using c_str in parameters that take a std::string.Gravatar Sadie Powell2022-09-045-5/+5
* Update copyright headers.Gravatar InspIRCd Robot2022-08-253-3/+3
* Fix some warnings in core_who on newer GCC.Gravatar Sadie Powell2022-08-171-3/+4
* Fix inconsistencies between USERHOST and USERIP.Gravatar Sadie Powell2022-06-231-5/+2
* Make setting sockets as FD_CLOEXEC more portable.•••Ref: #1986. Gravatar Sadie Powell2022-06-071-2/+2
* Use a mode reference instead of repeatedly looking up the snomask mode.Gravatar Sadie Powell2022-05-151-3/+6
* Update copyright headers.Gravatar InspIRCd Robot2022-04-2814-14/+15
* Use FindNearestPrefixMode instead of looking for the halfop mode.Gravatar Sadie Powell2022-04-121-2/+2
* Add a numeric builder for the ERR_CHANOPRIVSNEEDED numeric.•••This should make privilege errors more consistent. Gravatar Sadie Powell2022-04-123-7/+3
* Fix <security announceinvites="dynamic"> when halfop is not loaded.Gravatar Sadie Powell2022-04-071-2/+8
* Expose the invite announcement level to modules.Gravatar Sadie Powell2022-04-074-21/+5
* Fix the grammar of various xline messages.Gravatar Sadie Powell2022-04-055-10/+10
* Allow modules to handle WHO matching.Gravatar Sadie Powell2022-03-251-1/+12
* Fix GNU++98 compatibility.Gravatar Sadie Powell2022-03-241-1/+1
* Fix using the prefix char instead of the prefix letter in oplevels.Gravatar Sadie Powell2022-03-231-1/+1
* Fix our WHO oplevels being incompatible with the WHOX spec.•••Unlike in InspIRCd where 0 is an unprivileged member and higher levels grant more privileges the WHOX spec defines the oplevel field as using n/a for unprivileged users and the lower an oplevel is the more privileges it grants. InspIRCd also uses values between 0 and UINT_MAX whereas WHOX only uses values between 0 and 999. In order to work around this we now lazily build dummy oplevels for the InspIRCd member ranks. Gravatar Sadie Powell2022-03-221-1/+49
* Add support for the <count> param of WHOWAS (#1968)•••Not very useful IMO, but every server but InspIRCd seems to implement it, and it's part of the RFCs: * https://datatracker.ietf.org/doc/html/rfc1459#section-4.5.3 * https://datatracker.ietf.org/doc/html/rfc2812#section-3.6.3Gravatar Val Lorentz2022-03-191-2/+10
* Reverse order of WHOWAS replies•••To be consistent with other implementations + the RFCs: * https://datatracker.ietf.org/doc/html/rfc1459#section-4.5.3 * https://datatracker.ietf.org/doc/html/rfc2812#section-3.6.3 Gravatar Valentin Lorentz2022-03-191-1/+1
* Fix parsing a LIST request with both a match and inverted match.•••e.g. /LIST *foo* !*bar* Gravatar Sadie Powell2022-01-201-25/+15
* Fix parsing LIST commands with multiple constraints.Gravatar Sadie Powell2022-01-201-35/+38
* Update copyright headers.Gravatar InspIRCd Robot2021-12-307-7/+6
* We only care about the first parameter to the nick command.•••Nicknames can't have spaces so the trailing concatenation logic here is not what users will expect. Gravatar Sadie Powell2021-12-281-1/+1
* Fix not being able to look up hostnames that point to multiple IPs.Gravatar Sadie Powell2021-12-271-82/+123
* Make packing PTR queries a bit more robust.•••There is no first party modules which could be compromised before this check was added but its better to be safe wherever possible. Gravatar Sadie Powell2021-12-251-3/+4
* If a user has a unique username then include it in bans.Gravatar Sadie Powell2021-12-143-6/+6
* Fix sending ERR_CHANOPRIVSNEEDED where ERR_RESTRICTED should be used.Gravatar Sadie Powell2021-12-111-1/+1
* Add Server::GetPublicName(), fix not respecting <security:hideserver>.Gravatar Sadie Powell2021-10-253-4/+4
* Respect <security:hideserver> in the 005 numeric.Gravatar Sadie Powell2021-10-251-1/+1
* Update copyright headers.Gravatar InspIRCd Robot2021-08-278-7/+10
* Thank more people in the credits.•••dan- and jwheare have helped a bunch with ircdocs and testing so they definitely deserve to be listed here. Gravatar Sadie Powell2021-08-241-1/+2
* Update the credits.•••- Move fraggeln (former CI host) to former contributors. - Add Duck (domain manager) to thanks. - Add progval (docs magician) to active contributors. Gravatar Sadie Powell2021-08-231-10/+10
* Makes NAMES reply with RPL_ENDOFNAMES even for nonexisting channels•••Instead of ERR_NOSUCHCHANNEL. This is the behavior described by the RFCs and the Modern spec, and is implemented by Hybrid/Chary/Solanum, Ergo, and Unreal. Gravatar Valentin Lorentz2021-08-071-2/+2
* Fix a race condition with hostname lookups when using haproxy.•••If a user's origin has been changed before the first DNS lookup returns then the result of the lookup for that origin may overwrite their host. Closes #1914. Gravatar Sadie Powell2021-07-271-5/+6
* Simplify reverse lookup code in core_hostname_lookup.Gravatar Sadie Powell2021-07-071-11/+2
* Deduplicate all whois numerics to the whois module header.Gravatar Sadie Powell2021-07-051-0/+1
* Stop sending RPL_WHOISSERVICE as it conflicts with RPL_WHOISHELPOP.•••Both Anope and Atheme send an oper type for services clients so this numeric is unnecessary. In cases where genericoper is enabled we now send "is a network service" in RPL_WHOISOPERATOR. Gravatar Sadie Powell2021-07-051-1/+1
* Fix some "targ" usages which were missed in the earlier commit.Gravatar Sadie Powell2021-07-031-2/+2