OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: [suse-security] iptables

From: Armin Schoech (armin.schoechweb.de)
Date: Thu May 29 2003 - 08:44:51 CDT


Hello !

> how do i know if my server has an open port? how? can i use iptables
> to restrict ports thats open?
>
--> You can check the ports that are used on your machine as root with
the following two commands:
"lsof -i"
"netstat -at"

If you want to test your firewall, you should run a portscan from
another pc. First try would be
"nmap -sT" and "nmap -sU". Type "man nmap" for more information about
this portscanner.

HTH,
Armin

--
Am Hasenberg 26 office: Institut für Atmosphärenphysik
D-18209 Bad Doberan Schloss-Straße 6
Tel. ++49-(0)38203/42137 D-18225 Kühlungsborn / GERMANY
Email: schoechiap-kborn.de Tel. +49-(0)38293-68-102
WWW: http://armins.cjb.net/ Fax. +49-(0)38293-68-50

--
Check the headers for your unsubscription address
For additional commands, e-mail: suse-security-helpsuse.com
Security-related bug reports go to securitysuse.de, not here