Forum

Results 1 to 13 of 13
  1. #1
    Join Date
    April 2013
    Location
    Germany
    Posts
    86

    limit user per ip

    Hello,

    is there any feedback about adding a feature to limit the number of clients per IP address.
    i_client_max_clones_ip
    Similar to
    i_client_max_clones_uid
    Regards

  2. #2
    Join Date
    June 2011
    Location
    Germany
    Posts
    4,351
    That would be rather pointless now that everyone uses IPv6 and admins who still live in the 90's will have more users who connect via ISP-side NAT (shared IPv4), though the chance that two users of the same server share an IPv4 will be rare.

  3. #3
    Join Date
    April 2013
    Location
    Germany
    Posts
    86
    What about one user with two different identities? he can connect to the server using both uids(1 TS3 Client, 2 tabs).
    I am coding a php script to add server groups via a web page, first I compare the remote address to the client_connection_ip if they match then I grab the users database id and add the server group to it..
    I can't handle it if someone does what I mentioned in the first line! It lists both users
    Last edited by ZerefGG; June 13th, 2018 at 02:36 AM.

  4. #4
    Join Date
    August 2013
    Location
    Germany
    Posts
    540
    There's a serverinstance_pending_connections_per_ip property

  5. #5
    Join Date
    April 2013
    Location
    Germany
    Posts
    86
    Quote Originally Posted by Bluscream View Post
    There's a serverinstance_pending_connections_per_ip property
    Hmm! where did you see it?

  6. #6
    Join Date
    August 2013
    Location
    Germany
    Posts
    540
    Quote Originally Posted by TheZero View Post
    Hmm! where did you see it?
    Click image for larger version. 

Name:	8ruTHyQ.png 
Views:	219 
Size:	84.0 KB 
ID:	16761asdasdasd

  7. #7
    Join Date
    April 2013
    Location
    Germany
    Posts
    86
    Quote Originally Posted by Bluscream View Post
    asdasdasd
    Click image for larger version. 

Name:	12.JPG 
Views:	108 
Size:	113.5 KB 
ID:	16762

    Still, I can connect using multiple identities, one IP
    normally this should work for me but for some reason It just doesn't.. I also tried to connect via the android app using another identity.
    It seems that "serverinstance_pending_connections_per_ip" doesn't affect it.

    https://forum.teamspeak.com/threads/...057#post433057
    Last edited by ZerefGG; June 13th, 2018 at 05:20 AM.

  8. #8
    Join Date
    September 2012
    Posts
    6,078
    Quote Originally Posted by TheZero View Post
    It seems that "serverinstance_pending_connections_per_ip" doesn't affect it.
    Of course it doesn't, it was never intended to either. It doesn't do anything to existing or established connections.
    Quote Originally Posted by changelog.txt
    serverinstance_pending_connections_per_ip variable which limits the number of concurrent pending (=new) connections allowed from the same ip
    Setting that to 1 will make it so that only one client can connect from a given ip at the same time.
    When sending PMs please make sure to include a reference link to the thread in question in the body of your message.

  9. #9
    Join Date
    April 2013
    Location
    Germany
    Posts
    86
    Quote Originally Posted by Chris View Post
    Setting that to 1 will make it so that only one client can connect from a given ip at the same time.
    That's what I want !! 1 user 1 uid 1 ip..
    but I can create multiple identities and jon the server using them all, I want to prevent this from happening
    Last edited by ZerefGG; June 13th, 2018 at 12:03 PM.

  10. #10
    Join Date
    September 2012
    Posts
    6,078
    of course, the text even says so. It's pending connections, not those already established. If you're on the server you have an established connection.
    What's not possible is trying to connect multiple times at the same time.
    When sending PMs please make sure to include a reference link to the thread in question in the body of your message.

  11. #11
    Join Date
    April 2013
    Location
    Germany
    Posts
    86
    Hmm, so there is and will be no way to prevent a user from joining a server using multiple identities?

  12. #12
    Join Date
    August 2013
    Location
    Germany
    Posts
    540
    You could use iptables to block additional connections from the same IP

  13. #13
    Join Date
    April 2013
    Location
    Germany
    Posts
    86
    It's okay,
    I improved the foreach loop..
    After finding the 1st user (using and comparing the connection_client_ip and REMOTE_ADDR) the loop stops, so it does not loop again and find the 2nd one.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: August 17th, 2016, 11:41 AM
  2. [Not possible] Limit max user can be set in a channel
    By HazardousWolf in forum Permission System
    Replies: 1
    Last Post: January 20th, 2016, 09:54 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
  •