AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=58)
-   -   Sarabveer's SourceMod Downloads Mirror (https://forums.alliedmods.net/showthread.php?t=283694)

Sarabveer 06-08-2016 21:46

Sarabveer's SourceMod Downloads Mirror
 
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.

DarkDeviL 06-12-2016 13:14

Re: Sarabveer's SourceMod Downloads Mirror
 
Quote:

Originally Posted by Sarabveer (Post 2425965)
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. ;)

pcmaster 06-12-2016 17:06

Re: Sarabveer's SourceMod Downloads Mirror
 
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.

DarkDeviL 06-12-2016 17:23

Re: Sarabveer's SourceMod Downloads Mirror
 
Quote:

Originally Posted by pcmaster (Post 2427060)
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.

psychonic 06-12-2016 17:34

Re: Sarabveer's SourceMod Downloads Mirror
 
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.

SilverPeak 06-16-2016 08:40

Re: Sarabveer's SourceMod Downloads Mirror
 
while thirdparty mirrors are nice to have ill always will be having trust issues with them, they might slip through some backdoored files.

Powerlord 06-16-2016 17:24

Re: Sarabveer's SourceMod Downloads Mirror
 
Worst case scenario, AlliedModders could post releases on GitHub, which mirrors its releases using Amazon S3.

sheo 06-17-2016 18:22

Re: Sarabveer's SourceMod Downloads Mirror
 
Why would anyone use unofficial sources to get sourcemod?

Sarabveer 06-18-2016 21:32

Re: Sarabveer's SourceMod Downloads Mirror
 
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.

ddhoward 06-18-2016 22:38

Re: Sarabveer's SourceMod Downloads Mirror
 
Quote:

Originally Posted by Sarabveer (Post 2428707)
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.


All times are GMT -4. The time now is 08:12.

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