HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to disable UDP port 19 and port 7
Operating System - HP-UX
1829592
Members
2795
Online
109992
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
02-29-2004 08:20 PM
02-29-2004 08:20 PM
How to disable UDP port 19 and port 7
a) How do I know if the machine is using UDP port 7 and 19.
b) How do I know if this two ports can be disabled ?
c) If this two port is not used currently, how do I disable these two ports
b) How do I know if this two ports can be disabled ?
c) If this two port is not used currently, how do I disable these two ports
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2004 08:31 PM
02-29-2004 08:31 PM
Re: How to disable UDP port 19 and port 7
Hi,
Services are listed in /etc/services, so you can them there.
- port 7 is for echo
- port 19 is for chargen
Check if they're up by running netstat -a | grep echo and netstat -a | grep chargen
These two services are server by the inetd program, config file here: /etc/inetd.conf.
Just hash these services out (# at the beginning of the line) and restart inetd (ps -ef | grep inetd and then kill -HUP).
HTH,
Robert
Services are listed in /etc/services, so you can them there.
- port 7 is for echo
- port 19 is for chargen
Check if they're up by running netstat -a | grep echo and netstat -a | grep chargen
These two services are server by the inetd program, config file here: /etc/inetd.conf.
Just hash these services out (# at the beginning of the line) and restart inetd (ps -ef | grep inetd and then kill -HUP
HTH,
Robert
linux: the choice of a GNU generation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2004 08:33 PM
02-29-2004 08:33 PM
Re: How to disable UDP port 19 and port 7
/etc/services is the file which associates official services and aliases with the port number and protocol the services uses.
netstat command will give you the information regarding the open ports and who is using it...
if you want to disable this just put a hash infront of the line starting for udp port number 19 and 7 in /etc/services.
with best wishes.
netstat command will give you the information regarding the open ports and who is using it...
if you want to disable this just put a hash infront of the line starting for udp port number 19 and 7 in /etc/services.
with best wishes.
practice makes a man perfect!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2004 08:53 PM
02-29-2004 08:53 PM
Re: How to disable UDP port 19 and port 7
/etc/services is only used to translate servicenames to port numbers (getservbyname()). Deleting an entry doesn't mean disabling a service.
If you want to be sure you want to disable a port, you must check all running deamons (netstat), or check /etc/inetd.conf.
If you want to be relly sure, you must disable the port in /var/adm/inetd.sec, or use tcp_wrapper.
If you want to be sure you want to disable a port, you must check all running deamons (netstat), or check /etc/inetd.conf.
If you want to be relly sure, you must disable the port in /var/adm/inetd.sec, or use tcp_wrapper.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP