You are here: Big Brother Bot ForumCommunity DevelopersPlugin Developers1 Plugin for multiple games?
Pages: [1] 2   Go Down
  Print  
Author Topic: 1 Plugin for multiple games?  (Read 836 times) Bookmark and Share
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoD4, CoD5, MW2, Minecraft, Battlefield 2, Battlefield 3
Posts: 23
Offline Offline
RFC 432432 tells us there are too many RFC's
WWW
« on: January 08, 2012, 04:37:32 PM »

Hey guys, im currently in the progress of building an CoD based Server Security plugin that will have various fixes for CoD servers, mainly CoD4 and WaW.

 My simple question is, how can i check what parser is being being ran from within the code?
I need it due to logs being different in CoD4 and WaW.

Plugin currently works against RCon Blockers and No-Guid hackers in CoD4, but i want to expand it over to other games aswell, so if you know of anything(any security related issue etc), just shoot me a PM and ill take a look at it.
Logged


CEO @ Pie-Studios
Sysadmin @ NRNS-Games.com

Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #1 on: January 08, 2012, 04:46:43 PM »

Hi,

You can get the current parser name with
Code: python
self.console.gameName

There are examples in the login and publist plugins.

good luck
Logged

Support Hero
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2627
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #2 on: January 09, 2012, 06:31:10 AM »

Hey guys, im currently in the progress of building an CoD based Server Security plugin that will have various fixes for CoD servers, mainly CoD4 and WaW.

 My simple question is, how can i check what parser is being being ran from within the code?
I need it due to logs being different in CoD4 and WaW.

Plugin currently works against RCon Blockers and No-Guid hackers in CoD4, but i want to expand it over to other games aswell, so if you know of anything(any security related issue etc), just shoot me a PM and ill take a look at it.
Please do share when you are ready. We would VERY interested in this as well.
Logged

Need B3 Bot hosting? Check out Host4B3.com
Check Twitter.com/Host4B3 for updates if the site it down.

Help will be given to those with a b3.log

System: Python 2.7.1 - B3 Source Code - Locally hosted MySQL & Apache - Win 2k3
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoD4, CoD5, MW2, Minecraft, Battlefield 2, Battlefield 3
Posts: 23
Offline Offline
RFC 432432 tells us there are too many RFC's
WWW
« Reply #3 on: January 10, 2012, 10:56:25 AM »

It will be released through my "company" to verified B3 uers(clans, communities and b3 hosters like you, but not single users). =) Free ofcourse.
Logged


CEO @ Pie-Studios
Sysadmin @ NRNS-Games.com
Support Hero
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2627
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #4 on: January 10, 2012, 12:46:00 PM »

It will be released through my "company" to verified B3 uers(clans, communities and b3 hosters like you, but not single users). =) Free ofcourse.
Cool beans.
Thanks!
Logged

Need B3 Bot hosting? Check out Host4B3.com
Check Twitter.com/Host4B3 for updates if the site it down.

Help will be given to those with a b3.log

System: Python 2.7.1 - B3 Source Code - Locally hosted MySQL & Apache - Win 2k3
Jr. Member
**
OS: Windows
Type: Renting Server, no B3
Gameservers: CoD4
Posts: 48
Offline Offline
« Reply #5 on: January 10, 2012, 03:14:35 PM »

Quick question"

Have anybody seen server bot hackers? Sending up bots with 999 ping and make the server full? If yes, does anybody know how can I stop them if so can u add it to your Server Security plugin @ArmedGuy?
« Last Edit: January 10, 2012, 03:22:30 PM by pa3ck » Logged

NEVERDiE GAMiNG pa3ck

Clan and CoD4 servers owner
Support Hero
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2627
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #6 on: January 11, 2012, 05:25:05 AM »

Quick question"

Have anybody seen server bot hackers? Sending up bots with 999 ping and make the server full? If yes, does anybody know how can I stop them if so can u add it to your Server Security plugin @ArmedGuy?
I have seen this...
What I do is run a status command, which gives their guid, then ban the GUID. Issue resolved.
PITA, but happens.
kevinos was my last attacker...
Logged

Need B3 Bot hosting? Check out Host4B3.com
Check Twitter.com/Host4B3 for updates if the site it down.

Help will be given to those with a b3.log

System: Python 2.7.1 - B3 Source Code - Locally hosted MySQL & Apache - Win 2k3
Jr. Member
**
OS: Windows
Type: Renting Server, no B3
Gameservers: CoD4
Posts: 48
Offline Offline
« Reply #7 on: January 11, 2012, 10:04:35 AM »

Do they have the same GUID? If so it can be easily solve by a plugin which bans the players who have the same guid.
Logged

NEVERDiE GAMiNG pa3ck

Clan and CoD4 servers owner
Support Hero
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2627
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #8 on: January 11, 2012, 10:32:49 AM »

Do they have the same GUID? If so it can be easily solve by a plugin which bans the players who have the same guid.
They do.
The problem is the bot never sees these players.
The reason why is because they get "stuck" somehow in the connecting screen. They normally are named after whatever they are advertising and they take up all slots.
So they never fully connect and never are seen by B3. That is why the only command I could find that sees them is a rcon status
Logged

Need B3 Bot hosting? Check out Host4B3.com
Check Twitter.com/Host4B3 for updates if the site it down.

Help will be given to those with a b3.log

System: Python 2.7.1 - B3 Source Code - Locally hosted MySQL & Apache - Win 2k3
Jr. Member
**
OS: Windows
Type: Renting Server, no B3
Gameservers: CoD4
Posts: 48
Offline Offline
« Reply #9 on: January 11, 2012, 02:39:48 PM »

They do.
The problem is the bot never sees these players.
The reason why is because they get "stuck" somehow in the connecting screen. They normally are named after whatever they are advertising and they take up all slots.
So they never fully connect and never are seen by B3. That is why the only command I could find that sees them is a rcon status


Oh yes you're right. its like the populator plugin isn it? As I read in the CoD4 Populator Plugin it says bots will connect to the server but wont finish joining. Is there any similar thing between the hack and that plugin if yes maybe we can solve it is that right?
Logged

NEVERDiE GAMiNG pa3ck

Clan and CoD4 servers owner
Support Hero
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2627
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #10 on: January 12, 2012, 05:44:17 AM »


Oh yes you're right. its like the populator plugin isn it? As I read in the CoD4 Populator Plugin it says bots will connect to the server but wont finish joining. Is there any similar thing between the hack and that plugin if yes maybe we can solve it is that right?
I suspect they use the same method behind them.
I guess B3 could MAYBE deal with it.
Here is what B3 has to do:
1) during a status command, see a player is connecting
2) B3 already sees he is not fully connected and tries to auth him for 10 times.
3) during the NEXT status update, see the same player is not fully connected.
4) Issue a RCON (not pb, since he is not connected yet and I don't PB can touch him yet) ban command on the GUID which gets written to ban.txt on the gameserver.
5) Send a e-mail to admin informing him of this (optional) - code already exists in contact plugin.
Logged

Need B3 Bot hosting? Check out Host4B3.com
Check Twitter.com/Host4B3 for updates if the site it down.

Help will be given to those with a b3.log

System: Python 2.7.1 - B3 Source Code - Locally hosted MySQL & Apache - Win 2k3
Jr. Member
**
OS: Windows
Type: Renting Server, no B3
Gameservers: CoD4
Posts: 48
Offline Offline
« Reply #11 on: January 12, 2012, 09:51:07 AM »

I suspect they use the same method behind them.
I guess B3 could MAYBE deal with it.
Here is what B3 has to do:
1) during a status command, see a player is connecting
2) B3 already sees he is not fully connected and tries to auth him for 10 times.
3) during the NEXT status update, see the same player is not fully connected.
4) Issue a RCON (not pb, since he is not connected yet and I don't PB can touch him yet) ban command on the GUID which gets written to ban.txt on the gameserver.
5) Send a e-mail to admin informing him of this (optional) - code already exists in contact plugin.

Ye it would be cool, but is there any1 who would make this idea to a real plugin?
Logged

NEVERDiE GAMiNG pa3ck

Clan and CoD4 servers owner
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoD4, CoD5, MW2, Minecraft, Battlefield 2, Battlefield 3
Posts: 23
Offline Offline
RFC 432432 tells us there are too many RFC's
WWW
« Reply #12 on: January 13, 2012, 03:56:44 PM »

I could look in to it, i have a custom parser that reads console_mp.log and can get some interesting information. =)

Also, a test version for ServSeC is now ready.
MordyT, you interested?(CoD4 only atm)
Logged


CEO @ Pie-Studios
Sysadmin @ NRNS-Games.com
Jr. Member
**
OS: Windows
Type: Renting Server, no B3
Gameservers: CoD4
Posts: 48
Offline Offline
« Reply #13 on: January 13, 2012, 05:04:53 PM »

I could look in to it, i have a custom parser that reads console_mp.log and can get some interesting information. =)

Also, a test version for ServSeC is now ready.
MordyT, you interested?(CoD4 only atm)

I am interested!! Tongue May i give it a try? Cheesy
Logged

NEVERDiE GAMiNG pa3ck

Clan and CoD4 servers owner
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoD4, CoD5, MW2, Minecraft, Battlefield 2, Battlefield 3
Posts: 23
Offline Offline
RFC 432432 tells us there are too many RFC's
WWW
« Reply #14 on: January 14, 2012, 05:49:48 AM »

I am interested!! Tongue May i give it a try? Cheesy

Heres the link:
http://pie-studios.co.cc/servsec/ServSeC-1.17public-cod4_pie-studios.rar

The code is compiled as this is just a test release, but later versions will be released as source code(to match with the licence).

For easy installation just put the .rar in your main b3 folder and use "Extract here".
The files will place themselves in /extplugins and /extplugins/conf.

For bans to work properly you must know how to setup IPSec policies(for Windows) that blocks addresses.(iptables example is in the config, but NOT tested).
Logged


CEO @ Pie-Studios
Sysadmin @ NRNS-Games.com
Tags:
Pages: [1] 2   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal