680 Commits

Author SHA1 Message Date
Duncan Laurie
04561e2433 fix handling of names with spaces in exec/shell 2005-03-16 23:13:57 +00:00
Jeremy Ellington
6d1f8521e6 Removed calls to ipmi_intf_session_set_privlvl(intf, IPMI_SESSION_PRIV_ADMIN)
in the sub-commands.  We are ADMIN by default.
2005-03-09 20:29:35 +00:00
Jeremy Ellington
90e2c17543 From Holger Liebig. Many changes, primarily to support Intel's v2
capable BMC.  Also includes many general fixes.  Thank you Holger.
2005-03-09 17:16:14 +00:00
Jeremy Ellington
1df7ca9588 From Holger Liebig, define IPMI_PAYLOAD_TYPE_OEM 2005-03-09 17:13:35 +00:00
Jeremy Ellington
6dae08746d From Holger Liebig. Add support for Intel RMCP+ capabable BMC. 2005-03-09 17:12:44 +00:00
Jeremy Ellington
413078f80b Don't use fake random numbers ;-) 2005-03-09 17:11:09 +00:00
Jeremy Ellington
e2cd941c34 Allow setting of RMCP+ messaging cipher suite privilege levels 2005-03-08 20:11:48 +00:00
Jeremy Ellington
ca85cb4688 Added IPMI_SESSION_PRIV_UNSPECIFIED for the RMCP+ cipher suite priv code 2005-03-08 20:06:29 +00:00
Jeremy Ellington
e067d97a41 Now printing "RMCP+ Cipher Suites" and "Cipher Suite Priv Max" data. 2005-03-07 16:35:28 +00:00
Jeremy Ellington
ac3e23b9b9 Extended LAN Configuration Parameteres to include RMCP+ related parameters
new to the v2 spec.
2005-03-07 16:34:01 +00:00
Jeremy Ellington
a60b6acce1 Usage statement change "authentication" ==> "auth" in order to keep
column width < 80 characters.
2005-03-07 14:00:56 +00:00
Jeremy Ellington
daf5180838 Contribution by Holger Liebig. Better error handling, graceful handling
of unsupported options and human readable error output.
2005-03-04 21:39:50 +00:00
Jeremy Ellington
3979342536 Disable block padding in OpenSSL encryption/decryption 2005-03-03 20:02:51 +00:00
Jeremy Ellington
a12c0c31bb The session ID and sequence numbers should be set to 0 in pre-session. 2005-02-25 20:05:31 +00:00
Jeremy Ellington
7094b4f838 Correct comment in return code description for lanplus_rakp4_matches 2005-02-23 20:54:06 +00:00
Jeremy Ellington
f0b24c9a0e remove inaccurate assert. 2005-02-23 16:29:55 +00:00
Jeremy Ellington
674eb706a3 Fix bug in argument processing for sol channel 2005-02-17 22:35:52 +00:00
Jeremy Ellington
fe4f77cfdd Corrected misspelling Parial ==> Partial 2005-02-17 22:27:43 +00:00
Jeremy Ellington
cd5ee61d23 Added implementation for "channel getciphers" which implements the
command Get Channel Cipher Suites.
2005-02-17 22:26:08 +00:00
Jeremy Ellington
f7dc0a57de Move algorithm ID definitions into the higher level ipmi_constants.h file 2005-02-17 22:24:38 +00:00
Jeremy Ellington
c6db0382e5 move some strings (for algorithm descriptions) into a the higher level
ipmi_strings.[c|h] file.
2005-02-17 22:22:40 +00:00
Jeremy Ellington
761ce85d28 include the numeric error code if it's available. 2005-02-16 22:33:02 +00:00
Jeremy Ellington
3d29ed01a5 Fix 2 minor bugs in output. 1) if a field didn't exist, we weren't
updating our offset.  This caused subsequent fields to not be displayed.
2) Add missing field "Board Mfg".  I think this was just an oversight
during a rewrite.
2005-02-16 20:12:06 +00:00
Jeremy Ellington
bc17282c3a Per request from fujitsu-siemens, don't pad username in RAKP1 message 2005-02-10 17:15:48 +00:00
Jeremy Ellington
247ad8f661 Corrected size of RAKP1 messages (43 ==> 44) 2005-02-10 17:14:54 +00:00
Jeremy Ellington
5679de9984 Added some debugging output 2005-02-09 19:30:33 +00:00
Jeremy Ellington
15ed988689 User cipher suite as specified by the user (with -C). We now support
integrity and encryption algorithms of NONE.  Also fixed where we were
using the auth algorithm in places where the integrity albums was supposed
to be used.
2005-02-09 19:29:19 +00:00
Jeremy Ellington
34ddf53870 Added the -C option so that a user can specify a cipher suite ID. This
cipher suite ID indicates which authentication, integrity and
encryption algorithms should be used form IPMIv2 RMCP+ (lanplus) sessions.
2005-02-09 19:26:45 +00:00
Jeremy Ellington
42e73b39de Added ability to store and set the requested cipher suite ID
and its alogorithm specifiers.
2005-02-09 19:24:08 +00:00
Duncan Laurie
aca415c287 fix rmcp ping/pong handling for network-byte-order 2005-02-09 17:42:13 +00:00
Jeremy Ellington
c4699aba9c A one-off error was preventing a output of the last user. This was caught
by Anthony Yeung at Newisys.
2005-02-08 19:15:37 +00:00
Jeremy Ellington
be2c0c4b03 Set rsp->data_len to 0 if there is not response data. 2005-02-04 18:46:15 +00:00
Jeremy Ellington
0d72cd27cc Increase the data buffer size of raw packet data. Also avoid buffer
overflows with this data.
2005-02-02 20:47:11 +00:00
Duncan Laurie
e4ba0c3de3 fix sel list return code 2005-02-02 17:28:03 +00:00
Duncan Laurie
96bd14b905 fix authtype setting parameters 2005-02-01 16:28:32 +00:00
Duncan Laurie
8a2a11c520 checking invalid return code for feof 2005-02-01 00:14:37 +00:00
Duncan Laurie
9164d3b69e incorrect bigendian define was messing up fru locator records 2005-02-01 00:13:34 +00:00
Duncan Laurie
80a9f3acb2 return success on poh command 2005-02-01 00:08:04 +00:00
Duncan Laurie
94f272e8e2 don't dump packets unless verbose is given twice 2005-02-01 00:07:19 +00:00
Jeremy Ellington
682caca7ea converted some spaces into tabs for consistency 2005-01-28 15:47:14 +00:00
Jeremy Ellington
d6274af150 Added text indicating whether threshold crossings are assertion or
deassertion events.  This fix is submitted for Wes Bemont at Newisys.
2005-01-28 15:45:39 +00:00
Duncan Laurie
1d7e045d47 don't return failure code on timeouts 2005-01-27 17:41:48 +00:00
Duncan Laurie
8dd12afdad explicit return value when printing analog sensors 2005-01-27 17:39:30 +00:00
Duncan Laurie
174b13e835 set logpriv to null on log_halt 2005-01-21 23:10:57 +00:00
Duncan Laurie
ff89a0e2f2 fix debug output formatting 2005-01-21 16:07:06 +00:00
Duncan Laurie
9dbab242bd fix segfault when setting auth levels 2005-01-21 16:06:03 +00:00
Duncan Laurie
658b502e64 trim extra bytes from data 2005-01-21 16:04:34 +00:00
Duncan Laurie
b8d8587b2a exit status 0 when printing usage help. add bmc command aliased to mc command 2005-01-19 17:25:25 +00:00
Duncan Laurie
445025f2f4 stop printing lan parameters if one returns an error other than 0x80 2005-01-18 17:01:00 +00:00
Duncan Laurie
55ee755de8 cygwin needs inet_aton 2005-01-18 16:49:43 +00:00