mmd123 / squid-cache-dynamic_refresh-list

list of dynamic_refresh patterns to use with squid3, I had a hard time finding things online, so I figured I'd make a collaborative github repo for just this purpose
8 stars 4 forks source link

Steam/epic games Cache #3

Closed ageekhere closed 2 years ago

ageekhere commented 3 years ago

Maybe this can help in caching steam and epic games.

http://opensourcelan.com/blog/2016/07/01/steam-cdn

saki22 commented 3 years ago

Not trying to be rude who is this

On Mon, Apr 12, 2021, 3:36 AM ageekhere @.***> wrote:

Maybe this can help in caching steam and epic games.

http://opensourcelan.com/blog/2016/07/01/steam-cdn

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mmd123/squid-cache-dynamic_refresh-list/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB24GXC7MYE264S4YU3HVNTTIKWHZANCNFSM42YZWS2A .

ageekhere commented 3 years ago

I created the original post on improving refresh patterns in pfsense https://forum.netgate.com/topic/99613/improve-custom-refresh-pattern?_=1618217773077

Been also looking at https://lancache.net/ and wonder if that could be useful

saki22 commented 3 years ago

Oh okay

On Mon, Apr 12, 2021, 3:58 AM ageekhere @.***> wrote:

I created the original post on improving refresh patterns in pfsense

https://forum.netgate.com/topic/99613/improve-custom-refresh-pattern?_=1618217773077

Been also looking at https://lancache.net/ and wonder if that could be useful

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mmd123/squid-cache-dynamic_refresh-list/issues/3#issuecomment-817625835, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB24GXA35O54G6P4FQ3CI4LTIKY4PANCNFSM42YZWS2A .

saki22 commented 3 years ago

I hope I was not being rude

On Mon, Apr 12, 2021, 4:10 AM Jack Snell @.***> wrote:

Oh okay

On Mon, Apr 12, 2021, 3:58 AM ageekhere @.***> wrote:

I created the original post on improving refresh patterns in pfsense

https://forum.netgate.com/topic/99613/improve-custom-refresh-pattern?_=1618217773077

Been also looking at https://lancache.net/ and wonder if that could be useful

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mmd123/squid-cache-dynamic_refresh-list/issues/3#issuecomment-817625835, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB24GXA35O54G6P4FQ3CI4LTIKY4PANCNFSM42YZWS2A .

mmd123 commented 3 years ago

honestly I use both, one two punch, lancache-monolithic for steam caching, and squid for anything else I can manage to get cached. steamcache/lancache is designed specifically for use with game cdns like blizzard/battle.net origin, epic games, and steam specifically, so it just works, and has its own implementation of ssl decryption for the systems that use https for content delivery, and in my experience it just flat out works, so that's definitely the easier route for game caching.

ageekhere commented 3 years ago

I wonder if lancache can be made into a pfsense package, or would it be better running on a server?

mmd123 commented 3 years ago

honestly for me its running in a vm on vmware esxi, and can not easily be ported into pfsense given that they opted to make it a docker container image, and that was the only form I could get to work after spending far too long trying....also when you consider it has to run its own sni-proxy to decrypt/intercept the ssl requests...no, this is not something that could easily be ported into pfsense as far as I am aware, especially not given this github is to try and use with squid, given that would be two different systems that would possibly try and intercept ssl traffic, if you opt to do squid the way I am doing squid. better to try and run two separate systems IMO

ageekhere commented 3 years ago

Hey, with the fixes i did squid steam cache is now working! can anyone else confirm?

mmd123 commented 3 years ago

Hey, with the fixes I did squid steam cache is now working! can anyone else confirm?

refresh my memory real fast, are you using SSL interception or not, I had disabled my squid package for a good while now due to having other issues that were becoming far too hard to fix when using squid, so I'll test it and find out, but I need to ask due to not remembering, are you using SSL interception or just transparent mode?

I am far from the fastest at getting to things, but I try, just takes me far longer to realize I have stuff to catch up on than I'd like it to, so please forgive my late reply haha.

ageekhere commented 3 years ago

I am not using SSL interception. It looks like steam is no longer sending download data via ssl.

It is quite nice that it is working now :)

ageekhere commented 3 years ago

After testing it seems content from http://steam.cdn.on.net/ is cacheable, will add a new refresh pattern for that address.