X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id B5142539B3 for ; Tue, 19 Apr 2005 17:53:32 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 63912-01 for ; Tue, 19 Apr 2005 20:53:30 +0000 (GMT) Received: from nibbel.kulnet.kuleuven.ac.be (nibbel.kulnet.kuleuven.ac.be [134.58.240.41]) by svr1.postgresql.org (Postfix) with ESMTP id 7DFE95383F for ; Tue, 19 Apr 2005 17:53:25 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by nibbel.kulnet.kuleuven.ac.be (Postfix) with ESMTP id 068864BD8F; Tue, 19 Apr 2005 22:53:27 +0200 (CEST) Received: from antonius.kulnet.kuleuven.ac.be (antonius.kulnet.kuleuven.ac.be [134.58.240.73]) by nibbel.kulnet.kuleuven.ac.be (Postfix) with ESMTP id 844754BC6C; Tue, 19 Apr 2005 22:53:26 +0200 (CEST) Received: from 10-4-154-137.kotnet.org (10-4-154-137.kotnet.org [10.4.154.137]) by antonius.kulnet.kuleuven.ac.be (Postfix) with ESMTP id C1DE94C2C5; Tue, 19 Apr 2005 22:53:25 +0200 (CEST) From: Wim Bertels Reply-To: wim.bertels@khleuven.be Organization: KHLeuven Departement Rega To: Bruno Wolff III Subject: Re: brute force attacking the password Date: Tue, 19 Apr 2005 22:54:32 +0200 User-Agent: KMail/1.6.2 Cc: pgsql-admin@postgresql.org References: <200504182027.j3IKRtV09046@candle.pha.pa.us> <42651CFF.1020703@khleuven.be> <20050419203727.GA18200@wolff.to> In-Reply-To: <20050419203727.GA18200@wolff.to> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_RAXZCoHazA5ny6+"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200504192254.41977.wim.bertels@khleuven.be> X-Virus-Scanned: by KULeuven Antivirus Cluster X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200504/277 X-Sequence-Number: 17290 --Boundary-02=_RAXZCoHazA5ny6+ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 19 April 2005 22:37, Bruno Wolff III seinde rooksignalen: > On Tue, Apr 19, 2005 at 17:00:15 +0200, > > Wim Bertels wrote: > > >Can't people use PAM to get this effect if they want it? > > > > what if u use pam with ldap, then u can use pg brute force cracking to > > obtain the ldap password, which is probably a bigger problem > > You don't have to use it with LDAP. It does provide some password control= s, > that should slow things down a little. However, you are going to have a > tough time preventing password guessing without making denial of service > attacks easy. anayway, it makes sense to use ldap if one has several services over differ= ent=20 machines,.. > > > >For most people password guessing isn't going to be a big problem as > > >the database won't be accessible from totally untrusted places and > > > watching the log files for guessing will probably be a good enough > > > solution. > > > > what if u do want the database to be globally accessible.. > > Then you have a much more difficult situation. One option is to bind > user names to specific allowed IP addresses. not a option, due to user requirements not an easy problem: it always seems to end up in DoS vs Brute Force Cracki= ng. So the only good and simple solution i can think of: use the best possible = =20 password encrytion (or sufficient, a statistically zero chance when trying = as=20 much connections -to brute force crack the password- as possible for a=20 significant amount of time.) =2D-=20 Wim Bertels --Boundary-02=_RAXZCoHazA5ny6+ Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBCZXARFj4TNdVKYYsRArqRAJoCiKDb7o8n7C/TFEZNm1A5GIpl9QCeN0jS doY6vamPAn7tn0hpZatFI6A= =qF5u -----END PGP SIGNATURE----- --Boundary-02=_RAXZCoHazA5ny6+--