commit | 79b4eeaa0c97b40d9ab12b48694083cec2b13d79 | [log] [tgz] |
---|---|---|
author | Vernon Mauery <vernon.mauery@linux.intel.com> | Thu Nov 07 09:51:39 2019 -0800 |
committer | Vernon Mauery <vernon.mauery@linux.intel.com> | Mon Nov 11 10:24:03 2019 -0800 |
tree | 035b2b8a3efffb2dc6a55c210623a4ee49a33b7f | |
parent | 9fc5fa180c3dc0a4fa5ed02efe4b990c40ba641d [diff] |
Fix permissions on Get Channel Cipher Suites command The Get Channel Cipher Suites command should be available at any privilege level as well as pre-session. This changes it so that it can be used pre-session to determine the best cipher suite to use. As per section 22.15 of the IPMI 2.0 spec, "This command can be executed prior to establishing a session with the BMC." This means that it should be able to be executed at any privilege, including 'none'. Tested: run a new version of ipmitool that calls get channel cipher suite as part of session initialization before and after. This affects all commands, but raw is the shortest to run, so it is used here. (raw 6 1 is get device id). Before: $ ipmitool -I lanplus -H a.b.c.d -U root -P 0penBmc raw 6 1 Get Channel Cipher Suites failed: Insufficient privilege level 23 00 00 01 02 bf 57 01 00 7b 00 99 91 cd 13 After: $ ipmitool -I lanplus -H a.b.c.d -U root -P 0penBmc raw 6 1 23 00 00 01 02 bf 57 01 00 7b 00 99 91 cd 13 Change-Id: I59a3212f1ea5dc82c545e6ec1ee4a437ec5abfe1 Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
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
.