This repository has been archived by the owner on May 14, 2019. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fix side effect of CVE-2014-8160 patch:
after applying a kernel upgrade, netfilter default behavior changed,
without this change, guest instacnes running on node with gre tunnel
may have no network access, we need to load an extra kernel module
nf_conntrack_proto_gre
explicitly to resolve this issue.references:
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=db29a9508a9246e77087c5531e45b2c88ec6988b
http://www.spinics.net/lists/netfilter-devel/msg33430.html
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-8160
step for reproduce:
setup a compute node without CVE-2014-8160 patch
Ubuntu, for example,
Ubuntu Precise (kernel version < 3.13.0-46.75~precise1), for havana.
Ubuntu Trusty (kernel version < 3.16.0-31.41~14.04.1), for icehouse, juno, kilo, etc.
reference:
http://people.canonical.com/~ubuntu-security/cve/2014/CVE-2014-8160.html
launch a guest instance
try to ping guest instance's gateway from inside guest instance
ping test should passed
upgrade compute nodes' kernel
Ubuntu, for example,
Ubuntu Precise (kernel version >= 3.13.0-46.75~precise1), for havana.
Ubuntu Trusty (kernel version >= 3.16.0-31.41~14.04.1), for icehouse, juno, kilo, etc.
reference:
http://people.canonical.com/~ubuntu-security/cve/2014/CVE-2014-8160.html
repeat step 2 & 3 again
ping test should failed, guest instance have no access to the networks