RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1300765 - Add support for MACsec
Summary: Add support for MACsec
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: iproute
Version: 7.3
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Davide Caratti
QA Contact: haidong li
URL:
Whiteboard:
Depends On: 1104151
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-21 16:33 UTC by Phil Sutter
Modified: 2016-11-03 23:38 UTC (History)
10 users (show)

Fixed In Version: iproute-3.10.0-68.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-03 23:38:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2016:2162 0 normal SHIPPED_LIVE iproute bug fix and enhancement update 2016-11-03 13:14:33 UTC

Description Phil Sutter 2016-01-21 16:33:50 UTC
As we are considering adding support for macsec to RHEL7.3 kernel, the related iproute support patches should be backported, too.

This ticket actually depends on two conditions to be met:
1. Bug 1104151 (Support for MACsec (IEEE 802.1AE) in RHEL7) needs to be resolved for RHEL7.3.
2. MACsec support patches for iproute2 need to be accepted upstream.

Comment 1 Phil Sutter 2016-06-13 11:39:00 UTC
Patches have been accepted upstream:

commit 89ae502056f58a0177b9970f1f79a9683ac7fdd0
Author: Sabrina Dubroca <sd>
Date:   Fri Jun 3 16:45:45 2016 +0200

    utils: make hexstring_a2n provide the number of hex digits parsed
    
    Signed-off-by: Sabrina Dubroca <sd>
    Acked-by: Phil Sutter <phil>

commit 9f7401fa4967178a071c53498f6bdc460c7cc4ea
Author: Sabrina Dubroca <sd>
Date:   Fri Jun 3 16:45:46 2016 +0200

    utils: add get_be{16, 32, 64}, use them where possible
    
    Signed-off-by: Sabrina Dubroca <sd>
    Acked-by: Phil Sutter <phil>

commit 609640f5f0feda8099b04452297d81dd1a8a1777
Author: Sabrina Dubroca <sd>
Date:   Fri Jun 3 16:45:47 2016 +0200

    utils: provide get_hex to read a hex digit from a char
    
    Signed-off-by: Sabrina Dubroca <sd>
    Acked-by: Phil Sutter <phil>

commit b26fc590ce6272835da35c016f6a99f5f43d6a88
Author: Sabrina Dubroca <sd>
Date:   Wed Jun 8 09:34:21 2016 -0700

    ip: add MACsec support
    
    Extend ip-link to create MACsec devices
    
      ip link add link <master> <macsec> type macsec [options]
    
    Add `ip macsec` command to configure receive-side secure channels and
    secure associations within a macsec netdevice.
    
    Signed-off-by: Sabrina Dubroca <sd>
    Acked-by: Phil Sutter <phil>

Comment 8 Wilbur Smith 2016-07-18 19:46:37 UTC
Can you provide any details on the upstream project working on this? 

Is this work just for the supplicant, or is it also supporting the encryption function? 

Would the server/workstation still need hardware support on the network adaptor? 

Thanks for any details you can provide.

Comment 9 Wilbur Smith 2016-07-18 20:28:32 UTC
(In reply to Wilbur Smith from comment #8)
> Can you provide any details on the upstream project working on this? 
> 
> Is this work just for the supplicant, or is it also supporting the
> encryption function? 
> 
> Would the server/workstation still need hardware support on the network
> adaptor? 
> 
> Thanks for any details you can provide.


Found additional details here:

http://www.spinics.net/lists/netdev/msg362389.html

http://www.netdevconf.org/1.1/proceedings/slides/dubroca-macsec-encryption-wire-lan.pdf

Comment 10 haidong li 2016-09-13 08:54:30 UTC
This bug is verified:

job link:


https://beaker.engineering.redhat.com/jobs/1487516

tested on version 3.10.0-500.el7.x86_64:

ip macsec command
check MTU
check promiscuous mode
Setup masec between 2 netns, do ping/netperf test
Setup masec between netns with br0, do ping/DHCP/RA test

Comment 12 errata-xmlrpc 2016-11-03 23:38:22 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2016-2162.html


Note You need to log in before you can comment on or make changes to this bug.