{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/12437","labels_url":"https://api.github.com/repos/docker/docker/issues/12437/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/12437/comments","events_url":"https://api.github.com/repos/docker/docker/issues/12437/events","html_url":"https://github.com/docker/docker/pull/12437","id":68878936,"number":12437,"title":"Removal of the regex to replace ips","user":{"login":"fmzhen","id":5501176,"avatar_url":"https://avatars.githubusercontent.com/u/5501176?v=3","gravatar_id":"","url":"https://api.github.com/users/fmzhen","html_url":"https://github.com/fmzhen","followers_url":"https://api.github.com/users/fmzhen/followers","following_url":"https://api.github.com/users/fmzhen/following{/other_user}","gists_url":"https://api.github.com/users/fmzhen/gists{/gist_id}","starred_url":"https://api.github.com/users/fmzhen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmzhen/subscriptions","organizations_url":"https://api.github.com/users/fmzhen/orgs","repos_url":"https://api.github.com/users/fmzhen/repos","events_url":"https://api.github.com/users/fmzhen/events{/privacy}","received_events_url":"https://api.github.com/users/fmzhen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/dco/yes","name":"dco/yes","color":"ededed"},{"url":"https://api.github.com/repos/docker/docker/labels/status/2-needs-code-review","name":"status/2-needs-code-review","color":"fad8c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-04-16T09:08:17Z","updated_at":"2015-04-16T20:40:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/12437","html_url":"https://github.com/docker/docker/pull/12437","diff_url":"https://github.com/docker/docker/pull/12437.diff","patch_url":"https://github.com/docker/docker/pull/12437.patch"},"body":"When Docker starts with the docker0's IP 172.17.42.1/16 , there is a iptable rule like this \r\n\r\n```\r\nPOSTROUTING -s 172.17.0.0/16 ! -o docker0 -j MASQUERADE\r\n```\r\nIf i changed the docker0' IP to 192.168.100.1/24 and restarted the Docker. it does add a new iptable rule like \r\n\r\n```\r\nPOSTROUTING -s 192.168.100.0/24 ! -o docker0 -j MASQUERADE\r\n```\r\nBecause the `func Exists(table Table, chain string, rule ...string) bool `return true. This is caused by  that ip is  replaced by \"?\" .\r\n\r\nThis leads Docker containers can not communicate with the wider world.\r\n\r\ncc @resouer\r\n\r\nSigned-off-by: Mingzhen Feng <fmzhen@zju.edu.cn>"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/93834830","html_url":"https://github.com/docker/docker/pull/12437#issuecomment-93834830","issue_url":"https://api.github.com/repos/docker/docker/issues/12437","id":93834830,"user":{"login":"thaJeztah","id":1804568,"avatar_url":"https://avatars.githubusercontent.com/u/1804568?v=3","gravatar_id":"","url":"https://api.github.com/users/thaJeztah","html_url":"https://github.com/thaJeztah","followers_url":"https://api.github.com/users/thaJeztah/followers","following_url":"https://api.github.com/users/thaJeztah/following{/other_user}","gists_url":"https://api.github.com/users/thaJeztah/gists{/gist_id}","starred_url":"https://api.github.com/users/thaJeztah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thaJeztah/subscriptions","organizations_url":"https://api.github.com/users/thaJeztah/orgs","repos_url":"https://api.github.com/users/thaJeztah/repos","events_url":"https://api.github.com/users/thaJeztah/events{/privacy}","received_events_url":"https://api.github.com/users/thaJeztah/received_events","type":"User","site_admin":false},"created_at":"2015-04-16T20:40:18Z","updated_at":"2015-04-16T20:40:18Z","body":"/cc @jfrazelle to confirm if my analysis of the original change was correct :smile: (it's quite a while ago)"}}