Ok so ive searched alot about IP banning on Perfect World Private servers and have not found anything useful so if anyone can help me out it would be great. Thank yuuu so much.
Printable View
Ok so ive searched alot about IP banning on Perfect World Private servers and have not found anything useful so if anyone can help me out it would be great. Thank yuuu so much.
Probably because there's nothing (that I know of) that would be specific to PW. IP blocking could come in handy for just about any type of server. At the same time, with dynamic IPs always changing and proxy's IP banning can also be quite useless, depending on your main purpose. Say you're looking to ban one specific "problem user", well maybe it will work (at first), but how long until his dynamic IP changes, or he starts using google and figures out he can connect bypassing a 'block' by using a proxy... Or maybe his IP is static, or isn't smart enough to use google, and it will always work, who knows. Something like that would certainly be more of a gamble, of "how long it will 'work'"... Now I could see it being more useful to block entire 'regions' (like official PW versions do), along with some nice anti proxy scripts...
Either way, to actually better answer your question. (again) There's not really anything specific to PW to do this that I know of. Your best bet no matter what your reasoning is would be to do it as high up as you possibly can in the 'food chain'... Meaning if you have an adequate hardware firewall (most consumer junk wont do, you'd need at least small business 'grade' or +), you can block IP's there. This is the way I would do it as, the firewall can successfully block ANY type of traffic from any blocked IP(s). Then anyone with a matching IP to that of one blocked would not be able to 'access' ANYTHING on your server (of course provided you properly configured it), from the game - to the registration page, any forums etc... I could not be of much help beyond that because of course every firewall is different, but you will want a decent 'commercial grade' firewall that allows for very specific in-bound and out-bound control. If you have (or are willing to get) a firewall like this, you will need to consult its documentation for any further assistance setting that up.
Now, assuming you don't have a good hardware firewall with that level of 'fine grain' configuration (and you're not willing to get one, cannot afford one, etc...), which most people don't, you can do it at the machine level. This, if properly configured, will still deny any IP's that you decide to 'block' from ANY 'services' that machine is running, from the game - to the registration page, any forums etc... Since I do not do it this way myself, google, would probably be of more help. I do however know that there are ways to do this at the machine level whether you're using Linux or Windows... Here are some possibly helpful results: WINDOWS LINUX or just use /etc/hosts.deny
Besides that, then the next step down in the food chain would be to block @ each individual service, although that would be WAY too tedious if you run more than one 'service' (PW, apache, tomcat, etc...) because then say you wanted to block someone from x.x.x.x you would have to 'set' x.x.x.x 3, 4, 5 or more times (depending on how many 'services' you're running)...
So, definitely look to start as high up in the food chain as you can, and work your way down to finally do whatever suits your needs and capabilities...
Thanks alot 343 ill try the 2nd method xD.