[wplug] postgresql and tcpip

Matthew Danish mdanish at andrew.cmu.edu
Wed Aug 27 11:04:40 EDT 2003


On Wed, Aug 27, 2003 at 10:11:52AM -0400, John Harrold wrote:
> this isnt really linux specific. i have a server which is running
> postgresql with the tcpip option turned on. now the database is only being
> accessed through the localhost interface. is there any way to tell
> postgresql to listen only to the lo interface and to ignore requests on the
> external (eth0 in this case) interface. i know that i can limit connections
> in the pg_hba.conf file, which i have. but nmap still shows the machine as
> running postgresql. i could probably drop requests with iptables, but i was
> thinking of a more direct method.

Why not disable the TCP/IP option?

-- 
; Matthew Danish <mdanish at andrew.cmu.edu>
; OpenPGP public key: C24B6010 on keyring.debian.org
; Signed or encrypted mail welcome.
; "There is no dark side of the moon really; matter of fact, it's all dark."



More information about the wplug mailing list