508 Commits

Author SHA1 Message Date
Duncan Laurie
c8aad7df14 use keepalive when possible to keep sessions open in shell mode,
cleanup 'set' command and have it display message when setting
2004-09-03 19:02:22 +00:00
Duncan Laurie
ba2cfe98a5 add keepalive function for lanplus interface 2004-09-03 19:01:04 +00:00
Duncan Laurie
bdf90c59bc add keepalive function for lan interface 2004-09-03 18:58:59 +00:00
Duncan Laurie
72f6d0b977 two variables for preceeding change 2004-09-02 21:33:51 +00:00
Duncan Laurie
23dc958548 improve the usage help text,
try and workaround SP issues when setting lan parameters
2004-09-02 21:33:17 +00:00
Duncan Laurie
7e140a2c5f add support for "set" command for setting up session variables in shell/exec,
add support for help and up-arrow key in shell mode
2004-09-02 21:32:24 +00:00
Duncan Laurie
4022cb1c63 up debug level for noise 2004-09-02 21:31:04 +00:00
Duncan Laurie
94245169c1 clean up some strval defines that were causing problems with -Wall 2004-09-02 21:30:41 +00:00
Duncan Laurie
3c78114ccc up version to pre5,
fix mis-detectin of libcrypto when testing for md5 presence,
allow --enable-intf-X=static to also work for compatibility reasons
2004-09-02 21:29:03 +00:00
Duncan Laurie
8e7361bb6c fix use of received_byte_count, patch from cyclades 2004-09-02 16:52:33 +00:00
Duncan Laurie
6c43afe6f3 fix a couple missed warnings that gcc 2.95 picked up 2004-09-01 19:27:29 +00:00
Duncan Laurie
e05ab344af use administrator privilege level by default,
add new "exec" command to execute script,
use portable file io
2004-09-01 16:42:59 +00:00
Duncan Laurie
eab79363a2 use portabale file io 2004-09-01 16:41:00 +00:00
Duncan Laurie
c1fd61b419 use portable file io 2004-09-01 16:40:26 +00:00
Duncan Laurie
4763dcf560 fix impi->ipmi typo,
workaround for mBMC
2004-09-01 16:15:24 +00:00
Duncan Laurie
a745d83af2 move file handling routines into helper 2004-09-01 00:19:36 +00:00
Duncan Laurie
6da8379fe4 fix lots of little errors that show up with -Werror -Wall 2004-08-31 23:52:59 +00:00
Duncan Laurie
ea146566c5 clean up handling of top level commands,
add support for "shell" command
2004-08-31 23:15:31 +00:00
Duncan Laurie
bbf1909161 add header interface printing 2004-08-31 23:12:42 +00:00
Duncan Laurie
f6495ddf0e add support for readline,
move raw command to its own file,
remove md5 header that doesn't belong
2004-08-31 23:11:45 +00:00
Duncan Laurie
e092eedd5b fix lots of little errors that show up when compiled with -Wall 2004-08-31 22:55:11 +00:00
Duncan Laurie
8f5e3e0d95 fix segfault on x86_64 by including time.h...
fix lots of little issues that show up when -Wall is turned on
2004-08-31 22:52:54 +00:00
Duncan Laurie
8da3a449cb fix setting Power Restore Policy 2004-08-31 18:48:07 +00:00
Duncan Laurie
639df0246c md2 and md5 were split into here 2004-08-27 19:12:14 +00:00
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