<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: testing for port activity in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/testing-for-port-activity/m-p/4488094#M363387</link>
    <description>I think telnet can still do the job.</description>
    <pubDate>Fri, 28 Aug 2009 18:40:12 GMT</pubDate>
    <dc:creator>Tingli</dc:creator>
    <dc:date>2009-08-28T18:40:12Z</dc:date>
    <item>
      <title>testing for port activity</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/testing-for-port-activity/m-p/4488090#M363383</link>
      <description>hi - we used to use telnet to test for activity/listening on port - now security is shutting down all telnet - is there another solution or is ssh able to be used? The way we use it is telnet &lt;IP&gt; port from outside to see if a process has a port open.&lt;/IP&gt;</description>
      <pubDate>Fri, 28 Aug 2009 17:46:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/testing-for-port-activity/m-p/4488090#M363383</guid>
      <dc:creator>Michael Murphy_2</dc:creator>
      <dc:date>2009-08-28T17:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: testing for port activity</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/testing-for-port-activity/m-p/4488091#M363384</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;yes you can use ssh on hpux&lt;BR /&gt;&lt;BR /&gt;which version hpux are you running?&lt;BR /&gt;&lt;BR /&gt;you can also see which ports are listening/open with netstat commands&lt;BR /&gt;&lt;BR /&gt;#netstat -a&lt;BR /&gt;&lt;BR /&gt;will list all ports as defined in /etc/services and /etc/inetd.conf&lt;BR /&gt;&lt;BR /&gt;Andy</description>
      <pubDate>Fri, 28 Aug 2009 18:05:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/testing-for-port-activity/m-p/4488091#M363384</guid>
      <dc:creator>Andrew Rutter</dc:creator>
      <dc:date>2009-08-28T18:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: testing for port activity</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/testing-for-port-activity/m-p/4488092#M363385</link>
      <description>Sorry - that is not what i am looking for - i am looking for a way externally to ping a port to tell if it is busy - telnet used to allow you to do that and response would look different if there was a service on the port or not...Those who have used it before know what i am talking about</description>
      <pubDate>Fri, 28 Aug 2009 18:09:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/testing-for-port-activity/m-p/4488092#M363385</guid>
      <dc:creator>Michael Murphy_2</dc:creator>
      <dc:date>2009-08-28T18:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: testing for port activity</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/testing-for-port-activity/m-p/4488093#M363386</link>
      <description>I think ssh can be used here.&lt;BR /&gt;ssh hostname -p port&lt;BR /&gt;if the port is busy or closed, it will refuse the connection.else it just hangs.</description>
      <pubDate>Fri, 28 Aug 2009 18:19:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/testing-for-port-activity/m-p/4488093#M363386</guid>
      <dc:creator>sen_ux</dc:creator>
      <dc:date>2009-08-28T18:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: testing for port activity</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/testing-for-port-activity/m-p/4488094#M363387</link>
      <description>I think telnet can still do the job.</description>
      <pubDate>Fri, 28 Aug 2009 18:40:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/testing-for-port-activity/m-p/4488094#M363387</guid>
      <dc:creator>Tingli</dc:creator>
      <dc:date>2009-08-28T18:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: testing for port activity</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/testing-for-port-activity/m-p/4488095#M363388</link>
      <description>"Shutting down all telnet" usually means "disabling the telnetd server on all hosts" and/or "preventing access to port TCP/23 in all firewalls". That does not stop you from using a telnet client for diagnostic connections to other ports, just as before.&lt;BR /&gt;&lt;BR /&gt;If, on the other hand, your security folks are implementing the restriction by mandating the removal of the telnet _clients_, my opinion of the skill level of those security folks would be pretty low. &lt;BR /&gt;&lt;BR /&gt;A telnet client is a small binary (fits on a single old 3.5" disk!) that requires no special privileges. So anyone who can bring a file to a system can easily use his/her own telnet binary or copy it from another system, and an intruder would most likely use his/her own tools to minimize the amount of log traces anyway.&lt;BR /&gt;&lt;BR /&gt;On the other hand, if one of the requirements is to make the telnet client non-executable by ordinary users, I would have no problem with that. Our systems already have separate group for sysadmin-level user accounts: I would just make telnet executable by that group only.&lt;BR /&gt;&lt;BR /&gt;chgrp unixadm /usr/bin/telnet&lt;BR /&gt;chmod 550 /usr/bin/telnet&lt;BR /&gt;&lt;BR /&gt;Of course, you might also use the removal of the telnet clients as a justification for installing a more powerful network diagnostic tool or two - for admin use only. &lt;BR /&gt;&lt;BR /&gt;For example, the open-source netcat (nc) can be used to test both TCP and UDP connections, unlike telnet which can do only TCP. It is also easier to script for automated testing.&lt;BR /&gt;&lt;BR /&gt;Tcpdump is also very useful (because it understands a lot of network protocols and allows dumping the payload data in a meaningful format), and is freely available from HP in the HP-UX Internet Express kit. (from software.hp.com for 11.23 and 11.31 only; for 11.11, find an Internet Express CD among your HP-UX 11.11 media kits and use that).&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Fri, 28 Aug 2009 18:46:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/testing-for-port-activity/m-p/4488095#M363388</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2009-08-28T18:46:24Z</dc:date>
    </item>
  </channel>
</rss>

