Results 1 to 10 of 10
Thread: Banned user not Banned?
-
04-05-2012, 11:16 #1
-= TeamSpeak User =-
- Join Date
- Jan 2012
- Posts
- 12
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.
-
04-05-2012, 11:36 #2
-= TeamSpeak Fanatic =-
- 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.
-
04-05-2012, 12:23 #3
-= TeamSpeak Team =-
- 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)
-
04-05-2012, 12:36 #4
-= TeamSpeak User =-
- 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.
-
04-05-2012, 12:38 #5
-= TeamSpeak User =-
- 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.
-
04-05-2012, 12:40 #6
-= TeamSpeak Team =-
- 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)
-
04-05-2012, 12:49 #7
-= TeamSpeak Fanatic =-
- 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:
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...
-
04-05-2012, 13:17 #8
-= TeamSpeak User =-
- Join Date
- Jan 2012
- Posts
- 12
Gotcha.
Thanks!
-
04-05-2012, 13:35 #9
-= TeamSpeak Team =-
- 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)
-
04-05-2012, 13:45 #10
-= TeamSpeak Fanatic =-
- 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
-
Web Interface user getting banned
By hayer in forum Permission SystemReplies: 1Last Post: 16-07-2011, 23:13 -
User gets banned
By aurinko in forum Client SupportReplies: 4Last Post: 25-06-2010, 12:46 -
banned user
By droglar in forum [TeamSpeak 2] General QuestionsReplies: 2Last Post: 28-06-2007, 14:56 -
been banned from unknown user
By -x-elmnator in forum [TeamSpeak 2] Client SupportReplies: 3Last Post: 07-05-2004, 12:03


Reply With Quote
