{"action":"created","issue":{"url":"https://api.github.com/repos/shadowsocks/shadowsocks/issues/1187","repository_url":"https://api.github.com/repos/shadowsocks/shadowsocks","labels_url":"https://api.github.com/repos/shadowsocks/shadowsocks/issues/1187/labels{/name}","comments_url":"https://api.github.com/repos/shadowsocks/shadowsocks/issues/1187/comments","events_url":"https://api.github.com/repos/shadowsocks/shadowsocks/issues/1187/events","html_url":"https://github.com/shadowsocks/shadowsocks/issues/1187","id":304142260,"number":1187,"title":"How can I limit user for each port?","user":{"login":"juandcosta","id":37132969,"avatar_url":"https://avatars2.githubusercontent.com/u/37132969?v=4","gravatar_id":"","url":"https://api.github.com/users/juandcosta","html_url":"https://github.com/juandcosta","followers_url":"https://api.github.com/users/juandcosta/followers","following_url":"https://api.github.com/users/juandcosta/following{/other_user}","gists_url":"https://api.github.com/users/juandcosta/gists{/gist_id}","starred_url":"https://api.github.com/users/juandcosta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juandcosta/subscriptions","organizations_url":"https://api.github.com/users/juandcosta/orgs","repos_url":"https://api.github.com/users/juandcosta/repos","events_url":"https://api.github.com/users/juandcosta/events{/privacy}","received_events_url":"https://api.github.com/users/juandcosta/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-11T09:07:34Z","updated_at":"2018-03-12T12:42:54Z","closed_at":null,"author_association":"NONE","body":"Hi there,\r\n\r\nI have a shadowsocks server running on ubuntu 14.04 server. I have 20 ports that my friends are using. I would like to know how can I limit connection for each port. Say, if there's one connection through one port then it shouldn't accept any more connection on the port.\r\n\r\nLooking forward for any solution."},"comment":{"url":"https://api.github.com/repos/shadowsocks/shadowsocks/issues/comments/372296609","html_url":"https://github.com/shadowsocks/shadowsocks/issues/1187#issuecomment-372296609","issue_url":"https://api.github.com/repos/shadowsocks/shadowsocks/issues/1187","id":372296609,"user":{"login":"huashengdun","id":909962,"avatar_url":"https://avatars0.githubusercontent.com/u/909962?v=4","gravatar_id":"","url":"https://api.github.com/users/huashengdun","html_url":"https://github.com/huashengdun","followers_url":"https://api.github.com/users/huashengdun/followers","following_url":"https://api.github.com/users/huashengdun/following{/other_user}","gists_url":"https://api.github.com/users/huashengdun/gists{/gist_id}","starred_url":"https://api.github.com/users/huashengdun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huashengdun/subscriptions","organizations_url":"https://api.github.com/users/huashengdun/orgs","repos_url":"https://api.github.com/users/huashengdun/repos","events_url":"https://api.github.com/users/huashengdun/events{/privacy}","received_events_url":"https://api.github.com/users/huashengdun/received_events","type":"User","site_admin":false},"created_at":"2018-03-12T12:42:54Z","updated_at":"2018-03-12T12:42:54Z","author_association":"NONE","body":"Your question seems obscure.\r\nYou want to limit the number of users to connect to one port? or limit the number of ports for a user to connect to?\r\nBut for whatever kind of limitation, first shadowsocks needs to identify the user which connect to its service.\r\nDoes shadowsocks have this kind of functionality?"}}
{"actor":{"display_login":"huashengdun"}}