Re: Problem about Window Xp SP2 firewall and the buildin FTP command
- From: v-tomche@xxxxxxxxxxxxxxxxxxxx (Tom Che [MSFT])
- Date: Tue, 07 Jun 2005 13:06:48 GMT
Hi,
Thanks for your update.
I have performed a lot of tests, but still have not expected result.
Please see my tests as below:
Note:
================
(1). I copy your example ftp command file to a.txt saved in C:\dell folder.
(2). I cannot turn off Windows Firewall, since it is controlled by Domain
Policy in my computer. Therefore, all the tests as below were finished
with enabled Windows Firewall.
(3). I cannot add attachment zip file contains 5 JPG files which are
screenshots in the newsgroup, so please let me know your E-mail and I will
send it to you directly.
Tests:
================
1. I do followed your instruction, and I opened 6 command windows all
including the same command "ftp -s:a.txt" under C:\dell. Please see 1.JPG.
2. I pressed ENTER on each window as fast as I could (I believed it was
finished in 2 seconds), then I got the results as 2.JPG. From the
screenshot, you can see that only 2 windows complete this command
successfully, but other 4 windows get different errors including
"Permission denied" and "Not connected". I have repeated step 1 & 2 about
a dozen of times, and I got the exactly same results - 2 successes, 3
"Permission denied" and 1 "Not connected".
3. I thought there is a better way to run the command at the same time -
using Scheduled Tasks to run 6 same tasks at one time. I edited a batch
file named a.bat containing "ftp -s:c:\dell\a.txt". I added a Scheduled
Task to run "a.bat > ao.txt" as 3.JPG.
4. I copied a.job to other 5 Task files including b.job, c.job and so on.
I also changed the output file to bo.txt, co.txt and so on. Please see
4.JPG.
5. At the scheduled time, these Scheduled Tasks were opened and run
themselves as expected. After a while, all windows were closed
automatically (I also noticed the error "Permission denied" appearing in
some windows before close). And then I checked the output files - you can
see the result from 5.JPG - ONLY 2 commands were successful again! Other 4
output files don't contain error information, but obviously they were
failed.
================
>From above results, I believe this FTP Server (ftp2.de.nero.com) may allow
only 2 sessions from the same IP address simultaneously. Therefore, I
don't think this issue is related to Windows Firewall, but may be caused by
different network environment or FTP Server. I recommend that you do the
following tests for further troubleshooting:
1. Perform the multiple FTP commands test on a different network
environment with enabled and disabled Windows Firewall.
2. Create a FTP Server by yourself, and make its setting to allow multiple
sessions from one user at the same time. Then try this issue using your
own FTP Server.
BTW: I cannot find anything useful in my pfirewall.log file, either.
Hope this helps!
Have a nice day!
Sincerely,
Tom Che
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
=====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: "a ms user" <1@xxxxx>
>References: <e#EUYCSaFHA.796@xxxxxxxxxxxxxxxxxxxx>
<55afd3663f84728f1e16e7b279ce9a09@xxxxxxxxxxxx>
<Zm9lJnnaFHA.3336@xxxxxxxxxxxxxxxxxxxxx>
<eT2IcLraFHA.3272@xxxxxxxxxxxxxxxxxxxx>
>Subject: Re: Problem about Window Xp SP2 firewall and the buildin FTP
command
>Date: Tue, 7 Jun 2005 00:27:22 +0800
>Lines: 167
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478
>Message-ID: <uzfXdSraFHA.2124@xxxxxxxxxxxxxxxxxxxx>
>Newsgroups: microsoft.public.windowsxp.general
>NNTP-Posting-Host: 221.124.167.215
>Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP14.phx.gbl
>Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.windowsxp.general:402810
>X-Tomcat-NG: microsoft.public.windowsxp.general
>
>sorry make a mistake about the interpretation of message PORT
>192,168,11,1,1,252
>actually i don't know if the port stand for 1252 or 508 --> 1 1111 1100
>(binary) or 64513 --> 1111 1100 0000 0011
>but no matter which intrepretation, do not exist in the firewall log (i
>setup to log successful connection)
>thanks
>"a ms user" <1@xxxxx> ¦b¶l¥ó news:eT2IcLraFHA.3272@xxxxxxxxxxxxxxxxxxxx
¤¤¼¶
>¼g...
>> Dear Tom,
>> Thanks for your reply.
>> ***IN order to reproduce the error, you should press the ENTER key
>very
>> FAST!!! ***
>> I'm now at home without XP SP2, so can't modify the tcpnumconnections
>or
>> try netsh....
>> i will try them tomorrow at office.
>>
>> Some ans. for your points:
>> 1. Up to now, i try many times, this situation only occur when
>firewall
>> is on.
>> 2. I think this issue should happen on other computers, as i can
>> reproduce this error on 3 other XP SP2 workstations.
>> (2 desktops, 1 notebook)
>> 3. Haven't try third party FTP software. But ever try using window's
>> file explorer to down many files at the same time, no
>> problem occur!!!!
>>
>> Today, in office, i run the ftp command in debug mode (issue command
>> debug), after issue a get command,
>> i compare the message PORT IP_address,port(e.g. PORT 192,168,11,1,1,252)
>and
>> the pfirewall.log (locate at
>> c:\windows) that no connection to such port (1252?) is established,
>instead
>> many ports larger 5000, are used for
>> data transfer.....do the firewall do some port-forwarding activities?
>>
>> BTW, today, i write a simple ftp program (using function
>FTPgetfileA,in
>> wininet.dll, to get files), the problem
>> occur too..
>>
>> Don't know if this problem cause by firewall or limit of tcp
>connection
>> ..
>> PS: i check the event log that no event of event id 4226 (generated
>when
>> exceed 10 simantenous
>> outgoing connection).
>>
>> Tom, please follow the steps mentioned again to reproduce the error.
>> THANK YOU FOR YOUR KIND ATTENTION AND HELP.
>>
>> below is a sample of the ftp command files:
>> --------------------------------------------------------
>> open ftp2.de.nero.com
>> anonymous
>> 1@xxxxx
>> get iomega.zip
>> get gear.zip
>> get iomega.zip
>> get gear.zip
>> get iomega.zip
>> get gear.zip
>> get iomega.zip
>> get gear.zip
>> quit
>> --------------------------------------------------------
>>
>>
>>
>>
>>
>>
>>
>>
>> "Tom Che [MSFT]" <v-tomche@xxxxxxxxxxxxxxxxxxxx> ¦b¶l¥ó
>> news:Zm9lJnnaFHA.3336@xxxxxxxxxxxxxxxxxxxxx ¤¤¼¶¼g...
>> > Hi,
>> >
>> > Thanks for posting here. Also thanks for Carey and Detlev's kindly
>reply.
>> >
>> > From your post, my understanding of this issue is: If you keep Windows
>> > Firewall enabled and run multiple FTP command at the same time, the FTP
>> > will get hang. If this is not correct, please feel free to let me
know.
>> >
>> > Based on your description, I cannot reproduce this issue on my
computer.
>> > However, you may refer to our MVP's suggestion - modify the Registry
>> > (TcpNumConnections) or run "netsh winsock reset" to repair Winsock and
>> > TCP/IP, and then test this issue. If this issue persists, please let
me
>> > know the following information if you need any further assistance:
>> >
>> > 1. Are you sure this issue will disappear if you turn off the Windows
>> > Firewall?
>> >
>> > 2. Does this issue occur on other computers?
>> >
>> > 3. Have you tried to use third-party FTP application to do a same test?
>> >
>> > Have a nice day!
>> >
>> > Sincerely,
>> >
>> > Tom Che
>> >
>> > Microsoft Online Partner Support
>> > Get Secure! - www.microsoft.com/security
>> > =====================================================
>> > When responding to posts, please "Reply to Group" via your newsreader
so
>> > that others may learn and benefit from your issue.
>> > =====================================================
>> > This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>> >
>> > --------------------
>> > >Message-ID: <55afd3663f84728f1e16e7b279ce9a09@xxxxxxxxxxxx>
>> > >Date: Sat, 04 Jun 2005 16:50:00 GMT
>> > >From: "Detlev Dreyer" <detdreyer@xxxxxxxxxxxxx>
>> > >Organization: Not responsible
>> > >Subject: Re: Problem about Window Xp SP2 firewall and the buildin FTP
>> > command
>> > >References: <e#EUYCSaFHA.796@xxxxxxxxxxxxxxxxxxxx>
>> > >X-Comment: MS-MVP Germany
>> > >X-Importance: Normal
>> > >X-Priority: 3
>> > >Content-Type: text/plain; charset=ISO-8859-1
>> > >Content-Transfer-Encoding: 8bit
>> > >Lines: 17
>> > >Newsgroups: microsoft.public.windowsxp.general
>> > >NNTP-Posting-Host: ACB1D506.ipt.aol.com 172.177.213.6
>> > >Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP15.phx.gbl
>> > >Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.windowsxp.general:401625
>> > >X-Tomcat-NG: microsoft.public.windowsxp.general
>> > >
>> > >"msnews.microsoft.com" wrote:
>> > >
>> > >> Is it that the buildin firewall can't handle too many connection at
>the
>> > >> same time?
>> > >
>> > >Not really.
>> >
>>
>>http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/sp2netwk.ms
p
>> > x#EIAA
>> > >
>> > >> I check the event log, no strange or useful event generated.
>> > >
>> > >| Limited number of simultaneous incomplete outbound TCP connection
>> > >| attempts
>> > >| ...
>> > >| When it does occur, a new event, with ID 4226, appears in the
>system's
>> > >| event log.
>> > >
>> > >--
>> > >d-d
>> > >
>> >
>>
>>
>
>
>
.
- Follow-Ups:
- References:
- Re: Problem about Window Xp SP2 firewall and the buildin FTP command
- From: Detlev Dreyer
- Re: Problem about Window Xp SP2 firewall and the buildin FTP command
- From: Tom Che [MSFT]
- Re: Problem about Window Xp SP2 firewall and the buildin FTP command
- Prev by Date: Re: Internet Time Synch
- Next by Date: Re: SBC-Yahoo router causing problems
- Previous by thread: Re: Problem about Window Xp SP2 firewall and the buildin FTP command
- Next by thread: Re: Problem about Window Xp SP2 firewall and the buildin FTP command
- Index(es):
Relevant Pages
|