Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jul 2016 12:32:37 -0500
From:      Karl Denninger <karl@denninger.net>
To:        freebsd-stable@freebsd.org
Subject:   Re: Postfix and tcpwrappers?
Message-ID:  <c5fc2cb8-faa6-ffe5-887a-dc07b242f694@denninger.net>
In-Reply-To: <op.yk51o9vtkndu52@ronaldradial.radialsg.local>
References:  <a3ad16f6-3bae-68dd-d4c7-9ed7cd223aa5@denninger.net> <op.yk51o9vtkndu52@ronaldradial.radialsg.local>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format.

--------------ms030006000001000503040308
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 7/25/2016 12:04, Ronald Klop wrote:
> On Mon, 25 Jul 2016 18:48:25 +0200, Karl Denninger
> <karl@denninger.net> wrote:
>
>> This may not belong in "stable", but since Postfix is one of the
>> high-performance alternatives to sendmail....
>>
>> Question is this -- I have sshguard protecting connections inbound, bu=
t
>> Postfix appears to be ignoring it, which implies that it is not paying=

>> attention to the hosts.allow file (and the wrapper that enables it.)
>>
>> Recently a large body of clowncars have been targeting my sasl-enabled=

>> https gateway (which I use for client machines and thus do in fact nee=
d)
>> and while sshguard picks up the attacks and tries to ban them, postfix=

>> is ignoring the entries it makes which implies it is not linked with t=
he
>> tcp wrappers.
>>
>> A quick look at the config for postfix doesn't disclose an obvious
>> configuration solution....did I miss it?
>>
>
> Don't know if postfix can handle tcp wrappers, but I use bruteblock
> [1] for protecting connections via the ipfw firewall. I use this for
> ssh and postfix.
>
I recompiled sshguard to use ipfw and stuck the table lookup in my
firewall config..... works, and is software-agnostic (thus doesn't care
if something was linked against tcpwrappers or not.)

--=20
Karl Denninger
karl@denninger.net <mailto:karl@denninger.net>
/The Market Ticker/
/[S/MIME encrypted email preferred]/

--------------ms030006000001000503040308
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/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ldmlsbGUxGTAXBgNVBAoTEEN1
ZGEgU3lzdGVtcyBMTEMxHDAaBgNVBAMTE0N1ZGEgU3lzdGVtcyBMTEMgQ0ExIjAgBgkqhkiG
9w0BCQEWE0N1ZGEgU3lzdGVtcyBMTEMgQ0ECASkwDQYJKoZIhvcNAQEBBQAEggIAGDTJ9zLR
yjD0JsAZX1a918kmV3rQ3M8fQ2sV5Kab21H0BjpWZzMaZYi6jwUWWOCaa+njvWyzqLyqxSbk
OZSOBfV1P+KD1CFfd8zi0C6vcwSlknrXBT5gF+vW5CtUEAECUYCyrYvoqWiDzePkJcTirt+n
v/JxtPycucumE3s7wofPKl5dy+BwU4JBqBsIVwMX4OCv3hZW6512i+CvAGyiybitlaVtkzeb
nzbezMuw0wZjpjPqolaypOdvDZG7+fpSbY08nGeTw0rQ4bLVk9CKC+eaM9wKA+q2o4dBZu8a
4wuiVviYhGnMRMUYKy7BcrfaH1Q04BOrmX6czm3PWEkeLDqohJbVw/o5oTYQ/bTqQIFFKEog
Di9h7UKwy7/zw9QoPLVvU/TLra2bcVovjD05uGx7TLmSWFZy+x+AXD/LVjpVwDbrufdpCU+3
1Gh1VZIw/giB4r25htd0kxhmPy01k6ciLc0xs4px/jUimzAEBwCILgnI8JZSwLmwj3oLoFRM
8Vg5uWCBwhJM7LsbjzNtA/1WyL/939j0mj0dSwB9lTAaxpsz7GTUDUy0P2AFeAPfiiqJO+Cw
u8WfwData5GoPSwz/2CpU6MEGuzjutenOGrgc3MrM55D7r+8mlo5NxH19Ip3OcrFjICrxZnY
+ZGTd/DHgQ7HiKl5ofWccWY7U8sAAAAAAAA=
--------------ms030006000001000503040308--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c5fc2cb8-faa6-ffe5-887a-dc07b242f694>