[squid-users] Squid 3.5.21: ftp_port intercept doesn't work

Alex Rousskov rousskov at measurement-factory.com
Mon Oct 3 17:38:25 UTC 2016


On 10/03/2016 06:36 AM, oleg gv wrote:

> I've setup in Squid 3.5.21 on my gateway : ftp_port 10.0.0.1:2121
> <http://10.0.0.1:2121> intercept and create nat rule to redirect from
> port 21 to 2121 for client source address (for example 10.0.0.10)
> 
> Then trying to go through browser to ftp://ftp.intel.com from client
> 10.0.0.10
> 
> And in browser got Password prompt window: i set user anonymous and
> password a at a
> 
> Then got error message 501 Missing Host.

IIRC, your FTP password is supposed to contain the origin server host
name. There should be to "@" characters in the password. This is how
native FTP proxying works...

It might be easier to get it working with an FTP client (that supports
FTP proxies) rather than a general purpose browser.


HTH,

Alex.



More information about the squid-users mailing list