284 Commits

Author SHA1 Message Date
Duncan Laurie
72417c67db - support for using OpenIPMI MD5 and MD2 implementations if found,
otherwise fall back to internal version
- add "-A authtype" parameter for forcing a certain authtype level
2004-08-27 19:11:43 +00:00
Duncan Laurie
cbc8cbdff4 misc interface opening changes I forgot to propogate 2004-08-27 16:57:04 +00:00
Duncan Laurie
f0cbc9b2ba update to event generation test functions 2004-08-27 16:51:57 +00:00
Duncan Laurie
a8e2fc03e7 a few commands that need to be admin privlege level 2004-08-27 16:51:19 +00:00
Duncan Laurie
4d8ec39062 add new "dump" command to dump the entire sdr to a binary file
relax version check to try and support IPMIv1.0 SDRs
2004-08-27 16:50:14 +00:00
Duncan Laurie
4f9cbb3f38 better handling of fru devices from Tim_T_Murphy@Dell.com
- automatic retries w/ size adjustment when 'get fru info' transfers fail due to size
- support FRU info data formats (4 formats, via type/length byte)
- fix FRU area offset calculation (uchar -> ushort)
- support word-based FRU access as well as byte-based access
- added: 'as-needed' FRU info retrieval
avoids having to retrieve (say) entire 16K, when only a few fields are printed.
~5X response time improvement.
2004-08-27 16:49:20 +00:00
Duncan Laurie
0603bd8f98 export a couple functions for ipmievd,
better handling of description string
2004-08-27 16:47:00 +00:00
Duncan Laurie
69501d7827 minor changes to interface structures 2004-08-27 16:46:06 +00:00
Duncan Laurie
f9c23d8a54 - support for reading/setting BMC Enables
(this code may be trying to be too smart, but it was an interesting test)
2004-08-27 16:45:25 +00:00
Duncan Laurie
6ce168af6f - add new "-f file" param to read lan password from a file
- add new "-t addr" param for bridging to IPMB target
- add new "-m addr" param for setting local IPMB address
- interface loading now has a "default" option
2004-08-27 16:42:50 +00:00
Duncan Laurie
68be9c40e6 now has an option to daemonize and log SEL events to syslog 2004-08-27 16:40:42 +00:00
Duncan Laurie
dd8b1806b5 - remove dynamic interface support
- support for bridged IPMB messages
- add function to build/send IPMI response messages
- fix reporting of "per-msg-auth" and "user-level-auth"
  during Get Channel Authentication Capabilities phase
2004-08-27 16:37:34 +00:00
Duncan Laurie
d92b9920d7 add support for Intel IMB kernel driver (for legacy kernel support)
imbapi.[ch] code is BSD licensed and taken from panicsel.sf.net
2004-08-27 16:33:25 +00:00
Duncan Laurie
45a4c1a9c8 remove dynamic interface support 2004-08-27 16:32:32 +00:00
Duncan Laurie
66aaa91ff2 remove dynamic interface support,
remove my stupid spec-violating pedantic packets
2004-08-27 16:31:53 +00:00
Duncan Laurie
c52b6e80ba update the OpenIPMI interface,
support sending and receiving from IPMB addresses
2004-08-27 16:30:07 +00:00
Duncan Laurie
d5b598c93d all interfaces are static now 2004-08-27 16:29:07 +00:00
Duncan Laurie
c452979e74 add new simple logging functions 2004-08-27 16:27:41 +00:00
Duncan Laurie
81c73bd164 no more ipmiadm so clean the manpage
also get rid of messy bmcautoconf.sh script,
replaced with more flexible bmclanconf
2004-08-27 16:20:29 +00:00
Duncan Laurie
0173930abd no more ltdl 2004-08-27 16:06:39 +00:00
Duncan Laurie
087e8e5a0b build with right arguments when doing dpkg-buildpackage 2004-08-27 16:04:01 +00:00
Duncan Laurie
1ea4e2e540 build system updates for interfaces 2004-08-27 16:01:01 +00:00
Duncan Laurie
b85e953ab9 move rpm specfile,
add hooks for building rpm in arbitrary root
2004-08-27 16:00:20 +00:00
Duncan Laurie
3c61e45ae4 rework configure and build system:
- no more dynamic interfaces
- better handling of openipmi header files
- make rpm commands for building in chroot
2004-08-27 15:59:26 +00:00
Duncan Laurie
2364cd86e8 change email address 2004-08-27 14:33:27 +00:00
Jeremy Ellington
7931368837 Adding implementation for "sel get time" and "set set time" 2004-08-25 14:19:46 +00:00
Duncan Laurie
d08d147528 use urandom instead of random 2004-08-13 21:29:40 +00:00
Duncan Laurie
f059085532 add a couple changelog notes for contributed patches 2004-08-06 17:54:35 +00:00
Duncan Laurie
1157a0e498 always initialize pointer to NULL at start of description
function as callers expect it to be initialized but it
isn't always.
2004-08-06 17:50:27 +00:00
Jeremy Ellington
2eeceac233 Added user subcommand 2004-08-03 18:40:09 +00:00
Jeremy Ellington
7ef44c8a8c adding user subcommand 2004-08-03 18:39:19 +00:00
Jeremy Ellington
3f58f3f2aa Added constants for user commands 2004-08-03 18:38:35 +00:00
Jeremy Ellington
3fbcd758ca Fixed mispelling 2004-07-30 16:33:25 +00:00
Jeremy Ellington
f068a200b6 Added documentation for the lanplus interface 2004-07-30 16:30:20 +00:00
Jeremy Ellington
f4a014cac9 Use upper case B for sending breaks 2004-07-30 15:44:55 +00:00
Jeremy Ellington
10212fecb5 Added lots of documentation for lanplus and Serial Over LAN commands. 2004-07-30 15:43:31 +00:00
Jeremy Ellington
720ad12aaf Store SOL character data input length separately than the data length
of the whole packet.  Turns out we need it in order to determine whether
the BMC only accepted part of our data.
2004-07-29 18:42:22 +00:00
Jeremy Ellington
40f77f63a1 Support NACKs 2004-07-29 18:41:23 +00:00
Jeremy Ellington
7c9030bf3b Allow update of other SOL parameters 2004-07-29 18:40:52 +00:00
Jeremy Ellington
6f1f26a1b1 Increased maximum payload size 2004-07-28 16:05:50 +00:00
Jeremy Ellington
5859e5cd57 Added support for callback so that lanplus interface can output data
received while waiting for an ACK.
2004-07-28 15:03:59 +00:00
Jeremy Ellington
54c8afcf60 Only send as much data as we are allowed. Added support for
callback so that lanplus library can output data received while
we are waiting for an ACK.
2004-07-28 15:03:06 +00:00
Jeremy Ellington
b27ddb4902 SOL plumbing work. Lots of reformatting. 2004-07-28 15:01:57 +00:00
Jeremy Ellington
5713ee5fc3 Fixed memory leak. Added assert. 2004-07-28 15:01:00 +00:00
Duncan Laurie
285a4d9ce2 Patch submitted by ebrower at users.sourceforge.net
Add command "bmc info" and related output

Attached is a patch to add an "info" subcommand to the
ipmitool "bmc" command in version 1.5.9. This provides
useful information about the BMC, though I am uncertain
as to the format of the bmc device ID field.
2004-07-26 21:42:09 +00:00
Duncan Laurie
b5c97ace65 Patch submitted by ebrower at users.sourceforge.net
Fix "chassis identify" on some BMCs

On the Intel SE7501WV2 w/ BMC firmware 1.20 it seems
the Chassis Identify command only supports one request
byte (Identify Interval). This patch will cause
requests to use only one byte unless "force" is
specified. The return value of intf->sendrecv() is
also now checked prior to printing an outcome to the
console.

It seems on the Intel SE7501WV2 F/W 1.20 we cannot
assume 2-byte requests will be honored. The BMC
returns CC 0xC7 (Request Data Length Invalid) but this
is not defined within the IPMI 1.5 spec so I assume
other BMC vendors could return other completion codes.
2004-07-26 21:40:32 +00:00
Jeremy Ellington
14638f0876 The send_sol interface now returns an impi_rs* 2004-07-23 20:57:06 +00:00
Jeremy Ellington
bf5e378272 Incremental changes for SOL. Support for breaks (R. Sunshine). Much
refactoring and cleanup.  More coming soon.
2004-07-23 20:56:17 +00:00
Jeremy Ellington
9627ab3253 A bit more error checking 2004-07-21 19:37:43 +00:00
Jeremy Ellington
744a151854 Added escape sequences ala ssh. ~. exits. ~^Z suspends, etc. 2004-07-21 19:36:52 +00:00