aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_ident.cpp
Commit message (Expand)AuthorAgeFilesLines
* Use `username` in the ident module too.•••Nowhere in RFC 1413 does it refer to this field as an ident. Gravatar Sadie Powell2023-07-071-3/+3
* Use the same syntax for identd messages as for hostname messagesGravatar Sadie Powell2023-07-051-1/+1
* Retain the "real" username properly like we do for hostnames.•••This introduces the concept of a real username. This value comes from either the initial USER message or from an ident lookup. Doing this allows us to use it for bans through vidents and cloaking web client users using their remote username. While changing this I also changed all of the uses of "ident" other than RFC 1413 lookups and some compatibility cases to refer to usernames as user(name) instead of ident. Our use of ident in these places was incorrect as that only refers to the RFC 1413 response and is not commonly used in the way we used it by any other IRC server implementations. Gravatar Sadie Powell2023-06-291-17/+17
* Allow modules to provide an error for when a class doesn't match.Gravatar Sadie Powell2023-03-241-1/+1
* Convert log calls to use fmtlib format stringsGravatar Sadie Powell2023-01-241-3/+3
* Add a helper method for determining if a sockaddrs is an IP endpoint.Gravatar Sadie Powell2023-01-171-1/+1
* Qualify auto correctly in all cases.Gravatar Sadie Powell2023-01-101-1/+1
* Avoid copying shared_ptr<ConfigTag> when not necessary.Gravatar Sadie Powell2023-01-101-3/+2
* Rework how users are assigned to connect classes.•••- Move core connect class checks and <performance:clonesonconnect> to the core_user module. - Add pre-change and post-change events for when a connect class changes. - Split explicit class changing out into its own method. - Remove the need to almost always call CheckClass after SetClass. - Add use counting to the connect class instead of relying on the shared_ptr use count. Gravatar Sadie Powell2023-01-081-4/+4
* Merge branch 'insp3' into master.Gravatar Sadie Powell2023-01-011-1/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2022-12-301-1/+1
* | Move cull_delete to be inside of Cullable.Gravatar Sadie Powell2022-12-271-1/+1
* | Refactor SocketEngine slightly.•••- Remove pointless shutdown() wrapper. - Remove pointless bounds checking function. - Make Bind and Listen take an EventHandler instead of a fd. - Add nullability attributes to every method. Gravatar Sadie Powell2022-12-251-1/+1
* | Move extension types to their own header to speed up build times.Gravatar Sadie Powell2022-12-191-0/+1
* | Avoid copying a shared_ptr where not actually necessary.Gravatar Sadie Powell2022-12-011-1/+1
* | Rename session registration to connection to avoid a semantic conflict.•••We previously referred to both session registration and user registration as "registration" which is confusing for users who aren't familiar with how IRC works. Gravatar Sadie Powell2022-10-291-2/+2
* | Use User::IsFullyConnected instead of checking for REG_ALL.Gravatar Sadie Powell2022-10-291-1/+1
* | Replace foo.erase(foo.{size|end}()-1) with foo.pop_back().Gravatar Sadie Powell2022-10-011-1/+1
* | Fix various cases of the &* being next to the name instead of type.Gravatar Sadie Powell2022-09-291-2/+2
* | Fix some warnings noticed by the readability-* clang-tidy checkers.Gravatar Sadie Powell2022-09-031-1/+1
* | Move aptosa/untosa into the sockaddrs union and add from/from_ip.•••The struct will also now always be zero-initialized by default which removes the footgun which has happened previously where the union has been accessed before being initialized leading to it containing weird values. Gravatar Sadie Powell2022-08-111-5/+2
* | Rename OnSetUserIP to OnChangeRemoteAddress.Gravatar Sadie Powell2022-08-101-1/+1
* | Rewrite logging calls to use the new APIs.Gravatar Sadie Powell2022-05-011-4/+4
* | Abolish the infernal space before accessibility keywords.Gravatar Sadie Powell2022-01-251-3/+3
* | Add ConnectClass::Ptr as an alias for std::shared_ptr<ConnectClass>.Gravatar Sadie Powell2022-01-161-1/+1
* | Always catch exceptions as a constant reference.Gravatar Sadie Powell2022-01-091-1/+1
* | Refactor CoreException and ModuleException.Gravatar Sadie Powell2022-01-071-6/+7
* | Make all extensibles use kebab-case for names where possible.Gravatar Sadie Powell2021-12-261-2/+2
* | Promote ExtensionItem::ExtensibleType to a top level enum class.Gravatar Sadie Powell2021-12-231-2/+2
* | Apply the final keyword to all module classes where appropriate.Gravatar Sadie Powell2021-10-041-1/+2
* | Mark all module classes as final.Gravatar Sadie Powell2021-10-011-1/+2
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-07-011-5/+5
|\|
| * Fix various spelling issues (#1883).•••Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> Gravatar Josh Soref2021-06-211-5/+5
* | Added -Wshorten-64-to-32 and fixed all warnings.Gravatar Dominic Hamon2021-05-301-2/+2
* | Switch simple iterator loops to use range-based for loops.Gravatar Sadie Powell2021-04-071-3/+3
* | Pascalize Unset in extension item classes.Gravatar Sadie Powell2021-03-171-3/+3
* | Pascalize Set in extension item classes.Gravatar Sadie Powell2021-03-171-6/+6
* | Pascalize Get in extension item classes.Gravatar Sadie Powell2021-03-171-4/+4
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-03-051-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2021-03-051-1/+1
* | Refactor classbase/CullResult into Cullable/Cullable::Result.Gravatar Sadie Powell2021-03-021-2/+2
* | Make MyClass private and move everything to GetClass.Gravatar Sadie Powell2021-01-311-1/+1
* | Replace defaultdeleter with the C++11 one and rename culldeleter.Gravatar Sadie Powell2021-01-301-1/+1
* | Rename IdentMax to MaxUser for consistency with the other limits.Gravatar Sadie Powell2020-11-271-3/+3
* | Merge tag 'v3.8.1' into master.Gravatar Sadie Powell2020-11-201-1/+1
|\|
| * Avoid doing "IP changed" event stuff on quitting users.Gravatar Sadie Powell2020-11-201-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-11-031-0/+4
|\|
| * Make connect class debug logging more complete and consistent.Gravatar Sadie Powell2020-11-031-0/+4
* | Convert ConnectClass from reference<> to std::shared_ptr<>.Gravatar Sadie Powell2020-11-031-1/+1
* | Convert ConfigTag from reference<> to std::shared_ptr<>.Gravatar Sadie Powell2020-10-311-2/+2