ipmi
A production-oriented, blocking IPMI v2.0 RMCP+ client library.
This crate focuses on:
- IPMI v2.0 RMCP+ session establishment (Open Session + RAKP 1-4)
- Integrity: HMAC-SHA1-96
- Confidentiality: AES-CBC-128
- Blocking API (no async runtime required)
Note: IPMI is a large specification. This crate implements a secure and commonly supported baseline (mandatory-to-implement algorithms) and provides a solid foundation for adding more commands and cipher suites.
Install
[]
= "0.1"
Quick start
use ;
Security notes
- Password / KG are stored in memory only for the duration of session establishment and are zeroized on drop.
- The client verifies integrity checks (HMAC) before decrypting payloads.
- The library avoids
unwrap()/expect()in production code.
Feature support
- Transport: UDP/623 (LAN)
- Session: RMCP+ / RAKP (IPMI v2.0)
- Commands:
Get Device ID(netfn0x06, cmd0x01)Get Self Test Results(netfn0x06, cmd0x04)Get System GUID(netfn0x06, cmd0x37)Get Chassis Status(netfn0x00, cmd0x01)Chassis Control(netfn0x00, cmd0x02)Get Channel Authentication Capabilities(netfn0x06, cmd0x38)send_raw()for arbitrary commands