{"action":"opened","number":48,"pull_request":{"url":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/pulls/48","id":42642944,"html_url":"https://github.com/cloudfoundry-incubator/garden-linux/pull/48","diff_url":"https://github.com/cloudfoundry-incubator/garden-linux/pull/48.diff","patch_url":"https://github.com/cloudfoundry-incubator/garden-linux/pull/48.patch","issue_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/issues/48","number":48,"state":"open","locked":false,"title":"Use MASQUERADE instead of SNAT","user":{"login":"sykesm","id":4517909,"avatar_url":"https://avatars.githubusercontent.com/u/4517909?v=3","gravatar_id":"","url":"https://api.github.com/users/sykesm","html_url":"https://github.com/sykesm","followers_url":"https://api.github.com/users/sykesm/followers","following_url":"https://api.github.com/users/sykesm/following{/other_user}","gists_url":"https://api.github.com/users/sykesm/gists{/gist_id}","starred_url":"https://api.github.com/users/sykesm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sykesm/subscriptions","organizations_url":"https://api.github.com/users/sykesm/orgs","repos_url":"https://api.github.com/users/sykesm/repos","events_url":"https://api.github.com/users/sykesm/events{/privacy}","received_events_url":"https://api.github.com/users/sykesm/received_events","type":"User","site_admin":false},"body":"When garden is running on hosts with multiple networks, the address associated with the default route should not always be used as the source of the traffic. By using MASQUERADE, the packets will pick up the address associated with adapter used to flow the request.","created_at":"2015-08-17T22:41:16Z","updated_at":"2015-08-17T22:41:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/pulls/48/commits","review_comments_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/pulls/48/comments","review_comment_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/issues/48/comments","statuses_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/statuses/2f4421fd63809ca7aa6ce40ce1b31a1481830daf","head":{"label":"sykesm:masquerade","ref":"masquerade","sha":"2f4421fd63809ca7aa6ce40ce1b31a1481830daf","user":{"login":"sykesm","id":4517909,"avatar_url":"https://avatars.githubusercontent.com/u/4517909?v=3","gravatar_id":"","url":"https://api.github.com/users/sykesm","html_url":"https://github.com/sykesm","followers_url":"https://api.github.com/users/sykesm/followers","following_url":"https://api.github.com/users/sykesm/following{/other_user}","gists_url":"https://api.github.com/users/sykesm/gists{/gist_id}","starred_url":"https://api.github.com/users/sykesm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sykesm/subscriptions","organizations_url":"https://api.github.com/users/sykesm/orgs","repos_url":"https://api.github.com/users/sykesm/repos","events_url":"https://api.github.com/users/sykesm/events{/privacy}","received_events_url":"https://api.github.com/users/sykesm/received_events","type":"User","site_admin":false},"repo":{"id":40901315,"name":"garden-linux","full_name":"sykesm/garden-linux","owner":{"login":"sykesm","id":4517909,"avatar_url":"https://avatars.githubusercontent.com/u/4517909?v=3","gravatar_id":"","url":"https://api.github.com/users/sykesm","html_url":"https://github.com/sykesm","followers_url":"https://api.github.com/users/sykesm/followers","following_url":"https://api.github.com/users/sykesm/following{/other_user}","gists_url":"https://api.github.com/users/sykesm/gists{/gist_id}","starred_url":"https://api.github.com/users/sykesm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sykesm/subscriptions","organizations_url":"https://api.github.com/users/sykesm/orgs","repos_url":"https://api.github.com/users/sykesm/repos","events_url":"https://api.github.com/users/sykesm/events{/privacy}","received_events_url":"https://api.github.com/users/sykesm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sykesm/garden-linux","description":"Garden with a linux backend","fork":true,"url":"https://api.github.com/repos/sykesm/garden-linux","forks_url":"https://api.github.com/repos/sykesm/garden-linux/forks","keys_url":"https://api.github.com/repos/sykesm/garden-linux/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sykesm/garden-linux/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sykesm/garden-linux/teams","hooks_url":"https://api.github.com/repos/sykesm/garden-linux/hooks","issue_events_url":"https://api.github.com/repos/sykesm/garden-linux/issues/events{/number}","events_url":"https://api.github.com/repos/sykesm/garden-linux/events","assignees_url":"https://api.github.com/repos/sykesm/garden-linux/assignees{/user}","branches_url":"https://api.github.com/repos/sykesm/garden-linux/branches{/branch}","tags_url":"https://api.github.com/repos/sykesm/garden-linux/tags","blobs_url":"https://api.github.com/repos/sykesm/garden-linux/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sykesm/garden-linux/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sykesm/garden-linux/git/refs{/sha}","trees_url":"https://api.github.com/repos/sykesm/garden-linux/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sykesm/garden-linux/statuses/{sha}","languages_url":"https://api.github.com/repos/sykesm/garden-linux/languages","stargazers_url":"https://api.github.com/repos/sykesm/garden-linux/stargazers","contributors_url":"https://api.github.com/repos/sykesm/garden-linux/contributors","subscribers_url":"https://api.github.com/repos/sykesm/garden-linux/subscribers","subscription_url":"https://api.github.com/repos/sykesm/garden-linux/subscription","commits_url":"https://api.github.com/repos/sykesm/garden-linux/commits{/sha}","git_commits_url":"https://api.github.com/repos/sykesm/garden-linux/git/commits{/sha}","comments_url":"https://api.github.com/repos/sykesm/garden-linux/comments{/number}","issue_comment_url":"https://api.github.com/repos/sykesm/garden-linux/issues/comments{/number}","contents_url":"https://api.github.com/repos/sykesm/garden-linux/contents/{+path}","compare_url":"https://api.github.com/repos/sykesm/garden-linux/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sykesm/garden-linux/merges","archive_url":"https://api.github.com/repos/sykesm/garden-linux/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sykesm/garden-linux/downloads","issues_url":"https://api.github.com/repos/sykesm/garden-linux/issues{/number}","pulls_url":"https://api.github.com/repos/sykesm/garden-linux/pulls{/number}","milestones_url":"https://api.github.com/repos/sykesm/garden-linux/milestones{/number}","notifications_url":"https://api.github.com/repos/sykesm/garden-linux/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sykesm/garden-linux/labels{/name}","releases_url":"https://api.github.com/repos/sykesm/garden-linux/releases{/id}","created_at":"2015-08-17T14:27:11Z","updated_at":"2015-08-17T14:27:13Z","pushed_at":"2015-08-17T14:29:50Z","git_url":"git://github.com/sykesm/garden-linux.git","ssh_url":"git@github.com:sykesm/garden-linux.git","clone_url":"https://github.com/sykesm/garden-linux.git","svn_url":"https://github.com/sykesm/garden-linux","homepage":"","size":18713,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"cloudfoundry-incubator:master","ref":"master","sha":"2ed86a2cda67a4b2447ec0b3e344367541e2688e","user":{"login":"cloudfoundry-incubator","id":5680605,"avatar_url":"https://avatars.githubusercontent.com/u/5680605?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudfoundry-incubator","html_url":"https://github.com/cloudfoundry-incubator","followers_url":"https://api.github.com/users/cloudfoundry-incubator/followers","following_url":"https://api.github.com/users/cloudfoundry-incubator/following{/other_user}","gists_url":"https://api.github.com/users/cloudfoundry-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudfoundry-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudfoundry-incubator/subscriptions","organizations_url":"https://api.github.com/users/cloudfoundry-incubator/orgs","repos_url":"https://api.github.com/users/cloudfoundry-incubator/repos","events_url":"https://api.github.com/users/cloudfoundry-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/cloudfoundry-incubator/received_events","type":"Organization","site_admin":false},"repo":{"id":18569427,"name":"garden-linux","full_name":"cloudfoundry-incubator/garden-linux","owner":{"login":"cloudfoundry-incubator","id":5680605,"avatar_url":"https://avatars.githubusercontent.com/u/5680605?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudfoundry-incubator","html_url":"https://github.com/cloudfoundry-incubator","followers_url":"https://api.github.com/users/cloudfoundry-incubator/followers","following_url":"https://api.github.com/users/cloudfoundry-incubator/following{/other_user}","gists_url":"https://api.github.com/users/cloudfoundry-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudfoundry-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudfoundry-incubator/subscriptions","organizations_url":"https://api.github.com/users/cloudfoundry-incubator/orgs","repos_url":"https://api.github.com/users/cloudfoundry-incubator/repos","events_url":"https://api.github.com/users/cloudfoundry-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/cloudfoundry-incubator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudfoundry-incubator/garden-linux","description":"Garden with a linux backend","fork":false,"url":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux","forks_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/forks","keys_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/teams","hooks_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/hooks","issue_events_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/issues/events{/number}","events_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/events","assignees_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/assignees{/user}","branches_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/branches{/branch}","tags_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/tags","blobs_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/languages","stargazers_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/stargazers","contributors_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/contributors","subscribers_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/subscribers","subscription_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/subscription","commits_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/contents/{+path}","compare_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/merges","archive_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/downloads","issues_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/issues{/number}","pulls_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/labels{/name}","releases_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/releases{/id}","created_at":"2014-04-08T18:08:22Z","updated_at":"2015-08-06T20:56:15Z","pushed_at":"2015-08-17T11:18:13Z","git_url":"git://github.com/cloudfoundry-incubator/garden-linux.git","ssh_url":"git@github.com:cloudfoundry-incubator/garden-linux.git","clone_url":"https://github.com/cloudfoundry-incubator/garden-linux.git","svn_url":"https://github.com/cloudfoundry-incubator/garden-linux","homepage":"","size":18713,"stargazers_count":16,"watchers_count":16,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":4,"forks":26,"open_issues":4,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/pulls/48"},"html":{"href":"https://github.com/cloudfoundry-incubator/garden-linux/pull/48"},"issue":{"href":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/issues/48"},"comments":{"href":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/pulls/48/comments"},"review_comment":{"href":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/cloudfoundry-incubator/garden-linux/statuses/2f4421fd63809ca7aa6ce40ce1b31a1481830daf"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":5,"deletions":5,"changed_files":1}}