Commit Graph

24 Commits

Author SHA1 Message Date
jbjohnso
ebb3f27e55 Rework some of the IPv6 logic to tolerate certain peculiar perl environments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11797 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-08 15:17:20 +00:00
jbjohnso
b144a32404 Implement a '-w' argument on rpower suspend to force blocking until system has gone into suspend
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11699 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-27 17:49:29 +00:00
jbjohnso
9bc1b7f8f1 Explicitly denote NI_NUMERICHOST as a function, which seems strange but it makes perl give us the benefit of the doubt
on it beling a valid scoped entity that will be avoided if not imported.
Could have probably used & to acheive the same effect, but it doesn't particularly matter

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11500 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-07 13:34:20 +00:00
jbjohnso
c41fe0e1a3 Fix IPMI.pm warning message on every packet when IPv6 is possible
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11475 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-03 22:17:46 +00:00
jbjohnso
45fecc3aa5 Have IPMI avoid conflicts between Socket6 and INET in some configs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11425 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-01-27 16:53:48 +00:00
jbjohnso
bb0d44e4c6 Fix a warning message and ever so slightly improve performance
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11240 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-13 19:59:42 +00:00
jbjohnso
acdca98125 Have base IPMI functionality be IPv4/IPv6 agnostic.
wvid still is IPv4 dependent, need to hijack LWP's use of IPv6-incapbale
ipmitool can't do it either..

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11238 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-13 19:57:29 +00:00
lissav
27575eae36 Comment out use/require Data:Dumper
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9271 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-11 13:51:09 +00:00
jbjohnso
791598aeb1 -Fix output when logout packet times out
-Adjust RCVBUF as possible in IPMI to increase outstanding transactions when the default value is low.
-Have IPMI throttle outstanding transactions based on the available size of the buffer to minimize UDP loss due to buffer overflow.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8599 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-10 20:25:35 +00:00
jbjohnso
4a6e7dd4ca -Fix errors where responses from retries would be confused for new data
-Increase initial timeout to assure at least one second lapses before a retry is sent (if time is milliseconds from a new second, the old code would retry in milliseconds)


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5215 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-12 19:24:25 +00:00
jbjohnso
f49c63dcba -Fix problem where unresolvable BMC addresses reported as BUG rather than a clean error message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5206 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-10 20:05:00 +00:00
jbjohnso
abe207e271 -Report timeout condition back up through stack
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5170 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-05 18:17:27 +00:00
jbjohnso
42d1c686f6 -Implement timeouts and retry
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5169 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-05 18:11:12 +00:00
jbjohnso
c38f03b095 -Fix padding mistake in IPMI library
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5092 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-31 18:39:53 +00:00
jbjohnso
5d04211a85 -Fix so encryption working is no longer simply because I got it wrong twice
-Complete decryption, IPMI 2.0 session management complete


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5085 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-30 01:06:16 +00:00
jbjohnso
fd442e74ae -First pass at decrypting data, seems accurate but isn't getting the full data yet
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5079 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-29 04:40:10 +00:00
jbjohnso
3c164dd1cf -Remove test IV
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5078 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-29 04:16:34 +00:00
jbjohnso
712c9edd0b -Encrypt outgoing payloads successfully
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5077 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-29 04:15:52 +00:00
jbjohnso
c98c4faf07 -Process received IPMI 2 IPMI payload with authentication
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5076 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-29 03:17:19 +00:00
jbjohnso
d696c29aae -Remove debug output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5075 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-29 02:34:06 +00:00
jbjohnso
da608883e4 -Implement HMAC integrity algorithm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5074 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-29 02:32:47 +00:00
jbjohnso
5004985f18 -Get up through rakp4, next is to actually execute the integrity algorithm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5073 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-28 22:06:22 +00:00
jbjohnso
0c6495c55a -Get to rmcp+ session response correctly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5067 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-28 03:42:24 +00:00
jbjohnso
37982470d2 -Phase 1 of IPMI rewrite, a generic IPMI session management. Implements 1.5, to add 2.0
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5060 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-27 14:58:18 +00:00