FTP Proxy for distfile mirror (was Re: [84270] trunk/dports/devel/byacc/Portfile)

William Siegrist wsiegrist at apple.com
Thu Sep 22 08:12:02 PDT 2011


On Sep 22, 2011, at 8:08 AM, Joshua Root wrote:

> On 2011-9-23 00:47 , Daniel J. Luke wrote:
>> On Sep 22, 2011, at 10:32 AM, Joshua Root wrote:
>>> On 2011-9-23 00:05 , Daniel J. Luke wrote:
>>>> I can look at it when I get some spare time if no one else has done it before ;-)
>>> 
>>> It should be quite straightforward with squid. It would be pretty much
>>> just a default config plus a single entry ACL to deny access to hosts
>>> other than the mirror. (And set the storage size to zero if you don't
>>> want to cache anything.)
>> 
>> Oh cool, I didn't realize squid did ftp proxy.
>> 
>> building it now...
>> 
>> Just need to allow distfiles.macports.org / 17.254.20.244, right?
> 
> IIRC the distfiles are on a SAN, so I'm not sure if it's the same
> machine that runs port mirror. Another one for Bill. :-)
> 

You should whitelist all of 17.254.20.0/24 just in case I need to move the service to different hardware. 

-Bill



More information about the macports-dev mailing list