aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_dnsbl.cpp
Commit message (Expand)AuthorAgeFilesLines
* Start using DurationString() in X-line additions and•••a few other modules where it fits better than just showing seconds. Gravatar Matt Schatz2019-02-181-9/+9
* Allow wildcards in <connect:dnsbl>•••This makes it consistent with other <connect> class parameters like `webirc` Gravatar linuxdaemon2019-01-111-2/+6
* Improve X-line text consistency.•••- Change any "-Line", ":Line", or "*line" to "-line" throughout the X-line code, comments, and documentation. - Add periods to the end of some notices. - Correct a typo in the Q-line code comments. - Update the filter module documentation (shun addition). Co-authored-by: Robby <robby@chatbelgie.be> Gravatar Matt Schatz2019-01-091-3/+3
* Make more modules rehash atomically (#1535)•••Have each module validate the values it loads before setting them, so any errors don't result in partial application of the configs Gravatar linuxdaemon2018-12-191-11/+11
* Fix sending DNSBL error snotices when a user isn't DNSBLed.Gravatar Peter Powell2018-11-161-0/+3
* m_dnsbl: Add the IP address to the positive detection server notice.Gravatar Robby2018-09-251-2/+2
* m_dnsbl: Use the blacklist name rather than the domain.Gravatar Robby2018-09-251-2/+2
* Send a message to snomask 'd' when a DNSBL lookup fails.•••Closes #1433. Gravatar Peter Powell2018-09-251-1/+5
* Fix a bunch more conflicting/unnamed numerics.Gravatar Peter Powell2018-08-141-2/+2
* Switch m_dnsbl to use its own snomask character.Gravatar Peter Powell2018-08-071-7/+12
* Make more config stuff case insensitive.Gravatar Peter Powell2018-07-241-1/+1
* Initial support for listening on UNIX socket endpoints.Gravatar Peter Powell2018-07-181-0/+4
* Add the family() member to the sockaddrs union.Gravatar Peter Powell2018-07-181-2/+2
* Add ConfigTag::getUInt for reading unsigned config values.Gravatar Peter Powell2018-04-161-1/+1
* Convert ConfigTag::getDuration to return an unsigned long.Gravatar Peter Powell2018-04-161-1/+1
* Change some usage of "gecos" to "real name"•••Within the example configs, helpops, some server sent messages, and simple code comments: change the primary usage of "gecos" to "real name" (or "realname" where fitting). Gravatar genius30002018-04-111-1/+1
* Move OnStats from the core to a cross-module event.•••Some core code still exists in the XLine system but this will be replaced when the XLine system is replaced later. Gravatar Peter Powell2018-04-081-2/+4
* Fix a ton of -Wsign-conversion warnings.Gravatar Peter Powell2017-11-171-2/+2
* Purge code for Windows XP and MSVC pre-2015.Gravatar Peter Powell2017-08-061-1/+1
* Merge pull request #677 from Robby-/master-dnsblzline•••[master] m_dnsbl: Correct the address in the Z-line snomask message.Gravatar Peter Powell2017-07-121-1/+1
|\
| * m_dnsbl: Correct the address in the Z-line snomask message.Gravatar Robby-2014-06-231-1/+1
* | Merge v2.0.23 and v2.0.24 into master.Gravatar Peter Powell2017-07-091-0/+8
|\ \
| * | m_dnsbl: check returned results are in 127.0.0.0/8Gravatar Adam2017-01-111-2/+7
* | | m_dnsbl Use FindAnswerOfTypeGravatar Adam2016-09-021-2/+4
* | | Introduce Stats::Context, pass it to the OnStats hook and switch all code to itGravatar Attila Molnar2016-02-251-5/+5
* | | Convert WriteNumeric() calls to pass the parameters of the numeric as method ...Gravatar Attila Molnar2016-02-251-2/+2
* | | Add ipv6 dnsbl supportGravatar Adam2015-04-071-7/+26
* | | Specify which Extensible subclass an ExtensionItem is valid forGravatar Attila Molnar2015-01-181-1/+6
| |/ |/|
* | Omit the server name internally when building a /STATS reply and prepend it l...Gravatar Attila Molnar2014-01-251-3/+3
* | Merge insp20Gravatar Attila Molnar2014-01-211-0/+9
|\|
| * m_dnsbl Don't send snotice when the {G|K|Z}line already exists•••Fixes issue #717 reported by @Robby- Gravatar Attila Molnar2014-01-201-0/+9
* | Clean up CoreException•••- Remove default constructor - Replace virtual functions returning C strings with functions returning const std::string refs Gravatar Attila Molnar2013-12-181-1/+1
* | Make various self contained methods static.•••- InspIRCd::IsValidMask - InspIRCd::TimeString Gravatar Peter Powell2013-12-151-3/+3
* | Use WriteNumeric() everywhere we send numerics and include the user's nick au...Gravatar Adam2013-11-121-2/+2
* | Automatically register ServiceProviders created by modulesGravatar attilamolnar2013-09-081-6/+0
* | Replace OnRehash() with ReadConfig() that is called on boot, on module load a...•••This eliminates the need for calling OnRehash() in init() Gravatar attilamolnar2013-08-301-7/+1
* | Merge insp20Gravatar attilamolnar2013-08-301-25/+7
|\|
| * m_dnsbl Fix possible use-after-free after a rehashGravatar attilamolnar2013-08-211-25/+7
* | Add ConfigTag::getDuration() with optional bounds checkingGravatar attilamolnar2013-08-121-6/+1
* | Accept std::string as parameter in User::ChangeHost(), ChangeIdent() and Chan...•••Pass the string itself to IsIdent() instead of string.c_str() Gravatar attilamolnar2013-08-091-2/+2
* | Issue #604, fix m_dnsbl, broken in accccc212cd4f08a3c5532b1ae7a17e76bac8718Gravatar Adam2013-08-061-5/+5
* | Automatically attach modules to eventsGravatar attilamolnar2013-08-041-2/+0
* | Change modules to use the MODNAME constant when logging.•••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. Gravatar Peter Powell2013-08-041-2/+2
* | Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-2/+0
* | Tidy up keywords on module methods.•••- 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. Gravatar Peter Powell2013-05-151-10/+10
* | Replace some C-isms with C++-isms.•••* 'const char*' to 'const std::string&'. * snprintf to std::string concatenation. * Replace duplicated OneOfMatches with InspIRCd::MatchMask. Gravatar Peter Powell2013-05-151-5/+1
* | Modularize DNS•••The DNS modules are temporarily in commands/ so they're loaded automatically Thanks to Attila for helping with much of this. Gravatar Adam2013-04-261-126/+134
* | Add LOG_ prefix to the log level enum values.Gravatar Peter Powell2013-04-121-1/+1
* | Convert InspIRCd::Duration() to be staticGravatar attilamolnar2013-04-031-1/+1
* | Whitespace and empty destructor removal, minor coding style changesGravatar attilamolnar2013-04-011-5/+0