LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 08-13-2007, 04:59 AM   #1
ashwin_cse
Member
 
Registered: Jul 2004
Distribution: arch, rhel, ubuntu, debian, gentoo
Posts: 134

Rep: Reputation: 22
Lots of unknown entries in /etc/services


I am using fc6 as server & it serves our purpose well. I wanted to check if there are any attacks on this server. I find there are lots of entries in /etc/services & most of the entries in this lengthy file are not used by people in the network. Although an entry exist here, a corresponding entry is not shown in system-config-services or in ntsysv. So is it safe to comment out the entries on services not used by us. Examples of services found in /etc/services are:
Code:
h323hostcallsc  1300/tcp     # H323 Host Call Secure
ms-sql-s        1433/tcp     # Microsoft-SQL-Server
ica             1494/tcp     # Citrix ICA Client
xns-mail        58/tcp       # XNS Mail
...
...
 
Old 08-13-2007, 05:24 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

/etc/services is used for name-number translations. See man services.

There are no security issues with this file (too my knowledge) and commenting out entries will not increase security. The name-number relations follow a standard, some fixed, others de facto. RFC 1700 describes them.

Hope this clears things up a bit.
 
Old 08-13-2007, 05:56 AM   #3
ashwin_cse
Member
 
Registered: Jul 2004
Distribution: arch, rhel, ubuntu, debian, gentoo
Posts: 134

Original Poster
Rep: Reputation: 22
Thanks Druuna - /etc/services fc6 solved

Thank you for enlightening on services. Man pages on services was helpful. I don't know how it didn't turn up in google search. After this post atleast people like me will get the knowledge to look at right places. I will certainly go through the rfc mentioned.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Media Services on Linux platform similar to Windows Media Services happyok Linux - Software 3 05-27-2006 05:36 PM
ftp/tcp:unknown services mehro Linux - Software 1 10-01-2005 07:41 AM
Hosts file unknown entries rabeea General 8 12-08-2004 02:21 PM
TightVNC Ver terminal Services.. also looking for terminal Services for linux 2782d4 Linux - Security 3 05-20-2004 03:30 AM
Sound in kernel 2.6: Lots of "Unknown Symbol" errors jemenake Linux - General 0 10-22-2003 10:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 11:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration