thankyou
Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!
Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here

NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

Author Topic: ProxyFilter Plugin  (Read 3538 times)

Offline Fenix

  • Dev. Team
  • Hero Member
  • *
  • Posts: 999
    • GitHub
ProxyFilter Plugin
« on: May 12, 2014, 05:19:23 PM »
Description

A BigBrotherBot plugin will prevent people connected through a proxy to join your server.

Installation

  • copy the proxyfilter.py file into b3/extplugins
  • copy the plugin_proxyfilter.ini file in b3/extplugins/conf
  • add to the plugins section of your b3.xml config file:

<plugin name="proxyfilter" config="@b3/extplugins/conf/plugin_proxyfilter.ini" />

Proxy detection

In order to detect proxy connections this plugins make use of the following services:


If you know about other proxy detection services offering free or paid API please leave me a message and I will provide support also for those.

In-game user guide

  • !proxylist display the list of available proxy checker services
  • !proxyservice <service> <on|off> enable/disable a proxy checker service
  • !proxystats display statistics about detected proxies

Download

Last release: https://github.com/danielepantaleone/b3-plugin-proxyfilter/archive/master.zip
« Last Edit: November 30, 2014, 11:38:45 AM by Fenix »

Offline Xyn

  • Jr. Member
  • **
  • Posts: 27
    • Team #Lf Multigaming
Re: ProxyFilter Plugin
« Reply #1 on: June 18, 2014, 02:08:54 AM »
Hi Fenix,

I've tried this plugin tonight on my B3 1.9.2, it shows an errors in log :

Code: [Select]
ERROR	'handler ProxyfilterPlugin could not handle event Client Connect: AttributeError: \'NoneType\' object has no attribute \'append\' [(\'/home/bot/b3/parser.py\', 1055, \'handleEvents\', \'hfunc.parseEvent(event)\'), (\'/home/bot/b3/plugin.py\', 158, \'parseEvent\', \'self.onEvent(event)\'), (\'/home/bot/b3/extplugins/proxyfilter.py\', 422, \'onEvent\', \'self.onConnect(event)\'), (\'/home/bot/b3/extplugins/proxyfilter.py\', 441, \'onConnect\', "if client.maxLevel >= self.settings[\'maxlevel\']:"), (\'/home/bot/b3/clients.py\', 471, \'_get_maxLevel\', \'if self.groups and len(self.groups):\'), (\'/home/bot/b3/clients.py\', 230, \'getGroups\', \'self._groups.append(g)\')]'

Offline Fenix

  • Dev. Team
  • Hero Member
  • *
  • Posts: 999
    • GitHub
Re: ProxyFilter Plugin
« Reply #2 on: June 21, 2014, 11:35:25 AM »
That's weird, can you post a longer B3 log so I can check better what's happening?

Offline Beyond

  • Jr. Member
  • **
  • Posts: 14
Re: ProxyFilter Plugin
« Reply #3 on: December 13, 2015, 05:39:04 PM »
Hey,

I get this error while starting the plugin:
Code: [Select]
151213 17:33:57	BOT    	'Loading Plugin #34 proxyfilter [/home/cod/b3/b3/extplugins/proxyfilter/conf/plugin_proxyfilter.ini]'
151213 17:33:57 INFO 'proxyfilter is not a built-in plugin (No module named proxyfilter)'
151213 17:33:57 INFO 'trying external plugin directory : /home/cod/b3/b3/extplugins'
151213 17:33:57 ERROR 'Error loading plugin proxyfilter'
Traceback (most recent call last):
  File "/home/cod/b3/b3/parser.py", line 673, in loadPlugins
    pluginModule = self.pluginImport(plugin_name, plugins[s]['path'])
  File "/home/cod/b3/b3/parser.py", line 759, in pluginImport
    return imp.load_module(name, fp, pathname, description)
  File "/home/cod/b3/b3/extplugins/proxyfilter/__init__.py", line 27, in <module>
    from b3.functions import getCmd
ImportError: cannot import name getCmd

Can somebody help?

Offline Fenix

  • Dev. Team
  • Hero Member
  • *
  • Posts: 999
    • GitHub
Re: ProxyFilter Plugin
« Reply #4 on: December 13, 2015, 05:43:34 PM »
This plugin does not work with B3 1.9. You need B3 1.10

Inviato dal mio Nexus 10 utilizzando Tapatalk


Offline Beyond

  • Jr. Member
  • **
  • Posts: 14
Re: ProxyFilter Plugin
« Reply #5 on: December 13, 2015, 05:53:50 PM »
Too bad, thx.

Offline obteo

  • Sr. Member
  • ****
  • Posts: 163
    • B2KilL Clan
Re: ProxyFilter Plugin
« Reply #6 on: October 16, 2017, 04:49:05 PM »
Hi, I'm trying to use this plugin to block proxy connection but i see this in the log:

ERROR    'ProxyfilterPlugin: [winmxunlimited] could not connect to service api: HTTP Error 403: Forbidden'

Any help plz Fenix?

thank you.

Offline Fenix

  • Dev. Team
  • Hero Member
  • *
  • Posts: 999
    • GitHub
Re: ProxyFilter Plugin
« Reply #7 on: October 16, 2017, 04:53:36 PM »
They probably have discontinued the service or changed API format. I'll see if I can do something about it

Offline obteo

  • Sr. Member
  • ****
  • Posts: 163
    • B2KilL Clan
Re: ProxyFilter Plugin
« Reply #8 on: October 19, 2017, 04:19:53 PM »
Hello m8! I noticed by using the geolocation plugin is not blocking proxy... any update Fenix?

thank you!

Offline Fenix

  • Dev. Team
  • Hero Member
  • *
  • Posts: 999
    • GitHub
Re: ProxyFilter Plugin
« Reply #9 on: October 22, 2017, 05:43:25 PM »
Still had no time to check on this.......sorry. I'm very busy with work these days. I hope I'll find some time soon.

Offline obteo

  • Sr. Member
  • ****
  • Posts: 163
    • B2KilL Clan
Re: ProxyFilter Plugin
« Reply #10 on: November 08, 2017, 05:24:44 PM »
Still had no time to check on this.......sorry. I'm very busy with work these days. I hope I'll find some time soon.
Don't worry mate! When you get a chance, i really need this to block VPN network, ppl connect to the server with that shit cheating like hell.... Cheers

Offline Fenix

  • Dev. Team
  • Hero Member
  • *
  • Posts: 999
    • GitHub
Re: ProxyFilter Plugin
« Reply #11 on: November 09, 2017, 03:39:00 PM »
I did have a look but it seems that they have discontinued the service (now their domain seems to be owned by some sort of group chat).
If you find some other online service with free API providing proxy information given an ip I will update the plugin.

 


Rate this page +1 at Google Search