| Blockland Forums > Suggestions & Requests |
| Blacklist IP from Joining |
| << < (2/5) > >> |
| Jeep:
--- Quote from: Darkness ZXW on July 24, 2012, 09:47:12 PM ---instead of tracing logs and banning IPs that match up, why not just blacklist the IP from the server? --- End quote --- --- Quote from: Jeep on July 24, 2012, 09:49:18 PM ---IP's are very easy to change. --- End quote --- |
| Darkness ZXW:
--- Quote from: Jeep on July 24, 2012, 09:56:05 PM --- --- End quote --- Do you not get that instead of interrogating every person who joins the server isn't possible while hosting and moderating? I get IPs are easy to change. |
| Lugnut:
jeep, just cause it's a crappy method doesn't mean it won't be ineffective. i have a resource that might be helpful function IPisBanned(%ip) { new fileObject(BanFindFO) { targetIP = %ip; }; BanFindFO.openForRead("config/server/BANLIST.txt"); while(!BanFindFO.isEOF()) { BanFindFO.line = BanFindFO.readLine(); if(BanFindFO.targetIP $= getField(BanFindFO.line, 4)) { BanFindFO.close(); BanFindFO.delete(); return true; } } BanFindFO.delete(); return false; } now just package GameConnection::onConnectRequest(%this, %things, %things, %things... |
| Darkness ZXW:
--- Quote from: Lugnut on July 24, 2012, 10:00:09 PM ---jeep, just cause it's a crappy method doesn't mean it won't be ineffective. i have a resource that might be helpful --- End quote --- if they're stupid enough to be banned they're stupid enough not to change routers/get a proxy besides scriptkiddy mcgee okiver |
| Lugnut:
--- Quote from: Darkness ZXW on July 24, 2012, 10:10:20 PM ---if they're stupid enough to be banned they're stupid enough not to change routers/get a proxy besides scriptkiddy mcgee okiver --- End quote --- well some- ninja goddamn |
| Navigation |
| Message Index |
| Next page |
| Previous page |