pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Suppress logging of "pg_hba.conf rejects connection for host"
Date: Mon, 17 Apr 2023 08:11:54 -0500
Message-ID: <4dcbad87-4727-9649-9d1d-f5c1aa768b83@gmail.com> (raw)
In-Reply-To: <009701d97074$75f02550$61d06ff0$@1nar.com.tr>
References: <009701d97074$75f02550$61d06ff0$@1nar.com.tr>

On 4/16/23 10:02, ertan.kucukoglu@1nar.com.tr wrote:
> Hello,
>
> One of the systems running PostgreSQL 14.7 receive a lot of lines like in
> the subject. I have below pg_hba.conf line and that line causes these to be
> logged.
>
> host all all 0.0.0.0/0 reject
>
> If possible, I do not want to see these lines in my logs. But, I failed to
> find a parameter for it.
>
> Is it possible to turn this specific message logging off?

1. Why do you need that line, instead of just allowing in the addresses you 
want?
2. Why are you getting so many "illegal" connection attempts?
3. Auditors like to see that you're rejecting "illegal" connection attempts.

-- 
Born in Arizona, moved to Babylonia.





view thread (3+ messages)

Message-ID: <4dcbad87-4727-9649-9d1d-f5c1aa768b83@gmail.com>
Permalink:  ../4dcbad87-4727-9649-9d1d-f5c1aa768b83@gmail.com/
Also on:    postgresql.org/message-id/4dcbad87-4727-9649-9d1d-f5c1aa768b83@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: ronljohnsonjr@gmail.com
  Subject: Re: Suppress logging of "pg_hba.conf rejects connection for host"
  In-Reply-To: <4dcbad87-4727-9649-9d1d-f5c1aa768b83@gmail.com>
  References: <009701d97074$75f02550$61d06ff0$@1nar.com.tr> <4dcbad87-4727-9649-9d1d-f5c1aa768b83@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox