1. 07 Aug, 2021 1 commit
  2. 11 Jul, 2021 1 commit
  3. 08 Jun, 2021 1 commit
  4. 29 May, 2021 1 commit
  5. 27 May, 2021 3 commits
  6. 18 Mar, 2021 1 commit
    • Aaron Jones's avatar
      Transition to independent build system and configure checks · fffd353d
      Aaron Jones authored
      Having to duplicate configure tests in all supported Atheme release and
      development branches, to enable contrib modules to be built reliably on
      all of our supported platforms, was quickly becoming untenable.
      Move the checks to contrib's own configure script, which necessitates
      importing some build system things from Atheme proper.
      This will not be backported to Atheme 7.1 or earlier; those versions are
      no longer supported. If this submodule is bumped in those branches, the
      contrib modules will no longer build, and make will likely fail.
  7. 09 Mar, 2021 1 commit
    • Aaron Jones's avatar
      ns_mxcheck & ns_mxcheck_async: fix usage of res_query(3) · 78289a52
      Aaron Jones authored
      Most platforms have these as enums, which are converted to int (for use
      as arguments) by the compiler automatically. However, some platforms do
      not have these as enums, and use macros to define their values instead.
      The former platforms also have those macros to define them in terms of
      the corresponding enum, so use the macros instead of the enums for
      broader compatibility, defining them in terms of their enums when they
      don't exist.
      glibc2 and musl have enums and compatibility macros, uclibc and
      uclibc-ng have enums only, and OpenBSD libc has macros only.
      Fixes: 740371b4 ("Initial commit.")
  8. 01 Mar, 2021 3 commits
  9. 27 Feb, 2021 1 commit
  10. 30 Jan, 2021 3 commits
  11. 19 Jan, 2021 1 commit
  12. 30 Oct, 2020 2 commits
  13. 07 Dec, 2019 1 commit
    • Aaron Jones's avatar
      dnsbl.c: fix loading on v7.3+ · c74e11d0
      Aaron Jones authored
      Due to atheme/atheme@ff79e69ba30f5790426b this module will no longer
      work on Atheme version 7.3+. However, all is not lost, as this module
      was ported to Atheme proper in that version anyway, where it does
      continue to work. Load that module instead.
  14. 06 Dec, 2019 1 commit
  15. 10 Mar, 2019 1 commit
    • Aaron Jones's avatar
      Adapt for Atheme v7.3 codebase header file changes · bf2f4065
      Aaron Jones authored
      The atheme.h in v7.3 includes all headers necessary, so we should only
      include other Atheme headers if we are building for v7.2 or lower; not
      only is including them pointless, but they no longer exist at the old
      paths as of Atheme commit 81323dfcaa240ac5ca48
  16. 09 Jan, 2019 1 commit
  17. 27 Dec, 2018 1 commit
  18. 16 Dec, 2018 1 commit
  19. 29 Jul, 2018 1 commit
    • Aaron Jones's avatar
      os_akillnicklist.c: various improvements · 52d22047
      Aaron Jones authored
      - Declare and assign variables at the same time when possible
      - Test whether a K-Line has already been sent before doing any lookups
      - Don't continue to do more lookups if we already have a match
  20. 27 Jul, 2018 2 commits
    • Aaron Jones's avatar
      Merge pull request #37 from anarcat/broad-timeout · 561ba05a
      Aaron Jones authored
      broader kill line with custom timeout
    • Antoine Beaupré's avatar
      broader kill line with custom timeout · 96cf8ff8
      Antoine Beaupré authored
      The `os_klinechan.c` module is quite handy to deal with bad users, but
      it is a little specific in the way it works. It bans the full
      user@host hostmask and does so for a single day. For prolonged
      botnet attacks, this is not very practical.
      This patch broadens the banned hostmask to cover *all* users on the
      attacker's IP address, so that rotating the username is not sufficient
      to bypass the ban. This means more possible collateral damage, but I
      think it's a good tradeoff considering we use this module to deal with
      botnet attacks, for which we ban whole networks anyways.
      Also, the timeout was hardcoded to one day. That seems awfully short
      when dealing with prolonged attacks. Instead of hardcoding another
      value, let's reuse the value from `SET KLINETIME` so that opers can
      actually customize that setting.
  21. 30 Jun, 2018 12 commits
    • Aaron Jones's avatar
      sasl_blacklist.c: several small improvements · ae53f3db
      Aaron Jones authored
      - This module only works with Atheme v7.3, so if building against
        a lesser version, compile a stub module that complains about
        this instead of creating a compilation failure
        This would have bit us if we ever bumped modules/contrib/ to
        HEAD in the Atheme release/7.2 branch
      - Use libathemecore memory allocator for storing new config
        entries with an intrusive node so that we don't have to check
        if mowgli_node_add() fails (or segfault otherwise)
      - Make private variables compilation-unit-static
      - Put function names on their own line
      - Sprinkle some const-correctness everywhere
      - Perform a service_find("saslserv") only once, on startup, and
        error out if it fails
      - Depend on saslserv/main so that we are reloaded if it is
        Otherwise, given the above, mod_deinit() would call
        del_conf_item() on a stale pointer and probably segfault
      - Collapse 2 almost identical functions for processing config
        entries into 1 function
      - Collapse multiple instances of clearing a mowgli_list_t into 1
        function which does the same
      - Indicate which configuration block the parameters are in when
        reporting errors with the configuration file
      - Avoid some potential NULL dereferences
      - Conform to Atheme v7.3 coding style (line wrapping, etc)
    • Aaron Jones's avatar
    • Aaron Jones's avatar
      All modules: Memory allocation fixups · 2b015344
      Aaron Jones authored
      Ensure we are using libathemecore's memory allocation functions and
      also ensure we use the new sfree() function introduced in Atheme 7.3
      if available.
    • Aaron Jones's avatar
    • Aaron Jones's avatar
      atheme-compat.h: add MODFLAG_FAIL definition · 74209ffe
      Aaron Jones authored
    • Aaron Jones's avatar
      contrib-vendors.h: update URI for Freenode · 2d002255
      Aaron Jones authored
    • Aaron Jones's avatar
      wumpus.c: a few fixups · 8eb3172f
      Aaron Jones authored
      - Apply atheme/atheme@e1df27b9fbecc2267baa
    • Aaron Jones's avatar
      os_trace.c: a few fixups · a17ed807
      Aaron Jones authored
      - Remove unnecessary forward declarations
      - Make private variables compilation-unit-static
      - Make a private function compilation-unit-static
      - Remove struct typedefs to remove _t suffix
      - Apply atheme/atheme@e1df27b9fbecc2267baa
    • Aaron Jones's avatar
      os_testproc.c: a few fixups · e042b3c0
      Aaron Jones authored
      - Remove unnecessary forward declarations
      - Apply atheme/atheme@e1df27b9fbecc2267baa
    • Aaron Jones's avatar
      os_testcmd.c: a few fixups · 3fc82432
      Aaron Jones authored
      - Remove unnecessary forward declarations
      - Apply atheme/atheme@e1df27b9fbecc2267baa
      - Move struct to only function it is used in
    • Aaron Jones's avatar
      os_tabletest.c: a few fixups · cb351ccf
      Aaron Jones authored
      - Remove unnecessary forward declarations
      - Apply atheme/atheme@e1df27b9fbecc2267baa
    • Aaron Jones's avatar
      os_savechanmodes.c: a few fixups · fbc297f8
      Aaron Jones authored
      - Remove unnecessary forward declarations
      - Apply atheme/atheme@e1df27b9fbecc2267baa