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

This guy is stoling my fastdl, what can i do?


Post New Thread Reply   
 
Thread Tools Display Modes
checkster
BANNED
Join Date: Apr 2007
Location: Norway
Old 05-20-2016 , 07:17   Re: This guy is stoling my fastdl, what can i do?
Reply With Quote #11

http://gflclan.com/index.html ?
checkster is offline
psychonic

BAFFLED
Join Date: May 2008
Old 05-20-2016 , 07:28   Re: This guy is stoling my fastdl, what can i do?
Reply With Quote #12

Quote:
Originally Posted by asherkin View Post
It is hl2 for every other game, doubt CS:GO changed it.
They were the first ones to rename SourceTV in places. I wouldn't put it past them.
psychonic is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 05-20-2016 , 14:24   Re: This guy is stoling my fastdl, what can i do?
Reply With Quote #13

Quote:
Originally Posted by Neuro Toxin View Post
Interesting.

Would the referer be* hl2:// for csgo?
Yes, as far as my logs are displaying, that is the case. Example access.log:
Code:
xxx.xxx.xxx.xxx - - [19/May/2016:XX:XX:XX -0700] "GET /dl/csgo/maps/somemap.bsp.bz2 HTTP/1.1" 301 549 "hl2://xxx.xxx.xxx.xxx:27015" "Half-Life 2"
xxx.xxx.xxx.xxx - - [19/May/2016:XX:XX:XX -0700] "GET /dl/csgo/maps/somemap.bsp.bz2 HTTP/1.1" 301 549 "-" "Half-Life 2"
Maxximou5 is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 05-20-2016 , 15:30   Re: This guy is stoling my fastdl, what can i do?
Reply With Quote #14

I thought fastdl was clientsided, the server only defined where to download the files from..
Mitchell is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 05-20-2016 , 18:45   Re: This guy is stoling my fastdl, what can i do?
Reply With Quote #15

Looks like the client passes the refferer being the game server in the http request.

Im going to implement this as checking my http usage it jumped 1tb around 2 months ago.
__________________
Neuro Toxin is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 05-20-2016 , 20:29   Re: This guy is stoling my fastdl, what can i do?
Reply With Quote #16

I just implemented option one Zilor's post!

Code:
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^hl2://119\.252\.189\.226
RewriteCond %{HTTP_REFERER} !^hl2://119\.252\.189\.225
RewriteRule .* - [L,F]
It works perfectly!
__________________
Neuro Toxin is offline
Jargon
SourceMod Donor
Join Date: Jun 2012
Location: Sydney, Australia
Old 05-20-2016 , 21:19   Re: This guy is stoling my fastdl, what can i do?
Reply With Quote #17

I used to use this when I ran CS:GO and other Source engine games but it does have one minor drawback.

The game client for Linux (and possibly Mac but they had other FastDL issues) does not pass the "hl2://" prefix and Linux users were unable to access FastDL in-game, only externally by spoofing wget with a false referrer.

This was a year ago and may have been fixed but it's still worth mentioning.
Jargon is offline
psychonic

BAFFLED
Join Date: May 2008
Old 05-21-2016 , 08:44   Re: This guy is stoling my fastdl, what can i do?
Reply With Quote #18

Quote:
Originally Posted by Jargon View Post
I used to use this when I ran CS:GO and other Source engine games but it does have one minor drawback.

The game client for Linux (and possibly Mac but they had other FastDL issues) does not pass the "hl2://" prefix and Linux users were unable to access FastDL in-game, only externally by spoofing wget with a false referrer.

This was a year ago and may have been fixed but it's still worth mentioning.
This definitely got fixed in the TF2 branch. It wouldn't surprise me if it never did in CS:GO.
psychonic is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 05-21-2016 , 14:48   Re: This guy is stoling my fastdl, what can i do?
Reply With Quote #19

Quote:
Originally Posted by psychonic View Post
This definitely got fixed in the TF2 branch. It wouldn't surprise me if it never did in CS:GO.
Like my example shows, it does both, passes it and doesn't pass it. So... a 50% chance.

Or rather, it always gives "Half-Life 2" but doesn't always refer "hl2://xxx.xxx.xxx.xxx:27015"

Last edited by Maxximou5; 05-21-2016 at 14:51.
Maxximou5 is offline
Zilor
AlliedModders Donor
Join Date: May 2013
Location: Free and Hanseatic City
Old 05-22-2016 , 06:09   Re: This guy is stoling my fastdl, what can i do?
Reply With Quote #20

I should mention that a proxie/vpn/firewall might filter the referrer out. I suggest that you create an additional rule for clients with no referrer.
__________________
Zilor 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 06:54.


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