Symptoms
Consider the following scenario:
-
You run FTP Service 7.5 in Internet Information Services 7.5 (IIS 7.5) on a computer that is running Windows 7 or Windows Server 2008 R2.
-
You create a FTP site.
-
You create a custom logging module that uses the IFtpLogProvider.Log method to record FTP activities for the FTP service. The IFtpLogProvider.Log method uses the RemoteIPAddress and LocalIPAddress members of an FtpLogEntry class instance to obtain IP address information.
-
You use a remote client to connect to the FTP site.
In this scenario, the custom logging module logs the value of the RemoteIPAddress and LocalIPAddress members incorrectly. Additionally, the following are the incorrect values that are logged:
-
The recorded value for the RemoteIPAddress member incorrectly contains the IP address of the computer that runs the FTP service.
-
The recorded value for the LocalIPAddress member incorrectly contains a null value.
Note The correct value for the RemoteIPAddress member contains the IP address of the remote client. The correct value for the LocalIPAddress member contains the local IP address that the client used.
Resolution
Hotfix information
A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.
If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.
Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website:
http://support.microsoft.com/contactus/?ws=supportNote The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.
Prerequisites
To apply this hotfix, you must have FTP 7.5 installed on a computer that is running one of the following operating systems:
-
Windows 7
-
Windows 7 Service Pack 1 (SP1)
-
Windows Server 2008 R2
-
Windows Server 2008 R2 Service Pack 1 (SP1)
Restart requirement
You may have to restart the computer if the FTP service is running when you apply this hotfix. To avoid a restart, stop the FTP service before you apply this hotfix.
Hotfix replacement information
This hotfix does not replace a previously released hotfix.
File Information
The global version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
For all supported x86-based versions of Windows 7 and of Windows 7 SP1
File name |
File version |
File size |
Date |
Time |
Platform |
---|---|---|---|---|---|
Ftpsvc.dll |
7.5.7601.21740 |
310,272 |
08-Jun-2011 |
06:05 |
x86 |
For all supported x64-based versions of Windows 7, of Windows 7 SP1, of Windows Server 2008 R2, and of Windows Server 2008 R2 SP1
File name |
File version |
File size |
Date |
Time |
Platform |
---|---|---|---|---|---|
Ftpsvc.dll |
7.5.7601.21740 |
350,720 |
08-Jun-2011 |
05:44 |
x64 |
For all supported IA-64–based versions of Windows Server 2008 R2 and of Windows Server 2008 R2 SP1
File name |
File version |
File size |
Date |
Time |
Platform |
---|---|---|---|---|---|
Ftpsvc.dll |
7.5.7601.21740 |
785,408 |
08-Jun-2011 |
04:09 |
IA-64 |
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
More Information
For more information about the FtpLogEntry class, visit the following MSDN website:
General information about the FtpLogEntry class
For more information about the LOGGING_PARAMETERS structure, visit the following MSDN website:
General information about the LOGGING_PARAMETERS structure
For more information about how to create an FTP authentication provider that uses dynamic IP restrictions, visit the following Microsoft website:
How to create an FTP authentication provider that uses dynamic IP restrictions
Additional file information
Additional file information for Windows 7 and for Windows Server 2008 R2
Additional files for all supported x86-based versions of Windows 7
File name |
Update.mum |
File version |
Not Applicable |
File size |
2,282 |
Date (UTC) |
08-Jun-2011 |
Time (UTC) |
08:45 |
Platform |
Not Applicable |
File name |
X86_345464f5622a28595428d72972d529d4_31bf3856ad364e35_6.1.7600.20979_none_421179e24997b778.manifest |
File version |
Not Applicable |
File size |
698 |
Date (UTC) |
08-Jun-2011 |
Time (UTC) |
08:45 |
Platform |
Not Applicable |
File name |
X86_849558246aae1367d1c2313692e4e387_31bf3856ad364e35_6.1.7601.21740_none_1b580f9c0c6d3039.manifest |
File version |
Not Applicable |
File size |
698 |
Date (UTC) |
08-Jun-2011 |
Time (UTC) |
08:45 |
Platform |
Not Applicable |
File name |
X86_microsoft-windows-iis-ftpsvc_31bf3856ad364e35_6.1.7600.20979_none_4ad9e4131006537b.manifest |
File version |
Not Applicable |
File size |
31,009 |
Date (UTC) |
08-Jun-2011 |
Time (UTC) |
08:52 |
Platform |
Not Applicable |
File name |
X86_microsoft-windows-iis-ftpsvc_31bf3856ad364e35_6.1.7601.21740_none_4cd7ae430d1c8785.manifest |
File version |
Not Applicable |
File size |
31,009 |
Date (UTC) |
08-Jun-2011 |
Time (UTC) |
08:52 |
Platform |
Not Applicable |
Additional files for all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
File name |
Amd64_6997f43593de26ee14b626734b13ce85_31bf3856ad364e35_6.1.7600.20979_none_fd20931f2b450b8a.manifest |
File version |
Not Applicable |
File size |
1,046 |
Date (UTC) |
08-Jun-2011 |
Time (UTC) |
08:45 |
Platform |
Not Applicable |
File name |
Amd64_7b3b25890eb76b9e3428042ad648e679_31bf3856ad364e35_6.1.7601.21740_none_534c942c33aa71c5.manifest |
File version |
Not Applicable |
File size |
1,046 |
Date (UTC) |
08-Jun-2011 |
Time (UTC) |
08:45 |
Platform |
Not Applicable |
File name |
Amd64_microsoft-windows-iis-ftpsvc_31bf3856ad364e35_6.1.7600.20979_none_a6f87f96c863c4b1.manifest |
File version |
Not Applicable |
File size |
31,015 |
Date (UTC) |
08-Jun-2011 |
Time (UTC) |
08:58 |
Platform |
Not Applicable |
File name |
Amd64_microsoft-windows-iis-ftpsvc_31bf3856ad364e35_6.1.7601.21740_none_a8f649c6c579f8bb.manifest |
File version |
Not Applicable |
File size |
31,015 |
Date (UTC) |
08-Jun-2011 |
Time (UTC) |
08:58 |
Platform |
Not Applicable |
File name |
Update.mum |
File version |
Not Applicable |
File size |
2,714 |
Date (UTC) |
08-Jun-2011 |
Time (UTC) |
08:45 |
Platform |
Not Applicable |
File name |
Wow64_microsoft-windows-iis-ftpsvc_31bf3856ad364e35_6.1.7600.20979_none_b14d29e8fcc486ac.manifest |
File version |
Not Applicable |
File size |
11,616 |
Date (UTC) |
08-Jun-2011 |
Time (UTC) |
04:56 |
Platform |
Not Applicable |
File name |
Wow64_microsoft-windows-iis-ftpsvc_31bf3856ad364e35_6.1.7601.21740_none_b34af418f9dabab6.manifest |
File version |
Not Applicable |
File size |
11,616 |
Date (UTC) |
08-Jun-2011 |
Time (UTC) |
06:25 |
Platform |
Not Applicable |
Additional files for all supported IA-64–based versions of Windows Server 2008 R2
File name |
Ia64_afc20153a6efd99e69549a39c389b4ea_31bf3856ad364e35_6.1.7601.21740_none_f5b3d14a60858911.manifest |
File version |
Not Applicable |
File size |
1,044 |
Date (UTC) |
08-Jun-2011 |
Time (UTC) |
08:45 |
Platform |
Not Applicable |
File name |
Ia64_bd1243606d5122f34777b5d396705fff_31bf3856ad364e35_6.1.7600.20979_none_fc458ca230232f93.manifest |
File version |
Not Applicable |
File size |
1,044 |
Date (UTC) |
08-Jun-2011 |
Time (UTC) |
08:45 |
Platform |
Not Applicable |
File name |
Ia64_microsoft-windows-iis-ftpsvc_31bf3856ad364e35_6.1.7600.20979_none_4adb880910045c77.manifest |
File version |
Not Applicable |
File size |
31,012 |
Date (UTC) |
08-Jun-2011 |
Time (UTC) |
08:46 |
Platform |
Not Applicable |
File name |
Ia64_microsoft-windows-iis-ftpsvc_31bf3856ad364e35_6.1.7601.21740_none_4cd952390d1a9081.manifest |
File version |
Not Applicable |
File size |
31,012 |
Date (UTC) |
08-Jun-2011 |
Time (UTC) |
08:46 |
Platform |
Not Applicable |
File name |
Update.mum |
File version |
Not Applicable |
File size |
1,943 |
Date (UTC) |
08-Jun-2011 |
Time (UTC) |
08:45 |
Platform |
Not Applicable |
File name |
Wow64_microsoft-windows-iis-ftpsvc_31bf3856ad364e35_6.1.7600.20979_none_b14d29e8fcc486ac.manifest |
File version |
Not Applicable |
File size |
11,616 |
Date (UTC) |
08-Jun-2011 |
Time (UTC) |
04:56 |
Platform |
Not Applicable |
File name |
Wow64_microsoft-windows-iis-ftpsvc_31bf3856ad364e35_6.1.7601.21740_none_b34af418f9dabab6.manifest |
File version |
Not Applicable |
File size |
11,616 |
Date (UTC) |
08-Jun-2011 |
Time (UTC) |
06:25 |
Platform |
Not Applicable |