Community Forums Today's Posts     Member List     Archive    
Results 1 to 10 of 10
  1. #1
    Join Date
    Jan 2012
    Posts
    12

    Wink Banned user not Banned?

    Hey all.

    First of all, I hope I posted this in the correct board. If not, my apologies.


    So I banned this player the other day on his IP and ID, but today I noticed that he was sitting in the afk channel in my Teamspeak.

    I immediately thought that he had gotten a new IP and ID in order to join my TS server, but to my surprise both his IP and ID were matching with the ones Registered on the Ban List.

    I am surprised how the Ban didn't work.

    The Ban by the way is a "Regular Expression", set not to expire, and has the following "ip range" format: 12.345.*.*


    Have I done something wrong? Or is my server not functioning properly?

    Thanks in advance.
    /cddude.

  2. #2
    Join Date
    Jan 2010
    Location
    Germany
    Posts
    2,038
    with regular Expressions the dot has a special meaning. You will need to enter the above Ban like this when you want to use Regular Expression: 12\.234.*
    Or you should be able to use your Ban with the Wildcard Mode, which should translate it into a correct Regular Expression.

  3. #3
    Join Date
    Jun 2008
    Posts
    7,763
    Another problem i see here.
    Please do not fill all fields in 1 Ban dialog. It means ,that all fields have to match!

    12.345.* < Please create a ban, with a single IP range only and do not enter a nickname or UID from that user.
    Or the server will check the IP and the UID and whe nthe UD does not match, the whole ban would be usesless in this case.
    ---------------------------------------------------------
    Please don't send me private support questions.
    They belong into the forum and maybe other users have these questions/problems too.

    TeamSpeak FAQ || What should i report, when i open a client thread? || Report and upload your Crashdump here
    NPL License (Registration)

  4. #4
    Join Date
    Jan 2012
    Posts
    12
    Ah, I see. I thought the ban triggers were in an OR condition.

    I have now separated the 2 triggers from 1 single ban record into 2 separate. Both are in the Regular Expression for now - the Wildcard for the IP seems to add some weird "/" after each number, while the Regular expression does not. What's that backslash for anyway??

    So I should change the IP ban into Wildcard correct?

    Also, the ban should be 12.345.* and not usual 12.345.*.* ?

    Thanks for your help guys.

  5. #5
    Join Date
    Jan 2012
    Posts
    12
    Oh, and by the way, is there somewhere I can read what all of these "Wildcard", "Regular Expression", etc work and in what they differ?
    I run a rather big community, so it would be good to know for future use

    Many thanks again.

  6. #6
    Join Date
    Jun 2008
    Posts
    7,763
    One .* is enough for the ban as a regular expression.

    .* one character + unlimuted of one character
    .*.* one character + unlimuted of one character followed by one character + unlimuted of one character

    Edit
    http://qt-project.org/doc/qt-4.8/qregexp.html < this is explains a lot But it's not that easy to understand
    Last edited by dante696; 04-05-2012 at 13:03.
    ---------------------------------------------------------
    Please don't send me private support questions.
    They belong into the forum and maybe other users have these questions/problems too.

    TeamSpeak FAQ || What should i report, when i open a client thread? || Report and upload your Crashdump here
    NPL License (Registration)

  7. #7
    Join Date
    Jan 2010
    Location
    Germany
    Posts
    2,038
    The Backslash escapes Special Meaning Characters in a Regular Expression in order to literally match that character and ignore the special meaning it usually has.

    Both Wildcard IP Bans (1.2.* and 1.2.*.*) are the same as in Wildcard Mode * means any Character any amount of times. Wildcard also knows ? which means any single character.

    There are plenty of Pages on the net that explains Regular Expressions, so just google for it (and/or check the Wiki Link above)

    Edit to reply to dante who posted during me writing the above:

    Quote Originally Posted by dante696 View Post
    One .* is enough for the ban as a regular expression.

    .* one character + unlimuted of one character
    .*.* one character + unlimuted of one character followed by one character + unlimuted of one character
    not true.

    Both of your regular expressions match any String of characters no matter how long.

    . means any Character
    * means 0 or more times and is greedy which makes it match as many Characters as it can before the next Expression is evaluated.

    So your first one already matches any string of any characters, they don't have to be the same! .* WILL match c5g3f9jv8FEG

    And so will the .*.* because what happens is the first .* will already match the entire String, and then there is nothing left for the second . to match against BUT that is fine because you specified * which allows for the previous Expression to be found 0 times, which is true in this case and thus the regular expression matches.
    Last edited by SilentStorm; 04-05-2012 at 13:04. Reason: Merging...

  8. #8
    Join Date
    Jan 2012
    Posts
    12
    Gotcha.

    Thanks!

  9. #9
    Join Date
    Jun 2008
    Posts
    7,763
    Why is my explanation not true? This is the same thing in other words :P
    ---------------------------------------------------------
    Please don't send me private support questions.
    They belong into the forum and maybe other users have these questions/problems too.

    TeamSpeak FAQ || What should i report, when i open a client thread? || Report and upload your Crashdump here
    NPL License (Registration)

  10. #10
    Join Date
    Jan 2010
    Location
    Germany
    Posts
    2,038
    It doesn't have to be "one character", nor does it have to be "+ unlimited of one character".

    Each character can be different and it will match 0 Characters the same it does match a zillion Characters.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Web Interface user getting banned
    By hayer in forum Permission System
    Replies: 1
    Last Post: 16-07-2011, 23:13
  2. User gets banned
    By aurinko in forum Client Support
    Replies: 4
    Last Post: 25-06-2010, 12:46
  3. banned user
    By droglar in forum [TeamSpeak 2] General Questions
    Replies: 2
    Last Post: 28-06-2007, 14:56
  4. been banned from unknown user
    By -x-elmnator in forum [TeamSpeak 2] Client Support
    Replies: 3
    Last Post: 07-05-2004, 12:03

Posting Permissions

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