[prev in list] [next in list] [prev in thread] [next in thread]
List: focus-sun
Subject: Re: closing network ports
From: "Mark (Mookie)" <mark () ZANG ! COM>
Date: 2000-07-13 23:43:26
[Download RAW message or body]
>Check out /etc/services, and take out definitions for ports that you no longer
>want recognized.
Nick Phillips mentioned "no" about this issue but didn't expand on that,
instead he talked about RPC services.
All /etc/services does is provide a mapping from a number to a name.
If there was no line for /etc/services, 95% of the time the program
will still run. Some programs will complain and exit if they can't
get a successfull getservbyname() call, but they are rare. If a
program can't find a name it will usually just map to a port number.
Then you're screwed trying to find out what it is because you've
removed the machine-->human mapping from /etc/services.
Taking lines out of /etc/services is a no-no, it's a very bad thing
to do. If anything you should be adding to it from the collections
floating around on the net, likewise with /etc/rpc.
Anyone noticing this list is becoming a comp.unix.admin.sun?
Cheers,
Mark.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic