Re: open port 5432 for postgres
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.security.firewalls archive

Re: open port 5432 for postgres

From: Ansgar -59cobalt- Wiechers <usenet-2005@planetcobalt.net>
Date: Wed Nov 23 2005 - 18:31:31 CET

renz wrote:
> NO, pgAdmin is not on the same host.

Care to provide some details on the network? Which host is running
pgAdmin, which host is running iptables, and which one is running
postgres?

> I added these to my iptables, applied the rule, then restarted
> iptables:
>
> iptables -A INPUT -p tcp --source 192.168.1.0/24 --syn --dport 5432 -j
> ACCEPT
> iptables -A INPUT -p udp --source 192.168.1.0/24 --dport 5432 -j
> ACCEPT
>
> but when I ran nmap to check, this is the result I get:
>
> PORT STATE SERVICE
> 22/tcp open ssh
> 37/tcp open time
> 111/tcp open rpcbind

Which options did you use for this scan? Is postgres even running on the
host you scanned? What's the output of "netstat -ntl" on that host?

cu
59cobalt

-- 
"Another option [for defragmentation] is to back up your important files,
erase the hard disk, then reinstall Mac OS X and your backed up files."
--http://docs.info.apple.com/article.html?artnum=25668
Received on Sat Dec 3 04:18:02 2005