[wplug] postgresql and tcpip

John Harrold jmh17 at pitt.edu
Wed Aug 27 10:11:52 EDT 2003


hey.

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.


-- 
--------------------------------------------------------------------------
                                               | /"\
 john harrold                                  | \ / ASCII ribbon campaign
      jmh at member.fsf.org                    |  X  against HTML mail
           the most useful idiot               | / \
--------------------------------------------------------------------------
 What difference does it make to the dead, the orphans, and the homeless,
 whether the mad destruction is brought under the name of totalitarianism or
 the holy name of liberty and democracy?
 --Gandhi
--------------------------------------------------------------------------
gpg --keyserver keys.indymedia.org --recv-key F65A739E
--------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://penguin.wplug.org/pipermail/wplug/attachments/20030827/66536d76/attachment-0001.bin


More information about the wplug mailing list