-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: Add IPv6 ipsec tests #2682
Conversation
322a156
to
9caf3a0
Compare
Congratulations! One of the builds has completed. 🍾 You can install the built RPMs by following these steps:
Please note that the RPMs should be used only in a testing environment. |
36cea05
to
ee6dff5
Compare
tests/integration/ipsec_test.py
Outdated
right: {IpsecTestEnv.HOSTB_IPV6_CS} | ||
rightid: '@hostb.example.org' | ||
ipsec-interface: 97 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this change?
BTW, adding ipsec-interface uses a different mode in libreswan (Routing based VPN instead of Policy based VPN). Things that works well with one of them might fail with the other (probably because of bugs in NM-libreswan). Should we do all the tests in both modes maybe?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can only tell whether autoconf IPv6 is disabled as desired with dedicate ipsec xfrm interface.
3d8fce7
to
0143a21
Compare
Please resolve the conflict, thanks. |
Instead of checking micro version, we should convert version to a integer to compare using this formula: 10000 * major_version + 100 * minor_version + micro_version Introduced `nm_libreswan_version_int()` and `version_str_to_int()` for this and fixed all version check in ipsec test. Signed-off-by: Gris Ge <fge@redhat.com>
With NetworkManager-libreswan 1.2.22+, IPv6 libreswan ipsec tunnel is
supported.
Integration test cases included.
Resolves: https://issues.redhat.com/browse/RHEL-32279