<[-z-]> I'm getting closer to using the global banning system <[-z-]> my servers are now running the latest SVN which servers would you take the bans from? <[-z-]> take bans from? <[-z-]> I didn't even try to setup the ban system yet sure <[-z-]> I merely upgraded the servers with NST but which ban master server would you use? and which bans would you take over (from which Nexuiz servers other than your own) <[-z-]> I'm not sure I even understand your system enough yet well, we have two ban master servers mine and Xeno's <[-z-]> okey you can use both (separate by space) but you also have to specify which Nexuiz servers you'd accept bans from it won' it will ignore bans that others have made using the same system <[-z-]> okay, so this script queries a master site with a mysql database or do I have a local sql database as well? master site has a sql database you don't need one it also uses no authentication... <[-z-]> and to integrate this script with nexuiz, I just run a perl script in the background? it just uses the source IP from a ban request and you filter by that integrate? no it's just http based you just set some cvars everything else is integrated <[-z-]> an writes a to a file? <[-z-]> and* no no file all is HTTP the server side is a Perl script in my case, a PHP script in Xeno's case <[-z-]> okay, so nexuiz grabs LIVE http data for the ban information? but you can use that yes <[-z-]> is that safe? it refreshes every 5 minutes mostly safe the admin of that site can of course enter fake bans using mysql shell or phpMyAdmin :P http://emptyset.endoftheinternet.org/~rpolzer/nexuiz/bans/ this is one of the sites what the code however does is: http://emptyset.endoftheinternet.org/~rpolzer/nexuiz/bans/?action=list&servers=141.2.16.23 the servers= part is in a cvar in Nexuiz http://emptyset.endoftheinternet.org/~rpolzer/nexuiz/bans/?action=list&servers=127.0.0.1 different server -> ban does not get returned and the server IP cannot be faked as it uses the source IP of the http request so the server IP you see is always true and that is what you filter by using the g_ban_sync_trusted_servers cvar BTW, its comment is a bit weird it says "do not put in your own IP" however, if you have multiple servers on one IP you actually HAVE to put it in and then live with unbanning failing at about 0.01% of the cases if that happens, just unban again <[-z-]> I have servers running on 2 different IPs but you have multiple servers per IP then you actually have to enter that IP <[-z-]> yes or these don't sync their bans the script does not know the port number of the server where the ban comes from as the http request may come from any port <[-z-]> is there documentation with everything I need to know to get setup? basically no, it's really simple <[-z-]> okay not really documentation needed I'll write a short docu on my index.cgi (which is the "Human readable" format) g_ban_sync_uri http://emptyset.endoftheinternet.org/~rpolzer/nexuiz/bans/ and it'll report all bans you make to that URI g_ban_sync_trusted_servers "1.2.3.4" and your server will take over bans made on 1.2.3.4 g_ban_sync_trusted_servers "1.2.3.4 5.6.7.8" to enter more than one g_ban_sync_trusted_servers_verify 1 - set that if you don't trust the script to filter correctly (but both scripts do) <[-z-]> to filter properly? by IP this is just a safeguard against the script ignoring the servers= parameter but this does not happen anyway <[-z-]> ok also, it'll regularily spam the Nexuiz console :P (on the server only) so you see where a ban comes from it prints the URL and reason for every ban it found so you can check the further details on the URL <[-z-]> every 5 minutes? yes but it's not much <[-z-]> okay <[-z-]> so I just need 2 cvars to get setup? also... note that you cannot unban someone banned on a "trusted" server temporarily yes if you do, he'll get banned on the next sync again <[-z-]> I'm not sure I understand that last part you'd then temporarily have to remove the IP of the Nexuiz server that banned him from g_ban_sync_trusted_servers e.g. if you take my list and enter 141.2.16.23 as trusted server but decide you want to unban XSAX LTU you have to remove 141.2.16.23 from that list or it'll take over the XSAX LTU ban at the next sync again <[-z-]> because it's only unbanning on the game server, not the global ban server? basically, I recommend you to not enter any IP as trusted server except your own yes and start entering others later only the originator of a ban can remove it again (or the one with the mysql console :P) <[-z-]> g_ban_sync_trusted_servers "1.2.3.4 5.6.7.8" << I set these to my 2 server ips, correct? yes you may later want to enter IPs of other servers but for a start, enter just your own there you trust these most after all <[-z-]> okay, so if I were to enter yours as well, it would sync with your bans <[-z-]> I think I get it now