WARNING:
You receive this message on the old GnuGk mailinglist that will go away soon.
Please re-subscribe for the new mailinglist at
https://lists.gnugk.org/cgi-bin/mailman/listinfo/gnugk-users

Robert Kulagowski via gnugk-users wrote:
> On Mon, Aug 12, 2019 at 5:21 AM Jan Willamowius via gnugk-users
> <gnugk-us...@lists.gnugk.org> wrote:
> > when you run the GNU Gatekeeper, you can block spam calls from the well
> > known bots ("MERA RU", "SimpleOPAL" etc.) eg. using a small LUA script
> > in your config.
> >
> > But that alone doesn't stop the load on the server, because often these
> > bots keep on making calls.
> >
> > Fail2ban to the rescue!  
> 
> Is the lua script available somewhere? I looked at the documentation,
> and I didn't see it in the Appendix, and it doesn't appear that it was
> in the tarball as far as I can tell.


I'm, using a simple one-line script to block the bots:

[LuaAuth]
CallScript=if (string.find(vendor, "MERA RTU") or string.find(srcInfo, "cisco") 
or string.find(vendor, "SimpleOPAL")) then result = "Fail"; else result = "OK"; 
end

[Gatekeeper::Auth]
LuaAuth=required;ARQ;Setup


Regards,
Jan

-- 
Jan Willamowius, Founder of the GNU Gatekeeper Project
EMail  : j...@willamowius.de
Website: https://www.gnugk.org
Support: https://www.willamowius.com/gnugk-support.html

Relaxed Communications GmbH
Frahmredder 91, 22393 Hamburg, Germany
Geschäftsführer: Jan Willamowius
HRB 125261 (Amtsgericht Hamburg)
USt-IdNr: DE286003584


_______________________________________________________

Posting: mailto:Openh323gk-users@lists.sourceforge.net
Archive: 
https://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: https://www.gnugk.org/

Reply via email to