<?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: strange FTP behaviour through firewall in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-ftp-behaviour-through-firewall/m-p/4110595#M540559</link>
    <description>Well Iwan, I can assure you it is not a firewall issue.  firewalls do allot of things, changing filenames is typically not one of them.&lt;BR /&gt;&lt;BR /&gt;There is an issue with some ftp servers out there when a filename has 227 at the end of it.&lt;BR /&gt;&lt;BR /&gt;Interesting, 227 is the passive port command for ftp.&lt;BR /&gt;&lt;BR /&gt;This is not limited to just hpux, but also microsofts IIS 6.0 ftp (but not all versions of it).&lt;BR /&gt;&lt;BR /&gt;What it looks like is that the ftp binary get's confused when it sees a file with 227 at the end of it as it being a pasv command and "renames" the file as 22_. &lt;BR /&gt;&lt;BR /&gt;It does not matter what the length of the filename is, just as long as 227 is the last 3 characters.&lt;BR /&gt;&lt;BR /&gt;I don't have a resolution right now except for changing the filename to something other then 227.&lt;BR /&gt;&lt;BR /&gt;LordInfidel</description>
    <pubDate>Fri, 11 Jan 2008 20:31:34 GMT</pubDate>
    <dc:creator>LordInfidel</dc:creator>
    <dc:date>2008-01-11T20:31:34Z</dc:date>
    <item>
      <title>strange FTP behaviour through firewall</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-ftp-behaviour-through-firewall/m-p/4110589#M540553</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I have a very strange ftp problem dealing with one filename.&lt;BR /&gt;&lt;BR /&gt;I have one system I call systemA (HPUX)  and systemB (I think it is also HPUX). systemA have to pull data from systemB with FTP through 2 firewalls. (systemB manage by other department).&lt;BR /&gt;&lt;BR /&gt;The system was being fine for more than 2 years.&lt;BR /&gt;&lt;BR /&gt;One strange thing just  happened 2 days ago, every time we want to list a filename ama.0227, this is what it will show:&lt;BR /&gt;ftp&amp;gt; ls ama.0227&lt;BR /&gt;200 PORT command successful.&lt;BR /&gt;150 ASCII data connection for /bin/ls (10.31.90.79,64485) (0 bytes).&lt;BR /&gt;ama.022_: No such file or directory&lt;BR /&gt;226 ASCII Transfer complete.&lt;BR /&gt;&lt;BR /&gt;You notice the response was ama.022_ not such file or directory (please notice that the filename it response is with underscore)&lt;BR /&gt;&lt;BR /&gt;but if I used wildcard here is the result:&lt;BR /&gt;ftp&amp;gt; ls ama.0227*&lt;BR /&gt;200 PORT command successful.&lt;BR /&gt;150 ASCII data connection for /bin/ls (10.31.90.79,64489) (0 bytes).&lt;BR /&gt;-r--r--r--   1 root     root     15123904 Nov 29 18:55 ama.0227&lt;BR /&gt;226 ASCII Transfer complete.&lt;BR /&gt;&lt;BR /&gt;Then of course my logic said that it could be that file on systemB had a space or hidden character.&lt;BR /&gt;&lt;BR /&gt;But then the sysadmin from systemB claimed that when they do the ls -l ama.0227 locally  without any wild character it will show the file correctly. I was confused and could not believe him. &lt;BR /&gt;&lt;BR /&gt;Then I asked them to rename the file to ama.00290 then I tried again.&lt;BR /&gt;&lt;BR /&gt;ftp&amp;gt; ls ama.0290&lt;BR /&gt;200 PORT command successful.&lt;BR /&gt;150 ASCII data connection for /bin/ls (10.31.90.169,64343) (0 bytes).&lt;BR /&gt;-r--r--r--   1 root     root     15690744 Nov 30 18:55 ama.0290&lt;BR /&gt;&lt;BR /&gt;expected result, then I tried to see whether the there was still a file ama.0227:&lt;BR /&gt;&lt;BR /&gt;ftp&amp;gt; ls ama.02*&lt;BR /&gt;200 PORT command successful.&lt;BR /&gt;150 ASCII data connection for /bin/ls (10.31.90.169,64129) (0 bytes).&lt;BR /&gt;... [I chopped down the list] &lt;BR /&gt;-r--r--r--   1 root     root     15292424 Nov 30 18:30 ama.0222&lt;BR /&gt;-r--r--r--   1 root     root     16013996 Nov 30 18:35 ama.0223&lt;BR /&gt;-r--r--r--   1 root     root     15698404 Nov 30 18:40 ama.0224&lt;BR /&gt;-r--r--r--   1 root     root     15709128 Nov 30 18:45 ama.0225&lt;BR /&gt;-r--r--r--   1 root     root     15940460 Nov 30 18:50 ama.0226&lt;BR /&gt;-r--r--r--   1 root     root     16013996 Nov 30 19:00 ama.0228&lt;BR /&gt;-r--r--r--   1 root     root     16082936 Nov &lt;BR /&gt;... [I chopped down the list]&lt;BR /&gt;226 ASCII Transfer complete.&lt;BR /&gt;&lt;BR /&gt;As you can see there was no ama.0227 file. &lt;BR /&gt;but then I tested this: &lt;BR /&gt;&lt;BR /&gt;tp&amp;gt; ls ama.0227 &lt;BR /&gt;200 PORT command successful.&lt;BR /&gt;150 ASCII data connection for /bin/ls (10.31.90.169,64214) (0 bytes).&lt;BR /&gt;ama.022_: No such file or directory&lt;BR /&gt;&lt;BR /&gt;It is very strange that its response was "ama.022_: No such file or directory" even the file was not there. Because if tested to list a file that was never really there, the result was normal:  &lt;BR /&gt;&lt;BR /&gt;ftp&amp;gt; ls ama.02278&lt;BR /&gt;200 PORT command successful.&lt;BR /&gt;150 ASCII data connection for /bin/ls (10.31.90.169,64215) (0 bytes).&lt;BR /&gt;ama.02278: No such file or directory&lt;BR /&gt;226 ASCII Transfer complete.&lt;BR /&gt;&lt;BR /&gt;Now I begin to suspect the PROBLEM was on the FIREWALL.&lt;BR /&gt;&lt;BR /&gt;Now I tested again to do a same thing from systemA to  a diff system (it is not hpux), called it systemC. The systemC also connected to systemA thorugh the same firewall (but it has totally different file name, so no ama.0227 file)&lt;BR /&gt;&lt;BR /&gt;Then I did a similar  to systemC like before: &lt;BR /&gt;&lt;BR /&gt;ftp&amp;gt; ls ama.0227&lt;BR /&gt;200 PORT command successful.&lt;BR /&gt;150 Opening data connection for ama.022_ (10.31.90.79,60555)&lt;BR /&gt;&lt;BR /&gt;Total of 0 files, 0/0 blocks&lt;BR /&gt;226 LIST Directory transfer complete.&lt;BR /&gt;ftp&amp;gt; ls ama.0226&lt;BR /&gt;200 PORT command successful.&lt;BR /&gt;150 Opening data connection for ama.0226 (10.31.90.79,60569)&lt;BR /&gt;&lt;BR /&gt;Total of 0 files, 0/0 blocks&lt;BR /&gt;226 LIST Directory transfer complete.&lt;BR /&gt;&lt;BR /&gt;Showed the expected result since the file was not there. then I tried with ama.0227 that never been on systemC and the result: &lt;BR /&gt;&lt;BR /&gt;ftp&amp;gt; ls ama.0227&lt;BR /&gt;200 PORT command successful.&lt;BR /&gt;150 Opening data connection for ama.022_ (10.31.90.79,60555)&lt;BR /&gt;&lt;BR /&gt;Total of 0 files, 0/0 blocks&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I produced a simillar result like systemB, reponse with ama.022_ .&lt;BR /&gt;&lt;BR /&gt;I did the same thing to the systems that were not connected through fire wall, the result was normal as expected.&lt;BR /&gt;&lt;BR /&gt;Now I suspect more and more to the firewall.&lt;BR /&gt;&lt;BR /&gt;The file being regenerated everyday then the systemA needs to pull it everyday.&lt;BR /&gt;But I am not familiar with the firewall, and it was manage by other dept. &lt;BR /&gt;&lt;BR /&gt;So my questions are:&lt;BR /&gt;o Do you think it is a firewall problem?&lt;BR /&gt;o If it is a firewall problem what should ask the network administrator to reset?&lt;BR /&gt;o Is it the file being cached in firewall?&lt;BR /&gt;o Or any other suggestion?&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;Iwan Tamimi &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 02 Dec 2007 12:13:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-ftp-behaviour-through-firewall/m-p/4110589#M540553</guid>
      <dc:creator>Adisuria Wangsadinata_1</dc:creator>
      <dc:date>2007-12-02T12:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: strange FTP behaviour through firewall</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-ftp-behaviour-through-firewall/m-p/4110590#M540554</link>
      <description>hi,&lt;BR /&gt;the problem looks likes special caracters in the file name, &lt;BR /&gt;&lt;BR /&gt;can you do a ls -l &amp;gt; filename&lt;BR /&gt;view filename&lt;BR /&gt;&lt;BR /&gt;to see if there are special caracters in the file?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ps can you alsow login to the server and check if there ls response is the same?</description>
      <pubDate>Sun, 02 Dec 2007 19:20:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-ftp-behaviour-through-firewall/m-p/4110590#M540554</guid>
      <dc:creator>F Verschuren</dc:creator>
      <dc:date>2007-12-02T19:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: strange FTP behaviour through firewall</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-ftp-behaviour-through-firewall/m-p/4110591#M540555</link>
      <description>you can lookat for strange characters in filename by "cat -v filename"&lt;BR /&gt;&lt;BR /&gt;Hasan.</description>
      <pubDate>Sun, 02 Dec 2007 19:24:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-ftp-behaviour-through-firewall/m-p/4110591#M540555</guid>
      <dc:creator>Hasan  Atasoy</dc:creator>
      <dc:date>2007-12-02T19:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: strange FTP behaviour through firewall</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-ftp-behaviour-through-firewall/m-p/4110592#M540556</link>
      <description>&amp;gt;F Verschuren: the problem looks likes special characters in the file name&lt;BR /&gt;&lt;BR /&gt;If there are special characters you need to use ls -lb.&lt;BR /&gt;I'm not sure that explains why "ls ama.0227" returns "ama.022_", unless the "7" key is broken?</description>
      <pubDate>Sun, 02 Dec 2007 19:26:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-ftp-behaviour-through-firewall/m-p/4110592#M540556</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-12-02T19:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: strange FTP behaviour through firewall</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-ftp-behaviour-through-firewall/m-p/4110593#M540557</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;Thanks for the respones. &lt;BR /&gt;&lt;BR /&gt;It is not hidden character on the ftp server side because I ask the sysadmin to check. &lt;BR /&gt;&lt;BR /&gt;And like I explained even I go to other ftp server (I think the server is VMS) that does not have that file at all will respones with ama.022_ when did the ls ama.227 on from ftp prompt.&lt;BR /&gt;&lt;BR /&gt;I found out further even I just did ls 227 on the ftp client prompt to the server on the other serfer the response will be 22_ :&lt;BR /&gt;&lt;BR /&gt;ftp&amp;gt; ls 227&lt;BR /&gt;200 PORT command successful.&lt;BR /&gt;150 Opening data connection for 022_ (10.31.90.169,54785)&lt;BR /&gt;&lt;BR /&gt;Total of 0 files, 0/0 blocks&lt;BR /&gt;226 LIST Directory transfer complete.&lt;BR /&gt;&lt;BR /&gt;So looks like the firewall interpreted someting with 227. but i still understand.&lt;BR /&gt;&lt;BR /&gt;Any explanation?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Iwan Tamimi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Dec 2007 01:51:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-ftp-behaviour-through-firewall/m-p/4110593#M540557</guid>
      <dc:creator>Adisuria Wangsadinata_1</dc:creator>
      <dc:date>2007-12-03T01:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: strange FTP behaviour through firewall</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-ftp-behaviour-through-firewall/m-p/4110594#M540558</link>
      <description>&amp;gt;And like I explained even I go to other ftp server (I think the server is VMS) that does not have that file at all will responses with ama.022_ when did the ls ama.227 on from ftp prompt.&lt;BR /&gt;&lt;BR /&gt;It looks like you're right.  For every file that doesn't exist, when it prints the error the last char seems to be changed to "_".&lt;BR /&gt;&lt;BR /&gt;I don't think it has anything to do with your firewall, just ftp on the server.&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Dec 2007 00:02:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-ftp-behaviour-through-firewall/m-p/4110594#M540558</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-12-04T00:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: strange FTP behaviour through firewall</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-ftp-behaviour-through-firewall/m-p/4110595#M540559</link>
      <description>Well Iwan, I can assure you it is not a firewall issue.  firewalls do allot of things, changing filenames is typically not one of them.&lt;BR /&gt;&lt;BR /&gt;There is an issue with some ftp servers out there when a filename has 227 at the end of it.&lt;BR /&gt;&lt;BR /&gt;Interesting, 227 is the passive port command for ftp.&lt;BR /&gt;&lt;BR /&gt;This is not limited to just hpux, but also microsofts IIS 6.0 ftp (but not all versions of it).&lt;BR /&gt;&lt;BR /&gt;What it looks like is that the ftp binary get's confused when it sees a file with 227 at the end of it as it being a pasv command and "renames" the file as 22_. &lt;BR /&gt;&lt;BR /&gt;It does not matter what the length of the filename is, just as long as 227 is the last 3 characters.&lt;BR /&gt;&lt;BR /&gt;I don't have a resolution right now except for changing the filename to something other then 227.&lt;BR /&gt;&lt;BR /&gt;LordInfidel</description>
      <pubDate>Fri, 11 Jan 2008 20:31:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-ftp-behaviour-through-firewall/m-p/4110595#M540559</guid>
      <dc:creator>LordInfidel</dc:creator>
      <dc:date>2008-01-11T20:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: strange FTP behaviour through firewall</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-ftp-behaviour-through-firewall/m-p/4110596#M540560</link>
      <description>&lt;!--!*#--&gt;Well Iwan, I can assure you it is not a firewall issue.  firewalls do allot of things, changing filenames is typically not one of them.&lt;BR /&gt;&lt;BR /&gt;There is an issue with some ftp servers out there when a filename has 227 at the end of it.&lt;BR /&gt;&lt;BR /&gt;Interesting, 227 is the passive port command for ftp.&lt;BR /&gt;&lt;BR /&gt;This is not limited to just hpux, but also microsofts IIS 6.0 ftp (but not all versions of it).&lt;BR /&gt;&lt;BR /&gt;What it looks like is that the ftp binary get's confused when it sees a file with 227 at the end of it as it being a pasv command and "renames" the file as 22_. &lt;BR /&gt;&lt;BR /&gt;It does not matter what the length of the filename is, just as long as 227 is the last 3 characters.&lt;BR /&gt;&lt;BR /&gt;I don't have a resolution right now except for changing the filename to something other then 227.&lt;BR /&gt;&lt;BR /&gt;LordInfidel</description>
      <pubDate>Fri, 11 Jan 2008 20:32:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-ftp-behaviour-through-firewall/m-p/4110596#M540560</guid>
      <dc:creator>LordInfidel</dc:creator>
      <dc:date>2008-01-11T20:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: strange FTP behaviour through firewall</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-ftp-behaviour-through-firewall/m-p/4110597#M540561</link>
      <description>Iwan,&lt;BR /&gt;&lt;BR /&gt;Actually I need to apologize.  In my scenario it was the firewall, but it was not really renaming the files.&lt;BR /&gt;&lt;BR /&gt;Check with your firewall team and ask if they are running checkpoint ngx.  If they are, have them check if smartdefense application intelligence "FTP" "FTP Bounce" is checked off.&lt;BR /&gt;&lt;BR /&gt;If it is, have them set it to monitor only.&lt;BR /&gt;&lt;BR /&gt;SmartDefense somehow corresponds 227 strictly to passive mode.&lt;BR /&gt;&lt;BR /&gt;Note- this is NOT a normal operation of firewalls.  Normally, firewalls do not do content inspection at layer 5+, they usually operate at layers 3/4.&lt;BR /&gt;&lt;BR /&gt;Again I apologize.</description>
      <pubDate>Fri, 11 Jan 2008 21:37:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-ftp-behaviour-through-firewall/m-p/4110597#M540561</guid>
      <dc:creator>LordInfidel</dc:creator>
      <dc:date>2008-01-11T21:37:47Z</dc:date>
    </item>
  </channel>
</rss>

