| commit | 1d8579c60732395bd856926c1d6edb99aaf9c327 | [log] [tgz] |
|---|---|---|
| author | srikanta mondal <srikantax.mondal@intel.com> | Wed Apr 15 17:13:25 2020 +0000 |
| committer | Vernon Mauery <vernon.mauery@linux.intel.com> | Mon May 11 22:40:08 2020 +0000 |
| tree | f1bbb1ba5b121b3260ce82ebbd7a1a4f176230a6 | |
| parent | e86e7855ff539092b8298d49ba2df4c349418452 [diff] |
transporthandler:Fix get lan config param 22 & 23
Issue: get Lan configuration command for ciphersuite are getting
executed successfully for session less channel.
Fix: get lan config - provided fix by returning error for session
less channel
Test:
Before:
Command: ipmitool raw 0x0c 0x02 0x7 0x16 0x00 0x00 // GetLan cipher support
Response: 11 01 // Success
Command: ipmitool raw 0x0c 0x02 0x7 0x17 0x00 0x00 // Getlan cipher entry
Response: 11 00 11 // Success
After:
Command: ipmitool raw 0x0c 0x02 0x7 0x16 0x00 0x00 // GetLan cipher support
Response: Unable to send RAW command (channel=0x0 netfn=0xc
lun=0x0 cmd=0x2 rsp=0xcc): Invalid data field in request
Command: ipmitool raw 0x0c 0x02 0x7 0x17 0x00 0x00 // Getlan cipher entry
Response: Unable to send RAW command (channel=0x0 netfn=0xc
lun=0x0 cmd=0x2 rsp=0xcc): Invalid data field in request
Before and After: Session based LAN channel 3:
Command: ipmitool raw 0x0c 0x02 0x3 0x16 0x00 0x00 // GetLan cipher support
Response: 11 01 // Success
Command: ipmitool raw 0x0c 0x02 0x3 0x17 0x00 0x00 // Getlan cipher entry
Response: 11 00 11 // Success
Signed-off-by: srikanta mondal <srikantax.mondal@intel.com>
Change-Id: I00d4f85c7461821e25e77efd885a08b859d421ec
To build this package, do the following steps:
1. ./bootstrap.sh
2. ./configure ${CONFIGURE_FLAGS}
3. make
To clean the repository run ./bootstrap.sh clean.