• need info on gmod server browser
    35 replies, posted
so what I'm asking about is due to a slight concern I now have. so when clicking on "find multiplayer game" and then going to the designated game mode my server is in, I click the name of my server and to the right it opens the player info box and the join server button at the bottom. what concerns me is seeing that under the name my server port and IP is blatantly shown. I'd like to know how to change this to where it doesn't show it anymore. I don't really care how I have to go about to do it. also I would like to know how to make it not show in the legacy browser either.
Do you mean to not show it on your client or anyone's client? On your client I don't think it is possible to hide the IP. But if you don't want the IP shown to anyone then I am sorry to say that it is impossible. Though you can let it show an IP that isn't yours by using a VPN. If you don't know what a VPN is then let me explain it in short. It is a piece of software that routes your internet connection through an other computer with a different IP. So your IP isn't shown on the internet but the IP of the VPN. These are the only solutions that I know of if I understand your question properly.
I use VPNs often but basically I'm talking about having the server browser in game look exactly the same but without showing the IP of the server anywhere. I plan to make this into an addon for workshop that prevents anybody from seeing the IP for any server. do you know what files are used for the server browse? if it isn't a setting I can simply modify the files and have the addon overwrite them but I have no clue what files it would be.
The only thing I can find related to the server browser is a dll for it. I don't know much about it but I don't think it is possible to change the layout of the server browser. And I don't think there are/can't find any mods/addons that change the server browser.
hmmm, might try decompiling the DLL then create a addon that downloads and installs it from a online storage and providing it to server owners. which DLL is it?
You can find it in the bin directory in the main directory of GarrysMod. It's called ServerBrowser.dll
ah derp I'm stupid for even asking XD well guess I shall begin my work decompiling and linking in the replacement DLL
Why would you do that? In order to connect to a server, the client will know the ip and port. Even if you hide it on the menu, there are many ways the user can see the ip and port which you can't prevent. If you don't want anyone to know your ip, then you're going to have to stop using the internet. If you don't want your IP to be a target because of the servers you're hosting on it, host them somewhere else.
it makes it alot harder as they have to actually try to get it which is better then just handing it out to them
[QUOTE=Legion of boo;52433355]it makes it alot harder as they have to actually try to get it which is better then just handing it out to them[/QUOTE] Join a server, open console and type status. I'm sure people who know how the master server list works could probably find the ip quicker. Or you could run wireshark. Security through obscurity is just a time delay. You're setting up the security of your server to rely on users not finding out a public piece of information. Get some actual security for your server- a good firewall, DDoS mitigation, password protection (if possible), safe addons, backups, remove the rcon password from cfg,...
or work towards removing both the blatant display and removing the use of status aswell, then work on a separate project for the steam server browser aswell. that leaves only wireshark and similar software which is good enough for me as for my server I have a good firewall and ddos protection aswell as a pretty robust setup. however not every server owner does. making it harder to find the server IP even if it is only a delay is still an improvement. [editline]5th July 2017[/editline] that and there is no need for it to be displayed anyways since you can click the join server button
[QUOTE=Legion of boo;52433419]or work towards removing both the blatant display and removing the use of status aswell, then work on a separate project for the steam server browser aswell. that leaves only wireshark and similar software which is good enough for me as for my server I have a good firewall and ddos protection aswell as a pretty robust setup. however not every server owner does. making it harder to find the server IP even if it is only a delay is still an improvement.[/QUOTE] It doesn't improve anything. If you make it [I]slightly[/I] more awkward for people, all they will have to do is Google "how to get gmod server ip". Someone will do it once and tell everyone else how to do it. This is assuming you manage to change the way srcds works to * change status * remove any console messages with the server's ip * remove the ip from the legacy browser (sometimes your favourites from one game will show up in another game, so all other games that use the legacy browser will need to be updated) As well as * Make the master server list somehow private but still accessible by game clients * Change the GMod GUI * Change the Steam friends list so people can't see the ip of the server you're playing * [B]Never post the ip anywhere online[/B] (GameTracker, forums, join links/buttons, server banners, etc.) I hope you realise how impossible what you're trying to do is and how it will not help. The internet is based on machines with addresses talking to other machines with other addresses. You can't hide that.
[QUOTE=BadgerCode;52433376]Join a server, open console and type status. I'm sure people who know how the master server list works could probably find the ip quicker. Or you could run wireshark. Security through obscurity is just a time delay. You're setting up the security of your server to rely on users not finding out a public piece of information. Get some actual security for your server- a good firewall, DDoS mitigation, password protection (if possible), safe addons, backups, remove the rcon password from cfg,...[/QUOTE] You do have a point. But if he wants just the skids of his back then so be it.
[QUOTE=ThaFartKnight;52433448]You do have a point. But if he wants just the skids of his back then so be it.[/QUOTE] If you're dealing with skids trying to DDoS you, get a host with some basic mitigation.
you say impossible yet have just stated every place I'd need to modify. so not really too much of an issue anymore now that you've shown what I need to modify. thank you for the information. and yes, I will be continuing with this despite how you think it isn't worth the effort. I work using the concept of "need to know basis" and users have no need to know the IP of the sever they are joining. just as they have no need to know the RCON password or to know the addon collection when fastDL downloads it for them anyways.
[QUOTE=Legion of boo;52433456]you say impossible yet have just stated every place I'd need to modify. so not really too much of an issue anymore now that you've shown what I need to modify. thank you for the information. and yes, I will be continuing with this despite how you think it isn't worth the effort. I work using the concept of "need to know basis" and users have no need to know the IP of the sever they are joining. just as they have no need to know the RCON password or to know the addon collection when fastDL downloads it for them anyways.[/QUOTE] You looked at that list and said "Yup. I can do that."? Well.. good luck!
Well I once had a host with proper DDoS mitigation but nonetheless my server got shutdown because of the DDoS taking down the whole node. So if you think that DDoS mitigation is going to to make it DDoS proof then you are hopelessly naive.
[QUOTE=ThaFartKnight;52433466]Well I once had a host with proper DDoS mitigation but nonetheless my server got shutdown because of the DDoS taking down the whole node. So if you think that DDoS mitigation is going to to make it DDoS proof then you are hopelessly naive.[/QUOTE] I didn't say it would make your server DDoS proof.
Anyone could just use a packet sniffer and find your ip address that way. What you're wanting to do would achieve nothing to this end.
this is a terrible thread you [i]can't[/i] stop ddos and thinking hiding your ip in the server list will help stop ddos shows you have no idea how any of this works
the point is making them have to hunt down the IP instead of simply looking at what is right in front of them. better they have to download a tool, search for a tutorial on how to use it and then sift through every connection on their system(maybe the entire network) in order to find the right packets to get the IP from. the less they know and see the better.
You're proposing to make all of those changes I listed just to protect against lazy and stupid hackers. When there already exists ways to protect against lazy and stupid hackers (see my previous suggestions). The short answer is noo.ooo.ooo.ooo. The long answer is nooo:oooo:oooo:oooo:oooo:oooo:oooo:oooo.
is a 5% improvement better then a 0% improvement? the answer is yes. a problem is to be fixed when it is seen, not to be ignored. there is zero reason for the IP to be blatantly shown to a client when there is a "join server" button. the better option is to simply not show the IP to them. there is little that can be done to stop a packet sniffer other then hoping the person targeting you is either too lazy and moves on or has to hunt through the sniffer tool to find your ip. so either way you slice it this addon idea of mine will none the less still improve things to a small degree. I will also later on work towards doing something similar with other valve games and steams server browser aswell but since I main gmod my priority is this one. but either way this is still an improvement over what the server browser is currently like. also if you think about it in another way this makes it harder for people like zuthar13 to create a event on some steam group by putting in the server IP and port and having 30+ minges show up to the server and ruin things for legit players. so this not only helps prevent DDoSing from script kiddies but also provides a layer of protection from minges aswell.
you'd have to make steam update their interface too to hide your precious ip addresses
You could just buy a server instead of hosting it on your own computer and stop fretting about them knocking your whole household offline lmao?
I am on a host actually. I still do not like the server IP being shown. as for progress on this I've actually managed to find exactly which files are used for the legacy browser and managed to hide the IP from showing. all that I need to do now is find a way to have garrys mod write to outside of the normal folders. basically I need to have the addon be able to write to the root of the game folder. aswell being able to write to the steam root folder aswell. once I have that working properly I can easily set this addon up fully. the only thing I am still working on is the garrys mod server browser. I will be dealing with the status command later.
[QUOTE=Legion of boo;52439613]I am on a host actually. I still do not like the server IP being shown. as for progress on this I've actually managed to find exactly which files are used for the legacy browser and managed to hide the IP from showing. all that I need to do now is find a way to have garrys mod write to outside of the normal folders. basically I need to have the addon be able to write to the root of the game folder. aswell being able to write to the steam root folder aswell. once I have that working properly I can easily set this addon up fully. the only thing I am still working on is the garrys mod server browser. I will be dealing with the status command later.[/QUOTE] Isn't the legacy browser part of the Source engine?
it is but the files themself seem to be editable so :/ [editline]6th July 2017[/editline] if you care to actually know where those files in garrys mod are located go to this path and look through the .res files inside it. there are quite a few of them and I am still going through them atm. \GarrysMod\platform\servers [editline]6th July 2017[/editline] for example if you wish to see this for yourself go to: garrysmod\platform\servers\dialoggameinfor.res scroll down to the "ServerIPLabel" and change visible to 0 and enabled to 0. save it and then start up the game. this will make the view game info no longer show an ip anymore [editline]6th July 2017[/editline] [IMG]http://imgur.com/a/qVEEl[/IMG] [editline]6th July 2017[/editline] [url]http://imgur.com/a/qVEEl[/url]
[QUOTE=Legion of boo;52439708]it is but the files themself seem to be editable so :/ [editline]6th July 2017[/editline] if you care to actually know where those files in garrys mod are located go to this path and look through the .res files inside it. there are quite a few of them and I am still going through them atm. \GarrysMod\platform\servers [editline]6th July 2017[/editline] for example if you wish to see this for yourself go to: garrysmod\platform\servers\dialoggameinfor.res scroll down to the "ServerIPLabel" and change visible to 0 and enabled to 0. save it and then start up the game. this will make the view game info no longer show an ip anymore [editline]6th July 2017[/editline] [IMG]http://imgur.com/a/qVEEl[/IMG] [editline]6th July 2017[/editline] [url]http://imgur.com/a/qVEEl[/url][/QUOTE] What are you trying to achieve with this 'project'?
redoing the server browser to hide things that the average user has no need for seeing. they only see what they need to see with this
Sorry, you need to Log In to post a reply to this thread.