[squid-users] server-side FTP support

Matus UHLAR - fantomas uhlar at fantomas.sk
Fri Jul 25 12:43:06 UTC 2025


Hello,

I see that squid has FTP support for some time:

#  TAG: ftp_port
#       Enables Native FTP proxy by specifying the socket address where Squid
#       listens for FTP client requests. See http_port directive for various
#       ways to specify the listening address and mode.


But I can't see any options related to PASV and PORT session setup.

 From what I saw in sources (with my limited knowledge of C++) it seems that 
squid tries to pass 

Can I cofnigure/limit these ports somehow?

e.g. disabling PORT/EPRT and limiting PASV to ports e.g.  32736-32767

Recompiling squid is possible for me

-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
I don't have lysdexia. The Dog wouldn't allow that.


More information about the squid-users mailing list