summaryrefslogtreecommitdiff
path: root/src/modules/m_ident.cpp
AgeCommit message (Collapse)Author
2020-02-19Convert some things to HasFd that were previously missed.Sadie Powell
2020-02-15Add HasFd to EventHandler and switch code to use it.Sadie Powell
2020-01-11Update copyright headers.InspIRCd Robot
2019-02-04ident: fix erroneously prefixing an ident multiple times.Peter Powell
2019-02-04ident: rename ext to socket.Peter Powell
2019-02-04ident: rename nolookupprefix to prefixunqueried.Peter Powell
2019-02-04ident: store the timeout as an unsigned value and limit to 60s.Peter Powell
2019-02-04ident: reduce the amount of messages sent when a lookup fails.Peter Powell
2019-02-04ident: Change idents with the ChangeIdent method.Peter Powell
2019-02-04ident: Fix making idents longer than maxident when a lookup fails.Peter Powell
2019-01-20Move ident lookups to the OnSetUserIP hook.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-01-20Pass an irc::socket::sockaddrs to SocketEngine::Connect().Peter Powell
2017-09-03Convert a bunch of time-related config options to getDuration.Peter Powell
2015-04-12Dispatch EventHandler events to dedicated virtual functionsAttila Molnar
Remove enum EventType
2015-01-18Specify which Extensible subclass an ExtensionItem is valid forAttila Molnar
2014-05-28m_ident Close the ident socket when the object is culled instead of using hooksAttila Molnar
2014-05-28m_ident Make use of the min parameter of ConfigTag::getInt()Attila Molnar
2014-05-28m_ident: Add an option to allow idents of users to still be prefixed with a ↵Robby-
'~' for connect classes which have disabled ident lookups through the <connect:useident> setting. Fixes #683. Some changes by @attilamolnar, original PR #684
2014-04-26Remove redundant IS_LOCAL() checks discovered by static assertsAttila Molnar
2014-03-24Cull ident sockets instead of immediate delete, add stdalgo::culldeleterAttila Molnar
2014-02-09Call DelFd() and SetFd(-1) from SocketEngine::Close(EventHandler*)Attila Molnar
2014-02-08Change all socketengine methods to be staticAttila Molnar
2014-02-08Change SocketEngine functions that do not require an instance to be staticAttila Molnar
2014-01-21Merge insp20Attila Molnar
2013-12-18Clean up CoreExceptionAttila Molnar
- Remove default constructor - Replace virtual functions returning C strings with functions returning const std::string refs
2013-09-08Automatically register ServiceProviders created by modulesattilamolnar
2013-08-31Improve support for rarely used compilers, EKOPath in this case.ChrisTX
2013-08-30Replace OnRehash() with ReadConfig() that is called on boot, on module load ↵attilamolnar
and on rehash This eliminates the need for calling OnRehash() in init()
2013-08-09Accept std::string as parameter in User::ChangeHost(), ChangeIdent() and ↵attilamolnar
ChangeName() Pass the string itself to IsIdent() instead of string.c_str()
2013-08-04Automatically attach modules to eventsattilamolnar
2013-08-04Change modules to use the MODNAME constant when logging.Peter Powell
The majority of modules were logging with their module name as the log type. There was a few places which were logging to a non-name type but, with the exception of CONFIG, those messages are so uncommon that it doesn't make sense to use a seperate type for them.
2013-08-04Remove a few not-so-useful debug messagesattilamolnar
2013-07-04Remove $Core and $Mod* comments apart from $ModDep.Peter Powell
2013-06-06Convert a ton of uses of MAXBUF to use a fixed buffer size.Peter Powell
2013-05-19Fix spacing in calls to LogManager::Log.Peter Powell
2013-05-15Tidy up keywords on module methods.Peter Powell
- Remove virtual keyword from a ton of methods which don't need it. - Add override keyword to a ton of methods which do need it.
2013-05-14Add method for writing server notices.Peter Powell
This allows us to send a server notice to a user without worrying about whether they are registered or not. If a user receives a server notice and they are not registered then the nickname field will contain an asterisk instead of their nick name.
2013-04-28Merge insp20attilamolnar
2013-04-19m_ident Invalidate cache after changing User::identattilamolnar
2013-04-12Add LOG_ prefix to the log level enum values.Peter Powell
2013-04-01Whitespace and empty destructor removal, minor coding style changesattilamolnar
2012-12-15m_ident Reject invalid and error repliesattilamolnar
2012-12-09Remove ServerLimits::Finalise(), it's completely wrongattilamolnar
Truncate <limits:identmax>+1 long idents in User::ChangeIdent()
2012-12-02Register a few extensions that weren't registeredattilamolnar
2012-12-02Dynamically determine the size of the eventlist[] passed to Attach()attilamolnar
m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove
2012-12-02Attach to events and register services in init()attilamolnar
2012-11-12Remove usage of the deprecated ConfigReaderattilamolnar
2012-10-18m_ident Allow the usage of an overriden IsIdent() instead of using a ↵attilamolnar
hardcoded version of it Fix long idents being accepted regardless of Limits.IdentMax