In our support boards we aim to provide support for the B3 core in its current state. Older releases of B3 are NOT supported. Check our front page for the latest version. You may post feature requests in our General Discussion board. Modifications and Hacks of the core B3 code are NOT supported.
Before you ask for support: [ Read the Support Instructions ] - More info: [ Full Support Disclaimer ]

Pages: [1]   Go Down
  Print  
Author Topic: Log Cutter  (Read 380 times) Bookmark and Share
Jr. Member
**
OS: Linux
Type: Owner dedicated server(s)
Gameservers: COD4
Posts: 13
Offline Offline
WWW
« on: December 04, 2011, 08:57:02 AM »

What about some log cutting/Bad rcon banning engine?
I'll write it later after exam session but I need some help.
The ploblem is:
I have 5 popular servers cod4 on Linux without PB.
I was attacked but a new type of cheaters. They are flooding badrcon to the server, I ban him by iptables after reading console_mp.log, then the next cheater are flooding etc. As a result I am banning about 5 networks per day.
Dayly here is 100Mb of games_mp.log each server. console_mp.log - much more.
The next ploblem is - console_mp.log is situated in /home/cod4/.CallofDuty4/main/console mp.log
It is one for all servers. As a result I need to delete the log and restart all the servers....
As a result I have 15GB!!!! of Logs every month. How I can cut it?
 
I can't ban such cheaters through the rcon, then I need to ban it from iptables. To know the IP I need to see the log, but I am working at my job, student of univesity and I can't be every second at the computer. Also I can't give the ssh access to all the admins. Any ideas?
« Last Edit: December 04, 2011, 08:58:33 AM by DragonZX » Logged

Sr. Member
****
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoD4
Posts: 180
Offline Offline
WWW
« Reply #1 on: December 04, 2011, 11:50:25 AM »

https://github.com/Rhidalin-Bytes/Badrcon
Logged

Jr. Member
**
OS: Linux
Type: Owner dedicated server(s)
Gameservers: COD4
Posts: 13
Offline Offline
WWW
« Reply #2 on: December 04, 2011, 01:23:00 PM »

Thank you for the plugin, I will test that.
Any ideas aboud cutting logs? Or writing console_mp.log for each server?
Logged
Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal