how to ban users

Post here if you need help setting up your server, etc.
Post Reply
ricktb_dgc
Posts: 2
Joined: Mon Apr 11, 2005 10:45 am
Location: Edmonton, Ab
Contact:

how to ban users

Post by ricktb_dgc »

Hello, I'm part time admin on MicrobusCity.com ARMA server. I would like to know how to properly ban an offensive user?

I have read through all the admin commands and all I could find is the "KICK" command. Is there a built-in ban function to version 2.7.1?

DistortGaming.com (the game server's provider) offers a firewall ban utility that completely blocks any inbound traffic from an IP of my choice, but I still cant find out the users IP address.

Any help plz? Thank you :)

-RickTB

ps. armagetron is a nice game and I hope the creators keep up the good work!
Image
Game Servers * Web Hosting
rick@distortgaming.com
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6712
Joined: Thu Dec 18, 2003 7:03 pm

Post by Tank Program »

You are correct, there is no built-in ban functionality in Armagetron. However, if you keep a log of the consoles output, Lucifer I think it is, has written a utility that will analyze this output and spitback the ips assocated with users.
Image
User avatar
Lucifer
Project Developer
Posts: 8742
Joined: Sun Aug 15, 2004 3:32 pm
Location: Republic of Texas

Post by Lucifer »

Yeah, but it's not very reliable. :( The problem was the logs in 2.7.0 weren't very reliable, and I haven't yet updated it to the 2.7.1 log format that should be reliable. :)

Anyway, requires python and a LInux system, I think. Might work in windows, but there's no fancy GUI.
Check out my YouTube channel: https://youtube.com/@davefancella?si=H--oCK3k_dQ1laDN

Be the devil's own, Lucifer's my name.
- Iron Maiden
ricktb_dgc
Posts: 2
Joined: Mon Apr 11, 2005 10:45 am
Location: Edmonton, Ab
Contact:

Post by ricktb_dgc »

hmm well, thanks for the info guys :)
Image
Game Servers * Web Hosting
rick@distortgaming.com
User avatar
/dev/null
Shutout Match Winner
Posts: 819
Joined: Sat Sep 04, 2004 6:28 pm
Location: Chicago-ish

Post by /dev/null »

If you have thier ip, blacklist them in your firewall. Depending on what firewall you use, there will be different methods. I use killerwall, which is just a script to configure iptables easily.
User avatar
wallpaper
On Lightcycle Grid
Posts: 18
Joined: Sun May 01, 2005 5:26 pm

Post by wallpaper »

Quick way to do it on the fly using route if you are using *nix (Mac OSX, included..I think)

I like this method because you can do it without restarting your network and it works immediately

as root: route add -host <ip address> reject
replace <ip address> with 111.12.22.22 for example
change add to del to let them back in

When you restart your network or computer, the block will not be applied anymore, though.

Also have to have your console in view to see the ip address

If you kick them and they log back in, you can see the ip nicely

I had to use this once when my kid was playin and someone insisted on cursing even after being asked nicely not to
User avatar
microbus
Core Dumper
Posts: 128
Joined: Wed Apr 27, 2005 7:35 am
Contact:

Post by microbus »

we pretty much have the banning worked out...
my server keeps logs now too, for when something
happens when I'm not available, and I can access
that from my admin console, and get the IP,
and the bans stay when restarting the server cuz
it puts bans into a text file, then reads it when it restarts :)
AntiX has done all this stuff, and made my job much
easier, along with Self_Destructo's job, as he's renting
a server from AntiX at Distort Gaming too :D
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6712
Joined: Thu Dec 18, 2003 7:03 pm

Post by Tank Program »

Once I made a patch for IP based banning in game...
Image
Post Reply