<?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: FTP Serviers in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-serviers/m-p/3524310#M840948</link>
    <description>On hpux, by default, ftpd does not run like another daemon process. It is initiated by inetd when a request for ftp comes in.&lt;BR /&gt;&lt;BR /&gt;there are two files which control how ftp runs initiated by inetd. These files are /etc/services and /etc/inetd.conf.&lt;BR /&gt;&lt;BR /&gt;again by default, these are configured as follows:&lt;BR /&gt;/etc/services&lt;BR /&gt;ftp-data      20/tcp                 # File Transfer Protocol (Data)&lt;BR /&gt;ftp           21/tcp                 # File Transfer Protocol (Control)&lt;BR /&gt;&lt;BR /&gt;/etc/inetd.conf&lt;BR /&gt;ftp          stream tcp nowait root /usr/lbin/ftpd      ftpd -L -l -u 022&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;if you want the ftp to listen to port 1021 instead of 21, you need to change this info in services file and then restart inetd.&lt;BR /&gt;&lt;BR /&gt;when you say "in addition to" then it becomes a different problem. You need to start an ftp daemon process listening on port 1021 and have it constantly run instead of inetd launching it. I am not sure if this can be done with ftpd provided with hpux.</description>
    <pubDate>Wed, 13 Apr 2005 12:57:18 GMT</pubDate>
    <dc:creator>Mel Burslan</dc:creator>
    <dc:date>2005-04-13T12:57:18Z</dc:date>
    <item>
      <title>FTP Serviers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-serviers/m-p/3524304#M840942</link>
      <description>We are running HP-UX 11i and wanted to check if someone has started ftp to listen to 2 ports i.e. 21 and some other assigned port at the same time. Thks</description>
      <pubDate>Wed, 13 Apr 2005 12:23:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-serviers/m-p/3524304#M840942</guid>
      <dc:creator>Pawan_1</dc:creator>
      <dc:date>2005-04-13T12:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Serviers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-serviers/m-p/3524305#M840943</link>
      <description>assuming the other port you want to monitor is 20 (if not replace it in the command below)&lt;BR /&gt;&lt;BR /&gt;netstat -a | grep -e 21 -e 20 | grep LISTEN&lt;BR /&gt;&lt;BR /&gt;should give you the list of ports who are actively listening incoming requests.&lt;BR /&gt;&lt;BR /&gt;Caution: it may also list ports like 2121 or 49210 as all grep is doing, is pattern matching, but the output should be much easier to look at that the whole netstat -a output.&lt;BR /&gt;&lt;BR /&gt;Hope this helps</description>
      <pubDate>Wed, 13 Apr 2005 12:31:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-serviers/m-p/3524305#M840943</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2005-04-13T12:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Serviers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-serviers/m-p/3524306#M840944</link>
      <description>Sorry about the confusion. What we need is how to start ftp servers to listen to a different port say 1021 at the same time its listening to its default ports. Thanks</description>
      <pubDate>Wed, 13 Apr 2005 12:34:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-serviers/m-p/3524306#M840944</guid>
      <dc:creator>Pawan_1</dc:creator>
      <dc:date>2005-04-13T12:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Serviers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-serviers/m-p/3524307#M840945</link>
      <description>It's a lot easier to just have ftp log it's activities. Change /etc/inetd.conf ftpd line to add the options:&lt;BR /&gt; &lt;BR /&gt;-l -L -u 022&lt;BR /&gt; &lt;BR /&gt;The first -l is to do basic logging, -L shows all the commands and -u 022 sets the umask value for security.</description>
      <pubDate>Wed, 13 Apr 2005 12:36:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-serviers/m-p/3524307#M840945</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-04-13T12:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Serviers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-serviers/m-p/3524308#M840946</link>
      <description>This is not very easy because you can't depend upon the name of the executable to be ftpd. Someone could copy the original or substitute another ftp-like daemon. Only a super-user would be allowed to use the 0-1023 ports.</description>
      <pubDate>Wed, 13 Apr 2005 12:37:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-serviers/m-p/3524308#M840946</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-04-13T12:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Serviers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-serviers/m-p/3524309#M840947</link>
      <description>Its just an example and what I mean any other port also.</description>
      <pubDate>Wed, 13 Apr 2005 12:43:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-serviers/m-p/3524309#M840947</guid>
      <dc:creator>Pawan_1</dc:creator>
      <dc:date>2005-04-13T12:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Serviers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-serviers/m-p/3524310#M840948</link>
      <description>On hpux, by default, ftpd does not run like another daemon process. It is initiated by inetd when a request for ftp comes in.&lt;BR /&gt;&lt;BR /&gt;there are two files which control how ftp runs initiated by inetd. These files are /etc/services and /etc/inetd.conf.&lt;BR /&gt;&lt;BR /&gt;again by default, these are configured as follows:&lt;BR /&gt;/etc/services&lt;BR /&gt;ftp-data      20/tcp                 # File Transfer Protocol (Data)&lt;BR /&gt;ftp           21/tcp                 # File Transfer Protocol (Control)&lt;BR /&gt;&lt;BR /&gt;/etc/inetd.conf&lt;BR /&gt;ftp          stream tcp nowait root /usr/lbin/ftpd      ftpd -L -l -u 022&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;if you want the ftp to listen to port 1021 instead of 21, you need to change this info in services file and then restart inetd.&lt;BR /&gt;&lt;BR /&gt;when you say "in addition to" then it becomes a different problem. You need to start an ftp daemon process listening on port 1021 and have it constantly run instead of inetd launching it. I am not sure if this can be done with ftpd provided with hpux.</description>
      <pubDate>Wed, 13 Apr 2005 12:57:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-serviers/m-p/3524310#M840948</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2005-04-13T12:57:18Z</dc:date>
    </item>
  </channel>
</rss>

