On Thu, 8 Jul 1999, Oleg Broytmann wrote:
> On Thu, 8 Jul 1999, ZioBudda wrote:
> > Hi, I have installed (tnx to everyone) postres 6.5. Now I must to wrap the
> > port 6542 so no one extern to my machine can telnet the postgres DB.
> > Any help or any RTFM?
>
> Run Postgres with TCP/IP disabled (remove -i from start-up options) and
> use UNIX sockets to connect to postgres (you don't need anything special -
> libpq knows how to handle this situation).
>
> If you need TCP/IP - learn to use postgres host-based authentification.
I have tried it, but the telnet works.
I have set
host all x.y.z.w 255.255.255.255 trust
host all 0.0.0.0 0.0.0.0 reject
where x.y.z.w are the IP of my machine.
ciaoz
Ho sentito urla di sudore... che schifo...
--
Michel <ZioBudda> Morelli [EMAIL PROTECTED]
http://ziobudda.enter.it
Italian Linux FAQ http://ziobudda.enter.it/FAQ/