<feed xmlns='http://www.w3.org/2005/Atom'>
<title>phosphor-net-ipmid, 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-02T08:30:10+00:00</updated>
<entry>
<title>Skip IPMI Payload commands - IPMI Mesg disabled</title>
<updated>2019-04-02T08:30:10+00:00</updated>
<author>
<name>Richard Marian Thomaiyar</name>
<email>richard.marian.thomaiyar@linux.intel.com</email>
</author>
<published>2019-03-03T09:43:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-net-ipmid/commit/?id=8af90ebcc552e243ae85aa9e9da1a00fbecab56c'/>
<id>urn:sha1:8af90ebcc552e243ae85aa9e9da1a00fbecab56c</id>
<content type='text'>
Skip IPMI Payload type commands, if IPMI messaging is disabled
for the user.

Tested-by:
Verified that commands are not executed through RMCP+ when
IPMI Messaging is disabled for the user through Set
Channel Acess command. Verified the reverse too.

Change-Id: Ibcfd2a18ccc8b0c498eb06ffb56363b94a735b5e
Signed-off-by: Richard Marian Thomaiyar &lt;richard.marian.thomaiyar@linux.intel.com&gt;
</content>
</entry>
<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>build: install into bin instead of sbin</title>
<updated>2019-04-01T17:09:36+00:00</updated>
<author>
<name>Patrick Venture</name>
<email>venture@google.com</email>
</author>
<published>2019-03-28T17:58:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-net-ipmid/commit/?id=17c17cc7caf2c1121d00eb7863c24762c636499e'/>
<id>urn:sha1:17c17cc7caf2c1121d00eb7863c24762c636499e</id>
<content type='text'>
Installs into bin instead of sbin per guidelines.

Signed-off-by: Patrick Venture &lt;venture@google.com&gt;
Change-Id: I6ce824eb1be11356c0b902f90bdc6e8c2ede950c
</content>
</entry>
<entry>
<title>Update IPMI max session count from 5 to 15</title>
<updated>2019-03-29T21:39:54+00:00</updated>
<author>
<name>Suryakanth Sekar</name>
<email>suryakanth.sekar@linux.intel.com</email>
</author>
<published>2019-03-20T08:28:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-net-ipmid/commit/?id=250bf103ca5162498522a6356e734fef56cecd27'/>
<id>urn:sha1:250bf103ca5162498522a6356e734fef56cecd27</id>
<content type='text'>
According to the IPMI spec,No of possible active session is
one byte - BIT5-BIT0 so 63 is the max active session we can have.

- 15 was chosen as it seems to be reasonable.

Tested: Able to establish the 14 LAN sessions and 1 reserved for
sessionless connection.
Get session Info command should provide 15 as max no of ipmi session

Signed-off-by: Suryakanth Sekar &lt;suryakanth.sekar@linux.intel.com&gt;
Change-Id: I1bc2003502f35c1d15de18cdf2874cd6ce74006e
</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>netipmid: Remove unused event references</title>
<updated>2019-02-25T22:40:59+00:00</updated>
<author>
<name>Vernon Mauery</name>
<email>vernon.mauery@linux.intel.com</email>
</author>
<published>2018-10-25T20:09:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-net-ipmid/commit/?id=7a4ea79501b85addf16e2c06ffc835708c5264ad'/>
<id>urn:sha1:7a4ea79501b85addf16e2c06ffc835708c5264ad</id>
<content type='text'>
Now that all the provider libraries are only loaded by the main ipmid
queue, there are no callers for the event object, so it can be removed.
The same goes for the event loop; all users of the sd_event object have
been replaced with boost::asio, so it can be removed.

Change-Id: Id271c4960a2c5386d6163cc9baecdc368e5e328f
Signed-off-by: Vernon Mauery &lt;vernon.mauery@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>netipmid: make Handler asynchronous</title>
<updated>2019-02-25T22:40:59+00:00</updated>
<author>
<name>Vernon Mauery</name>
<email>vernon.mauery@linux.intel.com</email>
</author>
<published>2018-11-07T17:55:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-net-ipmid/commit/?id=8d6f200c5fdb820eda8e0ed721e465d544209b23'/>
<id>urn:sha1:8d6f200c5fdb820eda8e0ed721e465d544209b23</id>
<content type='text'>
The dbus call to the main ipmid queue was up to this point synchronous,
which means it blocks all other networking and execution until the main
queue returns (which may be on the order of seconds for some commands).
This is an unacceptable delay, especially when this queue is responsible
for timely updates of SOL traffic.

This turns the call into an asynchronous one by leveraging shared
pointers and an optional action on destruction. So as long as a
reference to the Handler object exists, it will live on, waiting to send
its response. Once the async dbus call has returned and set the reply in
the Handler, it will drop the reference to the shared pointer and the
destructor will send out the response over the channel.

Tested-by: Run multiple sessions at the same time while monitoring dbus
           traffic. See that the requests and responses may be
           interleaved instead of serial.

Change-Id: I16fca8dc3d13624eeb1592ec36d1a9af6575f115
Signed-off-by: Vernon Mauery &lt;vernon.mauery@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>netipmid: move to sdbusplus::asio from sdbusplus</title>
<updated>2019-02-25T22:40:59+00:00</updated>
<author>
<name>Vernon Mauery</name>
<email>vernon.mauery@linux.intel.com</email>
</author>
<published>2018-11-01T22:52:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-net-ipmid/commit/?id=7b98c0725eec2a09bf65ee1e78839fc2c4a3da03'/>
<id>urn:sha1:7b98c0725eec2a09bf65ee1e78839fc2c4a3da03</id>
<content type='text'>
To be able to support asynchronous dbus calls, the main bus object
should be an sdbusplus::asio::connection.

Change-Id: Ib7d3474eb32505d2326f0d6db9566528a58ccd03
Signed-off-by: Vernon Mauery &lt;vernon.mauery@linux.intel.com&gt;
</content>
</entry>
</feed>
