Forum

Results 1 to 2 of 2
  1. #1
    Join Date
    June 2019
    Posts
    1

    Getting IP banned using ServerQuery interface

    Hi,

    We have a bot that uses the Server Query system to post messages into some rooms on our Teamspeak server. The bot opens a connection, logs in and send occasional `sendtextmessage` commands. The bots IP address is in the whitelist.

    This has been working fine for a while, but a couple of weeks ago it suddenly started getting blocked. It appears to be an IP level ban, as attempting to telnet in from the same IP address just results in a connection timeout error. The TS client will also be unable to connect if trying to use it from the same IP.

    I've tried manually telnet'ing into the server and entering some commands to see if I get any error messages. eg, connect, login, use the right vserver, enter a few whoami commands. Everything returns `error id=0 msg=ok` until suddenly the connection is lost and I am no longer able to even connect to the server for a long time (hours).

    We've tried rewriting the bot so it sends fewer commands and tries to rate limit itself more. We've tried increasing the antiflood settings to...
    Code:
    serveredit virtualserver_antiflood_points_needed_ip_block=750
    serveredit virtualserver_antiflood_points_tick_reduce=20
    serveredit virtualserver_antiflood_points_needed_command_block=300
    But this had no affect.

    The server admin does not think anything has changed (ie, no updates etc).

    Can anyone offer any suggestions as to what might be causing the bans and what server settings to check. The bot does not send a lot of messages into the text chat (maybe 10 an hour under normal conditions)

  2. #2
    Join Date
    August 2015
    Posts
    55
    Not sure rn but since you just wanted an idea (didn't check it, maybe you can find it out in the threat from a while ago) it could be affected by an update which was implementing a command maximum of - I think it was - 10 per minute or so...
    There was a discussion about it and there you can find probably the needed information.
    Maybe one of the more following people can help out like numma or dante or ScP can maybe confirm or negate my thoughts.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. ServerQuery Interface
    By NicolasSiver in forum Linux / FreeBSD
    Replies: 5
    Last Post: June 5th, 2013, 11:06 AM
  2. ServerQuery Bot gets banned
    By baba43 in forum General Questions
    Replies: 1
    Last Post: October 30th, 2012, 11:56 AM
  3. Web Interface user getting banned
    By hayer in forum Permission System
    Replies: 1
    Last Post: July 17th, 2011, 12:13 AM
  4. Replies: 3
    Last Post: October 20th, 2010, 05:26 PM
  5. Client IP addresses through ServerQuery interface?
    By Soultaker~ in forum Server Support
    Replies: 6
    Last Post: June 5th, 2010, 02:31 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •