![]() |
|
Hard Drive based banning system? - Printable Version +- Mirage Source (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: Source Code Development (https://mirage-engine.uk/forums/forumdisplay.php?fid=51) +----- Forum: Mirage Source 4 (Visual Basic 6) (https://mirage-engine.uk/forums/forumdisplay.php?fid=44) +------ Forum: Bugs Reports (https://mirage-engine.uk/forums/forumdisplay.php?fid=9) +------ Thread: Hard Drive based banning system? (/showthread.php?tid=2750) Pages:
1
2
|
Hard Drive based banning system? - Nemesis - 16-04-2009 I'm looking for a hard drive serial banning system. I know there's one on the old mirage forum backup but I've never been able to get it to work and eh... to be blunt, I'm a bit lost as to how to go about doing it. If someone can throw together a tutorial on a good banning system I'd greatly appreciate it. Thanks in advance. Re: Hard Drive based banning system? - Acruno - 16-04-2009 Have a go at doing it, post errors when you get them. I think that needs to be displayed in massive letters at the top of the forum.. Re: Hard Drive based banning system? - Coke - 16-04-2009 Client side - event procedure used to get HD id upon client start-up Client side - packet to send HD id upon connection to the server Client side - packet handler to deal with HD id accepted / rejected Server side - packet handler to associate HD id with playerindex Server side - addition to connection accepted event procedure calling a HD id check Server side - event procedure to read banned HD ids to file Server side - event procedure to write banned HD ids to file Server side - event procedure to write HD id to banned HD id list and kick and ban the player account from the server Break a problem down, individually those are easy - google is your friend. Put some methods together, give it a go, research. Also, if you are unsure what a Method / Event Procedure / Packet Handler is I would suggest googling them, it'll take you all of five seconds
Re: Hard Drive based banning system? - Nemesis - 16-04-2009 The problem I have and the problem I've been having is getting the server to receive the HD serial info. I can't figure out why *scratches head*. x_X Re: Hard Drive based banning system? - Coke - 16-04-2009 What code do you currently have? Re: Hard Drive based banning system? - Anthony - 16-04-2009 Something people sometimes miss is making sure you have added the packet name to the enumeration. As well as adding it to the handling area (not sure of official name) in the HandleData sub. Re: Hard Drive based banning system? - Nemesis - 19-04-2009 Sorry for the delay in my response. I've been rather busy with real life issues (moving to another state, etc). The code I'm using for obtaining HD serial information is... Code: Public Function GetHDSerial(Optional ByVal DriveLetter As String) As LongThat's the client side function I'm using to obtain the HD serial info. I'm also having it call that function when the player sends the login request (clicks login). Then I'm having it fire that information to the server like so in the Sub SendLogin Code: Sub SendLogin(ByVal Name As String, ByVal Password As String)That's similar, if not exactly how the banning system in the old forums was. I was thinking it'd be best to have the client send the hd serial information in its own separate packet but I'm unsure how to write it (I'm not the MOST proficient in Visual Basic just yet). I've taken several shots at it but I'm kinda like "blegh" confused. Anyways... I have the server side stuff defined as it should be, I just don't know what I should put so the server can translate the "hdserial" packet. (Sorry if this was a lot of rambling... I haven't had much sleep lately >_>). Re: Hard Drive based banning system? - Nemesis - 24-04-2009 So my array server side is as follows... Code: Type BanRecI'm getting RTE 9 in the following lines (bolded is what's highlighted and bold italic is what's out of range) Code: Function IsBanned(ByVal IP As String) As BooleanCode: Function IsBannedHD(ByVal HD As String) As BooleanAaaannnny clues? Re: Hard Drive based banning system? - GIAKEN - 24-04-2009 Public Ban(1 To ?) As BanRec ?? Re: Hard Drive based banning system? - Nemesis - 24-04-2009 Ahhh good catch but naw... still RTE 9 *scratches head* ::EDIT:: Ooookay... so I feel like a complete idiot. I had it defined as 1 To MAX_BANS As BanRec.. and throughout my subs it was I = 0 To MAX_BANS. Ahhh the newbish mistakes I make. Thanks everyone for helping. If I run into any more issues then I'll be back. Re: Hard Drive based banning system? - Jack - 08-05-2009 Using a Hard Drive Based banning system would be pritty nice due to the fact that using IP Bans these days just fail, Ip Mask, dial up and many many more ways of not geting banned, nice thinking. Blizzard i think are starting to use Hardware bans instead of IP or Email banks. They may of already done it, nice thinking though. Re: Hard Drive based banning system? - Robin - 08-05-2009 Jack Wrote:Using a Hard Drive Based banning system would be pritty nice due to the fact that using IP Bans these days just fail, Ip Mask, dial up and many many more ways of not geting banned, nice thinking. Blizzard i think are starting to use Hardware bans instead of IP or Email banks. They may of already done it, nice thinking though. Everyone and their dog has a different IP whenever they reset their router, now-a-days. Re: Hard Drive based banning system? - Jack - 08-05-2009 Ye i know , its very anoyying how you ban someone then there back on within 5minutes doing the same old crap. Hurry and work on that Hardware ban
Re: Hard Drive based banning system? - ExoShox - 14-05-2009 couldnt we also add a registry key ban? like it randomly gives you a registry key the first time you start the client on your computer (key assigned by the server) and also ban that way? or just have a registry key that ells if that computer is banned so the client wont start up? we could also find someway to embed a key somewhere in the registry that isnt exactly where a hacker would expect it, so they wouldnt know what key to delete. basically its a dont hack or keep reformatting everytime you get banned (also ban the account) and then also have the HD Serial Ban to back yourself up? i mean all these security measures arent exactly fool proof. if people find out how we are banning them and they find out that the ban coding is publish publicly i imagine someone will be able to break the ban anyway. would they not? edit: working on the registry key banning system (currently it only supports ms4 mysql) Re: Hard Drive based banning system? - unknown - 20-05-2009 Is a fullproof hardware ban really even possible? I don't think so... You're always going to be sending somthing over the net inorder to ban, and whatever you send can be changed. The random registry key thing works but not being able to play on other computers makes it not worth it. The only 'fullproof' ban I can think of is somehow detecting if a players ip is a proxy, and even that has its problems (dynamic ip's). You can make it more difficult by making players register email addresses, or using some hardware method... It'll always be breakable though. Re: Hard Drive based banning system? - Dragoons Master - 20-05-2009 HD Banning is just waaaaaaaaaaaay too much! Imagine players playing you game at a LanHouse... Re: Hard Drive based banning system? - Tony - 20-05-2009 Seriously. Banning someone is to teach them not to cheat again, letting them have another start. I don't remember any game that banned you from the game period. Re: Hard Drive based banning system? - Doomy - 20-05-2009 if someone is interested in hard drive banning and is good at coding contact me. if you are not good at coding don't contact me. i have a surprise for who ever does message me. Re: Hard Drive based banning system? - Tony - 20-05-2009 Doomy Wrote:if someone is interested in hard drive banning and is good at coding contact me. That sounds ridiculous, Doomy. Re: Hard Drive based banning system? - Coke - 20-05-2009 unknown Wrote:Is a fullproof hardware ban really even possible? I don't think so... You're always going to be sending somthing over the net inorder to ban, and whatever you send can be changed. The random registry key thing works but not being able to play on other computers makes it not worth it. Our software here at work uses a unique hardware key to determine who can use the app. I believe it takes several keys from the hardware, jumbles them up a bit and uses the end result as a unique 'hardware ID'... seems to work. Someone would have to replace their hard drive / processor / mob to re-connect in that case. That plus a 24 hour IP ban and permanent account banishment in one neat package would be a good way of getting people to stay away. When they get back on (because they will if they really want too, everyone does), hit them again. They'll soon get the message. Re: Hard Drive based banning system? - unknown - 20-05-2009 Microsoft uses one to, in order to detect if you can activate windows on your computer or not.. That doesn't mean it's fullproof Re: Hard Drive based banning system? - Coke - 20-05-2009 unknown Wrote:Microsoft uses one to, in order to detect if you can activate windows on your computer or not.. That doesn't mean it's fullproof I never said it would be fullproof. Re: Hard Drive based banning system? - Doomy - 20-05-2009 Tony Wrote:Doomy Wrote:if someone is interested in hard drive banning and is good at coding contact me. >.> i kinda have it already thats why i said for someone good to message me. Mine is for the old ms. i said for someone good at coding to message me to see if they wanted to make it compatible with newest ms. Re: Hard Drive based banning system? - unknown - 20-05-2009 Fox Wrote:unknown Wrote:Microsoft uses one to, in order to detect if you can activate windows on your computer or not.. That doesn't mean it's fullproof My bad
Re: Hard Drive based banning system? - ExoShox - 01-07-2009 this is a late post, and i also am going to try rewriting it because for some reason the packets didnt send, and in this modification it would send on login attempt. So basically ill out line it One. Player A Makes and Account and plays on the IP 123.45.67.89. They get a account key given to them and it is added to their registry. Two. Player A's goes on their grandmothers computer in another city and they are on IP 123.45.60.78. Since they have no registry key, when they attempt to log in, the server detects an IP change and gives them the registry key for that account. Three. Player A starts the client (doesn't matter which of the two computers). Now that they have a registry key it sends it to the server. Well they aren't banned yet so they can play. Four. Player A decides to hack and their account is banned. Five. Player A Starts the client on either one of the two computers. Well they have a registry key so it sends it to the server. Hmm. They are banned. So it shuts their client down. Six. Player A goes on their cousins Computer which doesnt have a key yet. They get to the login screen an try to log into their account. Well they are still banned on the server so it blocks them. Yes there are other possibilities, but there are way too many to have an effective ban on someone who knows what they are doing. |