- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- What are TCP small services
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2002 08:25 AM
тАО12-19-2002 08:25 AM
What are they (I can't seem to find a complete list) ?
How do I tell if they are being used, as opposed to just being turned on?
How do I turn them off so I am sure that they won't get turned back on?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2002 08:19 AM
тАО12-19-2002 08:19 AM
Re: What are TCP small services
I suspect you mean services like 'daytime', 'echo', 'chargen'. You can comment out these in '/etc/inetd.conf'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2002 08:30 AM
тАО12-19-2002 08:30 AM
Re: What are TCP small services
Any TCP or UDP services that you do not want to use can be turned off via /etc/services and /etc/inetd.conf files. Just comment out the appropriate lines in the files and do an 'inetd -c' to have inetd re-read the config files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2002 08:36 AM
тАО12-19-2002 08:36 AM
Re: What are TCP small services
Check for netstat command for more information .
Good Luck,
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2002 08:56 AM
тАО12-19-2002 08:56 AM
Re: What are TCP small services
From what I see so far, the way to find out if people are using it is to turn it off and see what breaks.
I believe the netstat command just tells me what ports/services are open. Is there a way to monitor the usage?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2002 09:17 AM
тАО12-19-2002 09:17 AM
Re: What are TCP small services
tcp small servers
or
no tcp small servers
is a config line from cisco IOS, which enables the previous named services on a cisco router or switch.
I am not sure, if this gives some kind of "copyright" for this phrase to cisco.
I never heard this phrase in other context than cisco.
May be the audit guy is a cisco-fan :-)
Volker
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2002 09:24 AM
тАО12-19-2002 09:24 AM
Re: What are TCP small services
Someone misspoke to you....
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2002 09:37 AM
тАО12-19-2002 09:37 AM
Re: What are TCP small services
lists IP small services though some souces consider small services to be anything under port 20 plus port 37.
inetd -l
will turn on logging of connection attempts.
http://people.hp.se/stevesk/bastion.html
is a good reference to how to secure your system.
snort (www.snort.org) will do a good job of telling you who is doing things you might want to know about.
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2002 09:44 AM
тАО12-19-2002 09:44 AM
Re: What are TCP small services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-20-2002 08:51 AM
тАО12-20-2002 08:51 AM
Solutionhttp://netsecurity.ualr.edu/Tips/UNIX-1.htm
This is Solaris mainly, but the concepts apply.
Some services cannot be shut off in inetd.conf, and there are ports which can be shut off outside of the "small" or "little" range. All open ports which are visible to the outside world have their exploits.
Some services are started in the /sbin/rc hierarchy (sendmail, NFS, rpc, etc.) and some services are not mentioned in inetd.conf (xfs and X come to mind) at all.
echo is shut down in an entirely different manner from these above. See:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x432b36e69499d611abdb0090277a778c,00.html
I'd try this ndd command, but I'm not tinkering with my production HP today!
Ping (echo) is used by many monitoring programs, so be aware that disabling this may generate a "down server" response from your monitoring software.
I like nmap for port scanning my hosts just to see what is running, then coordinating this information back to lsof output to get additional information.
http://www.insecure.org/nmap/nmap_download.html
Even an old version of nmap would be useful, if you don't want to compile your own.
Let us know how it goes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-21-2002 08:04 AM
тАО12-21-2002 08:04 AM
Re: What are TCP small services
# uucp stream tcp nowait root /usr/sbin/uucpd uucpd
# ntalk dgram udp wait root /usr/lbin/ntalkd ntalkd
# daytime stream tcp nowait root internal
# daytime dgram udp nowait root internal
# time stream tcp nowait root internal
# time dgram udp nowait root internal
# echo stream tcp nowait root internal
# echo dgram udp nowait root internal
# discard stream tcp nowait root internal
# discard dgram udp nowait root internal
# chargen stream tcp nowait root internal
# chargen dgram udp nowait root internal
A few systems may need these services:
# tftp dgram udp wait root /usr/lbin/tftpd tftpd
# bootps dgram udp wait root /usr/lbin/bootpd bootpd
# finger stream tcp nowait bin /usr/lbin/fingerd fingerd
# kshell stream tcp nowait root /usr/lbin/remshd remshd -K
# klogin stream tcp nowait root /usr/lbin/rlogind rlogind -K
# dtspc stream tcp nowait root /usr/dt/bin/dtspcd /usr/dt/bin/dtspcd
# rpc xti tcp swait root /usr/dt/bin/rpc.ttdbserver 100083 1 /usr/dt/bin/rpc.ttd
bserver
# rpc dgram udp wait root /usr/dt/bin/rpc.cmsd 100068 2-5 rpc.cmsd
# recserv stream tcp nowait root /usr/lbin/recserv recserv -display :0
When it comes to security, I am ruthless--I turn off anything I don't know about and wait for a request or problem before turning it back on.
Bill Hassell, sysadmin