- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- What program is using port 111?
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
Forums
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
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
тАО07-18-2003 01:48 PM
тАО07-18-2003 01:48 PM
What am I missing?
Mark
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2003 01:58 PM
тАО07-18-2003 01:58 PM
Re: What program is using port 111?
Try to connect to that port and see if it will
let you know who is listening
telnet locahost 111
Caesar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2003 01:58 PM
тАО07-18-2003 01:58 PM
Re: What program is using port 111?
Some info about Port 111. Hope this helps.
There are many know exploits against a large list of services that the portmapper provides access to. All RPC services register themselves at port 111 (the "portmapper" or rpcbind for the Solaris guys). The calling client will have to access port 111 to query and identify ports where the needed service is running and ultimately connect to the service. This can be done with both TCP and UDP.
So the point is that port 111 is a place to find out where services are running. Many vulnerabilities exist with this port. For example, NFS has a known rpc-update exploit. Also, the NIS update daemon, rpc.ypupdated, contains vulnerabilities in how it passes commands to certain function calls.
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2003 01:59 PM
тАО07-18-2003 01:59 PM
Re: What program is using port 111?
Try sampling both TCP and UDP:
# lsof -i tcp:111
# lsof -i udp:111
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2003 02:07 PM
тАО07-18-2003 02:07 PM
Re: What program is using port 111?
tcp 0 0 *.111 *.* LISTEN
udp 0 0 *.111 *.*
up2:/ #
lup2:/ # lsof -i tcp:111
lup2:/ # lsof -i udp:111
Still nothing. Telnet'ing to port 111 just hangs. Does anyone know what default HP-UX services listen on that port? I'm running 11.11.
Thanks,
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2003 08:23 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2003 04:54 PM
тАО07-21-2003 04:54 PM
Re: What program is using port 111?
lup2:/etc/rc.config.d # rpcinfo -p localhost
program vers proto port service
100000 4 tcp 111 rpcbind
100000 3 tcp 111 rpcbind
100000 2 tcp 111 rpcbind
100000 4 udp 111 rpcbind
100000 3 udp 111 rpcbind
100000 2 udp 111 rpcbind
lup2:/etc/rc.config.d #
Does this mean that rpcbind has no portmap services registered? If that's the case and I don't need it how do I stop rpcbind from starting at boot? There's nothing by that name in /etc/rc.config.d.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2003 05:06 PM
тАО07-21-2003 05:06 PM
Re: What program is using port 111?
Just to clarify rpcbind listens on port 111. Portmap is the old name for rpcbind and was used prior to 11.x.
The rpcinfo is showing you have no other rpc services registered with rpcbind.
rpcbind is started by the /sbin/init.d/nfs.core script.
To stop:
# /sbin/init.d/nfs.core stop.
To stop it starting at boot, update the /etc/rc.config.d/nfsconf file so that
NFS_CLIENT=0
NFS_SERVER=0
Cheers
Con