[Eug-lug] shut down unneeded ports in Gentoo?

Rob Hudson rob at euglug.net
Tue Jan 25 12:49:45 PST 2005


Bob Miller wrote:
> Rob Hudson wrote:
> 
> 
>>When I run "netstat -pant", I do not see the opened ports, only 22, 25, 
>>80, and 993.  Which makes me think "filtered" means something. 
>>According to the nmap manpage, "Filtered means that a firewall, filter, 
>>or other network obstacle is covering the port and preventing nmap from 
>>determining whether the port is open."  I haven't yet set up a firewall 
>>so it's not that.
> 
> 
> Are you running iptables?  That would explain it.
> Portsentry is another program that filters ports.

Portsentry is not installed.
I have iptables installed, but have yet to set up rules for it:
# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

I had portsentry on my old FreeBSD box, so maybe this one is one I 
should look at emerging.  Thanks for the reminder.  :)

>>I don't see any inet or xinet in my /etc directory.  Does Gentoo put 
>>those somewhere else or not use it?
> 
> xinetd is not part of the base Gentoo install.  If you didn't
> emerge it yourself, you don't have it.

I don't have xinetd, then.

-Rob


More information about the EUGLUG mailing list