Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 319155 - download.php may only return ftp|http://ftp.osuosl.org when accessed from 140.211.166.119
Summary: download.php may only return ftp|http://ftp.osuosl.org when accessed from 140...
Status: RESOLVED WONTFIX
Alias: None
Product: Community
Classification: Eclipse Foundation
Component: Servers (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Eclipse Webmaster CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-07 12:04 EDT by Markus Kuppe CLA
Modified: 2013-10-24 10:36 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Kuppe CLA 2010-07-07 12:04:21 EDT
Hi,

ECF build runs on a machine hosted by OSU OSL. Since the build uses p2 to install a SDK as part of the tests and OSU has a full eclipse mirror, it would save bandwidth as well as time if download.php only returns the OSU mirror if accessed from 140.211.166.119 (or maybe even 140.211.166.0/24).

Thanks
Markus
Comment 1 Markus Kuppe CLA 2010-07-14 10:47:17 EDT
Some builds timeout occasionally due to the excessive time it takes to install from (remote) mirrors. Any chance this can be addressed?
Comment 2 Denis Roy CLA 2010-07-19 10:25:17 EDT
download.php isn't designed to return a single mirror, but I've set a hostmask for the mirror's record to ensure it is always returned first for .osuosl.org hosts.
Comment 3 Markus Kuppe CLA 2010-07-19 10:55:08 EDT
Thanks, unfortunately this is only half of a solution. p2 selects mirrors on a RR basis from the list of mirrors. But maybe that is something that can be changed in p2.
Comment 4 Denis Roy CLA 2010-07-19 10:59:59 EDT
If you're keen on saving bandwidth, setting up a simple caching server/proxy server such as varnish or squid may help.  You can even create rewrite rules to redirect traffic based on the URL.

See http://varnish-cache.org/
Comment 5 Markus Kuppe CLA 2010-10-13 01:01:21 EDT
For reference as noted on bug #324983#c19 a mirror request for 140.211.166.119 has been filed.
Comment 6 Denis Roy CLA 2013-10-24 10:36:48 EDT
We won't hardcode IP addresses into download.php (unless they're our own).