On Sun, Dec 12, 2004 at 02:30:51AM +0800, Emanuel Gardaya Calso wrote:
> 
> To scan open UDP ports, try as root:
> # nmap -sU
> 
> To close those ports, just edit /etc/services and comment out the lines
> where you see those ports. Then, restart your network.
> 
> There's probably an easier way to do it (like in the GUI), but this
> method is sure to work.

Hmmm... editing /etc/services does NOT disable the services that provide them. 
This file is strictly a mapping file. It only defines what the port numbers are 
well defined services. Commenting out lines in /etc/services only undefines 
them and the errant ports with their associated service will *still* be open. 
If you undefine a service from /etc/services, nmap will simply show the port 
number as open instead of the service name.


-- 
___ eric pareja ([EMAIL PROTECTED]) User #8159 http://counter.li.org
\e/ [ Philippine Linux Users' Group + http://plug.linux.org.ph    ] Software
 v  [ IRC /join #plug @irc.free.net.ph ] [ debian-tl fldp ]         Freedom
"...the symbol is nothing. It is the reality behind every symbol that is all."
"People who think they know everything are annoying to those of us who do..."
--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to