From: "simon Shaw" Subject: /etc/services file Date: Mon, 09 Dec 2002 16:30:33 +0800 Sender: linux-admin-owner@vger.kernel.org Message-ID: Mime-Version: 1.0 Return-path: List-Id: Content-Type: text/plain; format=flowed; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-admin@vger.kernel.org Hi Friends, Can you tell me what is the function of /etc/services file? I know it is about the mapping of famous services to its ports number. But what I don't understand is that what if I miss a entry i.e. (ftp 21/tcp), it means I can't do ftp ? And sometime, when I am installing a third party software in my unix box, it required me to add some entry in my /etc/service i.e. (els_port 2101/udp, els_port 2101/tcp) What is the effect of the entry? Q2, when I read a document about services to be filtered as shown below. How to filter the service? Deleting entry in /etc/services file or inetd.conf <> Because of flaws in the protocol or chronic system administration problems, we recommend that the following services be filtered: DNS zone transfers socket 53 (TCP) tftpd socket 69 (UDP) link socket 87 (TCP) (commonly used by intruders) SunRPC & NFS socket 111 and 2049 (UDP and TCP) BSD UNIX "r" cmds sockets 512, 513, and 514 (TCP) lpd socket 515 (TCP) uucpd socket 540 (TCP) openwindows socket 2000 (UDP and TCP) X windows socket 6000+ (UDP and TCP _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail