Skip to main content

How to test if osagent is listening on known port on a remote machine

  • February 16, 2013
  • 0 replies
  • 0 views

Problem:

  • Product Name: VisiBroker
  • Product Version: All
  • Product Component: Smart Agent (osagent)
  • Platform/OS Version: NA

Want to be able to verify that some process is listening on the remote machine based on its IP address or hostname and knowing what port it should be listening on.

Resolution:

For TCP based services, telnet can be used which will detect if there is a process listening on the remote as follows:
prompt> telnet <remote host> <tcp port>

However for osagent this is impossible since telnet is TCP based but osagent is UDP based.

In this case a useful tool "portqry.exe" is available from microsoft that performs this exact function:

http://support.microsoft.com/?kbid=310099

The link at the bottom of the page has a zip file containing the binary for Win 2000 systems.
The tool can be run as follows:
prompt> portqry -n 169.254.0.11 -p udp -e 14000
to look for osagent on its default port.

For unix client hosts the tool should be used like nmap.


#SmartAgent
#Windows
#Security
#VisiBroker
#osagent
#UDP
#telnet