{"action":"created","issue":{"url":"https://api.github.com/repos/minetest/master-server/issues/8","labels_url":"https://api.github.com/repos/minetest/master-server/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/minetest/master-server/issues/8/comments","events_url":"https://api.github.com/repos/minetest/master-server/issues/8/events","html_url":"https://github.com/minetest/master-server/issues/8","id":114797407,"number":8,"title":"No uniquness by connection address","user":{"login":"neoascetic","id":725836,"avatar_url":"https://avatars.githubusercontent.com/u/725836?v=3","gravatar_id":"","url":"https://api.github.com/users/neoascetic","html_url":"https://github.com/neoascetic","followers_url":"https://api.github.com/users/neoascetic/followers","following_url":"https://api.github.com/users/neoascetic/following{/other_user}","gists_url":"https://api.github.com/users/neoascetic/gists{/gist_id}","starred_url":"https://api.github.com/users/neoascetic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neoascetic/subscriptions","organizations_url":"https://api.github.com/users/neoascetic/orgs","repos_url":"https://api.github.com/users/neoascetic/repos","events_url":"https://api.github.com/users/neoascetic/events{/privacy}","received_events_url":"https://api.github.com/users/neoascetic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-03T11:39:14Z","updated_at":"2015-11-03T17:20:44Z","closed_at":null,"body":"It is possible now to have several servers with same ip/domain name and port in the list.\r\nFor example, at this moment you may see two Krondor servers: one is mine, and second belongs to someone else. Both are registered with krondor.neoascetic.me as domain name."},"comment":{"url":"https://api.github.com/repos/minetest/master-server/issues/comments/153423533","html_url":"https://github.com/minetest/master-server/issues/8#issuecomment-153423533","issue_url":"https://api.github.com/repos/minetest/master-server/issues/8","id":153423533,"user":{"login":"ShadowNinja","id":3399154,"avatar_url":"https://avatars.githubusercontent.com/u/3399154?v=3","gravatar_id":"","url":"https://api.github.com/users/ShadowNinja","html_url":"https://github.com/ShadowNinja","followers_url":"https://api.github.com/users/ShadowNinja/followers","following_url":"https://api.github.com/users/ShadowNinja/following{/other_user}","gists_url":"https://api.github.com/users/ShadowNinja/gists{/gist_id}","starred_url":"https://api.github.com/users/ShadowNinja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShadowNinja/subscriptions","organizations_url":"https://api.github.com/users/ShadowNinja/orgs","repos_url":"https://api.github.com/users/ShadowNinja/repos","events_url":"https://api.github.com/users/ShadowNinja/events{/privacy}","received_events_url":"https://api.github.com/users/ShadowNinja/received_events","type":"User","site_admin":false},"created_at":"2015-11-03T17:20:44Z","updated_at":"2015-11-03T17:20:44Z","body":"Here's the relevant (simplified) code.  It seems to be correct.\r\n```Python\r\ninfo = socket.getaddrinfo(server[\"address\"],\r\n\tserver[\"port\"],\r\n\ttype=socket.SOCK_DGRAM,\r\n\tproto=socket.SOL_UDP)\r\n\r\naddresses = set(data[4][0] for data in info)\r\nif not server[\"ip\"] in addresses:\r\n\treturn\r\n```"}}