{"action":"created","comment":{"url":"https://api.github.com/repos/Tribler/tribler/pulls/comments/26383379","id":26383379,"diff_hunk":"@@ -643,6 +657,10 @@ def check_create(self, messages):\n             if self.crypto.key.pub().key_to_bin() != message.payload.node_public_key:\n                 yield DropMessage(message, \"TunnelCommunity: public keys do not match\")\n                 continue\n+            \n+            if not self.settings.become_exitnode and message.payload.become_exit:\n+                yield DropMessage(message, \"Exit-node functionality disabled\")","path":"Tribler/community/tunnel/tunnel_community.py","position":97,"original_position":97,"commit_id":"d33a2e95eefe80ee077bb8b327414eaeb252bab4","original_commit_id":"d33a2e95eefe80ee077bb8b327414eaeb252bab4","user":{"login":"NielsZeilemaker","id":3777585,"avatar_url":"https://avatars.githubusercontent.com/u/3777585?v=3","gravatar_id":"","url":"https://api.github.com/users/NielsZeilemaker","html_url":"https://github.com/NielsZeilemaker","followers_url":"https://api.github.com/users/NielsZeilemaker/followers","following_url":"https://api.github.com/users/NielsZeilemaker/following{/other_user}","gists_url":"https://api.github.com/users/NielsZeilemaker/gists{/gist_id}","starred_url":"https://api.github.com/users/NielsZeilemaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NielsZeilemaker/subscriptions","organizations_url":"https://api.github.com/users/NielsZeilemaker/orgs","repos_url":"https://api.github.com/users/NielsZeilemaker/repos","events_url":"https://api.github.com/users/NielsZeilemaker/events{/privacy}","received_events_url":"https://api.github.com/users/NielsZeilemaker/received_events","type":"User","site_admin":false},"body":"I would reply with a message saying denied or something like that, then choose a different peer if you receive a denied response. Otherwise creating a tunnel might be ridicously difficult.\r\n\r\nMoreover, how are you going to link two tunnels? Are introduction/rendezvous points exit points? Because they do exit_data.","created_at":"2015-03-13T13:03:15Z","updated_at":"2015-03-13T13:03:15Z","html_url":"https://github.com/Tribler/tribler/pull/1325#discussion_r26383379","pull_request_url":"https://api.github.com/repos/Tribler/tribler/pulls/1325","_links":{"self":{"href":"https://api.github.com/repos/Tribler/tribler/pulls/comments/26383379"},"html":{"href":"https://github.com/Tribler/tribler/pull/1325#discussion_r26383379"},"pull_request":{"href":"https://api.github.com/repos/Tribler/tribler/pulls/1325"}}},"pull_request":{"url":"https://api.github.com/repos/Tribler/tribler/pulls/1325","id":31038568,"html_url":"https://github.com/Tribler/tribler/pull/1325","diff_url":"https://github.com/Tribler/tribler/pull/1325.diff","patch_url":"https://github.com/Tribler/tribler/pull/1325.patch","issue_url":"https://api.github.com/repos/Tribler/tribler/issues/1325","number":1325,"state":"open","locked":false,"title":"Exiting data over tunnels is only allowed after opt-in via settings","user":{"login":"rjruigrok","id":3985534,"avatar_url":"https://avatars.githubusercontent.com/u/3985534?v=3","gravatar_id":"","url":"https://api.github.com/users/rjruigrok","html_url":"https://github.com/rjruigrok","followers_url":"https://api.github.com/users/rjruigrok/followers","following_url":"https://api.github.com/users/rjruigrok/following{/other_user}","gists_url":"https://api.github.com/users/rjruigrok/gists{/gist_id}","starred_url":"https://api.github.com/users/rjruigrok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjruigrok/subscriptions","organizations_url":"https://api.github.com/users/rjruigrok/orgs","repos_url":"https://api.github.com/users/rjruigrok/repos","events_url":"https://api.github.com/users/rjruigrok/events{/privacy}","received_events_url":"https://api.github.com/users/rjruigrok/received_events","type":"User","site_admin":false},"body":"See #1174  \r\n\r\nDO NOT MERGE YET","created_at":"2015-03-12T14:08:08Z","updated_at":"2015-03-13T13:03:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2dafec8d2629b78eeb95c97009a2bda0c00807de","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Tribler/tribler/pulls/1325/commits","review_comments_url":"https://api.github.com/repos/Tribler/tribler/pulls/1325/comments","review_comment_url":"https://api.github.com/repos/Tribler/tribler/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Tribler/tribler/issues/1325/comments","statuses_url":"https://api.github.com/repos/Tribler/tribler/statuses/d33a2e95eefe80ee077bb8b327414eaeb252bab4","head":{"label":"rjruigrok:exitnode-switch","ref":"exitnode-switch","sha":"d33a2e95eefe80ee077bb8b327414eaeb252bab4","user":{"login":"rjruigrok","id":3985534,"avatar_url":"https://avatars.githubusercontent.com/u/3985534?v=3","gravatar_id":"","url":"https://api.github.com/users/rjruigrok","html_url":"https://github.com/rjruigrok","followers_url":"https://api.github.com/users/rjruigrok/followers","following_url":"https://api.github.com/users/rjruigrok/following{/other_user}","gists_url":"https://api.github.com/users/rjruigrok/gists{/gist_id}","starred_url":"https://api.github.com/users/rjruigrok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjruigrok/subscriptions","organizations_url":"https://api.github.com/users/rjruigrok/orgs","repos_url":"https://api.github.com/users/rjruigrok/repos","events_url":"https://api.github.com/users/rjruigrok/events{/privacy}","received_events_url":"https://api.github.com/users/rjruigrok/received_events","type":"User","site_admin":false},"repo":{"id":22440393,"name":"tribler","full_name":"rjruigrok/tribler","owner":{"login":"rjruigrok","id":3985534,"avatar_url":"https://avatars.githubusercontent.com/u/3985534?v=3","gravatar_id":"","url":"https://api.github.com/users/rjruigrok","html_url":"https://github.com/rjruigrok","followers_url":"https://api.github.com/users/rjruigrok/followers","following_url":"https://api.github.com/users/rjruigrok/following{/other_user}","gists_url":"https://api.github.com/users/rjruigrok/gists{/gist_id}","starred_url":"https://api.github.com/users/rjruigrok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjruigrok/subscriptions","organizations_url":"https://api.github.com/users/rjruigrok/orgs","repos_url":"https://api.github.com/users/rjruigrok/repos","events_url":"https://api.github.com/users/rjruigrok/events{/privacy}","received_events_url":"https://api.github.com/users/rjruigrok/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rjruigrok/tribler","description":"A different BitTorrent client.","fork":true,"url":"https://api.github.com/repos/rjruigrok/tribler","forks_url":"https://api.github.com/repos/rjruigrok/tribler/forks","keys_url":"https://api.github.com/repos/rjruigrok/tribler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rjruigrok/tribler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rjruigrok/tribler/teams","hooks_url":"https://api.github.com/repos/rjruigrok/tribler/hooks","issue_events_url":"https://api.github.com/repos/rjruigrok/tribler/issues/events{/number}","events_url":"https://api.github.com/repos/rjruigrok/tribler/events","assignees_url":"https://api.github.com/repos/rjruigrok/tribler/assignees{/user}","branches_url":"https://api.github.com/repos/rjruigrok/tribler/branches{/branch}","tags_url":"https://api.github.com/repos/rjruigrok/tribler/tags","blobs_url":"https://api.github.com/repos/rjruigrok/tribler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rjruigrok/tribler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rjruigrok/tribler/git/refs{/sha}","trees_url":"https://api.github.com/repos/rjruigrok/tribler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rjruigrok/tribler/statuses/{sha}","languages_url":"https://api.github.com/repos/rjruigrok/tribler/languages","stargazers_url":"https://api.github.com/repos/rjruigrok/tribler/stargazers","contributors_url":"https://api.github.com/repos/rjruigrok/tribler/contributors","subscribers_url":"https://api.github.com/repos/rjruigrok/tribler/subscribers","subscription_url":"https://api.github.com/repos/rjruigrok/tribler/subscription","commits_url":"https://api.github.com/repos/rjruigrok/tribler/commits{/sha}","git_commits_url":"https://api.github.com/repos/rjruigrok/tribler/git/commits{/sha}","comments_url":"https://api.github.com/repos/rjruigrok/tribler/comments{/number}","issue_comment_url":"https://api.github.com/repos/rjruigrok/tribler/issues/comments{/number}","contents_url":"https://api.github.com/repos/rjruigrok/tribler/contents/{+path}","compare_url":"https://api.github.com/repos/rjruigrok/tribler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rjruigrok/tribler/merges","archive_url":"https://api.github.com/repos/rjruigrok/tribler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rjruigrok/tribler/downloads","issues_url":"https://api.github.com/repos/rjruigrok/tribler/issues{/number}","pulls_url":"https://api.github.com/repos/rjruigrok/tribler/pulls{/number}","milestones_url":"https://api.github.com/repos/rjruigrok/tribler/milestones{/number}","notifications_url":"https://api.github.com/repos/rjruigrok/tribler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rjruigrok/tribler/labels{/name}","releases_url":"https://api.github.com/repos/rjruigrok/tribler/releases{/id}","created_at":"2014-07-30T18:43:39Z","updated_at":"2014-07-30T18:58:58Z","pushed_at":"2015-03-12T16:24:29Z","git_url":"git://github.com/rjruigrok/tribler.git","ssh_url":"git@github.com:rjruigrok/tribler.git","clone_url":"https://github.com/rjruigrok/tribler.git","svn_url":"https://github.com/rjruigrok/tribler","homepage":"http://www.tribler.org","size":104799,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"devel"}},"base":{"label":"Tribler:devel","ref":"devel","sha":"5eb045db80149dc94c1701acbadb77e668c41cef","user":{"login":"Tribler","id":2913489,"avatar_url":"https://avatars.githubusercontent.com/u/2913489?v=3","gravatar_id":"","url":"https://api.github.com/users/Tribler","html_url":"https://github.com/Tribler","followers_url":"https://api.github.com/users/Tribler/followers","following_url":"https://api.github.com/users/Tribler/following{/other_user}","gists_url":"https://api.github.com/users/Tribler/gists{/gist_id}","starred_url":"https://api.github.com/users/Tribler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tribler/subscriptions","organizations_url":"https://api.github.com/users/Tribler/orgs","repos_url":"https://api.github.com/users/Tribler/repos","events_url":"https://api.github.com/users/Tribler/events{/privacy}","received_events_url":"https://api.github.com/users/Tribler/received_events","type":"Organization","site_admin":false},"repo":{"id":8411137,"name":"tribler","full_name":"Tribler/tribler","owner":{"login":"Tribler","id":2913489,"avatar_url":"https://avatars.githubusercontent.com/u/2913489?v=3","gravatar_id":"","url":"https://api.github.com/users/Tribler","html_url":"https://github.com/Tribler","followers_url":"https://api.github.com/users/Tribler/followers","following_url":"https://api.github.com/users/Tribler/following{/other_user}","gists_url":"https://api.github.com/users/Tribler/gists{/gist_id}","starred_url":"https://api.github.com/users/Tribler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tribler/subscriptions","organizations_url":"https://api.github.com/users/Tribler/orgs","repos_url":"https://api.github.com/users/Tribler/repos","events_url":"https://api.github.com/users/Tribler/events{/privacy}","received_events_url":"https://api.github.com/users/Tribler/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Tribler/tribler","description":"Privacy with BitTorrent and resilient to shut down","fork":false,"url":"https://api.github.com/repos/Tribler/tribler","forks_url":"https://api.github.com/repos/Tribler/tribler/forks","keys_url":"https://api.github.com/repos/Tribler/tribler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Tribler/tribler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Tribler/tribler/teams","hooks_url":"https://api.github.com/repos/Tribler/tribler/hooks","issue_events_url":"https://api.github.com/repos/Tribler/tribler/issues/events{/number}","events_url":"https://api.github.com/repos/Tribler/tribler/events","assignees_url":"https://api.github.com/repos/Tribler/tribler/assignees{/user}","branches_url":"https://api.github.com/repos/Tribler/tribler/branches{/branch}","tags_url":"https://api.github.com/repos/Tribler/tribler/tags","blobs_url":"https://api.github.com/repos/Tribler/tribler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Tribler/tribler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Tribler/tribler/git/refs{/sha}","trees_url":"https://api.github.com/repos/Tribler/tribler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Tribler/tribler/statuses/{sha}","languages_url":"https://api.github.com/repos/Tribler/tribler/languages","stargazers_url":"https://api.github.com/repos/Tribler/tribler/stargazers","contributors_url":"https://api.github.com/repos/Tribler/tribler/contributors","subscribers_url":"https://api.github.com/repos/Tribler/tribler/subscribers","subscription_url":"https://api.github.com/repos/Tribler/tribler/subscription","commits_url":"https://api.github.com/repos/Tribler/tribler/commits{/sha}","git_commits_url":"https://api.github.com/repos/Tribler/tribler/git/commits{/sha}","comments_url":"https://api.github.com/repos/Tribler/tribler/comments{/number}","issue_comment_url":"https://api.github.com/repos/Tribler/tribler/issues/comments{/number}","contents_url":"https://api.github.com/repos/Tribler/tribler/contents/{+path}","compare_url":"https://api.github.com/repos/Tribler/tribler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Tribler/tribler/merges","archive_url":"https://api.github.com/repos/Tribler/tribler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Tribler/tribler/downloads","issues_url":"https://api.github.com/repos/Tribler/tribler/issues{/number}","pulls_url":"https://api.github.com/repos/Tribler/tribler/pulls{/number}","milestones_url":"https://api.github.com/repos/Tribler/tribler/milestones{/number}","notifications_url":"https://api.github.com/repos/Tribler/tribler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Tribler/tribler/labels{/name}","releases_url":"https://api.github.com/repos/Tribler/tribler/releases{/id}","created_at":"2013-02-25T14:51:58Z","updated_at":"2015-03-12T20:37:20Z","pushed_at":"2015-03-10T14:25:01Z","git_url":"git://github.com/Tribler/tribler.git","ssh_url":"git@github.com:Tribler/tribler.git","clone_url":"https://github.com/Tribler/tribler.git","svn_url":"https://github.com/Tribler/tribler","homepage":"http://www.tribler.org","size":120034,"stargazers_count":1585,"watchers_count":1585,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":132,"mirror_url":null,"open_issues_count":129,"forks":132,"open_issues":129,"watchers":1585,"default_branch":"devel"}},"_links":{"self":{"href":"https://api.github.com/repos/Tribler/tribler/pulls/1325"},"html":{"href":"https://github.com/Tribler/tribler/pull/1325"},"issue":{"href":"https://api.github.com/repos/Tribler/tribler/issues/1325"},"comments":{"href":"https://api.github.com/repos/Tribler/tribler/issues/1325/comments"},"review_comments":{"href":"https://api.github.com/repos/Tribler/tribler/pulls/1325/comments"},"review_comment":{"href":"https://api.github.com/repos/Tribler/tribler/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Tribler/tribler/pulls/1325/commits"},"statuses":{"href":"https://api.github.com/repos/Tribler/tribler/statuses/d33a2e95eefe80ee077bb8b327414eaeb252bab4"}}}}