Raised This Month: $51 Target: $400
 12% 

Sarabveer's SourceMod Downloads Mirror


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sarabveer
Veteran Member
Join Date: Feb 2014
Old 06-08-2016 , 21:46   Sarabveer's SourceMod Downloads Mirror
Reply With Quote #1

I have just launched a mirror to download SourceMod builds to help AlliedModders save on Bandwidth Costs.

https://sarabveer.me/am-mirror/

The Mirror will update 12:00AM Daily EST/EDT with the latest build at the time.

Currently, SourceMod 1.7, 1.8, and 1.9 are mirrored.

I also have a link which redirects to the latest build you also need that for something.
__________________

Last edited by Sarabveer; 06-08-2016 at 22:11.
Sarabveer is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 06-12-2016 , 13:14   Re: Sarabveer's SourceMod Downloads Mirror
Reply With Quote #2

Quote:
Originally Posted by Sarabveer View Post
I have just launched a mirror to download SourceMod builds to help AlliedModders save on Bandwidth Costs.
If the need was there for AlliedModders to save on bandwidth costs, AlliedModders could easily cache their files with CloudFlare that AlliedModders run over. ;)
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
pcmaster
AlliedModders Donor
Join Date: Sep 2009
Old 06-12-2016 , 17:06   Re: Sarabveer's SourceMod Downloads Mirror
Reply With Quote #3

Problem is, CF doesn't cache anything except normal website stuff (html/css/js/images), unless you are paying for the business plan.
Had to find that out with my fastDL, still getting 5TB traffic each month despite running CF.
__________________
Stopped hosting servers as of November 2018, no longer active around here.
pcmaster is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 06-12-2016 , 17:23   Re: Sarabveer's SourceMod Downloads Mirror
Reply With Quote #4

Quote:
Originally Posted by pcmaster View Post
Problem is, CF doesn't cache anything except normal website stuff (html/css/js/images), unless you are paying for the business plan.
Had to find that out with my fastDL, still getting 5TB traffic each month despite running CF.
CloudFlare will cache everything if you have configured everything properly, even with the Free edition.
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
psychonic

BAFFLED
Join Date: May 2008
Old 06-12-2016 , 17:34   Re: Sarabveer's SourceMod Downloads Mirror
Reply With Quote #5

Part of the reason why we did away with the mirrors we had is because self-hosting is not a concern with our current setup.
psychonic is offline
SilverPeak
Junior Member
Join Date: May 2016
Old 06-16-2016 , 08:40   Re: Sarabveer's SourceMod Downloads Mirror
Reply With Quote #6

while thirdparty mirrors are nice to have ill always will be having trust issues with them, they might slip through some backdoored files.
SilverPeak is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 06-16-2016 , 17:24   Re: Sarabveer's SourceMod Downloads Mirror
Reply With Quote #7

Worst case scenario, AlliedModders could post releases on GitHub, which mirrors its releases using Amazon S3.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
sheo
SourceMod Donor
Join Date: Jul 2013
Location: Russia, Moscow
Old 06-17-2016 , 18:22   Re: Sarabveer's SourceMod Downloads Mirror
Reply With Quote #8

Why would anyone use unofficial sources to get sourcemod?
__________________
sheo is offline
Sarabveer
Veteran Member
Join Date: Feb 2014
Old 06-18-2016 , 21:32   Re: Sarabveer's SourceMod Downloads Mirror
Reply With Quote #9

All I have is a Cron Job that runs the script below, Twice a Day, 12AM & 12PM.

PHP Code:
#!/bin/bash
SM19LINUX=$(curl --L http://www.sourcemod.net/smdrop/1.9/sourcemod-latest-linux)
SM18LINUX=$(curl --L http://www.sourcemod.net/smdrop/1.8/sourcemod-latest-linux)
SM17LINUX=$(curl --L http://www.sourcemod.net/smdrop/1.7/sourcemod-latest-linux)
SM19WIN=$(curl --L http://www.sourcemod.net/smdrop/1.9/sourcemod-latest-windows)
SM18WIN=$(curl --L http://www.sourcemod.net/smdrop/1.8/sourcemod-latest-windows)
SM17WIN=$(curl --L http://www.sourcemod.net/smdrop/1.7/sourcemod-latest-windows)
wget ---/mnt/alliedmodders/am-mirror/sourcemod/1.9/linux http://www.sourcemod.net/smdrop/1.9/$SM19LINUX
wget ---/mnt/alliedmodders/am-mirror/sourcemod/1.9/windows http://www.sourcemod.net/smdrop/1.9/$SM19WIN
wget ---/mnt/alliedmodders/am-mirror/sourcemod/1.8/linux http://www.sourcemod.net/smdrop/1.8/$SM18LINUX
wget ---/mnt/alliedmodders/am-mirror/sourcemod/1.8/windows http://www.sourcemod.net/smdrop/1.8/$SM18WIN
wget ---/mnt/alliedmodders/am-mirror/sourcemod/1.7/linux http://www.sourcemod.net/smdrop/1.7/$SM17LINUX
wget ---/mnt/alliedmodders/am-mirror/sourcemod/1.7/windows http://www.sourcemod.net/smdrop/1.7/$SM17WIN 
latest.php
PHP Code:
<?php
$files 
glob("*.zip"); //tar.gz for linux
$files array_combine($filesarray_map("filemtime"$files));
arsort($files);
$latest_file key($files);
header("Location: https://sarabveer.me/am-mirror/sourcemod/1.9/windows/$latest_file"true302);
?>
Also really about security and tampering, is it that hard to to compare the MD5, SHA-1, or even SHA-256 hashes of the two zips to see if they have been tampered with.
__________________

Last edited by Sarabveer; 06-18-2016 at 21:51.
Sarabveer is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 06-18-2016 , 22:38   Re: Sarabveer's SourceMod Downloads Mirror
Reply With Quote #10

Quote:
Originally Posted by Sarabveer View Post
Also really about security and tampering, is it that hard to to compare the MD5, SHA-1, or even SHA-256 hashes of the two zips to see if they have been tampered with.
Comparing them would require downloading both, which defeats the purpose.
__________________
ddhoward is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:11.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode