Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1llsvX-0005rT-Kn for pgadmin-hackers@arkaria.postgresql.org; Wed, 26 May 2021 12:46:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1llsvW-0003C2-HJ for pgadmin-hackers@arkaria.postgresql.org; Wed, 26 May 2021 12:46:22 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1llsvW-0003Bu-AV for pgadmin-hackers@lists.postgresql.org; Wed, 26 May 2021 12:46:22 +0000 Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1llsvS-0007Wk-Lb for pgadmin-hackers@postgresql.org; Wed, 26 May 2021 12:46:20 +0000 Received: by mail-ej1-x62a.google.com with SMTP id z12so2287406ejw.0 for ; Wed, 26 May 2021 05:46:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pgadmin.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=FZ4XGuMcjzzOEw0KUcZHt/Osp395ndKGtGrO7hM1OIQ=; b=CBAZAUG/xOgOfifYp3K7kdpVow8qiiXTVEMZCp0bdOLMo4ZHj5XaEPXGUox1m3vSVj EUBJB3fdHuikb3l2NIy2UrFuTc1lmy8N4nzJ7RFqzhpLvXrallws6Zhh0gSBonHLdTdV ++HxUj+6sbUBIoPzu5fyPp/sQHC/9aCAI2n/kKUnzmoucxrQSYHvlsWYXfaQ5SCobAi/ k6TshnEr/FWLHpnNbuoyscDn0KMJ4sQ+t7JywM7NTKk4/DzPaVSF1Z2Hz8r7T913+VoS bZxwVNto3DRvXFD3Mav+3nyO/txWaGmPEVOcc91MgFQQUSqpWpaNuhx/tkGgmHowfQaT MLaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=FZ4XGuMcjzzOEw0KUcZHt/Osp395ndKGtGrO7hM1OIQ=; b=ZtEsyCaDbUGHQCWbafNlhedb1IKWNzOfrsEohenDsV+HnTG0BU6bAgwM/bRU74I40o PN7W1WHD17QVVG4xv8V5FA+YZqnI8nvJHR7UeiBodZB2u/hJx8VYXsiG7C27av9csIvy i6yR8PDk5Q93zgLt5oAW3RYMwZdXwU19E1MaKdX1sZdy/qwUTMiSBdjsd/6WdgdIvCyw daq4UzCz58pnIAMX8LEkM0/AOacjaH9Oz+BaoJNiyhQOcqGxh1xsHsABN8bfxuFjeZGS UeoS7QxZhC4ZosylmDNF+e41MqRhoQPMLYVB6eq0WN0P+74KRzKIPIrWWvAgo/64/gUu k6Cg== X-Gm-Message-State: AOAM532rLiXtdIO364biXnpj5M4JwOc6zI+RLFSH3x9XojRwlBVmL1J7 bF87k88Jeso/lnDJDF8lrQJtdPUePru6prTESFLbkg== X-Google-Smtp-Source: ABdhPJxQRLW492IbGEy/GECxqBcDwtEo4O2jiRlHW7KLpu6omuOlxC2ytVRPQTPfWXxUI1jree/LkAVYhbclrXfhpwI= X-Received: by 2002:a17:906:ca50:: with SMTP id jx16mr33008251ejb.386.1622033176404; Wed, 26 May 2021 05:46:16 -0700 (PDT) MIME-Version: 1.0 References: <8574f8b4-7327-0c95-1199-214b78e0af7f@posteo.de> In-Reply-To: <8574f8b4-7327-0c95-1199-214b78e0af7f@posteo.de> From: Dave Page Date: Wed, 26 May 2021 13:46:05 +0100 Message-ID: Subject: Re: Bug #6337 To: Florian Sabonchi Cc: pgadmin-hackers Content-Type: multipart/alternative; boundary="0000000000004b39fb05c33b07b8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000004b39fb05c33b07b8 Content-Type: text/plain; charset="UTF-8" Hi On Wed, May 26, 2021 at 1:40 PM Florian Sabonchi wrote: > Hello, > > Is someone already working on ticket #6337 or can I start working on it? > > https://redmine.postgresql.org/issues/6337 Not as far as I know. Please feel free to work on it. Do you have a design in mind? I would suggest maybe adding a "login_attempts" column to the user table in the config database, and having a parameter in config.py to define the maximum number of login attempts allowed. login_attempts would be incremented for every failed login, and set to zero for a successful one. If it's value is >= to the maximum in the config, login would be denied. There would also need to be changes to the user management dialogue to show the status for each user, and reset them. Thanks! -- Dave Page Blog: https://pgsnake.blogspot.com Twitter: @pgsnake EDB: https://www.enterprisedb.com --0000000000004b39fb05c33b07b8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi

On Wed, May 26, 2021 at 1:40 PM Florian Sabonchi &l= t;sabonchi@posteo.de> wrote:
Hello,

Is someone already working on ticket #6337 or can I start working on it?
https://redmine.postgresql.org/issues/6337

Not as far as I know. Please feel free to work on it.<= /div>

Do you have a design in mind? I would suggest mayb= e adding a "login_attempts" column to the user table in the confi= g database, and having a parameter in config.py to define the maximum numbe= r of login attempts allowed. login_attempts would be incremented for every = failed login, and set to zero for a successful one. If it's value is &g= t;=3D to the maximum in the config, login would be denied. There would also= need to be changes to the user management dialogue to show the status for = each user, and reset them.

Thanks!
=C2= =A0
--
Dave Page
Blog: https://pgsnake.blogspot.com
Twitter: @pgsnake

ED= B: https://www.e= nterprisedb.com

--0000000000004b39fb05c33b07b8--