<feed xmlns='http://www.w3.org/2005/Atom'>
<title>phosphor-net-ipmid/command, branch master</title>
<subtitle>OpenBMC Phosphor network IPMI daemon sources</subtitle>
<id>https://git.raptorcs.com/git/phosphor-net-ipmid/atom?h=master</id>
<link rel='self' href='https://git.raptorcs.com/git/phosphor-net-ipmid/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-net-ipmid/'/>
<updated>2019-04-02T07:46:45+00:00</updated>
<entry>
<title>Cache the user &amp; channel acces in session</title>
<updated>2019-04-02T07:46:45+00:00</updated>
<author>
<name>Richard Marian Thomaiyar</name>
<email>richard.marian.thomaiyar@linux.intel.com</email>
</author>
<published>2019-03-03T08:00:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-net-ipmid/commit/?id=992e53c775079d70346ef9f380fd2347b3905183'/>
<id>urn:sha1:992e53c775079d70346ef9f380fd2347b3905183</id>
<content type='text'>
Instead of querying the user &amp; channel access for every time
cache the same during session creation, and use it for
enforcements.

Tested-by:
Verified that RMCP+ session establishment works as expected
including INSUFFICIENT_PRIVILEGE error.

Change-Id: Ib5a05bd07cc9aabf2625a18090fd905d93489b24
Signed-off-by: Richard Marian Thomaiyar &lt;richard.marian.thomaiyar@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>RAKP12: Don't allow user with NOACCESS priv.</title>
<updated>2019-03-25T11:56:41+00:00</updated>
<author>
<name>Richard Marian Thomaiyar</name>
<email>richard.marian.thomaiyar@linux.intel.com</email>
</author>
<published>2019-03-02T16:41:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-net-ipmid/commit/?id=7e5d38d2fb51fc746624ff2f2b3701cea245a8fb'/>
<id>urn:sha1:7e5d38d2fb51fc746624ff2f2b3701cea245a8fb</id>
<content type='text'>
Don't allow user to establish session with NOACCESS
user privilege.

Tested-by:
1. Updated the user privilege to NO_ACCESS and verified
RMCP+ session establishement errors out.

Change-Id: I787a787a3198a7e0550ac01962e69aab0041cccf
Signed-off-by: Richard Marian Thomaiyar &lt;richard.marian.thomaiyar@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>Handle invalid length for Disable Payload command</title>
<updated>2019-03-25T02:00:03+00:00</updated>
<author>
<name>Sumanth Bhat</name>
<email>sumanth.bhat@intel.com</email>
</author>
<published>2019-03-07T06:21:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-net-ipmid/commit/?id=b9631f8edf351990ed19f8708ded88be6d24c31b'/>
<id>urn:sha1:b9631f8edf351990ed19f8708ded88be6d24c31b</id>
<content type='text'>
Invalid length error check added for disable payload command

Tested:
1. Verified negative case by providing improper length
ipmitool -I lanplus -H x.x.x.x -U root -P 0penBmc  raw 6 0x49 0x11 0x01
0x00 0x00 0x00 0x00 0x00 0x00
2. Verified normal case works fine.

Change-Id: I1d0dfcadb2dbaf4f538597fbff236540127a3667
Signed-off-by: Sumanth Bhat &lt;sumanth.bhat@intel.com&gt;
Signed-off-by: Richard Marian Thomaiyar &lt;richard.marian.thomaiyar@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>Handle input - Get channel auth capabilities</title>
<updated>2019-03-12T09:04:35+00:00</updated>
<author>
<name>Richard Marian Thomaiyar</name>
<email>richard.marian.thomaiyar@linux.intel.com</email>
</author>
<published>2019-03-11T14:38:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-net-ipmid/commit/?id=716d1efebef016a2bb1099d12e5b72e941063a58'/>
<id>urn:sha1:716d1efebef016a2bb1099d12e5b72e941063a58</id>
<content type='text'>
Handle channel number input in Get Channel authentication
capabilities command. Validate input params, and return
data accordingly

Tested:
1. Verifid RMCP+ successful session establishement
2. ipmitool -I lanplus -H x.x.x.x -U root -P 0penBmc raw 6 0x38 1 4
with response
01 80 04 02 00 00 00 00
3. Verified negative tests like invalid length, invalid field,
invalid channel number (Sessionless)

Change-Id: Id8b4068b94ead281f00282fd709a3f7944887201
Signed-off-by: Richard Marian Thomaiyar &lt;richard.marian.thomaiyar@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>Convert host-ipmid -&gt; libipmid</title>
<updated>2019-02-19T21:10:57+00:00</updated>
<author>
<name>William A. Kennington III</name>
<email>wak@google.com</email>
</author>
<published>2019-02-13T01:10:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-net-ipmid/commit/?id=4f09eaeec366c89319c344f7dd567063128ce00c'/>
<id>urn:sha1:4f09eaeec366c89319c344f7dd567063128ce00c</id>
<content type='text'>
phosphor-host-ipmid now exposes a library along with headers for
interfacing with the ipmi daemon. Compile and link against the new
library.

Change-Id: Ifb914004df2b73cff913bf653db14ff2e710434f
Signed-off-by: William A. Kennington III &lt;wak@google.com&gt;
</content>
</entry>
<entry>
<title>Return the maximum privilege in open session command</title>
<updated>2019-02-12T18:07:27+00:00</updated>
<author>
<name>Tom Joseph</name>
<email>tomjoseph@in.ibm.com</email>
</author>
<published>2019-02-12T04:40:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-net-ipmid/commit/?id=4021b1f7a1db46b6e467539371321513864534d4'/>
<id>urn:sha1:4021b1f7a1db46b6e467539371321513864534d4</id>
<content type='text'>
This commit does the following:

- Set the maximum privilege role in the session instead of current privilege
  in the implementation of the open session request/response.

- In open session response, return the maximum privilege of the session
  instead of the current privilege level.

- Update RAKP12 and RAKP34 implementation

Tested: Checked the session setup works fine with ipmitool and freeipmi
utility ipmipower.

Change-Id: I41b63b91f08c2ed96856c4db41eedaa878c663e3
Signed-off-by: Tom Joseph &lt;tomjoseph@in.ibm.com&gt;
</content>
</entry>
<entry>
<title>Null username support is removed from Get Channel Auth command</title>
<updated>2019-02-09T17:40:48+00:00</updated>
<author>
<name>Tom Joseph</name>
<email>tomjoseph@in.ibm.com</email>
</author>
<published>2019-02-09T17:40:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-net-ipmid/commit/?id=615e4fd3c33484956ad335d477d09d76c2c8dcf4'/>
<id>urn:sha1:615e4fd3c33484956ad335d477d09d76c2c8dcf4</id>
<content type='text'>
Change-Id: I9340c9da524831a68192424c68efc7a4910407d7
Signed-off-by: Tom Joseph &lt;tomjoseph@in.ibm.com&gt;
</content>
</entry>
<entry>
<title>Fix the order of fields in Get Channel Auth Capabilities command</title>
<updated>2019-02-09T17:40:15+00:00</updated>
<author>
<name>Tom Joseph</name>
<email>tomjoseph@in.ibm.com</email>
</author>
<published>2019-02-09T14:51:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-net-ipmid/commit/?id=dc3e8b92c894fdd6648e385565c10b1778bc79dc'/>
<id>urn:sha1:dc3e8b92c894fdd6648e385565c10b1778bc79dc</id>
<content type='text'>
Change-Id: Ifd2542725d7e14e96b05b0eded9a5e6d0062d73e
Signed-off-by: Tom Joseph &lt;tomjoseph@in.ibm.com&gt;
</content>
</entry>
<entry>
<title>Fix: Set proper session privilege for RAKP 1</title>
<updated>2019-01-29T06:38:21+00:00</updated>
<author>
<name>Richard Marian Thomaiyar</name>
<email>richard.marian.thomaiyar@linux.intel.com</email>
</author>
<published>2019-01-16T06:45:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-net-ipmid/commit/?id=d5a4f45e1ef5408876069af570e7b0d006c5b5db'/>
<id>urn:sha1:d5a4f45e1ef5408876069af570e7b0d006c5b5db</id>
<content type='text'>
As per Set session privilege level command in IPMI specification
when creating a session through Activate command / RAKP 1 message, it
must be established with CALLBACK privilege if requested for callback.
All other sessions are initialy set to USER privilege, regardless of
the requested maximum privilege.

Unit-Test:
Verified the ipmi session establishement through -L command for user
with USER  privilege, and verified that Get Device ID not executed,
when established for callback user privilege.

Change-Id: I8196b8e857b726773f6727ec5dd3b835f8759cde
Signed-off-by: Richard Marian Thomaiyar &lt;richard.marian.thomaiyar@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>Fix: Get Payload info for non active payload</title>
<updated>2019-01-28T17:18:29+00:00</updated>
<author>
<name>Richard Marian Thomaiyar</name>
<email>richard.marian.thomaiyar@linux.intel.com</email>
</author>
<published>2019-01-22T10:25:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-net-ipmid/commit/?id=5f1dd316fca522a8b32547ef2466714c62e1d7d6'/>
<id>urn:sha1:5f1dd316fca522a8b32547ef2466714c62e1d7d6</id>
<content type='text'>
Return 0 as session id, for non active payload instance instead
of failure error code. This is as per IPMI specification
Get Payload Instance Info command.

Unit-test:
1. Verified the reponse of
ipmitool -I lanplus -H 127.0.0.1 -U root -P 0penBmc raw 6 0x4B 1 1
with session id 0, when no SOL is session is active, and with proper
session id, when SOL session is active

Change-Id: I41e5378606f8f4d4c15f1bb07fd635098b837f4a
Signed-off-by: Richard Marian Thomaiyar &lt;richard.marian.thomaiyar@linux.intel.com&gt;
</content>
</entry>
</feed>
