#GitHub - RaphaelIT7/gmod-httpserver

1 messages · Page 1 of 1 (latest)

quartz mesa
#

"was bored" is just a flex term to be honest.

carmine valley
#

But it's the reason why I made it. I had nothing to do.

mint plume
#

this sounds incredibly useful, not sure what i'd use it for yet but there must be some usecases

quartz mesa
#

Alternative networking channel, we just talked about it in #next-update . We joked about using a custom HTTP server for ingame networking with HTTP() functions and then it arives like orderd. funny

mint plume
#

i feel like this would be a big target for ddoses tho

#

as @shadow summit mentioned in dms, it might be cool if it had a IP whitelist of only connected players, or an option to manually add whitelisted ips etc

mint plume
#

this could possibly be paired with gm_express, that'd be really sick

carmine valley
mint plume
#

hm

shadow summit
#

while running performance tests for gm_express, I found that HTTP requests started being better (in terms of raw speed) for payloads bigger than ~192kb.

while express is free to use as-is (cloud hosted), you can also self-host it in a docker container.
letting people self-host it using only this dll and lua addons would be pretty cool

visual canyon
#

looks nice, well done!

open geyser
#

It’s always going to be faster than connecting directly to a gmod server somewhere in the world especially without geo balancing

#

Also unlike express running any form of direct host on your server just gives people a new surface of attack. Your gmod host may be able to block game attacks etc but chances are it’s not also expecting to have to handle HTTP traffic ontop

#

This + Proxy is very good, isn’t something that should be ran alone imo

visual canyon
#

but this can still be useful for some

open geyser
#

I made a very similar web server a while back using luasockets, and then rewrote it not long ago to use websocket connections only

(Below is literally the only image I have of it on my phone)

#

That way you can have an upstream gateway/proxy to do the bulk of request validation like authentication and route checking etc

#

Since originally I was using luasockets and basic flood tests would always crash the server

#

You want the request to be terminated as soon as possible if it’s just junk, hence why a proxy is so important

#

This is still good though, I’m just stressing the importance of a middle layer

sonic flare
#

no waaaay this is so awesome

shadow summit
wise cliff
#

time for the unholy quaternity of automated chttp tests with lua-runner, gluatest, and httpserver