[Slackbuilds-users] Download links.

Erik Hanson erik at slackbuilds.org
Fri Aug 24 21:35:33 UTC 2007


On Aug 24, 2007, at  3:45 PM, Kyle Guinn wrote:

> On 8/24/07, core <eroc at linuxmail.org> wrote:
> > And finally, the last two urls works without '-T 5', so my recomendation is make use of '-T 5'. ;)
> 
> I'm sure not everyone uses wget to download tarballs from sourceforge.
>  I tend to use the download links on the website, and whenever I come
> across a "dl.sourceforge.net" seamonkey will timeout after several
> minutes.  I know to replace "dl" with "downloads" in this case to get
> a quicker download, but to someone else browsing the site, this will
> look like a dead link.

The reasoning behind this is that "dl" is a round-robin domain with a
dozen or so mirrors and "downloads" is a very slow, last resort mirror.

[16:22:38] <erik at shaggy:~> host downloads.sourceforge.net
downloads.sourceforge.net is an alias for sourceforge.net.
sourceforge.net has address 66.35.250.203
sourceforge.net mail is handled by 10 mail.sourceforge.net.
[16:22:41] <erik at shaggy:~> host dl.sourceforge.net
dl.sourceforge.net has address 210.146.64.4
dl.sourceforge.net has address 212.219.56.167
dl.sourceforge.net has address 213.186.33.91
dl.sourceforge.net has address 213.203.218.122
dl.sourceforge.net has address 64.74.207.41
dl.sourceforge.net has address 66.35.250.221
dl.sourceforge.net has address 69.9.164.2
dl.sourceforge.net has address 128.101.240.209
dl.sourceforge.net has address 150.65.7.130
dl.sourceforge.net has address 193.1.219.87
dl.sourceforge.net has address 193.190.198.97
dl.sourceforge.net has address 195.141.111.5
dl.sourceforge.net has address 198.142.1.17
dl.sourceforge.net has IPv6 address 2001:770:18:2::1:2

Ideally, your DNS server should pick one at random (I think) but it's
always picking the first IP which is a dead connection for you or your
ISP. Hence giving a low time-out value to wget (-T 1, or 1 second)
causes it to basically skip that first mirror.

In my experience, if I use my ISP's DNS servers I have the same problem,
but when I use 127.0.0.1, the pre-configured BIND included with Slackware
(/etc/rc.d/rc.bind start) the problem goes away, a random mirror is
chosen every time.

Also, I believe there are some policies in place against using "downloads"
for direct linking, but it's been a few years since I've had to use SF
for hosting so I'm not sure what they might want people doing these days.

Erik Hanson
-- 
http://slackbuilds.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20070824/0380bcd5/attachment-0002.bin 


More information about the Slackbuilds-users mailing list