https://bugzilla.novell.com/show_bug.cgi?id=690887
https://bugzilla.novell.com/show_bug.cgi?id=690887#c3 --- Comment #3 from QuickJack . <[email protected]> 2011-05-02 18:36:37 UTC --- Hi Gonzalo, thanks for the quick fix. I have checked out your changes and made some new tests. Anonymous ftp access in presence of a proxy is indeed working now. I think this is a big step into the right direction. However, there is still some missing functionality when mixing ftp access and proxies. Consider the following scenario which in use in many larger companies. Internet access is generally routed through a standard http proxy server. This proxy serves as a gateway to the internet. Servers in the intranet can be accessed directly and must not be routed through the proxy server. In order to accomplish that goal there is typically a place to setup up a system wide list of ignored hosts. I have set up my Quick 'n Easy ftp server as well as a proxy server at address 192.168.1.20. In practice these servers would be placed on two different machines. The ftp server is password protected (ftp://user:[email protected]/test.txt). My Ubuntu client machine is configured to use 192.168.1.20 as a system wide http proxy for all protocols and to ignore 192.168.1.20 for proxy access. I used FireFox to verify the setup and I can successfully connect to my ftp server without using the proxy (FireFox is configured to use system wide proxy settings). If I use Mono's WebClient.OpenRead() instead, I receive a System.Exception exception. Below you will find the corresponding log files: ##################### #ftp server log file ##################### 10:23:32.937 [3380] FTP Server started on port 21. 10:23:50.390 [3024] Client connected from 192.168.1.20. 10:23:50.406 [3024] 220 Welcome to Quick 'n Easy FTP Server 10:23:50.406 [3024] USER anonymous 10:23:50.406 [3024] Client disconnected from 192.168.1.20. 10:23:50.406 [3024] 331 Password required for anonymous 10:23:50.406 [3024] PASS ****** 10:23:50.406 [3024] 530 Not logged in, user or password incorrect! ##################### #proxy log file ##################### +++GET 519+++ GET ftp://192.168.1.20/test.txt HTTP/1.1 Host: 192.168.1.20 Connection: keep-alive Accept-Language: en Cache-Control: no-cache Browser reload detected... +++CLOSE 519+++ By looking at the log files we can conclude the following: (1) Mono still tries to use the proxy and is not aware of Gnome's „Ignore Hosts“ setting (2) If the ftp access is routed through a proxy (which is theoretically possible), Mono seems to ignore the credentials and uses anonymous access which is wrong. Best regards, Martin -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
