{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/freeyoung/dns-filter/pulls/2","id":49382009,"html_url":"https://github.com/freeyoung/dns-filter/pull/2","diff_url":"https://github.com/freeyoung/dns-filter/pull/2.diff","patch_url":"https://github.com/freeyoung/dns-filter/pull/2.patch","issue_url":"https://api.github.com/repos/freeyoung/dns-filter/issues/2","number":2,"state":"closed","locked":false,"title":"Use real client IP if EDNS payload detected","user":{"login":"freeyoung","id":1342712,"avatar_url":"https://avatars.githubusercontent.com/u/1342712?v=3","gravatar_id":"","url":"https://api.github.com/users/freeyoung","html_url":"https://github.com/freeyoung","followers_url":"https://api.github.com/users/freeyoung/followers","following_url":"https://api.github.com/users/freeyoung/following{/other_user}","gists_url":"https://api.github.com/users/freeyoung/gists{/gist_id}","starred_url":"https://api.github.com/users/freeyoung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freeyoung/subscriptions","organizations_url":"https://api.github.com/users/freeyoung/orgs","repos_url":"https://api.github.com/users/freeyoung/repos","events_url":"https://api.github.com/users/freeyoung/events{/privacy}","received_events_url":"https://api.github.com/users/freeyoung/received_events","type":"User","site_admin":false},"body":"This PR uses the client address in EDNS payload (if any) to override `cliAddr`, for \"screened domain\" feature. A common scenario is, `dns-filter` works as an upstream dns resolver of a local dns cache, like `dnsmasq`.","created_at":"2015-11-01T21:57:18Z","updated_at":"2015-11-01T21:57:33Z","closed_at":"2015-11-01T21:57:33Z","merged_at":"2015-11-01T21:57:33Z","merge_commit_sha":"c44fb25237876893a5dc751f9083478111daf640","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/freeyoung/dns-filter/pulls/2/commits","review_comments_url":"https://api.github.com/repos/freeyoung/dns-filter/pulls/2/comments","review_comment_url":"https://api.github.com/repos/freeyoung/dns-filter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/freeyoung/dns-filter/issues/2/comments","statuses_url":"https://api.github.com/repos/freeyoung/dns-filter/statuses/d4fc443e3084bdb98c8a616754efa02836520a58","head":{"label":"freeyoung:edns-support","ref":"edns-support","sha":"d4fc443e3084bdb98c8a616754efa02836520a58","user":{"login":"freeyoung","id":1342712,"avatar_url":"https://avatars.githubusercontent.com/u/1342712?v=3","gravatar_id":"","url":"https://api.github.com/users/freeyoung","html_url":"https://github.com/freeyoung","followers_url":"https://api.github.com/users/freeyoung/followers","following_url":"https://api.github.com/users/freeyoung/following{/other_user}","gists_url":"https://api.github.com/users/freeyoung/gists{/gist_id}","starred_url":"https://api.github.com/users/freeyoung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freeyoung/subscriptions","organizations_url":"https://api.github.com/users/freeyoung/orgs","repos_url":"https://api.github.com/users/freeyoung/repos","events_url":"https://api.github.com/users/freeyoung/events{/privacy}","received_events_url":"https://api.github.com/users/freeyoung/received_events","type":"User","site_admin":false},"repo":{"id":44059073,"name":"dns-filter","full_name":"freeyoung/dns-filter","owner":{"login":"freeyoung","id":1342712,"avatar_url":"https://avatars.githubusercontent.com/u/1342712?v=3","gravatar_id":"","url":"https://api.github.com/users/freeyoung","html_url":"https://github.com/freeyoung","followers_url":"https://api.github.com/users/freeyoung/followers","following_url":"https://api.github.com/users/freeyoung/following{/other_user}","gists_url":"https://api.github.com/users/freeyoung/gists{/gist_id}","starred_url":"https://api.github.com/users/freeyoung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freeyoung/subscriptions","organizations_url":"https://api.github.com/users/freeyoung/orgs","repos_url":"https://api.github.com/users/freeyoung/repos","events_url":"https://api.github.com/users/freeyoung/events{/privacy}","received_events_url":"https://api.github.com/users/freeyoung/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/freeyoung/dns-filter","description":"DNS proxy for obnoxious ISPs with catch-all DNS","fork":true,"url":"https://api.github.com/repos/freeyoung/dns-filter","forks_url":"https://api.github.com/repos/freeyoung/dns-filter/forks","keys_url":"https://api.github.com/repos/freeyoung/dns-filter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/freeyoung/dns-filter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/freeyoung/dns-filter/teams","hooks_url":"https://api.github.com/repos/freeyoung/dns-filter/hooks","issue_events_url":"https://api.github.com/repos/freeyoung/dns-filter/issues/events{/number}","events_url":"https://api.github.com/repos/freeyoung/dns-filter/events","assignees_url":"https://api.github.com/repos/freeyoung/dns-filter/assignees{/user}","branches_url":"https://api.github.com/repos/freeyoung/dns-filter/branches{/branch}","tags_url":"https://api.github.com/repos/freeyoung/dns-filter/tags","blobs_url":"https://api.github.com/repos/freeyoung/dns-filter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/freeyoung/dns-filter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/freeyoung/dns-filter/git/refs{/sha}","trees_url":"https://api.github.com/repos/freeyoung/dns-filter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/freeyoung/dns-filter/statuses/{sha}","languages_url":"https://api.github.com/repos/freeyoung/dns-filter/languages","stargazers_url":"https://api.github.com/repos/freeyoung/dns-filter/stargazers","contributors_url":"https://api.github.com/repos/freeyoung/dns-filter/contributors","subscribers_url":"https://api.github.com/repos/freeyoung/dns-filter/subscribers","subscription_url":"https://api.github.com/repos/freeyoung/dns-filter/subscription","commits_url":"https://api.github.com/repos/freeyoung/dns-filter/commits{/sha}","git_commits_url":"https://api.github.com/repos/freeyoung/dns-filter/git/commits{/sha}","comments_url":"https://api.github.com/repos/freeyoung/dns-filter/comments{/number}","issue_comment_url":"https://api.github.com/repos/freeyoung/dns-filter/issues/comments{/number}","contents_url":"https://api.github.com/repos/freeyoung/dns-filter/contents/{+path}","compare_url":"https://api.github.com/repos/freeyoung/dns-filter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/freeyoung/dns-filter/merges","archive_url":"https://api.github.com/repos/freeyoung/dns-filter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/freeyoung/dns-filter/downloads","issues_url":"https://api.github.com/repos/freeyoung/dns-filter/issues{/number}","pulls_url":"https://api.github.com/repos/freeyoung/dns-filter/pulls{/number}","milestones_url":"https://api.github.com/repos/freeyoung/dns-filter/milestones{/number}","notifications_url":"https://api.github.com/repos/freeyoung/dns-filter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/freeyoung/dns-filter/labels{/name}","releases_url":"https://api.github.com/repos/freeyoung/dns-filter/releases{/id}","created_at":"2015-10-11T16:08:56Z","updated_at":"2015-10-11T16:08:57Z","pushed_at":"2015-11-01T21:57:33Z","git_url":"git://github.com/freeyoung/dns-filter.git","ssh_url":"git@github.com:freeyoung/dns-filter.git","clone_url":"https://github.com/freeyoung/dns-filter.git","svn_url":"https://github.com/freeyoung/dns-filter","homepage":"http://chris-lamb.co.uk/projects/dns-filter/","size":151,"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":"master"}},"base":{"label":"freeyoung:master","ref":"master","sha":"9280d5dfdb80f5c3cf2f5062feeab9e1c975d9a5","user":{"login":"freeyoung","id":1342712,"avatar_url":"https://avatars.githubusercontent.com/u/1342712?v=3","gravatar_id":"","url":"https://api.github.com/users/freeyoung","html_url":"https://github.com/freeyoung","followers_url":"https://api.github.com/users/freeyoung/followers","following_url":"https://api.github.com/users/freeyoung/following{/other_user}","gists_url":"https://api.github.com/users/freeyoung/gists{/gist_id}","starred_url":"https://api.github.com/users/freeyoung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freeyoung/subscriptions","organizations_url":"https://api.github.com/users/freeyoung/orgs","repos_url":"https://api.github.com/users/freeyoung/repos","events_url":"https://api.github.com/users/freeyoung/events{/privacy}","received_events_url":"https://api.github.com/users/freeyoung/received_events","type":"User","site_admin":false},"repo":{"id":44059073,"name":"dns-filter","full_name":"freeyoung/dns-filter","owner":{"login":"freeyoung","id":1342712,"avatar_url":"https://avatars.githubusercontent.com/u/1342712?v=3","gravatar_id":"","url":"https://api.github.com/users/freeyoung","html_url":"https://github.com/freeyoung","followers_url":"https://api.github.com/users/freeyoung/followers","following_url":"https://api.github.com/users/freeyoung/following{/other_user}","gists_url":"https://api.github.com/users/freeyoung/gists{/gist_id}","starred_url":"https://api.github.com/users/freeyoung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freeyoung/subscriptions","organizations_url":"https://api.github.com/users/freeyoung/orgs","repos_url":"https://api.github.com/users/freeyoung/repos","events_url":"https://api.github.com/users/freeyoung/events{/privacy}","received_events_url":"https://api.github.com/users/freeyoung/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/freeyoung/dns-filter","description":"DNS proxy for obnoxious ISPs with catch-all DNS","fork":true,"url":"https://api.github.com/repos/freeyoung/dns-filter","forks_url":"https://api.github.com/repos/freeyoung/dns-filter/forks","keys_url":"https://api.github.com/repos/freeyoung/dns-filter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/freeyoung/dns-filter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/freeyoung/dns-filter/teams","hooks_url":"https://api.github.com/repos/freeyoung/dns-filter/hooks","issue_events_url":"https://api.github.com/repos/freeyoung/dns-filter/issues/events{/number}","events_url":"https://api.github.com/repos/freeyoung/dns-filter/events","assignees_url":"https://api.github.com/repos/freeyoung/dns-filter/assignees{/user}","branches_url":"https://api.github.com/repos/freeyoung/dns-filter/branches{/branch}","tags_url":"https://api.github.com/repos/freeyoung/dns-filter/tags","blobs_url":"https://api.github.com/repos/freeyoung/dns-filter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/freeyoung/dns-filter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/freeyoung/dns-filter/git/refs{/sha}","trees_url":"https://api.github.com/repos/freeyoung/dns-filter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/freeyoung/dns-filter/statuses/{sha}","languages_url":"https://api.github.com/repos/freeyoung/dns-filter/languages","stargazers_url":"https://api.github.com/repos/freeyoung/dns-filter/stargazers","contributors_url":"https://api.github.com/repos/freeyoung/dns-filter/contributors","subscribers_url":"https://api.github.com/repos/freeyoung/dns-filter/subscribers","subscription_url":"https://api.github.com/repos/freeyoung/dns-filter/subscription","commits_url":"https://api.github.com/repos/freeyoung/dns-filter/commits{/sha}","git_commits_url":"https://api.github.com/repos/freeyoung/dns-filter/git/commits{/sha}","comments_url":"https://api.github.com/repos/freeyoung/dns-filter/comments{/number}","issue_comment_url":"https://api.github.com/repos/freeyoung/dns-filter/issues/comments{/number}","contents_url":"https://api.github.com/repos/freeyoung/dns-filter/contents/{+path}","compare_url":"https://api.github.com/repos/freeyoung/dns-filter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/freeyoung/dns-filter/merges","archive_url":"https://api.github.com/repos/freeyoung/dns-filter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/freeyoung/dns-filter/downloads","issues_url":"https://api.github.com/repos/freeyoung/dns-filter/issues{/number}","pulls_url":"https://api.github.com/repos/freeyoung/dns-filter/pulls{/number}","milestones_url":"https://api.github.com/repos/freeyoung/dns-filter/milestones{/number}","notifications_url":"https://api.github.com/repos/freeyoung/dns-filter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/freeyoung/dns-filter/labels{/name}","releases_url":"https://api.github.com/repos/freeyoung/dns-filter/releases{/id}","created_at":"2015-10-11T16:08:56Z","updated_at":"2015-10-11T16:08:57Z","pushed_at":"2015-11-01T21:57:33Z","git_url":"git://github.com/freeyoung/dns-filter.git","ssh_url":"git@github.com:freeyoung/dns-filter.git","clone_url":"https://github.com/freeyoung/dns-filter.git","svn_url":"https://github.com/freeyoung/dns-filter","homepage":"http://chris-lamb.co.uk/projects/dns-filter/","size":151,"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":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/freeyoung/dns-filter/pulls/2"},"html":{"href":"https://github.com/freeyoung/dns-filter/pull/2"},"issue":{"href":"https://api.github.com/repos/freeyoung/dns-filter/issues/2"},"comments":{"href":"https://api.github.com/repos/freeyoung/dns-filter/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/freeyoung/dns-filter/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/freeyoung/dns-filter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/freeyoung/dns-filter/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/freeyoung/dns-filter/statuses/d4fc443e3084bdb98c8a616754efa02836520a58"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"freeyoung","id":1342712,"avatar_url":"https://avatars.githubusercontent.com/u/1342712?v=3","gravatar_id":"","url":"https://api.github.com/users/freeyoung","html_url":"https://github.com/freeyoung","followers_url":"https://api.github.com/users/freeyoung/followers","following_url":"https://api.github.com/users/freeyoung/following{/other_user}","gists_url":"https://api.github.com/users/freeyoung/gists{/gist_id}","starred_url":"https://api.github.com/users/freeyoung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freeyoung/subscriptions","organizations_url":"https://api.github.com/users/freeyoung/orgs","repos_url":"https://api.github.com/users/freeyoung/repos","events_url":"https://api.github.com/users/freeyoung/events{/privacy}","received_events_url":"https://api.github.com/users/freeyoung/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":6,"deletions":0,"changed_files":1}}