[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squid-users
Subject:    Re: [squid-users] FTP proxy
From:       Alex Rousskov <rousskov () measurement-factory ! com>
Date:       2020-12-08 13:48:39
Message-ID: 8ab07d81-82a0-c307-ee81-ed3676c4a85f () measurement-factory ! com
[Download RAW message or body]

On 12/8/20 2:50 AM, Andrea Venturoli wrote:
> On 12/7/20 4:08 PM, Alex Rousskov wrote:
>> When handling a PASV command, Squid creates a listening socket bound to
>> an ephemeral TCP port selected by the operating system. Ephemeral port
>> ranges are usually handled by your OS ephemeral ports setting (e.g.,
>> sysctl net.ipv4.ip_local_port_range).

> For the record, since I'm not using Linux, but FreeBSD, I guess that
> would be net.inet.ip.portrange.first/net.inet.ip.portrange.last (or,
> possibly, net.inet.ip.portrange.hifirst/net.inet.ip.portrange.hilast,
> I'd have to check the source).

> However those are system wide settings; I guess there is no equivalent
> of frox.conf's "PassivePorts" settings, then.

Correct. Squid just bind(2)s the listening socket to port zero.

Alex.
_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic