Results 1 to 7 of 7
Thread: banning by ip range!
-
10-07-2010, 04:00 #1
-= TeamSpeak Lover =-
- Join Date
- Jun 2010
- Location
- ???
- Posts
- 51
banning by ip range!
Edit by mod
This thread is for an old version. Please read this one : http://forum.teamspeak.com/showthrea...ies-(Ip-range)
teamspeak 2 was awesome by its banning system because u were able to ban by ip range. For example.
if
93.172.181.64 was banned u could just do this
93.172.*.* and anyone connecting with 93.172 would get banned
anyway to do this on ts3?Last edited by florian_fr40; 13-01-2012 at 12:59.
-
10-07-2010, 05:24 #2
-= TeamSpeak Addict =-
- Join Date
- Nov 2009
- Location
- Dublin, Ireland
- Posts
- 398
93.172.*
enable it to be understood as a regular expression.
should work.
-
10-07-2010, 13:55 #3
-= TeamSpeak Team =-
- Join Date
- Jul 2002
- Location
- Germany
- Posts
- 2,836
This is the correct syntax, assuming you have the box "Interpret IP and Name as regular expression" checked (you need to for any wild card banning)
a, b, c and d are numbers 1-255
IP only
TS2 style: a.b.c.d
TS3 style: a\.b\.c\.d
Range of 255 IPs
TS2 style: a.b.c.*
TS3 style: a\.b\.\c\..*
Range of 255 * 255 IPs
TS2 style: a.b.*.*
TS3 style: a\.b\..*\..*
So basically to convert a TS2 ban into a TS3 ban: replace all "." with "\.", replace all "*" with ".*"
We know that, especially for people that do not know regular expressions (which is most TS users I figure), the TS3 way is complicated/confusing. We have plans to make an easier ban dialog where you can directly specify ranges to ban to ease this pain.You think my answer is stupid ? Read This:
http://www.catb.org/~esr/faqs/smart-...ons.html#intro
In a world without fences and walls - who needs windows and gates ?
-
19-07-2010, 15:42 #4
-= TeamSpeak Addict =-
- Join Date
- Nov 2009
- Location
- Dublin, Ireland
- Posts
- 398
Peter i can ban people doing it this way in the picture ( tested on myself and another person )
However your way works also.
But if my way, where i ban a.b.* with regular expression enabled, is an incorrect syntax then why does it work? the correct syntax you posted seems like to much hassle writing out the a\.b\..*\..* :P
-
19-07-2010, 15:49 #5
It isn't an incorrect syntax. In regular expressions a dot (.) means any character, and a star (*) means that the character left of the star can be zero or more times. So ".*" means any character zero or more times. Thats why it works for any IP starting with "a.b".
The only problem is the dot (.) between a and b. The regular expression "a.b.*" works also for "a6b", because the dot (.) allows any character. Thats why you should escape the dot (.) if you really mean the dot.
-
08-05-2011, 17:51 #6
-= TeamSpeak User =-
- Join Date
- May 2011
- Posts
- 2
How can I ban a range of IPs
I need to be able to Ban a range of IP addresses. what wild cards are used for this or is there another way to do this?
-
08-05-2011, 17:56 #7
-= TeamSpeak User =-
- Join Date
- May 2011
- Posts
- 2
found my answer at
banning by ip range!
By Slicky456 in forum Server Support
wish it had come up in the search engine
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
[Solved] Range ban doesn´t work
By Prof.TS in forum Server SupportReplies: 7Last Post: 30-06-2010, 13:38 -
[Suggestion] Security Level by IP address or IP Range
By sgtrwe in forum Suggestions and FeedbackReplies: 4Last Post: 04-05-2010, 16:04 -
Subnet banning
By azzy101 in forum Suggestions and FeedbackReplies: 2Last Post: 23-12-2009, 02:56 -
IP Range Banning
By Confedorate in forum [TeamSpeak 2] Server SupportReplies: 2Last Post: 24-02-2005, 20:34 -
Allow banning by loginname
By wonderworld in forum [TeamSpeak 2] General QuestionsReplies: 6Last Post: 13-11-2003, 12:28







