LanCache.NET support

0

Hi team, long time player and host of many LAN's involving FAF...

Any thoughts on supporting LanCache.NET?

...specifically for reducing ongoing bandwidth costs on FAF servers (*.content.faforever.com)

2

What exactly does "support" mean and is it necessary? This looks like a transparent caching mechanism on DNS level that you can just put in between anything and it will cache any URLS that you configure it to chache.

Except it does not support HTTPS but you could probably just modify the client yourself to use HTTP to the proxy if you need this. But at the end of the day, i don't think that LAN parties make up any significant part of the bandwidth of FAF server.

And it would definitely not be a good idea to disable HTTPS for the client by default since it downloads executable.

0

I checked this and all urls to the content server are generated server side. You can't flip over to a different server in the client.
hosts file is your friend I guess 🤷

0

You don't need to change the server URLs, this cache will intercept DNS resolution and put itself into a proxy position for all configured domains. Except it cannot do that for HTTPS request without the client noticing because it doesn't have the cert.

The only important thing is if the client uses HTTPS for content fetching.

0

I think in theory ICE is supposed to be able to discover when you’re playing on LAN and connect directly. Not sure if it actually works though because I haven’t had any luck with it. @Geosearchef would know more about that.

0

Askaholic I think this is more about getting content from the server like maps, replays, updates ect. Not as much about player connections.

0

Not sure what you really gain by intercepting requests to the content server though.

0

Oh yea if you want to cache the maps I guess. I don’t see why FAF would have to change anything in order for you to set that up on your own network

1

@askaholic said in LanCache.NET support:

I think in theory ICE is supposed to be able to discover when you’re playing on LAN and connect directly. Not sure if it actually works though because I haven’t had any luck with it. @Geosearchef would know more about that.

ICE will connect directly in a local network, yes, but this is about caching content requests to the server. I do not really see the point about that though, given the amount of data to be shipped as well as the issue with https encryption.