Jump to content
masterjj

BanEnfornce problem

Recommended Posts

Hi

Pls look what is happening ! , banned user still can join ! (attachment)

i checked his ban was active , i thinkied maybe problem from banenforcer.. , i turned off , and he get kicked from server after 30 second

in list u can see its banned !

what is problem ?

photo_2020-03-11_18-09-39.jpg

Share this post


Link to post
25 minutes ago, masterjj said:

Hi

Pls look what is happening ! , banned user still can join ! (attachment)

i checked his ban was active , i thinkied maybe problem from banenforcer.. , i turned off , and he get kicked from server after 30 second

in list u can see its banned !

what is problem ?

photo_2020-03-11_18-09-39.jpg

Short answer: Your config has an error. Please share your BanEnforcer config.

Share this post


Link to post
8 minutes ago, Hedius said:

Short answer: Your config has an error. Please share your BanEnforcer config.

image.png.9698f0790c4fa201ac612a888a8552d3.png

Share this post


Link to post
Posted (edited)
22 minutes ago, masterjj said:

image.png.9698f0790c4fa201ac612a888a8552d3.png

 

What does AdKats return in section A13-3 if you search for a banned player?

 

Another possibility to find the bug:

Ok. You can raise the debug level and wait for a banned player to join. Adkats should log anything to this. 

Enable Pluging logging in Config/procon.cfg: makes reading the log easier.

Restart the layer, after changing the procon.cfg

 

You have then a log file in the Log folder.

Edited by Hedius

Share this post


Link to post

By the way: The reason for a player getting kicked if you disable the ban enforcer is, because adkats exports all bans to the bf4 server.

Share this post


Link to post
1 hour ago, Hedius said:

 

What does AdKats return in section A13-3 if you search for a banned player?

 

Another possibility to find the bug:

Ok. You can raise the debug level and wait for a banned player to join. Adkats should log anything to this. 

Enable Pluging logging in Config/procon.cfg: makes reading the log easier.

When i search , its say banned and active

=================================

Today its happened again , same name but no kick , one of them banned , he played more then 1 hours in server

 

1 hour ago, Hedius said:

By the way: The reason for a player getting kicked if you disable the ban enforcer is, because adkats exports all bans to the bf4 server.

yeah this is my question !

normal mode its kick banned player , but ban enforcer no !

Share this post


Link to post

@Hedius

What is this ban_sync ?  can be a problem in database ?

image.thumb.png.8744faa2706cbb882a84b32c4b3a9c55.png

===========

When i enable ban enforcer , its show these warning

[16:49:36 46] [AdKats] WARNING: Multiple bans matched player 1. Linked accounts detected.
[16:49:36 79] [AdKats] WARNING: Multiple bans matched player 49193. Linked accounts detected.
[16:49:37 13] [AdKats] SUCCESS: All bans uploaded into AdKats database.
[16:49:48 40] [AdKats] WARNING: Multiple bans matched player 49193. Linked accounts detected.
[16:50:10 93] [AdKats] WARNING: Multiple bans matched player 13145. Linked accounts detected.
[16:50:17 92] [AdKats] WARNING: Multiple bans matched player 7382. Linked accounts detected.
[16:50:20 54] [AdKats] WARNING: Multiple bans matched player 1. Linked accounts detected.
[16:50:21 20] [AdKats] WARNING: Multiple bans matched player 1. Linked accounts detected.
[16:50:21 57] [AdKats] WARNING: Multiple bans matched player 49193. Linked accounts detected.

Share this post


Link to post
1 minute ago, masterjj said:

@Hedius

What is this ban_sync ?  can be a problem in database ?

image.thumb.png.8744faa2706cbb882a84b32c4b3a9c55.png

===========

When i enable ban enforcer , its show these warning

[16:49:36 46] [AdKats] WARNING: Multiple bans matched player 1. Linked accounts detected.
[16:49:36 79] [AdKats] WARNING: Multiple bans matched player 49193. Linked accounts detected.
[16:49:37 13] [AdKats] SUCCESS: All bans uploaded into AdKats database.
[16:49:48 40] [AdKats] WARNING: Multiple bans matched player 49193. Linked accounts detected.
[16:50:10 93] [AdKats] WARNING: Multiple bans matched player 13145. Linked accounts detected.
[16:50:17 92] [AdKats] WARNING: Multiple bans matched player 7382. Linked accounts detected.
[16:50:20 54] [AdKats] WARNING: Multiple bans matched player 1. Linked accounts detected.
[16:50:21 20] [AdKats] WARNING: Multiple bans matched player 1. Linked accounts detected.
[16:50:21 57] [AdKats] WARNING: Multiple bans matched player 49193. Linked accounts detected.

I looked at the adkats code, but this warning should not affect the plugin. @ColColonCleaner need help

Share this post


Link to post

I only enforce bans by GUID, because name and IP are useless, but I do not think that the duplicate entries in the database cause the problem

Share this post


Link to post
2 minutes ago, Hedius said:

I only enforce bans by GUID, because name and IP are useless, but I do not think that the duplicate entries in the database cause the problem

ok now i banned my friend from server , and he joined without problem inside server and playing ?

Share this post


Link to post
Posted (edited)
12 minutes ago, masterjj said:

ok now i banned my friend from server , and he joined without problem inside server and playing ?

@Hedius

@ColColonCleaner

ok one more nice info

we have 3 server

i banned him on server 1 , he can still play on server 2 and 3

but he cant join sv 1 because banneed on sv1

all server connected in stat togheter.. and in one database

how to sync these bans !!??

 

Edited by masterjj

Share this post


Link to post
4 minutes ago, masterjj said:

@Hedius

ok one more nice info

we have 3 server

i banned him on server 1 , he can still play on server 2 and 3

but he cant join sv 1 because banneed on sv1

all server connected in stat togheter.. and in one database

how to sync these bans !!??

 

They should sync themselves. AdKats should kick players from all 3 servers if the same database is used.... :x

Share this post


Link to post

The issue is you have your servers on separate server groups. Make them all the same server group and the bans will be across all servers. This is in the tbl_server table, the server_group column i believe. Shut down all of your layers, edit the database table to make them all the same server group, then reboot the layers.

Right now a player can only be banned on one server group at a time. This was an oversight when we originally made the ban system because the people we tested it with had only 1 server group.

In future please do not post public IP addresses of players. Thanks @Prophet731 for handling that.

Share this post


Link to post

Also, the ban_sync column is completely useless and an artifact of the first iteration of the ban system. That column and its contents can be completely ignored, it doesn't affect anything.

Share this post


Link to post
Posted (edited)
24 minutes ago, ColColonCleaner said:

Also, the ban_sync column is completely useless and an artifact of the first iteration of the ban system. That column and its contents can be completely ignored, it doesn't affect anything.

sorry for that ip.. , never happen again
ok thanks. ❤️

Edited by masterjj

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Our picks

    • I wanted I let you know that I am starting to build out the foundation for the hosting services that I talked about here. The pricing model I was originally going for wasn't going to be suitable for how I want to build it. So instead I decided to offer each service as it's own product instead of a package deal. In the future, hopefully, I will be able to do this and offer discounts to those that choose it.

      Here is how the pricing is laid out for each service as well as information about each. This is as of 7/12/2020.

      Single MySQL database (up to 30 GB) is $10 USD per month.



      If you go over the 30 GB usage for the database then each additional gigabyte is charged at $0.10 USD each billing cycle. If you're under 30GB you don't need to worry about this.


      Databases are replicated across 3 zones (regions) for redundancy. One (1) on the east coast of the USA, One (1) in Frankfurt, and One (1) in Singapore. Depending on the demand, this would grow to more regions.


      Databases will also be backed up daily and retained for 7 days.




      Procon Layer will be $2 USD per month.


      Each layer will only allow one (1) game server connection. The reason behind this is for performance.


      Each layer will also come with all available plugins installed by default. This is to help facilitate faster deployments and get you up and running quickly.


      Each layer will automatically restart if Procon crashes. 


      Each layer will also automatically restart daily at midnight to make sure it stays in tip-top shape.


      Custom plugins can be installed by submitting a support ticket.




      Battlefield Admin Control Panel (BFACP) will be $5 USD per month


      As I am still working on building version 3 of the software, I will be installing the last version I did. Once I complete version 3 it will automatically be upgraded for you.





      All these services will be managed by me so you don't have to worry about the technical side of things to get up and going.

      If you would like to see how much it would cost for the services, I made a calculator that you can use. It can be found here https://ezrcon.com/calculator.html

       
      • 10 replies
    • I have pushed out a new minor release which updates the geodata pull (flags in the playerlisting). This should be way more accurate now. As always, please let me know if any problems show up.

       
      • 6 replies
×
×
  • Create New...

Important Information

Please review our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.