aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_dnsbl.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Start using DurationString() in X-line additions andGravatar Matt Schatz2019-02-181-9/+9
| | | | a few other modules where it fits better than just showing seconds.
* Allow wildcards in <connect:dnsbl>Gravatar linuxdaemon2019-01-111-2/+6
| | | | | This makes it consistent with other <connect> class parameters like `webirc`
* Improve X-line text consistency.Gravatar Matt Schatz2019-01-091-3/+3
| | | | | | | | | | - 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>
* Make more modules rehash atomically (#1535)Gravatar linuxdaemon2018-12-191-11/+11
| | | | | Have each module validate the values it loads before setting them, so any errors don't result in partial application of the configs
* 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.Gravatar Peter Powell2018-09-251-1/+5
| | | | Closes #1433.
* 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"Gravatar genius30002018-04-111-1/+1
| | | | | | 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).
* Move OnStats from the core to a cross-module event.Gravatar Peter Powell2018-04-081-2/+4
| | | | | Some core code still exists in the XLine system but this will be replaced when the XLine system is replaced later.
* 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-dnsblzlineGravatar Peter Powell2017-07-121-1/+1
|\ | | | | [master] m_dnsbl: Correct the address in the Z-line snomask message.
| * 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
| | | | | | | | | | | | parameters
* | | 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 ↵Gravatar Attila Molnar2014-01-251-3/+3
| | | | | | | | later
* | Merge insp20Gravatar Attila Molnar2014-01-211-0/+9
|\|
| * m_dnsbl Don't send snotice when the {G|K|Z}line already existsGravatar Attila Molnar2014-01-201-0/+9
| | | | | | | | Fixes issue #717 reported by @Robby-
* | Clean up CoreExceptionGravatar Attila Molnar2013-12-181-1/+1
| | | | | | | | | | - Remove default constructor - Replace virtual functions returning C strings with functions returning const std::string refs
* | Make various self contained methods static.Gravatar Peter Powell2013-12-151-3/+3
| | | | | | | | | | - InspIRCd::IsValidMask - InspIRCd::TimeString
* | Use WriteNumeric() everywhere we send numerics and include the user's nick ↵Gravatar Adam2013-11-121-2/+2
| | | | | | | | automatically
* | Automatically register ServiceProviders created by modulesGravatar attilamolnar2013-09-081-6/+0
| |
* | Replace OnRehash() with ReadConfig() that is called on boot, on module load ↵Gravatar attilamolnar2013-08-301-7/+1
| | | | | | | | | | | | and on rehash This eliminates the need for calling OnRehash() in init()
* | 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 ↵Gravatar attilamolnar2013-08-091-2/+2
| | | | | | | | | | | | ChangeName() Pass the string itself to IsIdent() instead of string.c_str()
* | 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.Gravatar Peter Powell2013-08-041-2/+2
| | | | | | | | | | | | | | | | 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.
* | Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-2/+0
| |
* | Tidy up keywords on module methods.Gravatar Peter Powell2013-05-151-10/+10
| | | | | | | | | | - 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.
* | Replace some C-isms with C++-isms.Gravatar Peter Powell2013-05-151-5/+1
| | | | | | | | | | | | * 'const char*' to 'const std::string&'. * snprintf to std::string concatenation. * Replace duplicated OneOfMatches with InspIRCd::MatchMask.
* | Modularize DNSGravatar Adam2013-04-261-126/+134
| | | | | | | | | | | | The DNS modules are temporarily in commands/ so they're loaded automatically Thanks to Attila for helping with much of this.
* | 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
| |