On 2026-11-29 2:15 PM, Aki Tuomi via dovecot wrote:


      On 29/11/2026 21:00 EET Marc via dovecot <[1][email protected]> wrote:



        TCP wrapper support is deprecated in favour of using lua
        authentication
        database instead. When I looked into lua authentication I found it was
        a
        mechanism which allows a lot of customization of authentication logic,
        despite the potential drawback that it gets executed after an
        authentication request and not at connection time.


      I don't really get why tcp-wrappers is being dropped. I was using it to
      do lookups in a custom dns blacklist, this way I can protect multiple
      hosts from eg brute force password guessing, by just adding a single
      entry somewhere. What new technology that replaces tcp-wrappers is
      offering this?
      _______________________________________________


    We support auth policy servers e.g. weakforced, which allows you to check
    and drop/tarpit connections prior authentication. See
    https://doc.dovecot.org/latest/core/config/auth/policy.html

    Aki

References

    Visible links
    1. mailto:[email protected]
    2. mailto:[email protected]
    3. mailto:[email protected]
_______________________________________________

After a quick read of the auth/policy, it seems that dovecot has re-invented Wietse Venema's tcp_wrappers. Sadly, I see no reason that dovecot could not have included a hook to the lib_wrap.

I can't consider a move to 2.4.x without an internal re-design of other security mechanisms. I strongly request that dovecot re-consider and re-implement support for lib_wrap.


--
Jim Pazarena         [email protected]
Nanaimo - British Columbia - Canada

_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to