LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 11-21-2012, 02:26 AM   #1
narz
Member
 
Registered: May 2007
Location: US
Distribution: slackware
Posts: 184

Rep: Reputation: 35
Default services listening on tcp ports


I stopped X from listening on a tcp port but what are "time" and "ident"? I have my clock set to local time, so I don't know what "time" is and I don't what "ident" is either. Can I stop these from listening? Or know what the purpose of them are at least?

Thank you.
 
Old 11-21-2012, 03:29 AM   #2
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,495

Rep: Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912
time protocol

https://www.ietf.org/rfc/rfc868.txt

ident protocol

https://www.ietf.org/rfc/rfc1413.txt

they're started because you have an executable /etc/rc.d/rc.inetd.

for more insight on inetd, have a look at /etc/inetd.conf, "man inetd" and "man 5 hosts_access".

Last edited by ponce; 11-21-2012 at 03:43 AM.
 
Old 11-21-2012, 04:01 AM   #3
narz
Member
 
Registered: May 2007
Location: US
Distribution: slackware
Posts: 184

Original Poster
Rep: Reputation: 35
Ok so I can comment out these services through inetd.conf (auth, time). Do I have a practical need for auth/ident though? Will anything break or not work?
 
Old 11-21-2012, 05:20 AM   #4
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,495

Rep: Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912
you are not forced to turn them off, you can restrict access using /etc/hosts.allow and /etc/hosts.deny (that's why I suggested "man 5 hosts_access")

http://docs.slackware.com/howtos:security:inetd

this way nothing will break for sure.
 
Old 11-27-2012, 03:29 PM   #5
xj25vm
Member
 
Registered: Jun 2008
Posts: 262

Rep: Reputation: 17
Also, you might want to look into your /etc/ntp.conf file. That's another place where you tell ntpd if it should listen and/or allow queries from other hosts - or only allow queries from programs running locally.
 
Old 11-28-2012, 02:30 AM   #6
narz
Member
 
Registered: May 2007
Location: US
Distribution: slackware
Posts: 184

Original Poster
Rep: Reputation: 35
Oh since you bumped I guess I should mention I just stopped the inetd service and was done with it. I looked at the conf file and everything in it was either commented out or looked insecure and useless to me. In the past I assumed it was some vital networking service and never even looked at what it was. My system has been running fine without it.
 
Old 11-28-2012, 04:05 AM   #7
xj25vm
Member
 
Registered: Jun 2008
Posts: 262

Rep: Reputation: 17
I don't run inetd either (although opinion on this varies) - but I do run ntpd from /etc/rc.d/rc.ntpd in order to keep the local machine clock syncronised.
 
  


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
TCP services not listening on multiple IPs jgrumbles Linux - Networking 1 04-10-2008 09:51 AM
Script listening on TCP port pcmilhouse Linux - Networking 2 10-24-2006 01:15 PM
TCP Port not listening Craig Cox Linux - Security 1 10-10-2006 12:08 PM
tcp listening port help pbaxter Linux - Networking 4 07-11-2006 04:38 PM
Woody 3.0 Open Ports 1470/tcp/uaiact 1518/tcp/vpvd What for?How can I remove them? alexxxis Debian 5 07-05-2004 06:18 PM


All times are GMT -5. The time now is 03:43 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration