[squid-users] setup FTP proxy and FTP content monitoring (Antony Stone)

Antony Stone Antony.Stone at squid.open.source.it
Thu Apr 23 09:56:43 UTC 2020


On Wednesday 22 April 2020 at 15:48:57, Dawood Aijaz wrote:

> "a*ll I want from squid proxy is to intercept FTP and expose all the FTP
> data "*

I think you're looking at the wrong tool for a job like this.

When you say "intercept" it sounds like you want something which will act in 
between an FTP client and an FTP server, without either of them being 
configured to use it or knowing that it is there.

Squid is not such a thing.  It *can* be made work in intercept mode for HTTP, 
but not (as far as I know) for FTP.

When you say "expose all the FTP data", the simplest approach to this might be 
a packet capture application on your router (such as tshark), getting data 
from ports 20 and 21 (although active FTP mode would make this considerably 
more challenging).

Maybe you want to look at a tool such as frox.  It's an old project, but then 
FTP is an old protocol (and frankly I'm surprised that anyone wants to use 
something so insecure these days).


Best wishes,


Antony.

-- 
I bought a book on memory techniques, but I've forgotten where I put it.

                                                   Please reply to the list;
                                                         please *don't* CC me.


More information about the squid-users mailing list