diff --git a/fence/agents/cisco_ucs/fence_cisco_ucs.py b/fence/agents/cisco_ucs/fence_cisco_ucs.py index 6288207cf..63b441752 100644 --- a/fence/agents/cisco_ucs/fence_cisco_ucs.py +++ b/fence/agents/cisco_ucs/fence_cisco_ucs.py @@ -7,6 +7,7 @@ sys.path.append("@FENCEAGENTSLIBDIR@") from fencing import * from fencing import fail, EC_STATUS, EC_LOGIN_DENIED, run_delay +import fencing_pycurl #BEGIN_VERSION_GENERATION RELEASE_VERSION="New Cisco UCS Agent - test release on steroids" @@ -85,7 +86,7 @@ def send_command(opt, command, timeout): url += "//" + opt["--ip"] + ":" + str(opt["--ipport"]) + "/nuova" ## send command through pycurl - conn = pycurl.Curl() + conn = fencing_pycurl.FencingPyCurl() web_buffer = StringIO.StringIO() conn.setopt(pycurl.URL, url) conn.setopt(pycurl.HTTPHEADER, ["Content-type: text/xml"]) diff --git a/fence/agents/docker/fence_docker.py b/fence/agents/docker/fence_docker.py index a27ecb195..92f59b668 100644 --- a/fence/agents/docker/fence_docker.py +++ b/fence/agents/docker/fence_docker.py @@ -9,6 +9,7 @@ sys.path.append("@FENCEAGENTSLIBDIR@") from fencing import fail_usage, all_opt, fence_action, atexit_handler, check_input, process_input, show_docs, run_delay +import fencing_pycurl #BEGIN_VERSION_GENERATION RELEASE_VERSION = "" @@ -50,7 +51,7 @@ def get_list(conn, options): def send_cmd(options, cmd, post = False): url = "http%s://%s:%s/v%s/%s" % ("s" if "--ssl" in options else "", options["--ip"], options["--ipport"], options["--api-version"], cmd) - conn = pycurl.Curl() + conn = fencing_pycurl.FencingPyCurl() output_buffer = StringIO.StringIO() if logging.getLogger().getEffectiveLevel() < logging.WARNING: conn.setopt(pycurl.VERBOSE, True) diff --git a/fence/agents/lib/Makefile.am b/fence/agents/lib/Makefile.am index 749de19f3..79553f3af 100644 --- a/fence/agents/lib/Makefile.am +++ b/fence/agents/lib/Makefile.am @@ -1,12 +1,12 @@ MAINTAINERCLEANFILES = Makefile.in -TARGET = fencing.py fencing_snmp.py +TARGET = fencing.py fencing_snmp.py fencing_pycurl.py if BUILD_XENAPILIB TARGET += XenAPI.py endif -SRC = fencing.py.py fencing_snmp.py.py XenAPI.py.py check_used_options.py +SRC = fencing.py.py fencing_snmp.py.py XenAPI.py.py check_used_options.py fencing_pycurl.py.py XSL = fence2man.xsl fence2rng.xsl fence2wiki.xsl diff --git a/fence/agents/lib/fencing_pycurl.py.py b/fence/agents/lib/fencing_pycurl.py.py new file mode 100644 index 000000000..23d7a51c6 --- /dev/null +++ b/fence/agents/lib/fencing_pycurl.py.py @@ -0,0 +1,156 @@ +__author__ = 'Ondrej Mular ' +__all__ = ["FencingPyCurl"] + +import pycurl +import sys +import atexit +import json +import StringIO +import time +import logging +import pprint + +## do not add code here. +#BEGIN_VERSION_GENERATION +RELEASE_VERSION = "" +REDHAT_COPYRIGHT = "" +BUILD_DATE = "" +#END_VERSION_GENERATION + +class FencingPyCurl(): + active = False + input_file = None + output_file = None + options = None + actions = None + request_index = 0 + output_buffer = None + write_function = None + pycurl_obj = None + + def __init__(self): + if not FencingPyCurl.active and (FencingPyCurl.input_file or FencingPyCurl.output_file): + FencingPyCurl.active = True + logging.debug("FencingPyCurl is active now") + if FencingPyCurl.active: + self.options = { + "request": {}, + "response": {}, + "time": {} + } + + self.output_buffer = StringIO.StringIO() + if FencingPyCurl.actions is None: + if FencingPyCurl.input_file: + logging.debug("Reading input file.") + + try: + with open(FencingPyCurl.input_file, "r") as f: + FencingPyCurl.actions = json.load(f) + except Exception as e: + logging.debug("Reading input file (%s) failed: %s" % (FencingPyCurl.input_file, e.message)) + + if FencingPyCurl.output_file: + logging.debug("output file detected") + if not FencingPyCurl.actions: + FencingPyCurl.actions = [] + FencingPyCurl.request_index = 0 + + self.pycurl_obj = pycurl.Curl() + + def setopt(self, opt, value): + if FencingPyCurl.active: + if opt == pycurl.WRITEFUNCTION: + self.write_function = value + value = self.output_buffer.write + else: + self.options["request"][str(opt)] = value + return self.pycurl_obj.setopt(opt, value) + + def perform(self): + if FencingPyCurl.active: + if FencingPyCurl.input_file: + perform_start = time.time() + if self.options["request"] == FencingPyCurl.actions[FencingPyCurl.request_index]["request"]: + self.options["response"] = FencingPyCurl.actions[FencingPyCurl.request_index]["response"] + if self.write_function: + self.write_function(self.options["response"]["output"]) + diff = FencingPyCurl.actions[FencingPyCurl.request_index]["time"]["perform_duration"] - (time.time() - perform_start) + if diff > 0: + logging.debug("sleeping for: %s" % str(diff)) + time.sleep(diff) + FencingPyCurl.last_request_time = time.time() + else: + print "Request:" + pprint.pprint(self.options["request"]) + print "Expected:" + pprint.pprint(FencingPyCurl.actions[FencingPyCurl.request_index]["request"]) + raise Exception("Invalid request") + else: + start_time = time.time() + self.pycurl_obj.perform() + self.options["time"]["perform_duration"] = FencingPyCurl.last_request_time - start_time + self.options["response"]["output"] = self.output_buffer.getvalue() + if self.write_function: + self.write_function(self.options["response"]["output"]) + if FencingPyCurl.output_file: + FencingPyCurl.actions.append(self.options) + FencingPyCurl.request_index += 1 + else: + return self.pycurl_obj.perform() + + def unsetopt(self, opt): + if FencingPyCurl.active: + del self.options["request"][str(opt)] + return self.pycurl_obj.unsetopt(opt) + + def getinfo(self, opt): + value = self.pycurl_obj.getinfo(opt) + if FencingPyCurl.active: + if FencingPyCurl.input_file: + value = self.options["response"][str(opt)] + else: + self.options["response"][opt] = value + return value + + def reset(self): + if FencingPyCurl.active: + self.options.clear() + return self.pycurl_obj.reset() + + def close(self): + return self.pycurl_obj.close() + + @staticmethod + def save_log_to_file(): + if FencingPyCurl.output_file and FencingPyCurl.actions: + logging.debug("Writing log to file: %s" % FencingPyCurl.output_file) + try: + with open(FencingPyCurl.output_file, "w") as f: + json.dump(FencingPyCurl.actions, f, sort_keys=True, indent=4, separators=(',', ': ')) + except Exception as e: + logging.debug("Writing log to file (%s) failed: %s" % (FencingPyCurl.output_file, e.message)) + + +def get_and_remove_arg(arg, has_value=True): + logging.debug("Getting arg: %s (has_value: %s)" % (arg, str(has_value))) + if not has_value: + if arg in sys.argv: + sys.argv.remove(arg) + logging.debug("%s: True" % arg) + return True + if arg in sys.argv: + index = sys.argv.index(arg) + sys.argv.remove(arg) + if len(sys.argv) > index: + value = sys.argv[index] + sys.argv.remove(value) + logging.debug("%s: %s" % (arg, value)) + return value + return None + +FencingPyCurl.input_file = get_and_remove_arg("--fencing_pycurl-log-in") +FencingPyCurl.output_file = get_and_remove_arg("--fencing_pycurl-log-out") + +if FencingPyCurl.output_file: + atexit.register(FencingPyCurl.save_log_to_file) diff --git a/fence/agents/pve/fence_pve.py b/fence/agents/pve/fence_pve.py index 39d0e863b..fffcff5cd 100755 --- a/fence/agents/pve/fence_pve.py +++ b/fence/agents/pve/fence_pve.py @@ -13,6 +13,7 @@ import logging sys.path.append("@FENCEAGENTSLIBDIR@") from fencing import fail, EC_LOGIN_DENIED, atexit_handler, all_opt, check_input, process_input, show_docs, fence_action, run_delay +import fencing_pycurl #BEGIN_VERSION_GENERATION RELEASE_VERSION="" @@ -93,7 +94,7 @@ def get_ticket(options): def send_cmd(options, cmd, post=None): url = options["url"] + cmd - conn = pycurl.Curl() + conn = fencing_pycurl.FencingPyCurl() output_buffer = StringIO.StringIO() if logging.getLogger().getEffectiveLevel() < logging.WARNING: conn.setopt(pycurl.VERBOSE, True) diff --git a/tests/actions.d/already-off.cfg b/tests/actions.d/already-off.cfg new file mode 100644 index 000000000..3f62be2bd --- /dev/null +++ b/tests/actions.d/already-off.cfg @@ -0,0 +1,2 @@ +name = "Already OFF" +actions = [ { "command" : "off", "return_code" : "^0$" } ] diff --git a/tests/actions.d/already-on.cfg b/tests/actions.d/already-on.cfg new file mode 100644 index 000000000..9e2edb388 --- /dev/null +++ b/tests/actions.d/already-on.cfg @@ -0,0 +1,2 @@ +name = "Already ON" +actions = [ { "command" : "on", "return_code" : "^0$" } ] diff --git a/tests/actions.d/off.cfg b/tests/actions.d/off.cfg new file mode 100644 index 000000000..6dab24892 --- /dev/null +++ b/tests/actions.d/off.cfg @@ -0,0 +1,2 @@ +name = "Off" +actions = [ { "command" : "off", "return_code" : "^0$" } ] \ No newline at end of file diff --git a/tests/actions.d/on.cfg b/tests/actions.d/on.cfg new file mode 100644 index 000000000..78c50d7f0 --- /dev/null +++ b/tests/actions.d/on.cfg @@ -0,0 +1,2 @@ +name = "On" +actions = [ { "command" : "on", "return_code" : "^0$" } ] \ No newline at end of file diff --git a/tests/actions.d/reboot.cfg b/tests/actions.d/reboot.cfg new file mode 100644 index 000000000..50464e759 --- /dev/null +++ b/tests/actions.d/reboot.cfg @@ -0,0 +1,2 @@ +name = "Reboot" +actions = [ { "command" : "reboot", "return_code" : "^0$" } ] diff --git a/tests/actions.d/status-off.cfg b/tests/actions.d/status-off.cfg new file mode 100644 index 000000000..8a8d07812 --- /dev/null +++ b/tests/actions.d/status-off.cfg @@ -0,0 +1,2 @@ +name = "Status OFF" +actions = [ { "command" : "status", "return_code" : "^2$" } ] diff --git a/tests/actions.d/status-on.cfg b/tests/actions.d/status-on.cfg new file mode 100644 index 000000000..a24b5c98b --- /dev/null +++ b/tests/actions.d/status-on.cfg @@ -0,0 +1,2 @@ +name = "Status ON" +actions = [ { "command" : "status", "return_code" : "^0$" } ] diff --git a/tests/binmitm.py b/tests/binmitm.py new file mode 100755 index 000000000..e4fb7026a --- /dev/null +++ b/tests/binmitm.py @@ -0,0 +1,179 @@ +#!/usr/bin/python + +__author__ = 'Ondrej Mular ' + +import sys +import os +import subprocess +import logging +import json +import time + +INPUT_FILE = os.environ["BINMITM_INPUT"] if "BINMITM_INPUT" in os.environ else None +OUTPUT_FILE = os.environ["BINMITM_OUTPUT"] if "BINMITM_OUTPUT" in os.environ else None +COUNTER_FILE = os.environ["BINMITM_COUNTER_FILE"] if "BINMITM_COUNTER_FILE" in os.environ else ".binmitm_counter" +ENV_VARS = os.environ["BINMITM_ENV"].split(",") if "BINMITM_ENV" in os.environ else [] +IGNORE_TIMING = "BINMITM_IGNORE_TIMING" in os.environ +DEBUG = "BINMITM_DEBUG" in os.environ + + +def log_debug(msg): + if DEBUG: + logging.error(msg) + + +def exit(ret): + if COUNTER_FILE and os.path.isfile(COUNTER_FILE): + try: + os.remove(COUNTER_FILE) + except Exception as e: + log_debug("Unable to delete counter file (%s): %s" % (COUNTER_FILE, e.message)) + try: + with open(COUNTER_FILE, "w") as f: + f.write("0\n") + log_debug("0 written into counter file (%s)" % COUNTER_FILE) + except Exception as e: + log_debug("Unable to write 0 to counter file (%s): %s" % (COUNTER_FILE, e.message)) + sys.exit(ret) + + +def get_count(max_count): + count = 0 + if os.path.isfile(COUNTER_FILE): + try: + with open(COUNTER_FILE, "r+") as f: + count = int(f.readline().strip()) + f.seek(0) + f.truncate() + f.write("%d\n" % ((count+1)%max_count)) + except Exception as e: + log_debug("Unable to read/write from/to '%s': %s" % (COUNTER_FILE, e.message)) + else: + if max_count != 1: + try: + with open(COUNTER_FILE, "w") as f: + f.write("1\n") + except Exception as e: + log_debug("Unable to write to '%s': %s" % (COUNTER_FILE, e.message)) + return count + + +def record(argv): + output = OUTPUT_FILE and not INPUT_FILE + env = os.environ.copy() + + cur_output = {} + cur_output["request"] = {} + cur_output["response"] = {} + cur_output["time"] = {} + cur_output["request"]["argv"] = argv + cur_output["request"]["env"] = {} + + for e in ENV_VARS: + if e in env: + cur_output["request"]["env"][e] = env[e] + + proc_start_time = time.time() + + try: + process = subprocess.Popen(argv, stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=env) + except OSError as e: + log_debug("Unable to run command '%s': %s" % (" ".join(argv), e.message)) + exit(127) + + status = process.wait() + cur_output["time"]["perform_duration"] = time.time() - proc_start_time + + (pipe_stdout, pipe_stderr) = process.communicate() + process.stdout.close() + process.stderr.close() + + cur_output["response"]["stderr"] = pipe_stderr + cur_output["response"]["stdout"] = pipe_stdout + cur_output["response"]["return_code"] = status + + sys.stderr.write(pipe_stderr) + sys.stdout.write(pipe_stdout) + + if output: + try: + if os.path.isfile(OUTPUT_FILE): + with open(OUTPUT_FILE, "r+") as f: + output_values = [] + + try: + output_values = json.load(f) + except: + log_debug("Parsing output file '%s' failed. It is considered as empty." % OUTPUT_FILE) + + output_values.append(cur_output) + f.truncate() + f.seek(0) + json.dump(output_values, f, indent=4) + else: + with open(OUTPUT_FILE, "w") as f: + json.dump([cur_output], f, indent=4) + except ValueError as e: + log_debug("Unable to parse output file: %s" % e.message) + except IOError as e: + log_debug("Unable to open output file '%s': %s" % (OUTPUT_FILE, e.message)) + + sys.exit(status) + + +def replay(argv): + start_time = time.time() + env = os.environ.copy() + input_values = [] + + try: + with open(INPUT_FILE) as f: + input_values = json.load(f) + except ValueError as e: + log_debug("Unable to parse input file: %s" % e.message) + except IOError as e: + log_debug("Unable to open input file '%s': %s" % (INPUT_FILE, e.message)) + + if not input_values: + log_debug("Empty input") + exit(127) + + input_number = get_count(len(input_values)) + if input_number >= len(input_values): + log_debug("Unable to get current input") + exit(127) + + cur_input = input_values[input_number] + if cur_input["request"]["argv"] != argv: + log_debug("Expected different command (Expected: '%s', Given: '%s')" % (" ".join(cur_input["request"]["argv"]), " ".join(argv))) + exit(127) + + env.update(cur_input["request"]["env"]) + sys.stderr.write(cur_input["response"]["stderr"]) + sys.stdout.write(cur_input["response"]["stdout"]) + + if not IGNORE_TIMING: + time_left = cur_input["time"]["perform_duration"] - (time.time() - start_time) + + if time_left > 0: + log_debug("Sleeping for %f s" % time_left) + time.sleep(time_left) + else: + log_debug("Uooops! We are runnig %f s longer." % abs(time_left)) + + sys.exit(cur_input["response"]["return_code"]) + + +def main(argv): + if not argv: + print "No command to run" + exit(127) + if INPUT_FILE: + replay(argv) + else: + record(argv) + + +if __name__ == "__main__": + main(sys.argv[1:]) + diff --git a/tests/create_test_data.py b/tests/create_test_data.py new file mode 100755 index 000000000..f579a5103 --- /dev/null +++ b/tests/create_test_data.py @@ -0,0 +1,241 @@ +#!/usr/bin/python -tt + +__author__ = 'Ondrej Mular ' + +from configobj import ConfigObj +from time import sleep +import sys +import subprocess +import shlex +import logging +import os +import re +import fence_tests_lib as ftl + +VERBOSE = not set(["-v", "--verbose"]).isdisjoint(sys.argv) + +avail_opt = { + "verbose": { + "getopt": "v", + "longopt": "verbose", + "description": "Verbose mode" + }, + "help": { + "getopt": "h", + "longopt": "help", + "description": "Display help and exit" + }, + "device": { + "getopt": "d:", + "longopt": "device", + "description": "List of devices to test (e.g.: apc,docker)", + "default": None + }, + "action": { + "getopt": "a:", + "longopt": "action", + "description": "List of actions to test", + "default": None + }, + "test-config": { + "getopt": "t", + "longopt": "test-config", + "description": "Test device config", + "default": False + }, + "force": { + "getopt": "f", + "longopt": "force", + "description": "force rewrite existing log file", + "default": False + } +} + + +class RecordTestData(object): + + def __init__(self, device_cfg, action_cfg, force=False): + self.device_cfg = device_cfg + self.action_cfg = action_cfg + self.device_config = ConfigObj(device_cfg, unrepr=True) + self.action_config = ConfigObj(action_cfg, unrepr=True) + logs_path = os.path.join(ftl.MITM_LOGS_PATH, self.device_config["agent"][6:]) + if "subdir" in self.device_config: + logs_path = os.path.join(logs_path, self.device_config["subdir"]) + self.log = os.path.join(logs_path, "%s.log" % ftl.get_basename(action_cfg)) + if os.path.isfile(self.log) and not force: + raise Exception("Log file already exists. Use --force option to overwrite it.") + elif os.path.isfile(self.log): + os.remove(self.log) + self.mitm_process = None + self.params = "" + self.env = {} + self.type = self.device_config["agent_type"].lower() + + + def setUp_MITM(self): + cmd, env = ftl.get_MITM_record_cmd(self.device_cfg, self.log) + if cmd: + logging.debug("Executing: %s", cmd) + try: + # Try to start replay server + process = subprocess.Popen(shlex.split(cmd), stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=env) + except OSError as e: + logging.error("Unable to start record server: %s" % e.message) + raise + sleep(1) # wait for replay server + if process.poll() is not None: # check if replay server is running correctly + raise Exception("Replay server is not running correctly.") + self.mitm_process = process + + def tearDown_MITM(self): + if self.mitm_process: + process = self.mitm_process + # if server is still alive after test, kill it + if process.poll() is None: + try: + # race condition, process can exit between checking and killing process + process.kill() + except Exception: + pass + pipe_stdout, pipe_stderr = process.communicate() + process.stdout.close() + process.stderr.close() + logging.debug("Record server STDOUT:\n%s\nRecord server STDERR:\n%s", str(pipe_stdout), str(pipe_stderr)) + + def setUp_pycurl(self): + self.params = "--fencing_pycurl-log-out %s" % self.log + + def tearDown_pycurl(self): + pass + + def setUp_binmitm(self): + cf = os.path.abspath(ftl.BINMITM_COUNTERFILE) + if os.path.exists(cf): + os.remove(cf) + if "BINMITM_INPUT" in os.environ: + del os.environ["BINMITM_INPUT"] + if "BINMITM_DEBUG" in os.environ: + del os.environ["BINMITM_DEBUG"] + self.env = {} + self.env["BINMITM_COUNTER_FILE"] = ftl.BINMITM_COUNTERFILE + self.env["BINMITM_OUTPUT"] = self.log + + def tearDown_binmitm(self): + cf = os.path.abspath(ftl.BINMITM_COUNTERFILE) + if os.path.exists(cf): + os.remove(cf) + + def setUp(self): + type = self.type + if type == "mitmproxy": + self.setUp_MITM() + elif type =="pycurl": + self.setUp_pycurl() + elif type == "binmitm": + self.setUp_binmitm() + + def tearDown(self): + type = self.type + if type == "mitmproxy": + self.tearDown_MITM() + elif type =="pycurl": + self.tearDown_pycurl() + elif type == "binmitm": + self.tearDown_binmitm() + + def record(self): + self.setUp() + + success = True + actions = self.action_config + + for action in actions["actions"]: + if not success: + break + cmd, stdin, env = ftl._prepare_command(self.device_config, self.params) + env.update(self.env) + cmd += " -o %s"% (action["command"]) + + status, stdout, stderr = ftl.run_agent(cmd, stdin, env) + + logging.debug("AGENT EXITCODE: %s" % str(status)) + logging.debug("AGENT STDOUT: %s" % stdout) + logging.debug("AGENT STDERRT: %s" % stderr) + + success = success and bool(re.search(action["return_code"], str(status), re.IGNORECASE)) + if not success: + logging.error("EXITCODE: %s (expected: %s)" % (str(status), re.search(action["return_code"]))) + + self.tearDown() + return success + + +def get_device_cfg_path(device): + device_cfg = os.path.join(ftl.DEVICES_PATH, "%s.cfg" % device) + if not os.path.isfile(device_cfg): + raise Exception("Device config '%s' not found." % device_cfg) + return device_cfg + + +def get_action_cfg_path(action): + action_cfg = os.path.join(ftl.ACTIONS_PATH, "%s.cfg" % action) + if not os.path.isfile(action_cfg): + raise Exception("Action config '%s' not found." % action_cfg) + return action_cfg + + +def main(): + if VERBOSE: + logging.getLogger().setLevel(logging.DEBUG) + else: + logging.getLogger().setLevel(logging.INFO) + + opt = ftl.get_options(avail_opt) + + if "--help" in opt: + ftl.show_help(avail_opt, "This program can create testing data for MITM tests of fence-agents.") + sys.exit(0) + + if opt["--device"] is None: + logging.error("Device has to be defined.") + ftl.show_help(avail_opt) + sys.exit(1) + + if opt["--action"] is None and not opt["--test-config"]: + logging.error("Action has to be defined when not testing config.") + ftl.show_help(avail_opt) + sys.exit(1) + + device_cfg = get_device_cfg_path(opt["--device"]) + + if opt["--test-config"]: + config = ConfigObj(device_cfg, unrepr=True) + + cmd, stdin, env = ftl._prepare_command(config) + cmd += " -o status" + status, stdout, stderr = ftl.run_agent(cmd, stdin, env) + + if status != 0 and status != 2: + logging.error("Cannot obtain status:\nRETURNCODE: %s\nSTDOUT:\n%s\nSTDERR:\n%s\n" % (str(status), stdout, stderr)) + sys.exit(1) + print stdout, + + sys.exit(0) + + action_cfg = get_action_cfg_path(opt["--action"]) + + try: + status = RecordTestData(device_cfg, action_cfg, opt["--force"]).record() + except Exception as e: + logging.error(e.message) + logging.error("Obtaining testing data failed.") + sys.exit(1) + + if not status: + logging.error("Obtaining testing data failed.") + sys.exit(1) + print "Obtaining log file was successful." + +if __name__ == "__main__": + main() \ No newline at end of file diff --git a/tests/data/mitm-logs/apc/ssh-user/already-off.log b/tests/data/mitm-logs/apc/ssh-user/already-off.log new file mode 100644 index 000000000..92b61a151 --- /dev/null +++ b/tests/data/mitm-logs/apc/ssh-user/already-off.log @@ -0,0 +1,13 @@ +0.0000009537 server 0x0a0a0a0d416d65726963616e20506f77657220436f6e76657273696f6e2020202020202020202020202020204e6574776f726b204d616e6167656d656e74204361726420414f5320202020202076322e372e300d0a28632920436f70797269676874203230303420416c6c2052696768747320526573657276656420205261636b205044552041505020202020202020202020202020202020202020202076322e372e330d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a4e616d652020202020203a205044552d424152202020202020202020202020202020202020202020202020202020202020202020202044617465203a2030382f31322f323031340d0a436f6e746163742020203a2020202020202020202020202020202020202020202020202020202020202020202020202020202020202054696d65203a2031313a34353a35390a0d4c6f636174696f6e20203a20425251204c61622c207261636b202339202d20726573657276656420666f7220636c757374657220202055736572203a204f75746c657420557365720a0d55702054696d652020203a2033352044617973203020486f757273203138204d696e757465732020202020202020202020202020202053746174203a20502b204e2b20412b0d0a0d0a5377697463686564205261636b205044553a20436f6d6d756e69636174696f6e2045737461626c69736865640a0a0d2d2d2d2d2d2d2d20436f6e74726f6c20436f6e736f6c65202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d20446576696365204d616e616765720d0a2020202020322d204e6574776f726b0d0a2020202020332d2053797374656d0d0a2020202020342d204c6f676f75740d0a0d0a20202020203c4553433e2d204d61696e204d656e752c203c454e5445523e2d20526566726573680d0a3e20 #....American Power Conversion Network Management Card AOS v2.7.0..(c) Copyright 2004 All Rights Reserved Rack PDU APP v2.7.3..-------------------------------------------------------------------------------..Name : PDU-BAR Date : 08/12/2014..Contact : Time : 11:45:59..Location : BRQ Lab, rack #9 - reserved for cluster User : Outlet User..Up Time : 35 Days 0 Hours 18 Minutes Stat : P+ N+ A+....Switched Rack PDU: Communication Established...------- Control Console -------------------------------------------------------.... 1- Device Manager.. 2- Network.. 3- System.. 4- Logout.... - Main Menu, - Refresh..> +0.0539131165 client 0x310d0a #1.. +0.2373480797 server 0x310a0a0d2d2d2d2d2d2d2d20446576696365204d616e61676572202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d205068617365204d6f6e69746f720d0a2020202020322d204f75746c657420436f6e74726f6c0d0a2020202020332d20506f77657220537570706c79205374617475730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e20 #1...------- Device Manager --------------------------------------------------------.... 1- Phase Monitor.. 2- Outlet Control.. 3- Power Supply Status.... - Back, - Refresh..> +0.2908310890 client 0x320d0a #2.. +0.5854060650 server 0x320a0a0d2d2d2d2d2d2d2d204f75746c657420436f6e74726f6c202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d202d2020202020202020202020202020202020202020202020204f46460d0a2020202020322d20454d43202855505329202020202020202020202020202020204f4e0d0a2020202020332d20454d43202020202020202020202020202020202020202020204f4e0d0a2020202020342d20464320537769746368202020202020202020202020202020204f4e0d0a2020202020352d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020362d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020372d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020382d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020392d202d2020202020202020202020202020202020202020202020204f46460d0a2020202031302d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031312d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031322d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031332d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031342d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031352d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031362d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031372d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202031382d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031392d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032302d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032312d206261722d3032202020202020202020202020202020202020204f4e0d0a2020202032322d206261722d3032202020202020202020202020202020202020204f4e0d0a0d20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d2020202020202020202020202020202020202020202020202020202020202020202020200d2020202032332d206261722d3031202020202020 #2...------- Outlet Control --------------------------------------------------------.... 1- - OFF.. 2- EMC (UPS) ON.. 3- EMC ON.. 4- FC Switch ON.. 5- EqualLogic ON.. 6- EqualLogic ON.. 7- [nothing] ON.. 8- [nothing] ON.. 9- - OFF.. 10- Saturnin ON.. 11- Saturnin ON.. 12- [nothing] OFF.. 13- [nothing] OFF.. 14- bar-05 ON.. 15- bar-05 ON.. 16- bar-04 ON.. 17- - ON.. 18- bar-04 ON.. 19- bar-03 ON.. 20- bar-03 ON.. 21- bar-02 ON.. 22- bar-02 ON... Press to continue.... . 23- bar-01 +0.6406350136 client 0x0d0a #.. +0.6872971058 server 0x202020202020202020202020204f4e0d0a2020202032342d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032352d20414c4c2041636365737369626c65204f75746c6574730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e20 # ON.. 24- bar-01 ON.. 25- ALL Accessible Outlets.... - Back, - Refresh..> +0.7414140701 client 0x0d0a #.. +0.7921981812 client 0x03 #. +0.9241399765 server 0x0a0a0d2d2d2d2d2d2d2d204f75746c657420436f6e74726f6c202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d202d2020202020202020202020202020202020202020202020204f46460d0a2020202020322d20454d43202855505329202020202020202020202020202020204f4e0d0a2020202020332d20454d43202020202020202020202020202020202020202020204f4e0d0a2020202020342d20464320537769746368202020202020202020202020202020204f4e0d0a2020202020352d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020362d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020372d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020382d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020392d202d2020202020202020202020202020202020202020202020204f46460d0a2020202031302d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031312d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031322d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031332d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031342d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031352d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031362d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031372d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202031382d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031392d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032302d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032312d206261722d3032202020202020202020202020202020202020204f4e0d0a2020202032322d206261722d3032202020202020202020202020202020202020204f4e0d0a0d20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d2020202020202020202020202020202020202020202020202020202020202020202020200d2020202032332d206261722d303120202020202020 #...------- Outlet Control --------------------------------------------------------.... 1- - OFF.. 2- EMC (UPS) ON.. 3- EMC ON.. 4- FC Switch ON.. 5- EqualLogic ON.. 6- EqualLogic ON.. 7- [nothing] ON.. 8- [nothing] ON.. 9- - OFF.. 10- Saturnin ON.. 11- Saturnin ON.. 12- [nothing] OFF.. 13- [nothing] OFF.. 14- bar-05 ON.. 15- bar-05 ON.. 16- bar-04 ON.. 17- - ON.. 18- bar-04 ON.. 19- bar-03 ON.. 20- bar-03 ON.. 21- bar-02 ON.. 22- bar-02 ON... Press to continue.... . 23- bar-01 +1.2100620270 server 0x2020202020202020202020204f4e0d0a2020202032342d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032352d20414c4c2041636365737369626c65204f75746c6574730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e200a0a0d2d2d2d2d2d2d2d204f75746c657420436f6e74726f6c202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d202d2020202020202020202020202020202020202020202020204f46460d0a2020202020322d20454d43202855505329202020202020202020202020202020204f4e0d0a2020202020332d20454d43202020202020202020202020202020202020202020204f4e0d0a2020202020342d20464320537769746368202020202020202020202020202020204f4e0d0a2020202020352d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020362d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020372d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020382d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020392d202d2020202020202020202020202020202020202020202020204f46460d0a2020202031302d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031312d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031322d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031332d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031342d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031352d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031362d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031372d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202031382d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031392d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032302d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032312d206261722d3032202020202020202020202020202020202020204f4e0d0a2020202032322d20 # ON.. 24- bar-01 ON.. 25- ALL Accessible Outlets.... - Back, - Refresh..> ...------- Outlet Control --------------------------------------------------------.... 1- - OFF.. 2- EMC (UPS) ON.. 3- EMC ON.. 4- FC Switch ON.. 5- EqualLogic ON.. 6- EqualLogic ON.. 7- [nothing] ON.. 8- [nothing] ON.. 9- - OFF.. 10- Saturnin ON.. 11- Saturnin ON.. 12- [nothing] OFF.. 13- [nothing] OFF.. 14- bar-05 ON.. 15- bar-05 ON.. 16- bar-04 ON.. 17- - ON.. 18- bar-04 ON.. 19- bar-03 ON.. 20- bar-03 ON.. 21- bar-02 ON.. 22- +1.4352209568 server 0x6261722d3032202020202020202020202020202020202020204f4e0d0a0d20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d2020202020202020202020202020202020202020202020202020202020202020202020200d2020202032332d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032342d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032352d20414c4c2041636365737369626c65204f75746c6574730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e200a0a0a0d416d65726963616e20506f77657220436f6e76657273696f6e2020202020202020202020202020204e6574776f726b204d616e6167656d656e74204361726420414f5320202020202076322e372e300d0a28632920436f70797269676874203230303420416c6c2052696768747320526573657276656420205261636b205044552041505020202020202020202020202020202020202020202076322e372e330d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a4e616d652020202020203a205044552d424152202020202020202020202020202020202020202020202020202020202020202020202044617465203a2030382f31322f323031340d0a436f6e746163742020203a2020202020202020202020202020202020202020202020202020202020202020202020202020202020202054696d65203a2031313a34363a30300a0d4c6f636174696f6e20203a20425251204c61622c207261636b202339202d20726573657276656420666f7220636c757374657220202055736572203a204f75746c657420557365720a0d55702054696d652020203a2033352044617973203020486f757273203138204d696e757465732020202020202020202020202020202053746174203a20502b204e2b20412b0d0a0d0a5377697463686564205261636b205044553a20436f6d6d756e69636174696f6e2045737461626c69736865640a0a0d2d2d2d2d2d2d2d20436f6e74726f6c20436f6e736f6c65202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d20446576696365204d616e616765720d0a2020202020322d204e6574776f726b0d0a2020202020332d2053797374656d0d0a2020202020342d204c6f676f75740d0a0d0a20202020203c45 #bar-02 ON... Press to continue.... . 23- bar-01 ON.. 24- bar-01 ON.. 25- ALL Accessible Outlets.... - Back, - Refresh..> ....American Power Conversion Network Management Card AOS v2.7.0..(c) Copyright 2004 All Rights Reserved Rack PDU APP v2.7.3..-------------------------------------------------------------------------------..Name : PDU-BAR Date : 08/12/2014..Contact : Time : 11:46:00..Location : BRQ Lab, rack #9 - reserved for cluster User : Outlet User..Up Time : 35 Days 0 Hours 18 Minutes Stat : P+ N+ A+....Switched Rack PDU: Communication Established...------- Control Console -------------------------------------------------------.... 1- Device Manager.. 2- Network.. 3- System.. 4- Logout.... - Main Menu, - Refresh..> diff --git a/tests/data/mitm-logs/apc/ssh-user/already-on.log b/tests/data/mitm-logs/apc/ssh-user/already-on.log new file mode 100644 index 000000000..da14fe763 --- /dev/null +++ b/tests/data/mitm-logs/apc/ssh-user/already-on.log @@ -0,0 +1,13 @@ +0.0000009537 server 0x0a0a0a0d416d65726963616e20506f77657220436f6e76657273696f6e2020202020202020202020202020204e6574776f726b204d616e6167656d656e74204361726420414f5320202020202076322e372e300d0a28632920436f70797269676874203230303420416c6c2052696768747320526573657276656420205261636b205044552041505020202020202020202020202020202020202020202076322e372e330d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a4e616d652020202020203a205044552d424152202020202020202020202020202020202020202020202020202020202020202020202044617465203a2030382f31322f323031340d0a436f6e746163742020203a2020202020202020202020202020202020202020202020202020202020202020202020202020202020202054696d65203a2031313a35303a35360a0d4c6f636174696f6e20203a20425251204c61622c207261636b202339202d20726573657276656420666f7220636c757374657220202055736572203a204f75746c657420557365720a0d55702054696d652020203a2033352044617973203020486f757273203233204d696e757465732020202020202020202020202020202053746174203a20502b204e2b20412b0d0a0d0a5377697463686564205261636b205044553a20436f6d6d756e69636174696f6e2045737461626c69736865640a0a0d2d2d2d2d2d2d2d20436f6e74726f6c20436f6e736f6c65202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d20446576696365204d616e616765720d0a2020202020322d204e6574776f726b0d0a2020202020332d2053797374656d0d0a2020202020342d204c6f676f75740d0a0d0a20202020203c4553433e2d204d61696e204d656e752c203c454e5445523e2d20526566726573680d0a3e20 #....American Power Conversion Network Management Card AOS v2.7.0..(c) Copyright 2004 All Rights Reserved Rack PDU APP v2.7.3..-------------------------------------------------------------------------------..Name : PDU-BAR Date : 08/12/2014..Contact : Time : 11:50:56..Location : BRQ Lab, rack #9 - reserved for cluster User : Outlet User..Up Time : 35 Days 0 Hours 23 Minutes Stat : P+ N+ A+....Switched Rack PDU: Communication Established...------- Control Console -------------------------------------------------------.... 1- Device Manager.. 2- Network.. 3- System.. 4- Logout.... - Main Menu, - Refresh..> +0.0560309887 client 0x310d0a #1.. +0.2476198673 server 0x310a0a0d2d2d2d2d2d2d2d20446576696365204d616e61676572202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d205068617365204d6f6e69746f720d0a2020202020322d204f75746c657420436f6e74726f6c0d0a2020202020332d20506f77657220537570706c79205374617475730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e20 #1...------- Device Manager --------------------------------------------------------.... 1- Phase Monitor.. 2- Outlet Control.. 3- Power Supply Status.... - Back, - Refresh..> +0.3028409481 client 0x320d0a #2.. +0.5794909000 server 0x320a0a0d2d2d2d2d2d2d2d204f75746c657420436f6e74726f6c202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202020322d20454d43202855505329202020202020202020202020202020204f4e0d0a2020202020332d20454d43202020202020202020202020202020202020202020204f4e0d0a2020202020342d20464320537769746368202020202020202020202020202020204f4e0d0a2020202020352d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020362d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020372d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020382d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020392d202d2020202020202020202020202020202020202020202020204f46460d0a2020202031302d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031312d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031322d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031332d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031342d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031352d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031362d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031372d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202031382d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031392d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032302d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032312d206261722d3032202020202020202020202020202020202020204f4e0d0a2020202032322d206261722d3032202020202020202020202020202020202020204f4e0d0a0d20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d2020202020202020202020202020202020202020202020202020202020202020202020200d2020202032332d206261722d303120202020202020 #2...------- Outlet Control --------------------------------------------------------.... 1- - ON.. 2- EMC (UPS) ON.. 3- EMC ON.. 4- FC Switch ON.. 5- EqualLogic ON.. 6- EqualLogic ON.. 7- [nothing] ON.. 8- [nothing] ON.. 9- - OFF.. 10- Saturnin ON.. 11- Saturnin ON.. 12- [nothing] OFF.. 13- [nothing] OFF.. 14- bar-05 ON.. 15- bar-05 ON.. 16- bar-04 ON.. 17- - ON.. 18- bar-04 ON.. 19- bar-03 ON.. 20- bar-03 ON.. 21- bar-02 ON.. 22- bar-02 ON... Press to continue.... . 23- bar-01 +0.6347999573 client 0x0d0a #.. +0.6963539124 server 0x2020202020202020202020204f4e0d0a2020202032342d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032352d20414c4c2041636365737369626c65204f75746c6574730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e20 # ON.. 24- bar-01 ON.. 25- ALL Accessible Outlets.... - Back, - Refresh..> +0.7486109734 client 0x0d0a #.. +0.7987270355 client 0x03 #. +0.9118950367 server 0x0a0a0d2d2d2d2d2d2d2d204f75746c657420436f6e74726f6c202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202020322d20454d43202855505329202020202020202020202020202020204f4e0d0a2020202020332d20454d43202020202020202020202020202020202020202020204f4e0d0a2020202020342d20464320537769746368202020202020202020202020202020204f4e0d0a2020202020352d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020362d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020372d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020382d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020392d202d2020202020202020202020202020202020202020202020204f46460d0a2020202031302d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031312d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031322d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031332d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031342d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031352d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031362d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031372d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202031382d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031392d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032302d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032312d206261722d3032202020202020202020202020202020202020204f4e0d0a2020202032322d206261722d3032202020202020202020202020202020202020204f4e0d0a0d20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d2020202020202020202020202020202020202020202020202020202020202020202020200d2020202032332d206261722d30312020202020202020 #...------- Outlet Control --------------------------------------------------------.... 1- - ON.. 2- EMC (UPS) ON.. 3- EMC ON.. 4- FC Switch ON.. 5- EqualLogic ON.. 6- EqualLogic ON.. 7- [nothing] ON.. 8- [nothing] ON.. 9- - OFF.. 10- Saturnin ON.. 11- Saturnin ON.. 12- [nothing] OFF.. 13- [nothing] OFF.. 14- bar-05 ON.. 15- bar-05 ON.. 16- bar-04 ON.. 17- - ON.. 18- bar-04 ON.. 19- bar-03 ON.. 20- bar-03 ON.. 21- bar-02 ON.. 22- bar-02 ON... Press to continue.... . 23- bar-01 +1.1821279526 server 0x20202020202020202020204f4e0d0a2020202032342d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032352d20414c4c2041636365737369626c65204f75746c6574730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e200a0a0d2d2d2d2d2d2d2d204f75746c657420436f6e74726f6c202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202020322d20454d43202855505329202020202020202020202020202020204f4e0d0a2020202020332d20454d43202020202020202020202020202020202020202020204f4e0d0a2020202020342d20464320537769746368202020202020202020202020202020204f4e0d0a2020202020352d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020362d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020372d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020382d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020392d202d2020202020202020202020202020202020202020202020204f46460d0a2020202031302d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031312d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031322d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031332d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031342d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031352d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031362d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031372d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202031382d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031392d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032302d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032312d206261722d3032202020202020202020202020202020202020204f4e0d0a2020202032322d206261 # ON.. 24- bar-01 ON.. 25- ALL Accessible Outlets.... - Back, - Refresh..> ...------- Outlet Control --------------------------------------------------------.... 1- - ON.. 2- EMC (UPS) ON.. 3- EMC ON.. 4- FC Switch ON.. 5- EqualLogic ON.. 6- EqualLogic ON.. 7- [nothing] ON.. 8- [nothing] ON.. 9- - OFF.. 10- Saturnin ON.. 11- Saturnin ON.. 12- [nothing] OFF.. 13- [nothing] OFF.. 14- bar-05 ON.. 15- bar-05 ON.. 16- bar-04 ON.. 17- - ON.. 18- bar-04 ON.. 19- bar-03 ON.. 20- bar-03 ON.. 21- bar-02 ON.. 22- ba +1.4058299065 server 0x722d3032202020202020202020202020202020202020204f4e0d0a0d20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d2020202020202020202020202020202020202020202020202020202020202020202020200d2020202032332d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032342d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032352d20414c4c2041636365737369626c65204f75746c6574730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e200a0a0a0d416d65726963616e20506f77657220436f6e76657273696f6e2020202020202020202020202020204e6574776f726b204d616e6167656d656e74204361726420414f5320202020202076322e372e300d0a28632920436f70797269676874203230303420416c6c2052696768747320526573657276656420205261636b205044552041505020202020202020202020202020202020202020202076322e372e330d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a4e616d652020202020203a205044552d424152202020202020202020202020202020202020202020202020202020202020202020202044617465203a2030382f31322f323031340d0a436f6e746163742020203a2020202020202020202020202020202020202020202020202020202020202020202020202020202020202054696d65203a2031313a35303a35380a0d4c6f636174696f6e20203a20425251204c61622c207261636b202339202d20726573657276656420666f7220636c757374657220202055736572203a204f75746c657420557365720a0d55702054696d652020203a2033352044617973203020486f757273203233204d696e757465732020202020202020202020202020202053746174203a20502b204e2b20412b0d0a0d0a5377697463686564205261636b205044553a20436f6d6d756e69636174696f6e2045737461626c69736865640a0a0d2d2d2d2d2d2d2d20436f6e74726f6c20436f6e736f6c65202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d20446576696365204d616e616765720d0a2020202020322d204e6574776f726b0d0a2020202020332d2053797374656d0d0a2020202020342d204c6f676f75740d0a0d0a20202020203c455343 #r-02 ON... Press to continue.... . 23- bar-01 ON.. 24- bar-01 ON.. 25- ALL Accessible Outlets.... - Back, - Refresh..> ....American Power Conversion Network Management Card AOS v2.7.0..(c) Copyright 2004 All Rights Reserved Rack PDU APP v2.7.3..-------------------------------------------------------------------------------..Name : PDU-BAR Date : 08/12/2014..Contact : Time : 11:50:58..Location : BRQ Lab, rack #9 - reserved for cluster User : Outlet User..Up Time : 35 Days 0 Hours 23 Minutes Stat : P+ N+ A+....Switched Rack PDU: Communication Established...------- Control Console -------------------------------------------------------.... 1- Device Manager.. 2- Network.. 3- System.. 4- Logout.... - Main Menu, - Refresh..> diff --git a/tests/data/mitm-logs/apc/ssh-user/list.log b/tests/data/mitm-logs/apc/ssh-user/list.log new file mode 100644 index 000000000..d88bcfa91 --- /dev/null +++ b/tests/data/mitm-logs/apc/ssh-user/list.log @@ -0,0 +1,12 @@ +0.0000009537 server 0x0a0a0a0d416d65726963616e20506f77657220436f6e76657273696f6e2020202020202020202020202020204e6574776f726b204d616e6167656d656e74204361726420414f5320202020202076322e372e300d0a28632920436f70797269676874203230303420416c6c2052696768747320526573657276656420205261636b205044552041505020202020202020202020202020202020202020202076322e372e330d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a4e616d652020202020203a205044552d424152202020202020202020202020202020202020202020202020202020202020202020202044617465203a2030382f31312f323031340d0a436f6e746163742020203a2020202020202020202020202020202020202020202020202020202020202020202020202020202020202054696d65203a2031363a33333a31340a0d4c6f636174696f6e20203a20425251204c61622c207261636b202339202d20726573657276656420666f7220636c757374657220202055736572203a204f75746c657420557365720a0d55702054696d652020203a2033342044617973203520486f7572732036204d696e75746573202020202020202020202020202020202053746174203a20502b204e2b20412b0d0a0d0a5377697463686564205261636b205044553a20436f6d6d756e69636174696f6e2045737461626c69736865640a0a0d2d2d2d2d2d2d2d20436f6e74726f6c20436f6e736f6c65202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d20446576696365204d616e616765720d0a2020202020322d204e6574776f726b0d0a2020202020332d2053797374656d0d0a2020202020342d204c6f676f75740d0a0d0a20202020203c4553433e2d204d61696e204d656e752c203c454e5445523e2d20526566726573680d0a3e20 #....American Power Conversion Network Management Card AOS v2.7.0..(c) Copyright 2004 All Rights Reserved Rack PDU APP v2.7.3..-------------------------------------------------------------------------------..Name : PDU-BAR Date : 08/11/2014..Contact : Time : 16:33:14..Location : BRQ Lab, rack #9 - reserved for cluster User : Outlet User..Up Time : 34 Days 5 Hours 6 Minutes Stat : P+ N+ A+....Switched Rack PDU: Communication Established...------- Control Console -------------------------------------------------------.... 1- Device Manager.. 2- Network.. 3- System.. 4- Logout.... - Main Menu, - Refresh..> +0.0544900894 client 0x310d0a #1.. +0.1561701298 server 0x310a0a0d2d2d2d2d2d2d2d20446576696365204d616e61676572202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d205068617365204d6f6e69746f720d0a2020202020322d204f75746c657420436f6e74726f6c0d0a2020202020332d20506f77657220537570706c79205374617475730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e20 #1...------- Device Manager --------------------------------------------------------.... 1- Phase Monitor.. 2- Outlet Control.. 3- Power Supply Status.... - Back, - Refresh..> +0.2095320225 client 0x320d0a #2.. +0.4070229530 server 0x320a0a0d2d2d2d2d2d2d2d204f75746c657420436f6e74726f6c202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202020322d20454d43202855505329202020202020202020202020202020204f4e0d0a2020202020332d20454d43202020202020202020202020202020202020202020204f4e0d0a2020202020342d20464320537769746368202020202020202020202020202020204f4e0d0a2020202020352d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020362d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020372d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020382d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020392d202d2020202020202020202020202020202020202020202020204f46460d0a2020202031302d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031312d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031322d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031332d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031342d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031352d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031362d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031372d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202031382d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031392d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032302d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032312d206261722d3032202020202020202020202020202020202020204f4e0d0a2020202032322d206261722d3032202020202020202020202020202020202020204f4e0d0a0d20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d2020202020202020202020202020202020202020202020202020202020202020202020200d2020202032332d206261722d303120202020202020 #2...------- Outlet Control --------------------------------------------------------.... 1- - ON.. 2- EMC (UPS) ON.. 3- EMC ON.. 4- FC Switch ON.. 5- EqualLogic ON.. 6- EqualLogic ON.. 7- [nothing] ON.. 8- [nothing] ON.. 9- - OFF.. 10- Saturnin ON.. 11- Saturnin ON.. 12- [nothing] OFF.. 13- [nothing] OFF.. 14- bar-05 ON.. 15- bar-05 ON.. 16- bar-04 ON.. 17- - ON.. 18- bar-04 ON.. 19- bar-03 ON.. 20- bar-03 ON.. 21- bar-02 ON.. 22- bar-02 ON... Press to continue.... . 23- bar-01 +0.4620509148 client 0x0d0a #.. +0.7898139954 server 0x2020202020202020202020200d4e0d0a2020202032342d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032352d20414c4c2041636365737369626c65204f75746c6574730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e200a0a0d2d2d2d2d2d2d2d204f75746c657420436f6e74726f6c202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202020322d20454d43202855505329202020202020202020202020202020204f4e0d0a2020202020332d20454d43202020202020202020202020202020202020202020204f4e0d0a2020202020342d20464320537769746368202020202020202020202020202020204f4e0d0a2020202020352d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020362d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020372d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020382d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020392d202d2020202020202020202020202020202020202020202020204f46460d0a2020202031302d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031312d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031322d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031332d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031342d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031352d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031362d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031372d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202031382d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031392d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032302d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032312d206261722d3032202020202020202020202020202020202020204f4e0d0a2020202032322d2062 # .N.. 24- bar-01 ON.. 25- ALL Accessible Outlets.... - Back, - Refresh..> ...------- Outlet Control --------------------------------------------------------.... 1- - ON.. 2- EMC (UPS) ON.. 3- EMC ON.. 4- FC Switch ON.. 5- EqualLogic ON.. 6- EqualLogic ON.. 7- [nothing] ON.. 8- [nothing] ON.. 9- - OFF.. 10- Saturnin ON.. 11- Saturnin ON.. 12- [nothing] OFF.. 13- [nothing] OFF.. 14- bar-05 ON.. 15- bar-05 ON.. 16- bar-04 ON.. 17- - ON.. 18- bar-04 ON.. 19- bar-03 ON.. 20- bar-03 ON.. 21- bar-02 ON.. 22- b +0.8314230442 server 0x61722d3032202020202020202020202020202020202020204f4e0d0a0d20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d2020202020202020202020202020202020202020202020202020202020202020202020200d2020202032332d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032342d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032352d20414c4c2041636365737369626c65204f75746c6574730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e20 #ar-02 ON... Press to continue.... . 23- bar-01 ON.. 24- bar-01 ON.. 25- ALL Accessible Outlets.... - Back, - Refresh..> +0.8428540230 client 0x0d0a #.. +0.8931241035 client 0x03 #. +1.0387880802 server 0x0a0a0d2d2d2d2d2d2d2d204f75746c657420436f6e74726f6c202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202020322d20454d43202855505329202020202020202020202020202020204f4e0d0a2020202020332d20454d43202020202020202020202020202020202020202020204f4e0d0a2020202020342d20464320537769746368202020202020202020202020202020204f4e0d0a2020202020352d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020362d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020372d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020382d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020392d202d2020202020202020202020202020202020202020202020204f46460d0a2020202031302d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031312d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031322d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031332d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031342d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031352d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031362d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031372d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202031382d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031392d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032302d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032312d206261722d3032202020202020202020202020202020202020204f4e0d0a2020202032322d206261722d3032202020202020202020202020202020202020204f4e0d0a0d20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d2020202020202020202020202020202020202020202020202020202020202020202020200d2020202032332d206261722d30312020202020202020 #...------- Outlet Control --------------------------------------------------------.... 1- - ON.. 2- EMC (UPS) ON.. 3- EMC ON.. 4- FC Switch ON.. 5- EqualLogic ON.. 6- EqualLogic ON.. 7- [nothing] ON.. 8- [nothing] ON.. 9- - OFF.. 10- Saturnin ON.. 11- Saturnin ON.. 12- [nothing] OFF.. 13- [nothing] OFF.. 14- bar-05 ON.. 15- bar-05 ON.. 16- bar-04 ON.. 17- - ON.. 18- bar-04 ON.. 19- bar-03 ON.. 20- bar-03 ON.. 21- bar-02 ON.. 22- bar-02 ON... Press to continue.... . 23- bar-01 +1.6368620396 server 0x20202020202020202020204f4e0d0a2020202032342d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032352d20414c4c2041636365737369626c65204f75746c6574730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e200a0a0a0d416d65726963616e20506f77657220436f6e76657273696f6e2020202020202020202020202020204e6574776f726b204d616e6167656d656e74204361726420414f5320202020202076322e372e300d0a28632920436f70797269676874203230303420416c6c2052696768747320526573657276656420205261636b205044552041505020202020202020202020202020202020202020202076322e372e330d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a4e616d652020202020203a205044552d424152202020202020202020202020202020202020202020202020202020202020202020202044617465203a2030382f31312f323031340d0a436f6e746163742020203a2020202020202020202020202020202020202020202020202020202020202020202020202020202020202054696d65203a2031363a33333a31360a0d4c6f636174696f6e20203a20425251204c61622c207261636b202339202d20726573657276656420666f7220636c757374657220202055736572203a204f75746c657420557365720a0d55702054696d652020203a2033342044617973203520486f7572732036204d696e75746573202020202020202020202020202020202053746174203a20502b204e2b20412b0d0a0d0a5377697463686564205261636b205044553a20436f6d6d756e69636174696f6e2045737461626c69736865640a0a0d2d2d2d2d2d2d2d20436f6e74726f6c20436f6e736f6c65202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d20446576696365204d616e616765720d0a2020202020322d204e6574776f726b0d0a2020202020332d2053797374656d0d0a2020202020342d204c6f676f75740d0a0d0a20202020203c4553433e2d204d61696e204d656e752c203c454e5445523e2d20526566726573680d0a3e20 # ON.. 24- bar-01 ON.. 25- ALL Accessible Outlets.... - Back, - Refresh..> ....American Power Conversion Network Management Card AOS v2.7.0..(c) Copyright 2004 All Rights Reserved Rack PDU APP v2.7.3..-------------------------------------------------------------------------------..Name : PDU-BAR Date : 08/11/2014..Contact : Time : 16:33:16..Location : BRQ Lab, rack #9 - reserved for cluster User : Outlet User..Up Time : 34 Days 5 Hours 6 Minutes Stat : P+ N+ A+....Switched Rack PDU: Communication Established...------- Control Console -------------------------------------------------------.... 1- Device Manager.. 2- Network.. 3- System.. 4- Logout.... - Main Menu, - Refresh..> diff --git a/tests/data/mitm-logs/apc/ssh-user/off.log b/tests/data/mitm-logs/apc/ssh-user/off.log new file mode 100644 index 000000000..028cb0102 --- /dev/null +++ b/tests/data/mitm-logs/apc/ssh-user/off.log @@ -0,0 +1,39 @@ +0.0000019073 server 0x0a0a0a0d416d65726963616e20506f77657220436f6e76657273696f6e2020202020202020202020202020204e6574776f726b204d616e6167656d656e74204361726420414f5320202020202076322e372e300d0a28632920436f70797269676874203230303420416c6c2052696768747320526573657276656420205261636b205044552041505020202020202020202020202020202020202020202076322e372e330d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a4e616d652020202020203a205044552d424152202020202020202020202020202020202020202020202020202020202020202020202044617465203a2030382f31312f323031340d0a436f6e746163742020203a2020202020202020202020202020202020202020202020202020202020202020202020202020202020202054696d65203a2031363a32363a33380a0d4c6f636174696f6e20203a20425251204c61622c207261636b202339202d20726573657276656420666f7220636c757374657220202055736572203a204f75746c657420557365720a0d55702054696d652020203a2033342044617973203420486f757273203539204d696e757465732020202020202020202020202020202053746174203a20502b204e2b20412b0d0a0d0a5377697463686564205261636b205044553a20436f6d6d756e69636174696f6e2045737461626c69736865640a0a0d2d2d2d2d2d2d2d20436f6e74726f6c20436f6e736f6c65202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d20446576696365204d616e616765720d0a2020202020322d204e6574776f726b0d0a2020202020332d2053797374656d0d0a2020202020342d204c6f676f75740d0a0d0a20202020203c4553433e2d204d61696e204d656e752c203c454e5445523e2d20526566726573680d0a3e20 #....American Power Conversion Network Management Card AOS v2.7.0..(c) Copyright 2004 All Rights Reserved Rack PDU APP v2.7.3..-------------------------------------------------------------------------------..Name : PDU-BAR Date : 08/11/2014..Contact : Time : 16:26:38..Location : BRQ Lab, rack #9 - reserved for cluster User : Outlet User..Up Time : 34 Days 4 Hours 59 Minutes Stat : P+ N+ A+....Switched Rack PDU: Communication Established...------- Control Console -------------------------------------------------------.... 1- Device Manager.. 2- Network.. 3- System.. 4- Logout.... - Main Menu, - Refresh..> +0.0558919907 client 0x310d0a #1.. +0.1556630135 server 0x310a0a0d2d2d2d2d2d2d2d20446576696365204d616e61676572202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d205068617365204d6f6e69746f720d0a2020202020322d204f75746c657420436f6e74726f6c0d0a2020202020332d20506f77657220537570706c79205374617475730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e20 #1...------- Device Manager --------------------------------------------------------.... 1- Phase Monitor.. 2- Outlet Control.. 3- Power Supply Status.... - Back, - Refresh..> +0.2101099491 client 0x320d0a #2.. +0.7173500061 server 0x320a0a0d2d2d2d2d2d2d2d204f75746c657420436f6e74726f6c202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202020322d20454d43202855505329202020202020202020202020202020204f4e0d0a2020202020332d20454d43202020202020202020202020202020202020202020204f4e0d0a2020202020342d20464320537769746368202020202020202020202020202020204f4e0d0a2020202020352d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020362d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020372d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020382d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020392d202d2020202020202020202020202020202020202020202020204f46460d0a2020202031302d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031312d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031322d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031332d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031342d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031352d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031362d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031372d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202031382d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031392d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032302d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032312d206261722d3032202020202020202020202020202020202020204f4e0d0a2020202032322d206261722d3032202020202020202020202020202020202020204f4e0d0a0d20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d2020202020202020202020202020202020202020202020202020202020202020202020200d2020202032332d206261722d303120202020202020 #2...------- Outlet Control --------------------------------------------------------.... 1- - ON.. 2- EMC (UPS) ON.. 3- EMC ON.. 4- FC Switch ON.. 5- EqualLogic ON.. 6- EqualLogic ON.. 7- [nothing] ON.. 8- [nothing] ON.. 9- - OFF.. 10- Saturnin ON.. 11- Saturnin ON.. 12- [nothing] OFF.. 13- [nothing] OFF.. 14- bar-05 ON.. 15- bar-05 ON.. 16- bar-04 ON.. 17- - ON.. 18- bar-04 ON.. 19- bar-03 ON.. 20- bar-03 ON.. 21- bar-02 ON.. 22- bar-02 ON... Press to continue.... . 23- bar-01 +0.7728559971 client 0x0d0a #.. +0.9672200680 server 0x2020202020202020202020204f4e0d0a2020202032342d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032352d20414c4c2041636365737369626c65204f75746c6574730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e200a0a0d2d2d2d2d2d2d2d204f75746c657420436f6e74726f6c202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202020322d20454d43202855505329202020202020202020202020202020204f4e0d0a2020202020332d20454d43202020202020202020202020202020202020202020204f4e0d0a2020202020342d20464320537769746368202020202020202020202020202020204f4e0d0a2020202020352d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020362d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020372d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020382d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020392d202d2020202020202020202020202020202020202020202020204f46460d0a2020202031302d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031312d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031322d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031332d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031342d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031352d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031362d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031372d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202031382d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031392d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032302d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032312d206261722d3032202020202020202020202020202020202020204f4e0d0a2020202032322d2062 # ON.. 24- bar-01 ON.. 25- ALL Accessible Outlets.... - Back, - Refresh..> ...------- Outlet Control --------------------------------------------------------.... 1- - ON.. 2- EMC (UPS) ON.. 3- EMC ON.. 4- FC Switch ON.. 5- EqualLogic ON.. 6- EqualLogic ON.. 7- [nothing] ON.. 8- [nothing] ON.. 9- - OFF.. 10- Saturnin ON.. 11- Saturnin ON.. 12- [nothing] OFF.. 13- [nothing] OFF.. 14- bar-05 ON.. 15- bar-05 ON.. 16- bar-04 ON.. 17- - ON.. 18- bar-04 ON.. 19- bar-03 ON.. 20- bar-03 ON.. 21- bar-02 ON.. 22- b +1.0213611126 client 0x0d0a #.. +1.0719149113 client 0x03 #. +2.0663061142 server 0x61722d3032202020202020202003202020202020202020204f4e0d0a0d20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d2020202020202020202020202020202020202020202020202020202020202020202020200d2020202032332d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032342d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032352d20414c4c2041636365737369626c65204f75746c6574730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e200a0a0d2d2d2d2d2d2d2d204f75746c657420436f6e74726f6c202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202020322d20454d43202855505329202020202020202020202020202020204f4e0d0a2020202020332d20454d43202020202020202020202020202020202020202020204f4e0d0a2020202020342d20464320537769746368202020202020202020202020202020204f4e0d0a2020202020352d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020362d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020372d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020382d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020392d202d2020202020202020202020202020202020202020202020204f46460d0a2020202031302d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031312d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031322d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031332d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031342d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031352d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031362d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031372d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202031382d206261722d303420202020202020202020202020202020202020 #ar-02 . ON... Press to continue.... . 23- bar-01 ON.. 24- bar-01 ON.. 25- ALL Accessible Outlets.... - Back, - Refresh..> ...------- Outlet Control --------------------------------------------------------.... 1- - ON.. 2- EMC (UPS) ON.. 3- EMC ON.. 4- FC Switch ON.. 5- EqualLogic ON.. 6- EqualLogic ON.. 7- [nothing] ON.. 8- [nothing] ON.. 9- - OFF.. 10- Saturnin ON.. 11- Saturnin ON.. 12- [nothing] OFF.. 13- [nothing] OFF.. 14- bar-05 ON.. 15- bar-05 ON.. 16- bar-04 ON.. 17- - ON.. 18- bar-04 +2.2501029968 server 0x4f4e0d0a2020202031392d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032302d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032312d206261722d3032202020202020202020202020202020202020204f4e0d0a2020202032322d206261722d3032202020202020202020202020202020202020204f4e0d0a0d20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d2020202020202020202020202020202020202020202020202020202020202020202020200d2020202032332d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032342d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032352d20414c4c2041636365737369626c65204f75746c6574730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e200a0a0a0d416d65726963616e20506f77657220436f6e76657273696f6e2020202020202020202020202020204e6574776f726b204d616e6167656d656e74204361726420414f5320202020202076322e372e300d0a28632920436f70797269676874203230303420416c6c2052696768747320526573657276656420205261636b205044552041505020202020202020202020202020202020202020202076322e372e330d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a4e616d652020202020203a205044552d424152202020202020202020202020202020202020202020202020202020202020202020202044617465203a2030382f31312f323031340d0a436f6e746163742020203a2020202020202020202020202020202020202020202020202020202020202020202020202020202020202054696d65203a2031363a32363a34300a0d4c6f636174696f6e20203a20425251204c61622c207261636b202339202d20726573657276656420666f7220636c757374657220202055736572203a204f75746c657420557365720a0d55702054696d652020203a2033342044617973203420486f757273203539204d696e757465732020202020202020202020202020202053746174203a20502b204e2b20412b0d0a0d0a5377697463686564205261636b205044553a20436f6d6d756e69636174696f6e2045737461626c69736865640a0a0d2d2d2d2d2d2d2d20436f6e74726f6c20436f6e736f6c65202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d #ON.. 19- bar-03 ON.. 20- bar-03 ON.. 21- bar-02 ON.. 22- bar-02 ON... Press to continue.... . 23- bar-01 ON.. 24- bar-01 ON.. 25- ALL Accessible Outlets.... - Back, - Refresh..> ....American Power Conversion Network Management Card AOS v2.7.0..(c) Copyright 2004 All Rights Reserved Rack PDU APP v2.7.3..-------------------------------------------------------------------------------..Name : PDU-BAR Date : 08/11/2014..Contact : Time : 16:26:40..Location : BRQ Lab, rack #9 - reserved for cluster User : Outlet User..Up Time : 34 Days 4 Hours 59 Minutes Stat : P+ N+ A+....Switched Rack PDU: Communication Established...------- Control Console ------------------ +2.3728139400 server 0x2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d20446576696365204d616e616765720d0a2020202020322d204e6574776f726b0d0a2020202020332d2053797374656d0d0a2020202020342d204c6f676f75740d0a0d0a20202020203c4553433e2d204d61696e204d656e752c203c454e5445523e2d20526566726573680d0a3e20 #-------------------------------------.... 1- Device Manager.. 2- Network.. 3- System.. 4- Logout.... - Main Menu, - Refresh..> +2.4260799885 client 0x310d0a #1.. +2.5300741196 server 0x310a0a0d2d2d2d2d2d2d2d20446576696365204d616e61676572202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d205068617365204d6f6e69746f720d0a2020202020322d204f75746c657420436f6e74726f6c0d0a2020202020332d20506f77657220537570706c79205374617475730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e20 #1...------- Device Manager --------------------------------------------------------.... 1- Phase Monitor.. 2- Outlet Control.. 3- Power Supply Status.... - Back, - Refresh..> +2.5834779739 client 0x320d0a #2.. +2.7810430527 server 0x320a0a0d2d2d2d2d2d2d2d204f75746c657420436f6e74726f6c202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202020322d20454d43202855505329202020202020202020202020202020204f4e0d0a2020202020332d20454d43202020202020202020202020202020202020202020204f4e0d0a2020202020342d20464320537769746368202020202020202020202020202020204f4e0d0a2020202020352d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020362d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020372d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020382d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020392d202d2020202020202020202020202020202020202020202020204f46460d0a2020202031302d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031312d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031322d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031332d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031342d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031352d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031362d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031372d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202031382d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031392d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032302d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032312d206261722d3032202020202020202020202020202020202020204f4e0d0a2020202032322d206261722d3032202020202020202020202020202020202020204f4e0d0a0d20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d2020202020202020202020202020202020202020202020202020202020202020202020200d2020202032332d206261722d303120202020202020 #2...------- Outlet Control --------------------------------------------------------.... 1- - ON.. 2- EMC (UPS) ON.. 3- EMC ON.. 4- FC Switch ON.. 5- EqualLogic ON.. 6- EqualLogic ON.. 7- [nothing] ON.. 8- [nothing] ON.. 9- - OFF.. 10- Saturnin ON.. 11- Saturnin ON.. 12- [nothing] OFF.. 13- [nothing] OFF.. 14- bar-05 ON.. 15- bar-05 ON.. 16- bar-04 ON.. 17- - ON.. 18- bar-04 ON.. 19- bar-03 ON.. 20- bar-03 ON.. 21- bar-02 ON.. 22- bar-02 ON... Press to continue.... . 23- bar-01 +2.8345079422 client 0x0d0a #.. +3.0447781086 server 0x2020202020202020202020204f4e0d0a2020202032342d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032352d20414c4c2041636365737369626c65204f75746c6574730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e200a0a0d2d2d2d2d2d2d2d204f75746c657420436f6e74726f6c202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202020322d20454d43202855505329202020202020202020202020202020204f4e0d0a2020202020332d20454d43202020202020202020202020202020202020202020204f4e0d0a2020202020342d20464320537769746368202020202020202020202020202020204f4e0d0a2020202020352d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020362d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020372d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020382d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020392d202d2020202020202020202020202020202020202020202020204f46460d0a2020202031302d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031312d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031322d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031332d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031342d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031352d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031362d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031372d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202031382d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031392d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032302d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032312d206261722d3032202020202020202020202020202020202020204f4e0d0a2020202032322d2062 # ON.. 24- bar-01 ON.. 25- ALL Accessible Outlets.... - Back, - Refresh..> ...------- Outlet Control --------------------------------------------------------.... 1- - ON.. 2- EMC (UPS) ON.. 3- EMC ON.. 4- FC Switch ON.. 5- EqualLogic ON.. 6- EqualLogic ON.. 7- [nothing] ON.. 8- [nothing] ON.. 9- - OFF.. 10- Saturnin ON.. 11- Saturnin ON.. 12- [nothing] OFF.. 13- [nothing] OFF.. 14- bar-05 ON.. 15- bar-05 ON.. 16- bar-04 ON.. 17- - ON.. 18- bar-04 ON.. 19- bar-03 ON.. 20- bar-03 ON.. 21- bar-02 ON.. 22- b +3.0986220837 client 0x310d0a #1.. +3.2340810299 server 0x61722d3032202020202020202020202020202020202020204f4e0d0a0d20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d2020202020202020202020202020202020202020202020202020202020202020202020200d2020202032332d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032342d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032352d20414c4c2041636365737369626c65204f75746c6574730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e20310a0a0d2d2d2d2d2d2d2d202d202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a20202020202020204e616d652020202020202020203a202d0d0a20202020202020204f75746c6574202020202020203a20310d0a2020202020202020537461746520202020202020203a204f4e0d0a0d0a2020202020312d20496d6d656469617465204f6e20202020202020202020202020200d0a2020202020322d20496d6d656469617465204f6666202020202020202020202020200d0a2020202020332d20496d6d656469617465205265626f6f74202020202020202020200d0a2020202020342d2044656c61796564204f6e202020202020202020202020202020200d0a2020202020352d2044656c61796564204f66662020202020202020202020202020200d0a2020202020362d2044656c61796564205265626f6f742020202020202020202020200d0a2020202020372d2043616e63656c20202020202020202020202020202020202020200d0a0d0a20202020203f2d2048656c702c203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e20 #ar-02 ON... Press to continue.... . 23- bar-01 ON.. 24- bar-01 ON.. 25- ALL Accessible Outlets.... - Back, - Refresh..> 1...------- - ---------------------------------------------------------------------.... Name : -.. Outlet : 1.. State : ON.... 1- Immediate On .. 2- Immediate Off .. 3- Immediate Reboot .. 4- Delayed On .. 5- Delayed Off .. 6- Delayed Reboot .. 7- Cancel .... ?- Help, - Back, - Refresh..> +3.2877900600 client 0x320d0a #2.. +3.3528931141 server 0x320d0a20202020202020202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a2020202020202020496d6d656469617465204f6666202020202020202020202020200d0a0d0a20202020202020205468697320636f6d6d616e642077696c6c20696d6d6564696174656c79207475726e0d0a20202020202020206f75746c65742031206e616d656420272d27204f46462e0d0a0d0a2020202020202020456e74657220275945532720746f20636f6e74696e7565206f72203c454e5445523e20746f2063616e63656c203a20 #2.. -----------------------------------------------------------------------.. Immediate Off .... This command will immediately turn.. outlet 1 named '-' OFF..... Enter 'YES' to continue or to cancel : +3.4056971073 client 0x5945530d0a #YES.. +3.5787301064 server 0x5945530d0a2020202020202020436f6d6d616e64207375636365737366756c6c79206973737565642e0d0a0d0a20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d0a0a0a0d2d2d2d2d2d2d2d202d202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a20202020202020204e616d652020202020202020203a202d0d0a20202020202020204f75746c6574202020202020203a20310d0a2020202020202020537461746520202020202020203a204f46460d0a0d0a2020202020312d20496d6d656469617465204f6e20202020202020202020202020200d0a2020202020322d20496d6d656469617465204f6666202020202020202020202020200d0a2020202020332d20496d6d656469617465205265626f6f74202020202020202020200d0a2020202020342d2044656c61796564204f6e202020202020202020202020202020200d0a2020202020352d2044656c61796564204f66662020202020202020202020202020200d0a2020202020362d2044656c61796564205265626f6f742020202020202020202020200d0a2020202020372d2043616e63656c20202020202020202020202020202020202020200d0a0d0a20202020203f2d2048656c702c203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e20 #YES.. Command successfully issued..... Press to continue........------- - ---------------------------------------------------------------------.... Name : -.. Outlet : 1.. State : OFF.... 1- Immediate On .. 2- Immediate Off .. 3- Immediate Reboot .. 4- Delayed On .. 5- Delayed Off .. 6- Delayed Reboot .. 7- Cancel .... ?- Help, - Back, - Refresh..> +3.6329920292 client 0x0d0a #.. +3.6832959652 client 0x03 #. +3.7309191227 server 0x0a0a0d2d2d2d2d2d2d2d202d202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a20202020202020204e616d652020202020202020203a202d0d0a20202020202020204f75746c6574202020202020203a20310d0a2020202020202020537461746520202020202020203a204f46460d0a0d0a2020202020312d20496d6d656469617465204f6e20202020202020202020202020200d0a2020202020322d20496d6d656469617465204f6666202020202020202020202020200d0a2020202020332d20496d6d656469617465205265626f6f74202020202020202020200d0a2020202020342d2044656c61796564204f6e202020202020202020202020202020200d0a2020202020352d2044656c61796564204f66662020202020202020202020202020200d0a2020202020362d2044656c61796564205265626f6f742020202020202020202020200d0a2020202020372d2043616e63656c20202020202020202020202020202020202020200d0a0d0a20202020203f2d2048656c702c203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e20 #...------- - ---------------------------------------------------------------------.... Name : -.. Outlet : 1.. State : OFF.... 1- Immediate On .. 2- Immediate Off .. 3- Immediate Reboot .. 4- Delayed On .. 5- Delayed Off .. 6- Delayed Reboot .. 7- Cancel .... ?- Help, - Back, - Refresh..> +3.8638169765 server 0x0a0a0a0d416d65726963616e20506f77657220436f6e76657273696f6e2020202020202020202020202020204e6574776f726b204d616e6167656d656e74204361726420414f5320202020202076322e372e300d0a28632920436f70797269676874203230303420416c6c2052696768747320526573657276656420205261636b205044552041505020202020202020202020202020202020202020202076322e372e330d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a4e616d652020202020203a205044552d424152202020202020202020202020202020202020202020202020202020202020202020202044617465203a2030382f31312f323031340d0a436f6e746163742020203a2020202020202020202020202020202020202020202020202020202020202020202020202020202020202054696d65203a2031363a32363a34320a0d4c6f636174696f6e20203a20425251204c61622c207261636b202339202d20726573657276656420666f7220636c757374657220202055736572203a204f75746c657420557365720a0d55702054696d652020203a2033342044617973203420486f757273203539204d696e757465732020202020202020202020202020202053746174203a20502b204e2b20412b0d0a0d0a5377697463686564205261636b205044553a20436f6d6d756e69636174696f6e2045737461626c69736865640a0a0d2d2d2d2d2d2d2d20436f6e74726f6c20436f6e736f6c65202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d20446576696365204d616e616765720d0a2020202020322d204e6574776f726b0d0a2020202020332d2053797374656d0d0a2020202020342d204c6f676f75740d0a0d0a20202020203c4553433e2d204d61696e204d656e752c203c454e5445523e2d20526566726573680d0a3e20 #....American Power Conversion Network Management Card AOS v2.7.0..(c) Copyright 2004 All Rights Reserved Rack PDU APP v2.7.3..-------------------------------------------------------------------------------..Name : PDU-BAR Date : 08/11/2014..Contact : Time : 16:26:42..Location : BRQ Lab, rack #9 - reserved for cluster User : Outlet User..Up Time : 34 Days 4 Hours 59 Minutes Stat : P+ N+ A+....Switched Rack PDU: Communication Established...------- Control Console -------------------------------------------------------.... 1- Device Manager.. 2- Network.. 3- System.. 4- Logout.... - Main Menu, - Refresh..> +3.9195821285 client 0x310d0a #1.. +4.0205070972 server 0x310a0a0d2d2d2d2d2d2d2d20446576696365204d616e61676572202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d205068617365204d6f6e69746f720d0a2020202020322d204f75746c657420436f6e74726f6c0d0a2020202020332d20506f77657220537570706c79205374617475730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e20 #1...------- Device Manager --------------------------------------------------------.... 1- Phase Monitor.. 2- Outlet Control.. 3- Power Supply Status.... - Back, - Refresh..> +4.0736050606 client 0x320d0a #2.. +4.2776079178 server 0x320a0a0d2d2d2d2d2d2d2d204f75746c657420436f6e74726f6c202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d202d2020202020202020202020202020202020202020202020204f46460d0a2020202020322d20454d43202855505329202020202020202020202020202020204f4e0d0a2020202020332d20454d43202020202020202020202020202020202020202020204f4e0d0a2020202020342d20464320537769746368202020202020202020202020202020204f4e0d0a2020202020352d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020362d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020372d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020382d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020392d202d2020202020202020202020202020202020202020202020204f46460d0a2020202031302d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031312d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031322d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031332d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031342d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031352d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031362d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031372d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202031382d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031392d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032302d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032312d206261722d3032202020202020202020202020202020202020204f4e0d0a2020202032322d206261722d3032202020202020202020202020202020202020204f4e0d0a0d20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d2020202020202020202020202020202020202020202020202020202020202020202020200d2020202032332d206261722d3031202020202020 #2...------- Outlet Control --------------------------------------------------------.... 1- - OFF.. 2- EMC (UPS) ON.. 3- EMC ON.. 4- FC Switch ON.. 5- EqualLogic ON.. 6- EqualLogic ON.. 7- [nothing] ON.. 8- [nothing] ON.. 9- - OFF.. 10- Saturnin ON.. 11- Saturnin ON.. 12- [nothing] OFF.. 13- [nothing] OFF.. 14- bar-05 ON.. 15- bar-05 ON.. 16- bar-04 ON.. 17- - ON.. 18- bar-04 ON.. 19- bar-03 ON.. 20- bar-03 ON.. 21- bar-02 ON.. 22- bar-02 ON... Press to continue.... . 23- bar-01 +4.3305690289 client 0x0d0a #.. +5.2724790573 server 0x202020202020202020202020204f4e0d0a2020202032342d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032352d20414c4c2041636365737369626c65204f75746c6574730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e200a0a0d2d2d2d2d2d2d2d204f75746c657420436f6e74726f6c202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d202d2020202020202020202020202020202020202020202020204f46460d0a2020202020322d20454d43202855505329202020202020202020202020202020204f4e0d0a2020202020332d20454d43202020202020202020202020202020202020202020204f4e0d0a2020202020342d20464320537769746368202020202020202020202020202020204f4e0d0a2020202020352d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020362d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020372d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020382d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020392d202d2020202020202020202020202020202020202020202020204f46460d0a2020202031302d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031312d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031322d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031332d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031342d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031352d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031362d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031372d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202031382d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031392d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032302d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032312d206261722d3032202020202020202020202020202020202020204f4e0d0a2020202032322d # ON.. 24- bar-01 ON.. 25- ALL Accessible Outlets.... - Back, - Refresh..> ...------- Outlet Control --------------------------------------------------------.... 1- - OFF.. 2- EMC (UPS) ON.. 3- EMC ON.. 4- FC Switch ON.. 5- EqualLogic ON.. 6- EqualLogic ON.. 7- [nothing] ON.. 8- [nothing] ON.. 9- - OFF.. 10- Saturnin ON.. 11- Saturnin ON.. 12- [nothing] OFF.. 13- [nothing] OFF.. 14- bar-05 ON.. 15- bar-05 ON.. 16- bar-04 ON.. 17- - ON.. 18- bar-04 ON.. 19- bar-03 ON.. 20- bar-03 ON.. 21- bar-02 ON.. 22- +5.3163449764 server 0x206261722d3032202020202020202020202020202020202020204f4e0d0a0d20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d2020202020202020202020202020202020202020202020202020202020202020202020200d2020202032332d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032342d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032352d20414c4c2041636365737369626c65204f75746c6574730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e20 # bar-02 ON... Press to continue.... . 23- bar-01 ON.. 24- bar-01 ON.. 25- ALL Accessible Outlets.... - Back, - Refresh..> +5.3254759312 client 0x0d0a #.. +5.3757460117 client 0x03 #. +6.2303800583 server 0x0a0a0d2d2d2d2d2d2d2d204f75746c657420436f6e74726f6c202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d202d2020202020202020202020202020202020202020202020204f46460d0a2020202020322d20454d43202855505329202020202020202020202020202020204f4e0d0a2020202020332d20454d43202020202020202020202020202020202020202020204f4e0d0a2020202020342d20464320537769746368202020202020202020202020202020204f4e0d0a2020202020352d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020362d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020372d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020382d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020392d202d2020202020202020202020202020202020202020202020204f46460d0a2020202031302d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031312d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031322d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031332d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031342d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031352d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031362d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031372d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202031382d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031392d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032302d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032312d206261722d3032202020202020202020202020202020202020204f4e0d0a2020202032322d206261722d3032202020202020202020202020202020202020204f4e0d0a0d20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d2020202020202020202020202020202020202020202020202020202020202020202020200d2020202032332d206261722d303120202020202020 #...------- Outlet Control --------------------------------------------------------.... 1- - OFF.. 2- EMC (UPS) ON.. 3- EMC ON.. 4- FC Switch ON.. 5- EqualLogic ON.. 6- EqualLogic ON.. 7- [nothing] ON.. 8- [nothing] ON.. 9- - OFF.. 10- Saturnin ON.. 11- Saturnin ON.. 12- [nothing] OFF.. 13- [nothing] OFF.. 14- bar-05 ON.. 15- bar-05 ON.. 16- bar-04 ON.. 17- - ON.. 18- bar-04 ON.. 19- bar-03 ON.. 20- bar-03 ON.. 21- bar-02 ON.. 22- bar-02 ON... Press to continue.... . 23- bar-01 +6.4452850819 server 0x2020202020202020202020204f4e0d0a2020202032342d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032352d20414c4c2041636365737369626c65204f75746c6574730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e200a0a0a0d416d65726963616e20506f77657220436f6e76657273696f6e2020202020202020202020202020204e6574776f726b204d616e6167656d656e74204361726420414f5320202020202076322e372e300d0a28632920436f70797269676874203230303420416c6c2052696768747320526573657276656420205261636b205044552041505020202020202020202020202020202020202020202076322e372e330d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a4e616d652020202020203a205044552d424152202020202020202020202020202020202020202020202020202020202020202020202044617465203a2030382f31312f323031340d0a436f6e746163742020203a2020202020202020202020202020202020202020202020202020202020202020202020202020202020202054696d65203a2031363a32363a34350a0d4c6f636174696f6e20203a20425251204c61622c207261636b202339202d20726573657276656420666f7220636c757374657220202055736572203a204f75746c657420557365720a0d55702054696d652020203a2033342044617973203420486f757273203539204d696e757465732020202020202020202020202020202053746174203a20502b204e2b20412b0d0a0d0a5377697463686564205261636b205044553a20436f6d6d756e69636174696f6e2045737461626c69736865640a0a0d2d2d2d2d2d2d2d20436f6e74726f6c20436f6e736f6c65202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d20446576696365204d616e616765720d0a2020202020322d204e6574776f726b0d0a2020202020332d2053797374656d0d0a2020202020342d204c6f676f75740d0a0d0a20202020203c4553433e2d204d61696e204d656e752c203c454e5445523e2d20526566726573680d0a3e20 # ON.. 24- bar-01 ON.. 25- ALL Accessible Outlets.... - Back, - Refresh..> ....American Power Conversion Network Management Card AOS v2.7.0..(c) Copyright 2004 All Rights Reserved Rack PDU APP v2.7.3..-------------------------------------------------------------------------------..Name : PDU-BAR Date : 08/11/2014..Contact : Time : 16:26:45..Location : BRQ Lab, rack #9 - reserved for cluster User : Outlet User..Up Time : 34 Days 4 Hours 59 Minutes Stat : P+ N+ A+....Switched Rack PDU: Communication Established...------- Control Console -------------------------------------------------------.... 1- Device Manager.. 2- Network.. 3- System.. 4- Logout.... - Main Menu, - Refresh..> diff --git a/tests/data/mitm-logs/apc/ssh-user/on.log b/tests/data/mitm-logs/apc/ssh-user/on.log new file mode 100644 index 000000000..95b99f383 --- /dev/null +++ b/tests/data/mitm-logs/apc/ssh-user/on.log @@ -0,0 +1,42 @@ +0.0000009537 server 0x0a0a0a0d416d65726963616e20506f77657220436f6e76657273696f6e2020202020202020202020202020204e6574776f726b204d616e6167656d656e74204361726420414f5320202020202076322e372e300d0a28632920436f70797269676874203230303420416c6c2052696768747320526573657276656420205261636b205044552041505020202020202020202020202020202020202020202076322e372e330d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a4e616d652020202020203a205044552d424152202020202020202020202020202020202020202020202020202020202020202020202044617465203a2030382f31312f323031340d0a436f6e746163742020203a2020202020202020202020202020202020202020202020202020202020202020202020202020202020202054696d65203a2031363a33303a33340a0d4c6f636174696f6e20203a20425251204c61622c207261636b202339202d20726573657276656420666f7220636c757374657220202055736572203a204f75746c657420557365720a0d55702054696d652020203a2033342044617973203520486f7572732033204d696e75746573202020202020202020202020202020202053746174203a20502b204e2b20412b0d0a0d0a5377697463686564205261636b205044553a20436f6d6d756e69636174696f6e2045737461626c69736865640a0a0d2d2d2d2d2d2d2d20436f6e74726f6c20436f6e736f6c65202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d20446576696365204d616e616765720d0a2020202020322d204e6574776f726b0d0a2020202020332d2053797374656d0d0a2020202020342d204c6f676f75740d0a0d0a20202020203c4553433e2d204d61696e204d656e752c203c454e5445523e2d20526566726573680d0a3e20 #....American Power Conversion Network Management Card AOS v2.7.0..(c) Copyright 2004 All Rights Reserved Rack PDU APP v2.7.3..-------------------------------------------------------------------------------..Name : PDU-BAR Date : 08/11/2014..Contact : Time : 16:30:34..Location : BRQ Lab, rack #9 - reserved for cluster User : Outlet User..Up Time : 34 Days 5 Hours 3 Minutes Stat : P+ N+ A+....Switched Rack PDU: Communication Established...------- Control Console -------------------------------------------------------.... 1- Device Manager.. 2- Network.. 3- System.. 4- Logout.... - Main Menu, - Refresh..> +0.0547740459 client 0x310d0a #1.. +0.4945909977 server 0x310a0a0d2d2d2d2d2d2d2d20446576696365204d616e61676572202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d205068617365204d6f6e69746f720d0a2020202020322d204f75746c657420436f6e74726f6c0d0a2020202020332d20506f77657220537570706c79205374617475730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e20 #1...------- Device Manager --------------------------------------------------------.... 1- Phase Monitor.. 2- Outlet Control.. 3- Power Supply Status.... - Back, - Refresh..> +0.5494749546 client 0x320d0a #2.. +1.2894780636 server 0x320a0a0d2d2d2d2d2d2d2d204f75746c657420436f6e74726f6c202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d202d2020202020202020202020202020202020202020202020204f46460d0a2020202020322d20454d43202855505329202020202020202020202020202020204f4e0d0a2020202020332d20454d43202020202020202020202020202020202020202020204f4e0d0a2020202020342d20464320537769746368202020202020202020202020202020204f4e0d0a2020202020352d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020362d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020372d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020382d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020392d202d2020202020202020202020202020202020202020202020204f46460d0a2020202031302d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031312d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031322d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031332d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031342d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031352d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031362d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031372d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202031382d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031392d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032302d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032312d206261722d3032202020202020202020202020202020202020204f4e0d0a2020202032322d206261722d3032202020202020202020202020202020202020204f4e0d0a0d20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d2020202020202020202020202020202020202020202020202020202020202020202020200d2020202032332d206261722d3031202020202020 #2...------- Outlet Control --------------------------------------------------------.... 1- - OFF.. 2- EMC (UPS) ON.. 3- EMC ON.. 4- FC Switch ON.. 5- EqualLogic ON.. 6- EqualLogic ON.. 7- [nothing] ON.. 8- [nothing] ON.. 9- - OFF.. 10- Saturnin ON.. 11- Saturnin ON.. 12- [nothing] OFF.. 13- [nothing] OFF.. 14- bar-05 ON.. 15- bar-05 ON.. 16- bar-04 ON.. 17- - ON.. 18- bar-04 ON.. 19- bar-03 ON.. 20- bar-03 ON.. 21- bar-02 ON.. 22- bar-02 ON... Press to continue.... . 23- bar-01 +1.3459181786 client 0x0d0a #.. +1.5060820580 server 0x202020202020202020202020204f4e0d0a2020202032342d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032352d20414c4c2041636365737369626c65204f75746c6574730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e20 # ON.. 24- bar-01 ON.. 25- ALL Accessible Outlets.... - Back, - Refresh..> +1.5591611862 client 0x0d0a #.. +1.6094529629 client 0x03 #. +1.9053211212 server 0x0a0a0d2d2d2d2d2d2d2d204f75746c657420436f6e74726f6c202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d202d2020202020202020202020202020202020202020202020204f46460d0a2020202020322d20454d43202855505329202020202020202020202020202020204f4e0d0a2020202020332d20454d43202020202020202020202020202020202020202020204f4e0d0a2020202020342d20464320537769746368202020202020202020202020202020204f4e0d0a2020202020352d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020362d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020372d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020382d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020392d202d2020202020202020202020202020202020202020202020204f46460d0a2020202031302d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031312d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031322d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031332d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031342d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031352d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031362d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031372d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202031382d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031392d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032302d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032312d206261722d3032202020202020202020202020202020202020204f4e0d0a2020202032322d206261722d3032202020202020202020202020202020202020204f4e0d0a0d20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d2020202020202020202020202020202020202020202020202020202020202020202020200d2020202032332d206261722d303120202020202020 #...------- Outlet Control --------------------------------------------------------.... 1- - OFF.. 2- EMC (UPS) ON.. 3- EMC ON.. 4- FC Switch ON.. 5- EqualLogic ON.. 6- EqualLogic ON.. 7- [nothing] ON.. 8- [nothing] ON.. 9- - OFF.. 10- Saturnin ON.. 11- Saturnin ON.. 12- [nothing] OFF.. 13- [nothing] OFF.. 14- bar-05 ON.. 15- bar-05 ON.. 16- bar-04 ON.. 17- - ON.. 18- bar-04 ON.. 19- bar-03 ON.. 20- bar-03 ON.. 21- bar-02 ON.. 22- bar-02 ON... Press to continue.... . 23- bar-01 +2.3759641647 server 0x2020202020202020202020204f4e0d0a2020202032342d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032352d20414c4c2041636365737369626c65204f75746c6574730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e200a0a0d2d2d2d2d2d2d2d204f75746c657420436f6e74726f6c202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d202d2020202020202020202020202020202020202020202020204f46460d0a2020202020322d20454d43202855505329202020202020202020202020202020204f4e0d0a2020202020332d20454d43202020202020202020202020202020202020202020204f4e0d0a2020202020342d20464320537769746368202020202020202020202020202020204f4e0d0a2020202020352d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020362d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020372d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020382d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020392d202d2020202020202020202020202020202020202020202020204f46460d0a2020202031302d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031312d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031322d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031332d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031342d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031352d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031362d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031372d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202031382d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031392d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032302d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032312d206261722d3032202020202020202020202020202020202020204f4e0d0a2020202032322d20 # ON.. 24- bar-01 ON.. 25- ALL Accessible Outlets.... - Back, - Refresh..> ...------- Outlet Control --------------------------------------------------------.... 1- - OFF.. 2- EMC (UPS) ON.. 3- EMC ON.. 4- FC Switch ON.. 5- EqualLogic ON.. 6- EqualLogic ON.. 7- [nothing] ON.. 8- [nothing] ON.. 9- - OFF.. 10- Saturnin ON.. 11- Saturnin ON.. 12- [nothing] OFF.. 13- [nothing] OFF.. 14- bar-05 ON.. 15- bar-05 ON.. 16- bar-04 ON.. 17- - ON.. 18- bar-04 ON.. 19- bar-03 ON.. 20- bar-03 ON.. 21- bar-02 ON.. 22- +2.7305700779 server 0x6261722d3032202020202020202020202020202020202020204f4e0d0a0d20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d2020202020202020202020202020202020202020202020202020202020202020202020200d2020202032332d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032342d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032352d20414c4c2041636365737369626c65204f75746c6574730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e200a0a0a0d416d65726963616e20506f77657220436f6e76657273696f6e2020202020202020202020202020204e6574776f726b204d616e6167656d656e74204361726420414f5320202020202076322e372e300d0a28632920436f70797269676874203230303420416c6c2052696768747320526573657276656420205261636b205044552041505020202020202020202020202020202020202020202076322e372e330d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a4e616d652020202020203a205044552d424152202020202020202020202020202020202020202020202020202020202020202020202044617465203a2030382f31312f323031340d0a436f6e746163742020203a2020202020202020202020202020202020202020202020202020202020202020202020202020202020202054696d65203a2031363a33303a33360a0d4c6f636174696f6e20203a20425251204c61622c207261636b202339202d20726573657276656420666f7220636c757374657220202055736572203a204f75746c657420557365720a0d55702054696d652020203a2033342044617973203520486f7572732033204d696e75746573202020202020202020202020202020202053746174203a20502b204e2b20412b0d0a0d0a5377697463686564205261636b205044553a20436f6d6d756e69636174696f6e2045737461626c69736865640a0a0d2d2d2d2d2d2d2d20436f6e74726f6c20436f6e736f6c65202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d20446576696365204d616e616765720d0a2020202020322d204e6574776f726b0d0a2020202020332d2053797374656d0d0a2020202020342d204c6f676f75740d0a0d0a20202020203c45 #bar-02 ON... Press to continue.... . 23- bar-01 ON.. 24- bar-01 ON.. 25- ALL Accessible Outlets.... - Back, - Refresh..> ....American Power Conversion Network Management Card AOS v2.7.0..(c) Copyright 2004 All Rights Reserved Rack PDU APP v2.7.3..-------------------------------------------------------------------------------..Name : PDU-BAR Date : 08/11/2014..Contact : Time : 16:30:36..Location : BRQ Lab, rack #9 - reserved for cluster User : Outlet User..Up Time : 34 Days 5 Hours 3 Minutes Stat : P+ N+ A+....Switched Rack PDU: Communication Established...------- Control Console -------------------------------------------------------.... 1- Device Manager.. 2- Network.. 3- System.. 4- Logout.... - Main Menu, - Refresh..> +2.9917371273 client 0x310d0a #1.. +3.4272589684 server 0x310a0a0d2d2d2d2d2d2d2d20446576696365204d616e61676572202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d205068617365204d6f6e69746f720d0a2020202020322d204f75746c657420436f6e74726f6c0d0a2020202020332d20506f77657220537570706c79205374617475730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e20 #1...------- Device Manager --------------------------------------------------------.... 1- Phase Monitor.. 2- Outlet Control.. 3- Power Supply Status.... - Back, - Refresh..> +3.4792201519 client 0x320d0a #2.. +4.0161559582 server 0x320a0a0d2d2d2d2d2d2d2d204f75746c657420436f6e74726f6c202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d202d2020202020202020202020202020202020202020202020204f46460d0a2020202020322d20454d43202855505329202020202020202020202020202020204f4e0d0a2020202020332d20454d43202020202020202020202020202020202020202020204f4e0d0a2020202020342d20464320537769746368202020202020202020202020202020204f4e0d0a2020202020352d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020362d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020372d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020382d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020392d202d2020202020202020202020202020202020202020202020204f46460d0a2020202031302d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031312d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031322d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031332d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031342d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031352d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031362d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031372d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202031382d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031392d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032302d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032312d206261722d3032202020202020202020202020202020202020204f4e0d0a2020202032322d206261722d3032202020202020202020202020202020202020204f4e0d0a0d20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d2020202020202020202020202020202020202020202020202020202020202020202020200d2020202032332d206261722d3031202020202020 #2...------- Outlet Control --------------------------------------------------------.... 1- - OFF.. 2- EMC (UPS) ON.. 3- EMC ON.. 4- FC Switch ON.. 5- EqualLogic ON.. 6- EqualLogic ON.. 7- [nothing] ON.. 8- [nothing] ON.. 9- - OFF.. 10- Saturnin ON.. 11- Saturnin ON.. 12- [nothing] OFF.. 13- [nothing] OFF.. 14- bar-05 ON.. 15- bar-05 ON.. 16- bar-04 ON.. 17- - ON.. 18- bar-04 ON.. 19- bar-03 ON.. 20- bar-03 ON.. 21- bar-02 ON.. 22- bar-02 ON... Press to continue.... . 23- bar-01 +4.0683641434 client 0x0d0a #.. +4.2361841202 server 0x202020202020202020202020204f4e0d0a2020202032342d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032352d20414c4c2041636365737369626c65204f75746c6574730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e20 # ON.. 24- bar-01 ON.. 25- ALL Accessible Outlets.... - Back, - Refresh..> +4.2885639668 client 0x310d0a #1.. +4.6393141747 server 0x0a0a0d2d2d2d2d2d2d2d204f75746c657420436f6e74726f6c202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d202d2020202020202020202020202020202020202020202020204f46460d0a2020202020322d20454d43202855505329202020202020202020202020202020204f4e0d0a2020202020332d20454d43202020202020202020202020202020202020202020204f4e0d0a2020202020342d20464320537769746368202020202020202020202020202020204f4e0d0a2020202020352d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020362d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020372d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020382d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020392d202d2020202020202020202020202020202020202020202020204f46460d0a2020202031302d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031312d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031322d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031332d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031342d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031352d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031362d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031372d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202031382d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031392d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032302d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032312d206261722d3032202020202020202020202020202020202020204f4e0d0a2020202032322d206261722d3032202020202020202020202020202020202020204f4e0d0a0d20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d2020202020202020202020202020202020202020202020202020202020202020202020200d2020202032332d206261722d303120202020202020 #...------- Outlet Control --------------------------------------------------------.... 1- - OFF.. 2- EMC (UPS) ON.. 3- EMC ON.. 4- FC Switch ON.. 5- EqualLogic ON.. 6- EqualLogic ON.. 7- [nothing] ON.. 8- [nothing] ON.. 9- - OFF.. 10- Saturnin ON.. 11- Saturnin ON.. 12- [nothing] OFF.. 13- [nothing] OFF.. 14- bar-05 ON.. 15- bar-05 ON.. 16- bar-04 ON.. 17- - ON.. 18- bar-04 ON.. 19- bar-03 ON.. 20- bar-03 ON.. 21- bar-02 ON.. 22- bar-02 ON... Press to continue.... . 23- bar-01 +4.9311809540 server 0x2020202020202020202020204f4e0d0a2020202032342d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032352d20414c4c2041636365737369626c65204f75746c6574730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e20310a0a0d2d2d2d2d2d2d2d202d202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a20202020202020204e616d652020202020202020203a202d0d0a20202020202020204f75746c6574202020202020203a20310d0a2020202020202020537461746520202020202020203a204f46460d0a0d0a2020202020312d20496d6d656469617465204f6e20202020202020202020202020200d0a2020202020322d20496d6d656469617465204f6666202020202020202020202020200d0a2020202020332d20496d6d656469617465205265626f6f74202020202020202020200d0a2020202020342d2044656c61796564204f6e202020202020202020202020202020200d0a2020202020352d2044656c61796564204f66662020202020202020202020202020200d0a2020202020362d2044656c61796564205265626f6f742020202020202020202020200d0a2020202020372d2043616e63656c20202020202020202020202020202020202020200d0a0d0a20202020203f2d2048656c702c203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e20 # ON.. 24- bar-01 ON.. 25- ALL Accessible Outlets.... - Back, - Refresh..> 1...------- - ---------------------------------------------------------------------.... Name : -.. Outlet : 1.. State : OFF.... 1- Immediate On .. 2- Immediate Off .. 3- Immediate Reboot .. 4- Delayed On .. 5- Delayed Off .. 6- Delayed Reboot .. 7- Cancel .... ?- Help, - Back, - Refresh..> +4.9839141369 client 0x310d0a #1.. +5.3821799755 server 0x310d0a20202020202020202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a2020202020202020496d6d656469617465204f6e20202020202020202020202020200d0a0d0a20202020202020205468697320636f6d6d616e642077696c6c20696d6d6564696174656c79207475726e0d0a20202020202020206f75746c65742031206e616d656420272d27204f4e2e0d0a0d0a2020202020202020456e74657220275945532720746f20636f6e74696e7565206f72203c454e5445523e20746f2063616e63656c203a20 #1.. -----------------------------------------------------------------------.. Immediate On .... This command will immediately turn.. outlet 1 named '-' ON..... Enter 'YES' to continue or to cancel : +5.4358270168 client 0x5945530d0a #YES.. +6.2980310917 server 0x5945530d0a2020202020202020436f6d6d616e64207375636365737366756c6c79206973737565642e0d0a0d0a20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d0a0a0a0d2d2d2d2d2d2d2d202d202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a20202020202020204e616d652020202020202020203a202d0d0a20202020202020204f75746c6574202020202020203a20310d0a2020202020202020537461746520202020202020203a204f4e0d0a0d0a2020202020312d20496d6d656469617465204f6e20202020202020202020202020200d0a2020202020322d20496d6d656469617465204f6666202020202020202020202020200d0a2020202020332d20496d6d656469617465205265626f6f74202020202020202020200d0a2020202020342d2044656c61796564204f6e202020202020202020202020202020200d0a2020202020352d2044656c61796564204f66662020202020202020202020202020200d0a2020202020362d2044656c61796564205265626f6f742020202020202020202020200d0a2020202020372d2043616e63656c20202020202020202020202020202020202020200d0a0d0a20202020203f2d2048656c702c203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e20 #YES.. Command successfully issued..... Press to continue........------- - ---------------------------------------------------------------------.... Name : -.. Outlet : 1.. State : ON.... 1- Immediate On .. 2- Immediate Off .. 3- Immediate Reboot .. 4- Delayed On .. 5- Delayed Off .. 6- Delayed Reboot .. 7- Cancel .... ?- Help, - Back, - Refresh..> +6.3521461487 client 0x0d0a #.. +6.4026451111 client 0x03 #. +6.7796490192 server 0x0a0a0d2d2d2d2d2d2d2d202d202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a20202020202020204e616d652020202020202020203a202d0d0a20202020202020204f75746c6574202020202020203a20310d0a2020202020202020537461746520202020202020203a204f4e0d0a0d0a2020202020312d20496d6d656469617465204f6e20202020202020202020202020200d0a2020202020322d20496d6d656469617465204f6666202020202020202020202020200d0a2020202020332d20496d6d656469617465205265626f6f74202020202020202020200d0a2020202020342d2044656c61796564204f6e202020202020202020202020202020200d0a2020202020352d2044656c61796564204f66662020202020202020202020202020200d0a2020202020362d2044656c61796564205265626f6f742020202020202020202020200d0a2020202020372d2043616e63656c20202020202020202020202020202020202020200d0a0d0a20202020203f2d2048656c702c203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e20 #...------- - ---------------------------------------------------------------------.... Name : -.. Outlet : 1.. State : ON.... 1- Immediate On .. 2- Immediate Off .. 3- Immediate Reboot .. 4- Delayed On .. 5- Delayed Off .. 6- Delayed Reboot .. 7- Cancel .... ?- Help, - Back, - Refresh..> +7.3215401173 server 0x0a0a0a0d416d65726963616e20506f77657220436f6e76657273696f6e2020202020202020202020202020204e6574776f726b204d616e6167656d656e74204361726420414f5320202020202076322e372e300d0a28632920436f70797269676874203230303420416c6c2052696768747320526573657276656420205261636b205044552041505020202020202020202020202020202020202020202076322e372e330d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a4e616d652020202020203a205044552d424152202020202020202020202020202020202020202020202020202020202020202020202044617465203a2030382f31312f323031340d0a436f6e746163742020203a2020202020202020202020202020202020202020202020202020202020202020202020202020202020202054696d65203a2031363a33303a34310a0d4c6f636174696f6e20203a20425251204c61622c207261636b202339202d20726573657276656420666f7220636c757374657220202055736572203a204f75746c657420557365720a0d55702054696d652020203a2033342044617973203520486f7572732033204d696e75746573202020202020202020202020202020202053746174203a20502b204e2b20412b0d0a0d0a5377697463686564205261636b205044553a20436f6d6d756e69636174696f6e2045737461626c69736865640a0a0d2d2d2d2d2d2d2d20436f6e74726f6c20436f6e736f6c65202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d20446576696365204d616e616765720d0a2020202020322d204e6574776f726b0d0a2020202020332d2053797374656d0d0a2020202020342d204c6f676f75740d0a0d0a20202020203c4553433e2d204d61696e204d656e752c203c454e5445523e2d20526566726573680d0a3e20 #....American Power Conversion Network Management Card AOS v2.7.0..(c) Copyright 2004 All Rights Reserved Rack PDU APP v2.7.3..-------------------------------------------------------------------------------..Name : PDU-BAR Date : 08/11/2014..Contact : Time : 16:30:41..Location : BRQ Lab, rack #9 - reserved for cluster User : Outlet User..Up Time : 34 Days 5 Hours 3 Minutes Stat : P+ N+ A+....Switched Rack PDU: Communication Established...------- Control Console -------------------------------------------------------.... 1- Device Manager.. 2- Network.. 3- System.. 4- Logout.... - Main Menu, - Refresh..> +7.3750531673 client 0x310d0a #1.. +7.8055181503 server 0x310a0a0d2d2d2d2d2d2d2d20446576696365204d616e61676572202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d205068617365204d6f6e69746f720d0a2020202020322d204f75746c657420436f6e74726f6c0d0a2020202020332d20506f77657220537570706c79205374617475730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e20 #1...------- Device Manager --------------------------------------------------------.... 1- Phase Monitor.. 2- Outlet Control.. 3- Power Supply Status.... - Back, - Refresh..> +7.8578650951 client 0x320d0a #2.. +8.3829820156 server 0x320a0a0d2d2d2d2d2d2d2d204f75746c657420436f6e74726f6c202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202020322d20454d43202855505329202020202020202020202020202020204f4e0d0a2020202020332d20454d43202020202020202020202020202020202020202020204f4e0d0a2020202020342d20464320537769746368202020202020202020202020202020204f4e0d0a2020202020352d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020362d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020372d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020382d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020392d202d2020202020202020202020202020202020202020202020204f46460d0a2020202031302d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031312d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031322d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031332d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031342d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031352d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031362d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031372d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202031382d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031392d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032302d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032312d206261722d3032202020202020202020202020202020202020204f4e0d0a2020202032322d206261722d3032202020202020202020202020202020202020204f4e0d0a0d20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d2020202020202020202020202020202020202020202020202020202020202020202020200d2020202032332d206261722d303120202020202020 #2...------- Outlet Control --------------------------------------------------------.... 1- - ON.. 2- EMC (UPS) ON.. 3- EMC ON.. 4- FC Switch ON.. 5- EqualLogic ON.. 6- EqualLogic ON.. 7- [nothing] ON.. 8- [nothing] ON.. 9- - OFF.. 10- Saturnin ON.. 11- Saturnin ON.. 12- [nothing] OFF.. 13- [nothing] OFF.. 14- bar-05 ON.. 15- bar-05 ON.. 16- bar-04 ON.. 17- - ON.. 18- bar-04 ON.. 19- bar-03 ON.. 20- bar-03 ON.. 21- bar-02 ON.. 22- bar-02 ON... Press to continue.... . 23- bar-01 +8.4366099834 client 0x0d0a #.. +8.6087989807 server 0x2020202020202020202020204f4e0d0a2020202032342d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032352d20414c4c2041636365737369626c65204f75746c6574730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e20 # ON.. 24- bar-01 ON.. 25- ALL Accessible Outlets.... - Back, - Refresh..> +8.6616239548 client 0x0d0a #.. +8.7118079662 client 0x03 #. +8.9992990494 server 0x0a0a0d2d2d2d2d2d2d2d204f75746c657420436f6e74726f6c202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202020322d20454d43202855505329202020202020202020202020202020204f4e0d0a2020202020332d20454d43202020202020202020202020202020202020202020204f4e0d0a2020202020342d20464320537769746368202020202020202020202020202020204f4e0d0a2020202020352d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020362d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020372d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020382d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020392d202d2020202020202020202020202020202020202020202020204f46460d0a2020202031302d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031312d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031322d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031332d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031342d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031352d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031362d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031372d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202031382d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031392d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032302d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032312d206261722d3032202020202020202020202020202020202020204f4e0d0a2020202032322d206261722d3032202020202020202020202020202020202020204f4e0d0a0d20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d2020202020202020202020202020202020202020202020202020202020202020202020200d2020202032332d206261722d30312020202020202020 #...------- Outlet Control --------------------------------------------------------.... 1- - ON.. 2- EMC (UPS) ON.. 3- EMC ON.. 4- FC Switch ON.. 5- EqualLogic ON.. 6- EqualLogic ON.. 7- [nothing] ON.. 8- [nothing] ON.. 9- - OFF.. 10- Saturnin ON.. 11- Saturnin ON.. 12- [nothing] OFF.. 13- [nothing] OFF.. 14- bar-05 ON.. 15- bar-05 ON.. 16- bar-04 ON.. 17- - ON.. 18- bar-04 ON.. 19- bar-03 ON.. 20- bar-03 ON.. 21- bar-02 ON.. 22- bar-02 ON... Press to continue.... . 23- bar-01 +9.3358800411 server 0x20202020202020202020204f4e0d0a2020202032342d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032352d20414c4c2041636365737369626c65204f75746c6574730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e200a0a0d2d2d2d2d2d2d2d204f75746c657420436f6e74726f6c202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202020322d20454d43202855505329202020202020202020202020202020204f4e0d0a2020202020332d20454d43202020202020202020202020202020202020202020204f4e0d0a2020202020342d20464320537769746368202020202020202020202020202020204f4e0d0a2020202020352d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020362d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020372d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020382d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020392d202d2020202020202020202020202020202020202020202020204f46460d0a2020202031302d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031312d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031322d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031332d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031342d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031352d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031362d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031372d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202031382d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031392d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032302d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032312d206261722d3032202020202020202020202020202020202020204f4e0d0a2020202032322d206261 # ON.. 24- bar-01 ON.. 25- ALL Accessible Outlets.... - Back, - Refresh..> ...------- Outlet Control --------------------------------------------------------.... 1- - ON.. 2- EMC (UPS) ON.. 3- EMC ON.. 4- FC Switch ON.. 5- EqualLogic ON.. 6- EqualLogic ON.. 7- [nothing] ON.. 8- [nothing] ON.. 9- - OFF.. 10- Saturnin ON.. 11- Saturnin ON.. 12- [nothing] OFF.. 13- [nothing] OFF.. 14- bar-05 ON.. 15- bar-05 ON.. 16- bar-04 ON.. 17- - ON.. 18- bar-04 ON.. 19- bar-03 ON.. 20- bar-03 ON.. 21- bar-02 ON.. 22- ba +9.6466891766 server 0x722d3032202020202020202020202020202020202020204f4e0d0a0d20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d2020202020202020202020202020202020202020202020202020202020202020202020200d2020202032332d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032342d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032352d20414c4c2041636365737369626c65204f75746c6574730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e200a0a0a0d416d65726963616e20506f77657220436f6e76657273696f6e2020202020202020202020202020204e6574776f726b204d616e6167656d656e74204361726420414f5320202020202076322e372e300d0a28632920436f70797269676874203230303420416c6c2052696768747320526573657276656420205261636b205044552041505020202020202020202020202020202020202020202076322e372e330d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a4e616d652020202020203a205044552d424152202020202020202020202020202020202020202020202020202020202020202020202044617465203a2030382f31312f323031340d0a436f6e746163742020203a2020202020202020202020202020202020202020202020202020202020202020202020202020202020202054696d65203a2031363a33303a34330a0d4c6f636174696f6e20203a20425251204c61622c207261636b202339202d20726573657276656420666f7220636c757374657220202055736572203a204f75746c657420557365720a0d55702054696d652020203a2033342044617973203520486f7572732033204d696e75746573202020202020202020202020202020202053746174203a20502b204e2b20412b0d0a0d0a5377697463686564205261636b205044553a20436f6d6d756e69636174696f6e2045737461626c69736865640a0a0d2d2d2d2d2d2d2d20436f6e74726f6c20436f6e736f6c65202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d20446576696365204d616e616765720d0a2020202020322d204e6574776f726b0d0a2020202020332d2053797374656d0d0a2020202020342d204c6f676f75740d0a0d0a20202020203c455343 #r-02 ON... Press to continue.... . 23- bar-01 ON.. 24- bar-01 ON.. 25- ALL Accessible Outlets.... - Back, - Refresh..> ....American Power Conversion Network Management Card AOS v2.7.0..(c) Copyright 2004 All Rights Reserved Rack PDU APP v2.7.3..-------------------------------------------------------------------------------..Name : PDU-BAR Date : 08/11/2014..Contact : Time : 16:30:43..Location : BRQ Lab, rack #9 - reserved for cluster User : Outlet User..Up Time : 34 Days 5 Hours 3 Minutes Stat : P+ N+ A+....Switched Rack PDU: Communication Established...------- Control Console -------------------------------------------------------.... 1- Device Manager.. 2- Network.. 3- System.. 4- Logout.... - Main Menu, - Refresh..> diff --git a/tests/data/mitm-logs/apc/ssh-user/reboot.log b/tests/data/mitm-logs/apc/ssh-user/reboot.log new file mode 100644 index 000000000..4b8da566f --- /dev/null +++ b/tests/data/mitm-logs/apc/ssh-user/reboot.log @@ -0,0 +1,66 @@ +0.0000011921 server 0x0a0a0a0d416d65726963616e20506f77657220436f6e76657273696f6e2020202020202020202020202020204e6574776f726b204d616e6167656d656e74204361726420414f5320202020202076322e372e300d0a28632920436f70797269676874203230303420416c6c2052696768747320526573657276656420205261636b205044552041505020202020202020202020202020202020202020202076322e372e330d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a4e616d652020202020203a205044552d424152202020202020202020202020202020202020202020202020202020202020202020202044617465203a2030382f31312f323031340d0a436f6e746163742020203a2020202020202020202020202020202020202020202020202020202020202020202020202020202020202054696d65203a2031363a33353a33330a0d4c6f636174696f6e20203a20425251204c61622c207261636b202339202d20726573657276656420666f7220636c757374657220202055736572203a204f75746c657420557365720a0d55702054696d652020203a2033342044617973203520486f7572732038204d696e75746573202020202020202020202020202020202053746174203a20502b204e2b20412b0d0a0d0a5377697463686564205261636b205044553a20436f6d6d756e69636174696f6e2045737461626c69736865640a0a0d2d2d2d2d2d2d2d20436f6e74726f6c20436f6e736f6c65202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d20446576696365204d616e616765720d0a2020202020322d204e6574776f726b0d0a2020202020332d2053797374656d0d0a2020202020342d204c6f676f75740d0a0d0a20202020203c4553433e2d204d61696e204d656e752c203c454e5445523e2d20526566726573680d0a3e20 #....American Power Conversion Network Management Card AOS v2.7.0..(c) Copyright 2004 All Rights Reserved Rack PDU APP v2.7.3..-------------------------------------------------------------------------------..Name : PDU-BAR Date : 08/11/2014..Contact : Time : 16:35:33..Location : BRQ Lab, rack #9 - reserved for cluster User : Outlet User..Up Time : 34 Days 5 Hours 8 Minutes Stat : P+ N+ A+....Switched Rack PDU: Communication Established...------- Control Console -------------------------------------------------------.... 1- Device Manager.. 2- Network.. 3- System.. 4- Logout.... - Main Menu, - Refresh..> +0.0529010296 client 0x310d0a #1.. +0.1490261555 server 0x310a0a0d2d2d2d2d2d2d2d20446576696365204d616e61676572202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d205068617365204d6f6e69746f720d0a2020202020322d204f75746c657420436f6e74726f6c0d0a2020202020332d20506f77657220537570706c79205374617475730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e20 #1...------- Device Manager --------------------------------------------------------.... 1- Phase Monitor.. 2- Outlet Control.. 3- Power Supply Status.... - Back, - Refresh..> +0.2017440796 client 0x320d0a #2.. +0.4140250683 server 0x320a0a0d2d2d2d2d2d2d2d204f75746c657420436f6e74726f6c202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202020322d20454d43202855505329202020202020202020202020202020204f4e0d0a2020202020332d20454d43202020202020202020202020202020202020202020204f4e0d0a2020202020342d20464320537769746368202020202020202020202020202020204f4e0d0a2020202020352d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020362d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020372d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020382d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020392d202d2020202020202020202020202020202020202020202020204f46460d0a2020202031302d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031312d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031322d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031332d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031342d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031352d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031362d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031372d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202031382d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031392d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032302d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032312d206261722d3032202020202020202020202020202020202020204f4e0d0a2020202032322d206261722d3032202020202020202020202020202020202020204f4e0d0a0d20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d2020202020202020202020202020202020202020202020202020202020202020202020200d2020202032332d206261722d303120202020202020 #2...------- Outlet Control --------------------------------------------------------.... 1- - ON.. 2- EMC (UPS) ON.. 3- EMC ON.. 4- FC Switch ON.. 5- EqualLogic ON.. 6- EqualLogic ON.. 7- [nothing] ON.. 8- [nothing] ON.. 9- - OFF.. 10- Saturnin ON.. 11- Saturnin ON.. 12- [nothing] OFF.. 13- [nothing] OFF.. 14- bar-05 ON.. 15- bar-05 ON.. 16- bar-04 ON.. 17- - ON.. 18- bar-04 ON.. 19- bar-03 ON.. 20- bar-03 ON.. 21- bar-02 ON.. 22- bar-02 ON... Press to continue.... . 23- bar-01 +0.4666321278 client 0x0d0a #.. +0.6696100235 server 0x2020202020202020202020204f4e0d0a2020202032342d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032352d20414c4c2041636365737369626c65204f75746c6574730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e200a0a0d2d2d2d2d2d2d2d204f75746c657420436f6e74726f6c202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202020322d20454d43202855505329202020202020202020202020202020204f4e0d0a2020202020332d20454d43202020202020202020202020202020202020202020204f4e0d0a2020202020342d20464320537769746368202020202020202020202020202020204f4e0d0a2020202020352d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020362d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020372d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020382d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020392d202d2020202020202020202020202020202020202020202020204f46460d0a2020202031302d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031312d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031322d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031332d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031342d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031352d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031362d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031372d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202031382d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031392d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032302d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032312d206261722d3032202020202020202020202020202020202020204f4e0d0a2020202032322d2062 # ON.. 24- bar-01 ON.. 25- ALL Accessible Outlets.... - Back, - Refresh..> ...------- Outlet Control --------------------------------------------------------.... 1- - ON.. 2- EMC (UPS) ON.. 3- EMC ON.. 4- FC Switch ON.. 5- EqualLogic ON.. 6- EqualLogic ON.. 7- [nothing] ON.. 8- [nothing] ON.. 9- - OFF.. 10- Saturnin ON.. 11- Saturnin ON.. 12- [nothing] OFF.. 13- [nothing] OFF.. 14- bar-05 ON.. 15- bar-05 ON.. 16- bar-04 ON.. 17- - ON.. 18- bar-04 ON.. 19- bar-03 ON.. 20- bar-03 ON.. 21- bar-02 ON.. 22- b +0.7218770981 client 0x0d0a #.. +0.7722530365 client 0x03 #. +0.9395830631 server 0x61722d3032202020202020202020202020202020202020204f4e0d0a0d20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d2020202020202020202020202020202020202020202020202020202020202020202020200d2020202032332d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032342d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032352d20414c4c2041636365737369626c65204f75746c6574730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e200a0a0d2d2d2d2d2d2d2d204f75746c657420436f6e74726f6c202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202020322d20454d43202855505329202020202020202020202020202020204f4e0d0a2020202020332d20454d43202020202020202020202020202020202020202020204f4e0d0a2020202020342d20464320537769746368202020202020202020202020202020204f4e0d0a2020202020352d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020362d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020372d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020382d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020392d202d2020202020202020202020202020202020202020202020204f46460d0a2020202031302d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031312d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031322d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031332d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031342d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031352d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031362d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031372d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202031382d206261722d303420202020202020202020202020202020202020 #ar-02 ON... Press to continue.... . 23- bar-01 ON.. 24- bar-01 ON.. 25- ALL Accessible Outlets.... - Back, - Refresh..> ...------- Outlet Control --------------------------------------------------------.... 1- - ON.. 2- EMC (UPS) ON.. 3- EMC ON.. 4- FC Switch ON.. 5- EqualLogic ON.. 6- EqualLogic ON.. 7- [nothing] ON.. 8- [nothing] ON.. 9- - OFF.. 10- Saturnin ON.. 11- Saturnin ON.. 12- [nothing] OFF.. 13- [nothing] OFF.. 14- bar-05 ON.. 15- bar-05 ON.. 16- bar-04 ON.. 17- - ON.. 18- bar-04 +1.1538431644 server 0x4f4e0d0a2020202031392d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032302d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032312d206261722d3032202020202020202020202020202020202020204f4e0d0a2020202032322d206261722d3032202020202020202020202020202020202020204f4e0d0a0d20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d2020202020202020202020202020202020202020202020202020202020202020202020200d2020202032332d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032342d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032352d20414c4c2041636365737369626c65204f75746c6574730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e200a0a0a0d416d65726963616e20506f77657220436f6e76657273696f6e2020202020202020202020202020204e6574776f726b204d616e6167656d656e74204361726420414f5320202020202076322e372e300d0a28632920436f70797269676874203230303420416c6c2052696768747320526573657276656420205261636b205044552041505020202020202020202020202020202020202020202076322e372e330d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a4e616d652020202020203a205044552d424152202020202020202020202020202020202020202020202020202020202020202020202044617465203a2030382f31312f323031340d0a436f6e746163742020203a2020202020202020202020202020202020202020202020202020202020202020202020202020202020202054696d65203a2031363a33353a33340a0d4c6f636174696f6e20203a20425251204c61622c207261636b202339202d20726573657276656420666f7220636c757374657220202055736572203a204f75746c657420557365720a0d55702054696d652020203a2033342044617973203520486f7572732038204d696e75746573202020202020202020202020202020202053746174203a20502b204e2b20412b0d0a0d0a5377697463686564205261636b205044553a20436f6d6d756e69636174696f6e2045737461626c69736865640a0a0d2d2d2d2d2d2d2d20436f6e74726f6c20436f6e736f6c65202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d #ON.. 19- bar-03 ON.. 20- bar-03 ON.. 21- bar-02 ON.. 22- bar-02 ON... Press to continue.... . 23- bar-01 ON.. 24- bar-01 ON.. 25- ALL Accessible Outlets.... - Back, - Refresh..> ....American Power Conversion Network Management Card AOS v2.7.0..(c) Copyright 2004 All Rights Reserved Rack PDU APP v2.7.3..-------------------------------------------------------------------------------..Name : PDU-BAR Date : 08/11/2014..Contact : Time : 16:35:34..Location : BRQ Lab, rack #9 - reserved for cluster User : Outlet User..Up Time : 34 Days 5 Hours 8 Minutes Stat : P+ N+ A+....Switched Rack PDU: Communication Established...------- Control Console ------------------ +1.2784380913 server 0x2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d20446576696365204d616e616765720d0a2020202020322d204e6574776f726b0d0a2020202020332d2053797374656d0d0a2020202020342d204c6f676f75740d0a0d0a20202020203c4553433e2d204d61696e204d656e752c203c454e5445523e2d20526566726573680d0a3e20 #-------------------------------------.... 1- Device Manager.. 2- Network.. 3- System.. 4- Logout.... - Main Menu, - Refresh..> +1.3304111958 client 0x310d0a #1.. +1.4332730770 server 0x310a0a0d2d2d2d2d2d2d2d20446576696365204d616e61676572202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d205068617365204d6f6e69746f720d0a2020202020322d204f75746c657420436f6e74726f6c0d0a2020202020332d20506f77657220537570706c79205374617475730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e20 #1...------- Device Manager --------------------------------------------------------.... 1- Phase Monitor.. 2- Outlet Control.. 3- Power Supply Status.... - Back, - Refresh..> +1.4851341248 client 0x320d0a #2.. +1.6762020588 server 0x320a0a0d2d2d2d2d2d2d2d204f75746c657420436f6e74726f6c202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202020322d20454d43202855505329202020202020202020202020202020204f4e0d0a2020202020332d20454d43202020202020202020202020202020202020202020204f4e0d0a2020202020342d20464320537769746368202020202020202020202020202020204f4e0d0a2020202020352d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020362d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020372d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020382d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020392d202d2020202020202020202020202020202020202020202020204f46460d0a2020202031302d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031312d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031322d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031332d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031342d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031352d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031362d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031372d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202031382d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031392d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032302d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032312d206261722d3032202020202020202020202020202020202020204f4e0d0a2020202032322d206261722d3032202020202020202020202020202020202020204f4e0d0a0d20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d2020202020202020202020202020202020202020202020202020202020202020202020200d2020202032332d206261722d303120202020202020 #2...------- Outlet Control --------------------------------------------------------.... 1- - ON.. 2- EMC (UPS) ON.. 3- EMC ON.. 4- FC Switch ON.. 5- EqualLogic ON.. 6- EqualLogic ON.. 7- [nothing] ON.. 8- [nothing] ON.. 9- - OFF.. 10- Saturnin ON.. 11- Saturnin ON.. 12- [nothing] OFF.. 13- [nothing] OFF.. 14- bar-05 ON.. 15- bar-05 ON.. 16- bar-04 ON.. 17- - ON.. 18- bar-04 ON.. 19- bar-03 ON.. 20- bar-03 ON.. 21- bar-02 ON.. 22- bar-02 ON... Press to continue.... . 23- bar-01 +1.7284960747 client 0x0d0a #.. +2.3394441605 server 0x2020202020202020202020204f4e0d0a2020202032342d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032352d20414c4c2041636365737369626c65204f75746c6574730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e200a0a0d2d2d2d2d2d2d2d204f75746c657420436f6e74726f6c202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202020322d20454d43202855505329202020202020202020202020202020204f4e0d0a2020202020332d20454d43202020202020202020202020202020202020202020204f4e0d0a2020202020342d20464320537769746368202020202020202020202020202020204f4e0d0a2020202020352d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020362d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020372d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020382d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020392d202d2020202020202020202020202020202020202020202020204f46460d0a2020202031302d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031312d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031322d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031332d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031342d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031352d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031362d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031372d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202031382d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031392d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032302d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032312d206261722d3032202020202020202020202020202020202020204f4e0d0a2020202032322d2062 # ON.. 24- bar-01 ON.. 25- ALL Accessible Outlets.... - Back, - Refresh..> ...------- Outlet Control --------------------------------------------------------.... 1- - ON.. 2- EMC (UPS) ON.. 3- EMC ON.. 4- FC Switch ON.. 5- EqualLogic ON.. 6- EqualLogic ON.. 7- [nothing] ON.. 8- [nothing] ON.. 9- - OFF.. 10- Saturnin ON.. 11- Saturnin ON.. 12- [nothing] OFF.. 13- [nothing] OFF.. 14- bar-05 ON.. 15- bar-05 ON.. 16- bar-04 ON.. 17- - ON.. 18- bar-04 ON.. 19- bar-03 ON.. 20- bar-03 ON.. 21- bar-02 ON.. 22- b +2.3922331333 client 0x310d0a #1.. +2.5189039707 server 0x61722d3032202020202020202020202020202020202020204f4e0d0a0d20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d2020202020202020202020202020202020202020202020202020202020202020202020200d2020202032332d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032342d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032352d20414c4c2041636365737369626c65204f75746c6574730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e20310a0a0d2d2d2d2d2d2d2d202d202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a20202020202020204e616d652020202020202020203a202d0d0a20202020202020204f75746c6574202020202020203a20310d0a2020202020202020537461746520202020202020203a204f4e0d0a0d0a2020202020312d20496d6d656469617465204f6e20202020202020202020202020200d0a2020202020322d20496d6d656469617465204f6666202020202020202020202020200d0a2020202020332d20496d6d656469617465205265626f6f74202020202020202020200d0a2020202020342d2044656c61796564204f6e202020202020202020202020202020200d0a2020202020352d2044656c61796564204f66662020202020202020202020202020200d0a2020202020362d2044656c61796564205265626f6f742020202020202020202020200d0a2020202020372d2043616e63656c20202020202020202020202020202020202020200d0a0d0a20202020203f2d2048656c702c203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e20 #ar-02 ON... Press to continue.... . 23- bar-01 ON.. 24- bar-01 ON.. 25- ALL Accessible Outlets.... - Back, - Refresh..> 1...------- - ---------------------------------------------------------------------.... Name : -.. Outlet : 1.. State : ON.... 1- Immediate On .. 2- Immediate Off .. 3- Immediate Reboot .. 4- Delayed On .. 5- Delayed Off .. 6- Delayed Reboot .. 7- Cancel .... ?- Help, - Back, - Refresh..> +2.5714001656 client 0x320d0a #2.. +2.6408710480 server 0x320d0a20202020202020202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a2020202020202020496d6d656469617465204f6666202020202020202020202020200d0a0d0a20202020202020205468697320636f6d6d616e642077696c6c20696d6d6564696174656c79207475726e0d0a20202020202020206f75746c65742031206e616d656420272d27204f46462e0d0a0d0a2020202020202020456e74657220275945532720746f20636f6e74696e7565206f72203c454e5445523e20746f2063616e63656c203a20 #2.. -----------------------------------------------------------------------.. Immediate Off .... This command will immediately turn.. outlet 1 named '-' OFF..... Enter 'YES' to continue or to cancel : +2.6934661865 client 0x5945530d0a #YES.. +2.8660931587 server 0x5945530d0a2020202020202020436f6d6d616e64207375636365737366756c6c79206973737565642e0d0a0d0a20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d0a0a0a0d2d2d2d2d2d2d2d202d202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a20202020202020204e616d652020202020202020203a202d0d0a20202020202020204f75746c6574202020202020203a20310d0a2020202020202020537461746520202020202020203a204f46460d0a0d0a2020202020312d20496d6d656469617465204f6e20202020202020202020202020200d0a2020202020322d20496d6d656469617465204f6666202020202020202020202020200d0a2020202020332d20496d6d656469617465205265626f6f74202020202020202020200d0a2020202020342d2044656c61796564204f6e202020202020202020202020202020200d0a2020202020352d2044656c61796564204f66662020202020202020202020202020200d0a2020202020362d2044656c61796564205265626f6f742020202020202020202020200d0a2020202020372d2043616e63656c20202020202020202020202020202020202020200d0a0d0a20202020203f2d2048656c702c203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e20 #YES.. Command successfully issued..... Press to continue........------- - ---------------------------------------------------------------------.... Name : -.. Outlet : 1.. State : OFF.... 1- Immediate On .. 2- Immediate Off .. 3- Immediate Reboot .. 4- Delayed On .. 5- Delayed Off .. 6- Delayed Reboot .. 7- Cancel .... ?- Help, - Back, - Refresh..> +2.9183230400 client 0x0d0a #.. +2.9684669971 client 0x03 #. +3.0102670193 server 0x0a0a0d2d2d2d2d2d2d2d202d202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a20202020202020204e616d652020202020202020203a202d0d0a20202020202020204f75746c6574202020202020203a20310d0a2020202020202020537461746520202020202020203a204f46460d0a0d0a2020202020312d20496d6d656469617465204f6e20202020202020202020202020200d0a2020202020322d20496d6d656469617465204f6666202020202020202020202020200d0a2020202020332d20496d6d656469617465205265626f6f74202020202020202020200d0a2020202020342d2044656c61796564204f6e202020202020202020202020202020200d0a2020202020352d2044656c61796564204f66662020202020202020202020202020200d0a2020202020362d2044656c61796564205265626f6f742020202020202020202020200d0a2020202020372d2043616e63656c20202020202020202020202020202020202020200d0a0d0a20202020203f2d2048656c702c203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e20 #...------- - ---------------------------------------------------------------------.... Name : -.. Outlet : 1.. State : OFF.... 1- Immediate On .. 2- Immediate Off .. 3- Immediate Reboot .. 4- Delayed On .. 5- Delayed Off .. 6- Delayed Reboot .. 7- Cancel .... ?- Help, - Back, - Refresh..> +3.1484491825 server 0x0a0a0a0d416d65726963616e20506f77657220436f6e76657273696f6e2020202020202020202020202020204e6574776f726b204d616e6167656d656e74204361726420414f5320202020202076322e372e300d0a28632920436f70797269676874203230303420416c6c2052696768747320526573657276656420205261636b205044552041505020202020202020202020202020202020202020202076322e372e330d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a4e616d652020202020203a205044552d424152202020202020202020202020202020202020202020202020202020202020202020202044617465203a2030382f31312f323031340d0a436f6e746163742020203a2020202020202020202020202020202020202020202020202020202020202020202020202020202020202054696d65203a2031363a33353a33360a0d4c6f636174696f6e20203a20425251204c61622c207261636b202339202d20726573657276656420666f7220636c757374657220202055736572203a204f75746c657420557365720a0d55702054696d652020203a2033342044617973203520486f7572732038204d696e75746573202020202020202020202020202020202053746174203a20502b204e2b20412b0d0a0d0a5377697463686564205261636b205044553a20436f6d6d756e69636174696f6e2045737461626c69736865640a0a0d2d2d2d2d2d2d2d20436f6e74726f6c20436f6e736f6c65202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d20446576696365204d616e616765720d0a2020202020322d204e6574776f726b0d0a2020202020332d2053797374656d0d0a2020202020342d204c6f676f75740d0a0d0a20202020203c4553433e2d204d61696e204d656e752c203c454e5445523e2d20526566726573680d0a3e20 #....American Power Conversion Network Management Card AOS v2.7.0..(c) Copyright 2004 All Rights Reserved Rack PDU APP v2.7.3..-------------------------------------------------------------------------------..Name : PDU-BAR Date : 08/11/2014..Contact : Time : 16:35:36..Location : BRQ Lab, rack #9 - reserved for cluster User : Outlet User..Up Time : 34 Days 5 Hours 8 Minutes Stat : P+ N+ A+....Switched Rack PDU: Communication Established...------- Control Console -------------------------------------------------------.... 1- Device Manager.. 2- Network.. 3- System.. 4- Logout.... - Main Menu, - Refresh..> +3.2012140751 client 0x310d0a #1.. +3.3028790951 server 0x310a0a0d2d2d2d2d2d2d2d20446576696365204d616e61676572202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d205068617365204d6f6e69746f720d0a2020202020322d204f75746c657420436f6e74726f6c0d0a2020202020332d20506f77657220537570706c79205374617475730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e20 #1...------- Device Manager --------------------------------------------------------.... 1- Phase Monitor.. 2- Outlet Control.. 3- Power Supply Status.... - Back, - Refresh..> +3.3551721573 client 0x320d0a #2.. +3.5533120632 server 0x320a0a0d2d2d2d2d2d2d2d204f75746c657420436f6e74726f6c202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d202d2020202020202020202020202020202020202020202020204f46460d0a2020202020322d20454d43202855505329202020202020202020202020202020204f4e0d0a2020202020332d20454d43202020202020202020202020202020202020202020204f4e0d0a2020202020342d20464320537769746368202020202020202020202020202020204f4e0d0a2020202020352d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020362d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020372d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020382d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020392d202d2020202020202020202020202020202020202020202020204f46460d0a2020202031302d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031312d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031322d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031332d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031342d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031352d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031362d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031372d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202031382d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031392d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032302d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032312d206261722d3032202020202020202020202020202020202020204f4e0d0a2020202032322d206261722d3032202020202020202020202020202020202020204f4e0d0a0d20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d2020202020202020202020202020202020202020202020202020202020202020202020200d2020202032332d206261722d3031202020202020 #2...------- Outlet Control --------------------------------------------------------.... 1- - OFF.. 2- EMC (UPS) ON.. 3- EMC ON.. 4- FC Switch ON.. 5- EqualLogic ON.. 6- EqualLogic ON.. 7- [nothing] ON.. 8- [nothing] ON.. 9- - OFF.. 10- Saturnin ON.. 11- Saturnin ON.. 12- [nothing] OFF.. 13- [nothing] OFF.. 14- bar-05 ON.. 15- bar-05 ON.. 16- bar-04 ON.. 17- - ON.. 18- bar-04 ON.. 19- bar-03 ON.. 20- bar-03 ON.. 21- bar-02 ON.. 22- bar-02 ON... Press to continue.... . 23- bar-01 +3.6058371067 client 0x0d0a #.. +3.8190891743 server 0x202020202020202020202020204f4e0d0a2020202032342d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032352d20414c4c2041636365737369626c65204f75746c6574730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e200a0a0d2d2d2d2d2d2d2d204f75746c657420436f6e74726f6c202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d202d2020202020202020202020202020202020202020202020204f46460d0a2020202020322d20454d43202855505329202020202020202020202020202020204f4e0d0a2020202020332d20454d43202020202020202020202020202020202020202020204f4e0d0a2020202020342d20464320537769746368202020202020202020202020202020204f4e0d0a2020202020352d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020362d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020372d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020382d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020392d202d2020202020202020202020202020202020202020202020204f46460d0a2020202031302d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031312d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031322d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031332d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031342d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031352d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031362d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031372d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202031382d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031392d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032302d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032312d206261722d3032202020202020202020202020202020202020204f4e0d0a2020202032322d # ON.. 24- bar-01 ON.. 25- ALL Accessible Outlets.... - Back, - Refresh..> ...------- Outlet Control --------------------------------------------------------.... 1- - OFF.. 2- EMC (UPS) ON.. 3- EMC ON.. 4- FC Switch ON.. 5- EqualLogic ON.. 6- EqualLogic ON.. 7- [nothing] ON.. 8- [nothing] ON.. 9- - OFF.. 10- Saturnin ON.. 11- Saturnin ON.. 12- [nothing] OFF.. 13- [nothing] OFF.. 14- bar-05 ON.. 15- bar-05 ON.. 16- bar-04 ON.. 17- - ON.. 18- bar-04 ON.. 19- bar-03 ON.. 20- bar-03 ON.. 21- bar-02 ON.. 22- +3.8711111546 client 0x0d0a #.. +3.9213659763 client 0x03 #. +4.0694720745 server 0x206261722d3032202020202020202020202020202020202020204f4e0d0a0d20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d2020202020202020202020202020202020202020202020202020202020202020202020200d2020202032332d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032342d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032352d20414c4c2041636365737369626c65204f75746c6574730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e200a0a0d2d2d2d2d2d2d2d204f75746c657420436f6e74726f6c202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d202d2020202020202020202020202020202020202020202020204f46460d0a2020202020322d20454d43202855505329202020202020202020202020202020204f4e0d0a2020202020332d20454d43202020202020202020202020202020202020202020204f4e0d0a2020202020342d20464320537769746368202020202020202020202020202020204f4e0d0a2020202020352d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020362d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020372d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020382d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020392d202d2020202020202020202020202020202020202020202020204f46460d0a2020202031302d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031312d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031322d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031332d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031342d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031352d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031362d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031372d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202031382d206261722d303420202020202020202020202020202020 # bar-02 ON... Press to continue.... . 23- bar-01 ON.. 24- bar-01 ON.. 25- ALL Accessible Outlets.... - Back, - Refresh..> ...------- Outlet Control --------------------------------------------------------.... 1- - OFF.. 2- EMC (UPS) ON.. 3- EMC ON.. 4- FC Switch ON.. 5- EqualLogic ON.. 6- EqualLogic ON.. 7- [nothing] ON.. 8- [nothing] ON.. 9- - OFF.. 10- Saturnin ON.. 11- Saturnin ON.. 12- [nothing] OFF.. 13- [nothing] OFF.. 14- bar-05 ON.. 15- bar-05 ON.. 16- bar-04 ON.. 17- - ON.. 18- bar-04 +4.3005349636 server 0x2020204f4e0d0a2020202031392d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032302d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032312d206261722d3032202020202020202020202020202020202020204f4e0d0a2020202032322d206261722d3032202020202020202020202020202020202020204f4e0d0a0d20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d2020202020202020202020202020202020202020202020202020202020202020202020200d2020202032332d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032342d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032352d20414c4c2041636365737369626c65204f75746c6574730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e200a0a0a0d416d65726963616e20506f77657220436f6e76657273696f6e2020202020202020202020202020204e6574776f726b204d616e6167656d656e74204361726420414f5320202020202076322e372e300d0a28632920436f70797269676874203230303420416c6c2052696768747320526573657276656420205261636b205044552041505020202020202020202020202020202020202020202076322e372e330d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a4e616d652020202020203a205044552d424152202020202020202020202020202020202020202020202020202020202020202020202044617465203a2030382f31312f323031340d0a436f6e746163742020203a2020202020202020202020202020202020202020202020202020202020202020202020202020202020202054696d65203a2031363a33353a33370a0d4c6f636174696f6e20203a20425251204c61622c207261636b202339202d20726573657276656420666f7220636c757374657220202055736572203a204f75746c657420557365720a0d55702054696d652020203a2033342044617973203520486f7572732038204d696e75746573202020202020202020202020202020202053746174203a20502b204e2b20412b0d0a0d0a5377697463686564205261636b205044553a20436f6d6d756e69636174696f6e2045737461626c69736865640a0a0d2d2d2d2d2d2d2d20436f6e74726f6c20436f6e736f6c65202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d # ON.. 19- bar-03 ON.. 20- bar-03 ON.. 21- bar-02 ON.. 22- bar-02 ON... Press to continue.... . 23- bar-01 ON.. 24- bar-01 ON.. 25- ALL Accessible Outlets.... - Back, - Refresh..> ....American Power Conversion Network Management Card AOS v2.7.0..(c) Copyright 2004 All Rights Reserved Rack PDU APP v2.7.3..-------------------------------------------------------------------------------..Name : PDU-BAR Date : 08/11/2014..Contact : Time : 16:35:37..Location : BRQ Lab, rack #9 - reserved for cluster User : Outlet User..Up Time : 34 Days 5 Hours 8 Minutes Stat : P+ N+ A+....Switched Rack PDU: Communication Established...------- Control Console --------------- +4.4164841175 server 0x2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d20446576696365204d616e616765720d0a2020202020322d204e6574776f726b0d0a2020202020332d2053797374656d0d0a2020202020342d204c6f676f75740d0a0d0a20202020203c4553433e2d204d61696e204d656e752c203c454e5445523e2d20526566726573680d0a3e20 #----------------------------------------.... 1- Device Manager.. 2- Network.. 3- System.. 4- Logout.... - Main Menu, - Refresh..> +4.4687070847 client 0x310d0a #1.. +4.5739951134 server 0x310a0a0d2d2d2d2d2d2d2d20446576696365204d616e61676572202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d205068617365204d6f6e69746f720d0a2020202020322d204f75746c657420436f6e74726f6c0d0a2020202020332d20506f77657220537570706c79205374617475730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e20 #1...------- Device Manager --------------------------------------------------------.... 1- Phase Monitor.. 2- Outlet Control.. 3- Power Supply Status.... - Back, - Refresh..> +4.6265890598 client 0x320d0a #2.. +4.8224670887 server 0x320a0a0d2d2d2d2d2d2d2d204f75746c657420436f6e74726f6c202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d202d2020202020202020202020202020202020202020202020204f46460d0a2020202020322d20454d43202855505329202020202020202020202020202020204f4e0d0a2020202020332d20454d43202020202020202020202020202020202020202020204f4e0d0a2020202020342d20464320537769746368202020202020202020202020202020204f4e0d0a2020202020352d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020362d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020372d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020382d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020392d202d2020202020202020202020202020202020202020202020204f46460d0a2020202031302d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031312d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031322d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031332d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031342d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031352d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031362d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031372d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202031382d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031392d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032302d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032312d206261722d3032202020202020202020202020202020202020204f4e0d0a2020202032322d206261722d3032202020202020202020202020202020202020204f4e0d0a0d20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d2020202020202020202020202020202020202020202020202020202020202020202020200d2020202032332d206261722d3031202020202020 #2...------- Outlet Control --------------------------------------------------------.... 1- - OFF.. 2- EMC (UPS) ON.. 3- EMC ON.. 4- FC Switch ON.. 5- EqualLogic ON.. 6- EqualLogic ON.. 7- [nothing] ON.. 8- [nothing] ON.. 9- - OFF.. 10- Saturnin ON.. 11- Saturnin ON.. 12- [nothing] OFF.. 13- [nothing] OFF.. 14- bar-05 ON.. 15- bar-05 ON.. 16- bar-04 ON.. 17- - ON.. 18- bar-04 ON.. 19- bar-03 ON.. 20- bar-03 ON.. 21- bar-02 ON.. 22- bar-02 ON... Press to continue.... . 23- bar-01 +4.8759989738 client 0x0d0a #.. +5.5716981888 server 0x202020202020202020202020204f4e0d0a2020202032342d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032352d20414c4c2041636365737369626c65204f75746c6574730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e200a0a0d2d2d2d2d2d2d2d204f75746c657420436f6e74726f6c202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d202d2020202020202020202020202020202020202020202020204f46460d0a2020202020322d20454d43202855505329202020202020202020202020202020204f4e0d0a2020202020332d20454d43202020202020202020202020202020202020202020204f4e0d0a2020202020342d20464320537769746368202020202020202020202020202020204f4e0d0a2020202020352d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020362d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020372d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020382d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020392d202d2020202020202020202020202020202020202020202020204f46460d0a2020202031302d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031312d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031322d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031332d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031342d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031352d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031362d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031372d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202031382d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031392d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032302d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032312d206261722d3032202020202020202020202020202020202020204f4e0d0a2020202032322d # ON.. 24- bar-01 ON.. 25- ALL Accessible Outlets.... - Back, - Refresh..> ...------- Outlet Control --------------------------------------------------------.... 1- - OFF.. 2- EMC (UPS) ON.. 3- EMC ON.. 4- FC Switch ON.. 5- EqualLogic ON.. 6- EqualLogic ON.. 7- [nothing] ON.. 8- [nothing] ON.. 9- - OFF.. 10- Saturnin ON.. 11- Saturnin ON.. 12- [nothing] OFF.. 13- [nothing] OFF.. 14- bar-05 ON.. 15- bar-05 ON.. 16- bar-04 ON.. 17- - ON.. 18- bar-04 ON.. 19- bar-03 ON.. 20- bar-03 ON.. 21- bar-02 ON.. 22- +5.6243510246 client 0x310d0a #1.. +6.1654109955 server 0x206261722d3032202020202020202020202020202020202020204f4e0d0a0d20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d2020202020202020202020202020202020202020202020202020202020202020202020200d2020202032332d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032342d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032352d20414c4c2041636365737369626c65204f75746c6574730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e20310a0a0d2d2d2d2d2d2d2d202d202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a20202020202020204e616d652020202020202020203a202d0d0a20202020202020204f75746c6574202020202020203a20310d0a2020202020202020537461746520202020202020203a204f46460d0a0d0a2020202020312d20496d6d656469617465204f6e20202020202020202020202020200d0a2020202020322d20496d6d656469617465204f6666202020202020202020202020200d0a2020202020332d20496d6d656469617465205265626f6f74202020202020202020200d0a2020202020342d2044656c61796564204f6e202020202020202020202020202020200d0a2020202020352d2044656c61796564204f66662020202020202020202020202020200d0a2020202020362d2044656c61796564205265626f6f742020202020202020202020200d0a2020202020372d2043616e63656c20202020202020202020202020202020202020200d0a0d0a20202020203f2d2048656c702c203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e20 # bar-02 ON... Press to continue.... . 23- bar-01 ON.. 24- bar-01 ON.. 25- ALL Accessible Outlets.... - Back, - Refresh..> 1...------- - ---------------------------------------------------------------------.... Name : -.. Outlet : 1.. State : OFF.... 1- Immediate On .. 2- Immediate Off .. 3- Immediate Reboot .. 4- Delayed On .. 5- Delayed Off .. 6- Delayed Reboot .. 7- Cancel .... ?- Help, - Back, - Refresh..> +6.2175550461 client 0x310d0a #1.. +6.2828969955 server 0x310d0a20202020202020202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a2020202020202020496d6d656469617465204f6e20202020202020202020202020200d0a0d0a20202020202020205468697320636f6d6d616e642077696c6c20696d6d6564696174656c79207475726e0d0a20202020202020206f75746c65742031206e616d656420272d27204f4e2e0d0a0d0a2020202020202020456e74657220275945532720746f20636f6e74696e7565206f72203c454e5445523e20746f2063616e63656c203a20 #1.. -----------------------------------------------------------------------.. Immediate On .... This command will immediately turn.. outlet 1 named '-' ON..... Enter 'YES' to continue or to cancel : +6.3353931904 client 0x5945530d0a #YES.. +6.5034971237 server 0x5945530d0a2020202020202020436f6d6d616e64207375636365737366756c6c79206973737565642e0d0a0d0a20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d0a0a0a0d2d2d2d2d2d2d2d202d202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a20202020202020204e616d652020202020202020203a202d0d0a20202020202020204f75746c6574202020202020203a20310d0a2020202020202020537461746520202020202020203a204f4e0d0a0d0a2020202020312d20496d6d656469617465204f6e20202020202020202020202020200d0a2020202020322d20496d6d656469617465204f6666202020202020202020202020200d0a2020202020332d20496d6d656469617465205265626f6f74202020202020202020200d0a2020202020342d2044656c61796564204f6e202020202020202020202020202020200d0a2020202020352d2044656c61796564204f66662020202020202020202020202020200d0a2020202020362d2044656c61796564205265626f6f742020202020202020202020200d0a2020202020372d2043616e63656c20202020202020202020202020202020202020200d0a0d0a20202020203f2d2048656c702c203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e20 #YES.. Command successfully issued..... Press to continue........------- - ---------------------------------------------------------------------.... Name : -.. Outlet : 1.. State : ON.... 1- Immediate On .. 2- Immediate Off .. 3- Immediate Reboot .. 4- Delayed On .. 5- Delayed Off .. 6- Delayed Reboot .. 7- Cancel .... ?- Help, - Back, - Refresh..> +6.5558459759 client 0x0d0a #.. +6.6058681011 client 0x03 #. +6.6489369869 server 0x0a0a0d2d2d2d2d2d2d2d202d202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a20202020202020204e616d652020202020202020203a202d0d0a20202020202020204f75746c6574202020202020203a20310d0a2020202020202020537461746520202020202020203a204f4e0d0a0d0a2020202020312d20496d6d656469617465204f6e20202020202020202020202020200d0a2020202020322d20496d6d656469617465204f6666202020202020202020202020200d0a2020202020332d20496d6d656469617465205265626f6f74202020202020202020200d0a2020202020342d2044656c61796564204f6e202020202020202020202020202020200d0a2020202020352d2044656c61796564204f66662020202020202020202020202020200d0a2020202020362d2044656c61796564205265626f6f742020202020202020202020200d0a2020202020372d2043616e63656c20202020202020202020202020202020202020200d0a0d0a20202020203f2d2048656c702c203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e20 #...------- - ---------------------------------------------------------------------.... Name : -.. Outlet : 1.. State : ON.... 1- Immediate On .. 2- Immediate Off .. 3- Immediate Reboot .. 4- Delayed On .. 5- Delayed Off .. 6- Delayed Reboot .. 7- Cancel .... ?- Help, - Back, - Refresh..> +6.7828090191 server 0x0a0a0a0d416d65726963616e20506f77657220436f6e76657273696f6e2020202020202020202020202020204e6574776f726b204d616e6167656d656e74204361726420414f5320202020202076322e372e300d0a28632920436f70797269676874203230303420416c6c2052696768747320526573657276656420205261636b205044552041505020202020202020202020202020202020202020202076322e372e330d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a4e616d652020202020203a205044552d424152202020202020202020202020202020202020202020202020202020202020202020202044617465203a2030382f31312f323031340d0a436f6e746163742020203a2020202020202020202020202020202020202020202020202020202020202020202020202020202020202054696d65203a2031363a33353a34300a0d4c6f636174696f6e20203a20425251204c61622c207261636b202339202d20726573657276656420666f7220636c757374657220202055736572203a204f75746c657420557365720a0d55702054696d652020203a2033342044617973203520486f7572732038204d696e75746573202020202020202020202020202020202053746174203a20502b204e2b20412b0d0a0d0a5377697463686564205261636b205044553a20436f6d6d756e69636174696f6e2045737461626c69736865640a0a0d2d2d2d2d2d2d2d20436f6e74726f6c20436f6e736f6c65202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d20446576696365204d616e616765720d0a2020202020322d204e6574776f726b0d0a2020202020332d2053797374656d0d0a2020202020342d204c6f676f75740d0a0d0a20202020203c4553433e2d204d61696e204d656e752c203c454e5445523e2d20526566726573680d0a3e20 #....American Power Conversion Network Management Card AOS v2.7.0..(c) Copyright 2004 All Rights Reserved Rack PDU APP v2.7.3..-------------------------------------------------------------------------------..Name : PDU-BAR Date : 08/11/2014..Contact : Time : 16:35:40..Location : BRQ Lab, rack #9 - reserved for cluster User : Outlet User..Up Time : 34 Days 5 Hours 8 Minutes Stat : P+ N+ A+....Switched Rack PDU: Communication Established...------- Control Console -------------------------------------------------------.... 1- Device Manager.. 2- Network.. 3- System.. 4- Logout.... - Main Menu, - Refresh..> +6.8353819847 client 0x310d0a #1.. +6.9369339943 server 0x310a0a0d2d2d2d2d2d2d2d20446576696365204d616e61676572202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d205068617365204d6f6e69746f720d0a2020202020322d204f75746c657420436f6e74726f6c0d0a2020202020332d20506f77657220537570706c79205374617475730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e20 #1...------- Device Manager --------------------------------------------------------.... 1- Phase Monitor.. 2- Outlet Control.. 3- Power Supply Status.... - Back, - Refresh..> +6.9887120724 client 0x320d0a #2.. +7.1946370602 server 0x320a0a0d2d2d2d2d2d2d2d204f75746c657420436f6e74726f6c202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202020322d20454d43202855505329202020202020202020202020202020204f4e0d0a2020202020332d20454d43202020202020202020202020202020202020202020204f4e0d0a2020202020342d20464320537769746368202020202020202020202020202020204f4e0d0a2020202020352d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020362d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020372d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020382d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020392d202d2020202020202020202020202020202020202020202020204f46460d0a2020202031302d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031312d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031322d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031332d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031342d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031352d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031362d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031372d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202031382d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031392d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032302d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032312d206261722d3032202020202020202020202020202020202020204f4e0d0a2020202032322d206261722d3032202020202020202020202020202020202020204f4e0d0a0d20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d2020202020202020202020202020202020202020202020202020202020202020202020200d2020202032332d206261722d303120202020202020 #2...------- Outlet Control --------------------------------------------------------.... 1- - ON.. 2- EMC (UPS) ON.. 3- EMC ON.. 4- FC Switch ON.. 5- EqualLogic ON.. 6- EqualLogic ON.. 7- [nothing] ON.. 8- [nothing] ON.. 9- - OFF.. 10- Saturnin ON.. 11- Saturnin ON.. 12- [nothing] OFF.. 13- [nothing] OFF.. 14- bar-05 ON.. 15- bar-05 ON.. 16- bar-04 ON.. 17- - ON.. 18- bar-04 ON.. 19- bar-03 ON.. 20- bar-03 ON.. 21- bar-02 ON.. 22- bar-02 ON... Press to continue.... . 23- bar-01 +7.2470071316 client 0x0d0a #.. +7.4591891766 server 0x2020202020202020202020204f4e0d0a2020202032342d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032352d20414c4c2041636365737369626c65204f75746c6574730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e200a0a0d2d2d2d2d2d2d2d204f75746c657420436f6e74726f6c202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202020322d20454d43202855505329202020202020202020202020202020204f4e0d0a2020202020332d20454d43202020202020202020202020202020202020202020204f4e0d0a2020202020342d20464320537769746368202020202020202020202020202020204f4e0d0a2020202020352d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020362d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020372d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020382d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020392d202d2020202020202020202020202020202020202020202020204f46460d0a2020202031302d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031312d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031322d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031332d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031342d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031352d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031362d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031372d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202031382d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031392d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032302d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032312d206261722d3032202020202020202020202020202020202020204f4e0d0a2020202032322d2062 # ON.. 24- bar-01 ON.. 25- ALL Accessible Outlets.... - Back, - Refresh..> ...------- Outlet Control --------------------------------------------------------.... 1- - ON.. 2- EMC (UPS) ON.. 3- EMC ON.. 4- FC Switch ON.. 5- EqualLogic ON.. 6- EqualLogic ON.. 7- [nothing] ON.. 8- [nothing] ON.. 9- - OFF.. 10- Saturnin ON.. 11- Saturnin ON.. 12- [nothing] OFF.. 13- [nothing] OFF.. 14- bar-05 ON.. 15- bar-05 ON.. 16- bar-04 ON.. 17- - ON.. 18- bar-04 ON.. 19- bar-03 ON.. 20- bar-03 ON.. 21- bar-02 ON.. 22- b +7.5117349625 client 0x0d0a #.. +7.5621170998 client 0x03 #. +7.7122750282 server 0x61722d3032202020202020202020202020202020202020204f4e0d0a0d20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d2020202020202020202020202020202020202020202020202020202020202020202020200d2020202032332d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032342d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032352d20414c4c2041636365737369626c65204f75746c6574730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e200a0a0d2d2d2d2d2d2d2d204f75746c657420436f6e74726f6c202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202020322d20454d43202855505329202020202020202020202020202020204f4e0d0a2020202020332d20454d43202020202020202020202020202020202020202020204f4e0d0a2020202020342d20464320537769746368202020202020202020202020202020204f4e0d0a2020202020352d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020362d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020372d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020382d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020392d202d2020202020202020202020202020202020202020202020204f46460d0a2020202031302d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031312d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031322d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031332d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031342d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031352d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031362d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031372d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202031382d206261722d303420202020202020202020202020202020202020 #ar-02 ON... Press to continue.... . 23- bar-01 ON.. 24- bar-01 ON.. 25- ALL Accessible Outlets.... - Back, - Refresh..> ...------- Outlet Control --------------------------------------------------------.... 1- - ON.. 2- EMC (UPS) ON.. 3- EMC ON.. 4- FC Switch ON.. 5- EqualLogic ON.. 6- EqualLogic ON.. 7- [nothing] ON.. 8- [nothing] ON.. 9- - OFF.. 10- Saturnin ON.. 11- Saturnin ON.. 12- [nothing] OFF.. 13- [nothing] OFF.. 14- bar-05 ON.. 15- bar-05 ON.. 16- bar-04 ON.. 17- - ON.. 18- bar-04 +7.9471471310 server 0x4f4e0d0a2020202031392d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032302d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032312d206261722d3032202020202020202020202020202020202020204f4e0d0a2020202032322d206261722d3032202020202020202020202020202020202020204f4e0d0a0d20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d2020202020202020202020202020202020202020202020202020202020202020202020200d2020202032332d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032342d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032352d20414c4c2041636365737369626c65204f75746c6574730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e200a0a0a0d416d65726963616e20506f77657220436f6e76657273696f6e2020202020202020202020202020204e6574776f726b204d616e6167656d656e74204361726420414f5320202020202076322e372e300d0a28632920436f70797269676874203230303420416c6c2052696768747320526573657276656420205261636b205044552041505020202020202020202020202020202020202020202076322e372e330d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a4e616d652020202020203a205044552d424152202020202020202020202020202020202020202020202020202020202020202020202044617465203a2030382f31312f323031340d0a436f6e746163742020203a2020202020202020202020202020202020202020202020202020202020202020202020202020202020202054696d65203a2031363a33353a34310a0d4c6f636174696f6e20203a20425251204c61622c207261636b202339202d20726573657276656420666f7220636c757374657220202055736572203a204f75746c657420557365720a0d55702054696d652020203a2033342044617973203520486f7572732038204d696e75746573202020202020202020202020202020202053746174203a20502b204e2b20412b0d0a0d0a5377697463686564205261636b205044553a20436f6d6d756e69636174696f6e2045737461626c69736865640a0a0d2d2d2d2d2d2d2d20436f6e74726f6c20436f6e736f6c65202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d #ON.. 19- bar-03 ON.. 20- bar-03 ON.. 21- bar-02 ON.. 22- bar-02 ON... Press to continue.... . 23- bar-01 ON.. 24- bar-01 ON.. 25- ALL Accessible Outlets.... - Back, - Refresh..> ....American Power Conversion Network Management Card AOS v2.7.0..(c) Copyright 2004 All Rights Reserved Rack PDU APP v2.7.3..-------------------------------------------------------------------------------..Name : PDU-BAR Date : 08/11/2014..Contact : Time : 16:35:41..Location : BRQ Lab, rack #9 - reserved for cluster User : Outlet User..Up Time : 34 Days 5 Hours 8 Minutes Stat : P+ N+ A+....Switched Rack PDU: Communication Established...------- Control Console ------------------ +8.0603120327 server 0x2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d20446576696365204d616e616765720d0a2020202020322d204e6574776f726b0d0a2020202020332d2053797374656d0d0a2020202020342d204c6f676f75740d0a0d0a20202020203c4553433e2d204d61696e204d656e752c203c454e5445523e2d20526566726573680d0a3e20 #-------------------------------------.... 1- Device Manager.. 2- Network.. 3- System.. 4- Logout.... - Main Menu, - Refresh..> diff --git a/tests/data/mitm-logs/apc/ssh-user/status-off.log b/tests/data/mitm-logs/apc/ssh-user/status-off.log new file mode 100644 index 000000000..e367be5d0 --- /dev/null +++ b/tests/data/mitm-logs/apc/ssh-user/status-off.log @@ -0,0 +1,12 @@ +0.0000009537 server 0x0a0a0a0d416d65726963616e20506f77657220436f6e76657273696f6e2020202020202020202020202020204e6574776f726b204d616e6167656d656e74204361726420414f5320202020202076322e372e300d0a28632920436f70797269676874203230303420416c6c2052696768747320526573657276656420205261636b205044552041505020202020202020202020202020202020202020202076322e372e330d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a4e616d652020202020203a205044552d424152202020202020202020202020202020202020202020202020202020202020202020202044617465203a2030382f31312f323031340d0a436f6e746163742020203a2020202020202020202020202020202020202020202020202020202020202020202020202020202020202054696d65203a2031363a33383a33330a0d4c6f636174696f6e20203a20425251204c61622c207261636b202339202d20726573657276656420666f7220636c757374657220202055736572203a204f75746c657420557365720a0d55702054696d652020203a2033342044617973203520486f757273203131204d696e757465732020202020202020202020202020202053746174203a20502b204e2b20412b0d0a0d0a5377697463686564205261636b205044553a20436f6d6d756e69636174696f6e2045737461626c69736865640a0a0d2d2d2d2d2d2d2d20436f6e74726f6c20436f6e736f6c65202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d20446576696365204d616e616765720d0a2020202020322d204e6574776f726b0d0a2020202020332d2053797374656d0d0a2020202020342d204c6f676f75740d0a0d0a20202020203c4553433e2d204d61696e204d656e752c203c454e5445523e2d20526566726573680d0a3e20 #....American Power Conversion Network Management Card AOS v2.7.0..(c) Copyright 2004 All Rights Reserved Rack PDU APP v2.7.3..-------------------------------------------------------------------------------..Name : PDU-BAR Date : 08/11/2014..Contact : Time : 16:38:33..Location : BRQ Lab, rack #9 - reserved for cluster User : Outlet User..Up Time : 34 Days 5 Hours 11 Minutes Stat : P+ N+ A+....Switched Rack PDU: Communication Established...------- Control Console -------------------------------------------------------.... 1- Device Manager.. 2- Network.. 3- System.. 4- Logout.... - Main Menu, - Refresh..> +0.0536310673 client 0x310d0a #1.. +0.1547870636 server 0x310a0a0d2d2d2d2d2d2d2d20446576696365204d616e61676572202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d205068617365204d6f6e69746f720d0a2020202020322d204f75746c657420436f6e74726f6c0d0a2020202020332d20506f77657220537570706c79205374617475730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e20 #1...------- Device Manager --------------------------------------------------------.... 1- Phase Monitor.. 2- Outlet Control.. 3- Power Supply Status.... - Back, - Refresh..> +0.2093031406 client 0x320d0a #2.. +0.4058711529 server 0x320a0a0d2d2d2d2d2d2d2d204f75746c657420436f6e74726f6c202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d202d2020202020202020202020202020202020202020202020204f46460d0a2020202020322d20454d43202855505329202020202020202020202020202020204f4e0d0a2020202020332d20454d43202020202020202020202020202020202020202020204f4e0d0a2020202020342d20464320537769746368202020202020202020202020202020204f4e0d0a2020202020352d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020362d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020372d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020382d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020392d202d2020202020202020202020202020202020202020202020204f46460d0a2020202031302d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031312d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031322d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031332d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031342d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031352d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031362d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031372d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202031382d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031392d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032302d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032312d206261722d3032202020202020202020202020202020202020204f4e0d0a2020202032322d206261722d3032202020202020202020202020202020202020204f4e0d0a0d20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d2020202020202020202020202020202020202020202020202020202020202020202020200d2020202032332d206261722d3031202020202020 #2...------- Outlet Control --------------------------------------------------------.... 1- - OFF.. 2- EMC (UPS) ON.. 3- EMC ON.. 4- FC Switch ON.. 5- EqualLogic ON.. 6- EqualLogic ON.. 7- [nothing] ON.. 8- [nothing] ON.. 9- - OFF.. 10- Saturnin ON.. 11- Saturnin ON.. 12- [nothing] OFF.. 13- [nothing] OFF.. 14- bar-05 ON.. 15- bar-05 ON.. 16- bar-04 ON.. 17- - ON.. 18- bar-04 ON.. 19- bar-03 ON.. 20- bar-03 ON.. 21- bar-02 ON.. 22- bar-02 ON... Press to continue.... . 23- bar-01 +0.4591591358 client 0x0d0a #.. +0.6733131409 server 0x202020202020202020202020204f4e0d0a2020202032342d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032352d20414c4c2041636365737369626c65204f75746c6574730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e200a0a0d2d2d2d2d2d2d2d204f75746c657420436f6e74726f6c202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d202d2020202020202020202020202020202020202020202020204f46460d0a2020202020322d20454d43202855505329202020202020202020202020202020204f4e0d0a2020202020332d20454d43202020202020202020202020202020202020202020204f4e0d0a2020202020342d20464320537769746368202020202020202020202020202020204f4e0d0a2020202020352d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020362d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020372d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020382d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020392d202d2020202020202020202020202020202020202020202020204f46460d0a2020202031302d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031312d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031322d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031332d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031342d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031352d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031362d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031372d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202031382d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031392d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032302d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032312d206261722d3032202020202020202020202020202020202020204f4e0d0a2020202032322d # ON.. 24- bar-01 ON.. 25- ALL Accessible Outlets.... - Back, - Refresh..> ...------- Outlet Control --------------------------------------------------------.... 1- - OFF.. 2- EMC (UPS) ON.. 3- EMC ON.. 4- FC Switch ON.. 5- EqualLogic ON.. 6- EqualLogic ON.. 7- [nothing] ON.. 8- [nothing] ON.. 9- - OFF.. 10- Saturnin ON.. 11- Saturnin ON.. 12- [nothing] OFF.. 13- [nothing] OFF.. 14- bar-05 ON.. 15- bar-05 ON.. 16- bar-04 ON.. 17- - ON.. 18- bar-04 ON.. 19- bar-03 ON.. 20- bar-03 ON.. 21- bar-02 ON.. 22- +0.7261059284 client 0x0d0a #.. +0.7764570713 client 0x03 #. +0.9265871048 server 0x206261722d3032202020202020202020202020202020202020204f4e0d0a0d20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d2020202020202020202020202020202020202020202020202020202020202020202020200d2020202032332d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032342d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032352d20414c4c2041636365737369626c65204f75746c6574730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e200a0a0d2d2d2d2d2d2d2d204f75746c657420436f6e74726f6c202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d202d2020202020202020202020202020202020202020202020204f46460d0a2020202020322d20454d43202855505329202020202020202020202020202020204f4e0d0a2020202020332d20454d43202020202020202020202020202020202020202020204f4e0d0a2020202020342d20464320537769746368202020202020202020202020202020204f4e0d0a2020202020352d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020362d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020372d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020382d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020392d202d2020202020202020202020202020202020202020202020204f46460d0a2020202031302d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031312d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031322d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031332d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031342d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031352d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031362d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031372d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202031382d206261722d303420202020202020202020202020202020 # bar-02 ON... Press to continue.... . 23- bar-01 ON.. 24- bar-01 ON.. 25- ALL Accessible Outlets.... - Back, - Refresh..> ...------- Outlet Control --------------------------------------------------------.... 1- - OFF.. 2- EMC (UPS) ON.. 3- EMC ON.. 4- FC Switch ON.. 5- EqualLogic ON.. 6- EqualLogic ON.. 7- [nothing] ON.. 8- [nothing] ON.. 9- - OFF.. 10- Saturnin ON.. 11- Saturnin ON.. 12- [nothing] OFF.. 13- [nothing] OFF.. 14- bar-05 ON.. 15- bar-05 ON.. 16- bar-04 ON.. 17- - ON.. 18- bar-04 +1.1544470787 server 0x2020204f4e0d0a2020202031392d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032302d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032312d206261722d3032202020202020202020202020202020202020204f4e0d0a2020202032322d206261722d3032202020202020202020202020202020202020204f4e0d0a0d20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d2020202020202020202020202020202020202020202020202020202020202020202020200d2020202032332d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032342d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032352d20414c4c2041636365737369626c65204f75746c6574730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e200a0a0a0d416d65726963616e20506f77657220436f6e76657273696f6e2020202020202020202020202020204e6574776f726b204d616e6167656d656e74204361726420414f5320202020202076322e372e300d0a28632920436f70797269676874203230303420416c6c2052696768747320526573657276656420205261636b205044552041505020202020202020202020202020202020202020202076322e372e330d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a4e616d652020202020203a205044552d424152202020202020202020202020202020202020202020202020202020202020202020202044617465203a2030382f31312f323031340d0a436f6e746163742020203a2020202020202020202020202020202020202020202020202020202020202020202020202020202020202054696d65203a2031363a33383a33340a0d4c6f636174696f6e20203a20425251204c61622c207261636b202339202d20726573657276656420666f7220636c757374657220202055736572203a204f75746c657420557365720a0d55702054696d652020203a2033342044617973203520486f757273203131204d696e757465732020202020202020202020202020202053746174203a20502b204e2b20412b0d0a0d0a5377697463686564205261636b205044553a20436f6d6d756e69636174696f6e2045737461626c69736865640a0a0d2d2d2d2d2d2d2d20436f6e74726f6c20436f6e736f6c65202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d # ON.. 19- bar-03 ON.. 20- bar-03 ON.. 21- bar-02 ON.. 22- bar-02 ON... Press to continue.... . 23- bar-01 ON.. 24- bar-01 ON.. 25- ALL Accessible Outlets.... - Back, - Refresh..> ....American Power Conversion Network Management Card AOS v2.7.0..(c) Copyright 2004 All Rights Reserved Rack PDU APP v2.7.3..-------------------------------------------------------------------------------..Name : PDU-BAR Date : 08/11/2014..Contact : Time : 16:38:34..Location : BRQ Lab, rack #9 - reserved for cluster User : Outlet User..Up Time : 34 Days 5 Hours 11 Minutes Stat : P+ N+ A+....Switched Rack PDU: Communication Established...------- Control Console --------------- +1.2727770805 server 0x2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d20446576696365204d616e616765720d0a2020202020322d204e6574776f726b0d0a2020202020332d2053797374656d0d0a2020202020342d204c6f676f75740d0a0d0a20202020203c4553433e2d204d61696e204d656e752c203c454e5445523e2d20526566726573680d0a3e20 #----------------------------------------.... 1- Device Manager.. 2- Network.. 3- System.. 4- Logout.... - Main Menu, - Refresh..> diff --git a/tests/data/mitm-logs/apc/ssh-user/status-on.log b/tests/data/mitm-logs/apc/ssh-user/status-on.log new file mode 100644 index 000000000..b3df618b7 --- /dev/null +++ b/tests/data/mitm-logs/apc/ssh-user/status-on.log @@ -0,0 +1,12 @@ +0.0000021458 server 0x0a0a0a0d416d65726963616e20506f77657220436f6e76657273696f6e2020202020202020202020202020204e6574776f726b204d616e6167656d656e74204361726420414f5320202020202076322e372e300d0a28632920436f70797269676874203230303420416c6c2052696768747320526573657276656420205261636b205044552041505020202020202020202020202020202020202020202076322e372e330d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a4e616d652020202020203a205044552d424152202020202020202020202020202020202020202020202020202020202020202020202044617465203a2030382f31312f323031340d0a436f6e746163742020203a2020202020202020202020202020202020202020202020202020202020202020202020202020202020202054696d65203a2031353a30363a35340a0d4c6f636174696f6e20203a20425251204c61622c207261636b202339202d20726573657276656420666f7220636c757374657220202055736572203a204f75746c657420557365720a0d55702054696d652020203a2033342044617973203320486f757273203339204d696e757465732020202020202020202020202020202053746174203a20502b204e2b20412b0d0a0d0a5377697463686564205261636b205044553a20436f6d6d756e69636174696f6e2045737461626c69736865640a0a0d2d2d2d2d2d2d2d20436f6e74726f6c20436f6e736f6c65202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d20446576696365204d616e616765720d0a2020202020322d204e6574776f726b0d0a2020202020332d2053797374656d0d0a2020202020342d204c6f676f75740d0a0d0a20202020203c4553433e2d204d61696e204d656e752c203c454e5445523e2d20526566726573680d0a3e20 #....American Power Conversion Network Management Card AOS v2.7.0..(c) Copyright 2004 All Rights Reserved Rack PDU APP v2.7.3..-------------------------------------------------------------------------------..Name : PDU-BAR Date : 08/11/2014..Contact : Time : 15:06:54..Location : BRQ Lab, rack #9 - reserved for cluster User : Outlet User..Up Time : 34 Days 3 Hours 39 Minutes Stat : P+ N+ A+....Switched Rack PDU: Communication Established...------- Control Console -------------------------------------------------------.... 1- Device Manager.. 2- Network.. 3- System.. 4- Logout.... - Main Menu, - Refresh..> +0.0556550026 client 0x310d0a #1.. +0.1538040638 server 0x310a0a0d2d2d2d2d2d2d2d20446576696365204d616e61676572202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d205068617365204d6f6e69746f720d0a2020202020322d204f75746c657420436f6e74726f6c0d0a2020202020332d20506f77657220537570706c79205374617475730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e20 #1...------- Device Manager --------------------------------------------------------.... 1- Phase Monitor.. 2- Outlet Control.. 3- Power Supply Status.... - Back, - Refresh..> +0.2082490921 client 0x320d0a #2.. +0.4066820145 server 0x320a0a0d2d2d2d2d2d2d2d204f75746c657420436f6e74726f6c202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202020322d20454d43202855505329202020202020202020202020202020204f4e0d0a2020202020332d20454d43202020202020202020202020202020202020202020204f4e0d0a2020202020342d20464320537769746368202020202020202020202020202020204f4e0d0a2020202020352d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020362d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020372d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020382d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020392d202d2020202020202020202020202020202020202020202020204f46460d0a2020202031302d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031312d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031322d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031332d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031342d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031352d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031362d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031372d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202031382d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031392d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032302d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032312d206261722d3032202020202020202020202020202020202020204f4e0d0a2020202032322d206261722d3032202020202020202020202020202020202020204f4e0d0a0d20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d2020202020202020202020202020202020202020202020202020202020202020202020200d2020202032332d206261722d303120202020202020 #2...------- Outlet Control --------------------------------------------------------.... 1- - ON.. 2- EMC (UPS) ON.. 3- EMC ON.. 4- FC Switch ON.. 5- EqualLogic ON.. 6- EqualLogic ON.. 7- [nothing] ON.. 8- [nothing] ON.. 9- - OFF.. 10- Saturnin ON.. 11- Saturnin ON.. 12- [nothing] OFF.. 13- [nothing] OFF.. 14- bar-05 ON.. 15- bar-05 ON.. 16- bar-04 ON.. 17- - ON.. 18- bar-04 ON.. 19- bar-03 ON.. 20- bar-03 ON.. 21- bar-02 ON.. 22- bar-02 ON... Press to continue.... . 23- bar-01 +0.4609460831 client 0x0d0a #.. +0.6601610184 server 0x2020202020202020202020204f4e0d0a2020202032342d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032352d20414c4c2041636365737369626c65204f75746c6574730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e200a0a0d2d2d2d2d2d2d2d204f75746c657420436f6e74726f6c202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202020322d20454d43202855505329202020202020202020202020202020204f4e0d0a2020202020332d20454d43202020202020202020202020202020202020202020204f4e0d0a2020202020342d20464320537769746368202020202020202020202020202020204f4e0d0a2020202020352d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020362d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020372d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020382d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020392d202d2020202020202020202020202020202020202020202020204f46460d0a2020202031302d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031312d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031322d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031332d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031342d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031352d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031362d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031372d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202031382d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031392d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032302d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032312d206261722d3032202020202020202020202020202020202020204f4e0d0a2020202032322d2062 # ON.. 24- bar-01 ON.. 25- ALL Accessible Outlets.... - Back, - Refresh..> ...------- Outlet Control --------------------------------------------------------.... 1- - ON.. 2- EMC (UPS) ON.. 3- EMC ON.. 4- FC Switch ON.. 5- EqualLogic ON.. 6- EqualLogic ON.. 7- [nothing] ON.. 8- [nothing] ON.. 9- - OFF.. 10- Saturnin ON.. 11- Saturnin ON.. 12- [nothing] OFF.. 13- [nothing] OFF.. 14- bar-05 ON.. 15- bar-05 ON.. 16- bar-04 ON.. 17- - ON.. 18- bar-04 ON.. 19- bar-03 ON.. 20- bar-03 ON.. 21- bar-02 ON.. 22- b +0.7139239311 client 0x0d0a #.. +0.7647180557 client 0x03 #. +0.9245150089 server 0x61722d3032202020202020202020202020202020202020204f4e0d0a0d20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d2020202020202020202020202020202020202020202020202020202020202020202020200d2020202032332d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032342d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032352d20414c4c2041636365737369626c65204f75746c6574730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e200a0a0d2d2d2d2d2d2d2d204f75746c657420436f6e74726f6c202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202020322d20454d43202855505329202020202020202020202020202020204f4e0d0a2020202020332d20454d43202020202020202020202020202020202020202020204f4e0d0a2020202020342d20464320537769746368202020202020202020202020202020204f4e0d0a2020202020352d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020362d20457175616c4c6f6769632020202020202020202020202020204f4e0d0a2020202020372d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020382d205b6e6f7468696e675d202020202020202020202020202020204f4e0d0a2020202020392d202d2020202020202020202020202020202020202020202020204f46460d0a2020202031302d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031312d2053617475726e696e20202020202020202020202020202020204f4e0d0a2020202031322d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031332d205b6e6f7468696e675d202020202020202020202020202020204f46460d0a2020202031342d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031352d206261722d3035202020202020202020202020202020202020204f4e0d0a2020202031362d206261722d3034202020202020202020202020202020202020204f4e0d0a2020202031372d202d2020202020202020202020202020202020202020202020204f4e0d0a2020202031382d206261722d303420202020202020202020202020202020202020 #ar-02 ON... Press to continue.... . 23- bar-01 ON.. 24- bar-01 ON.. 25- ALL Accessible Outlets.... - Back, - Refresh..> ...------- Outlet Control --------------------------------------------------------.... 1- - ON.. 2- EMC (UPS) ON.. 3- EMC ON.. 4- FC Switch ON.. 5- EqualLogic ON.. 6- EqualLogic ON.. 7- [nothing] ON.. 8- [nothing] ON.. 9- - OFF.. 10- Saturnin ON.. 11- Saturnin ON.. 12- [nothing] OFF.. 13- [nothing] OFF.. 14- bar-05 ON.. 15- bar-05 ON.. 16- bar-04 ON.. 17- - ON.. 18- bar-04 +1.4699161053 server 0x4f4e0d0a2020202031392d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032302d206261722d3033202020202020202020202020202020202020204f4e0d0a2020202032312d206261722d3032202020202020202020202020202020202020204f4e0d0a2020202032322d206261722d3032202020202020202020202020202020202020204f4e0d0a0d20202020202020205072657373203c454e5445523e20746f20636f6e74696e75652e2e2e0d2020202020202020202020202020202020202020202020202020202020202020202020200d2020202032332d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032342d206261722d3031202020202020202020202020202020202020204f4e0d0a2020202032352d20414c4c2041636365737369626c65204f75746c6574730d0a0d0a20202020203c4553433e2d204261636b2c203c454e5445523e2d20526566726573680d0a3e200a0a0a0d416d65726963616e20506f77657220436f6e76657273696f6e2020202020202020202020202020204e6574776f726b204d616e6167656d656e74204361726420414f5320202020202076322e372e300d0a28632920436f70797269676874203230303420416c6c2052696768747320526573657276656420205261636b205044552041505020202020202020202020202020202020202020202076322e372e330d0a2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a4e616d652020202020203a205044552d424152202020202020202020202020202020202020202020202020202020202020202020202044617465203a2030382f31312f323031340d0a436f6e746163742020203a2020202020202020202020202020202020202020202020202020202020202020202020202020202020202054696d65203a2031353a30363a35350a0d4c6f636174696f6e20203a20425251204c61622c207261636b202339202d20726573657276656420666f7220636c757374657220202055736572203a204f75746c657420557365720a0d55702054696d652020203a2033342044617973203320486f757273203339204d696e757465732020202020202020202020202020202053746174203a20502b204e2b20412b0d0a0d0a5377697463686564205261636b205044553a20436f6d6d756e69636174696f6e2045737461626c69736865640a0a0d2d2d2d2d2d2d2d20436f6e74726f6c20436f6e736f6c65202d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d #ON.. 19- bar-03 ON.. 20- bar-03 ON.. 21- bar-02 ON.. 22- bar-02 ON... Press to continue.... . 23- bar-01 ON.. 24- bar-01 ON.. 25- ALL Accessible Outlets.... - Back, - Refresh..> ....American Power Conversion Network Management Card AOS v2.7.0..(c) Copyright 2004 All Rights Reserved Rack PDU APP v2.7.3..-------------------------------------------------------------------------------..Name : PDU-BAR Date : 08/11/2014..Contact : Time : 15:06:55..Location : BRQ Lab, rack #9 - reserved for cluster User : Outlet User..Up Time : 34 Days 3 Hours 39 Minutes Stat : P+ N+ A+....Switched Rack PDU: Communication Established...------- Control Console ------------------ +1.5116031170 server 0x2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d0d0a0d0a2020202020312d20446576696365204d616e616765720d0a2020202020322d204e6574776f726b0d0a2020202020332d2053797374656d0d0a2020202020342d204c6f676f75740d0a0d0a20202020203c4553433e2d204d61696e204d656e752c203c454e5445523e2d20526566726573680d0a3e20 #-------------------------------------.... 1- Device Manager.. 2- Network.. 3- System.. 4- Logout.... - Main Menu, - Refresh..> diff --git a/tests/data/mitm-logs/docker/no-auth/already-off.log b/tests/data/mitm-logs/docker/no-auth/already-off.log new file mode 100644 index 000000000..f6ad7051e --- /dev/null +++ b/tests/data/mitm-logs/docker/no-auth/already-off.log @@ -0,0 +1,19 @@ +[ + { + "request": { + "10002": "http://fedora1:80/v1.11/containers/594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7/json", + "13": 3, + "64": 0, + "80": 1, + "81": 0 + }, + "response": { + "2097154": 200, + "output": "{\"ID\":\"594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7\",\"Created\":\"2014-05-14T08:36:21.317950112Z\",\"Path\":\"ping\",\"Args\":[\"192.168.122.1\"],\"Config\":{\"Hostname\":\"594388bee400\",\"Domainname\":\"\",\"User\":\"\",\"Memory\":0,\"MemorySwap\":0,\"CpuShares\":0,\"Cpuset\":\"\",\"AttachStdin\":false,\"AttachStdout\":true,\"AttachStderr\":true,\"PortSpecs\":null,\"ExposedPorts\":null,\"Tty\":false,\"OpenStdin\":false,\"StdinOnce\":false,\"Env\":[\"HOME=/\",\"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"],\"Cmd\":[\"ping\",\"192.168.122.1\"],\"Image\":\"fedora:20\",\"Volumes\":null,\"WorkingDir\":\"\",\"Entrypoint\":null,\"NetworkDisabled\":false,\"OnBuild\":null},\"State\":{\"Running\":false,\"Paused\":false,\"Pid\":0,\"ExitCode\":-1,\"StartedAt\":\"2014-10-16T12:55:11.058107967Z\",\"FinishedAt\":\"2014-10-16T12:55:19.555035484Z\"},\"Image\":\"105182bb5e8bed742e4063e9486afa5f51328fc007e74f6c9f29cd1f75971357\",\"NetworkSettings\":{\"IPAddress\":\"\",\"IPPrefixLen\":0,\"Gateway\":\"\",\"Bridge\":\"\",\"PortMapping\":null,\"Ports\":null},\"ResolvConfPath\":\"/etc/resolv.conf\",\"HostnamePath\":\"/var/lib/docker/containers/594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7/hostname\",\"HostsPath\":\"/var/lib/docker/containers/594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7/hosts\",\"Name\":\"/cocky_poincare\",\"Driver\":\"devicemapper\",\"ExecDriver\":\"native-0.1\",\"MountLabel\":\"\",\"ProcessLabel\":\"\",\"Volumes\":{},\"VolumesRW\":{},\"HostConfig\":{\"Binds\":null,\"ContainerIDFile\":\"\",\"LxcConf\":null,\"Privileged\":false,\"PortBindings\":null,\"Links\":null,\"PublishAllPorts\":false,\"Dns\":null,\"DnsSearch\":null,\"VolumesFrom\":null,\"NetworkMode\":\"\"}}" + }, + "time": { + "perform_duration": 0.005480051040649414, + "time_from_last_request": 0.0 + } + } +] \ No newline at end of file diff --git a/tests/data/mitm-logs/docker/no-auth/already-on.log b/tests/data/mitm-logs/docker/no-auth/already-on.log new file mode 100644 index 000000000..2911a7e86 --- /dev/null +++ b/tests/data/mitm-logs/docker/no-auth/already-on.log @@ -0,0 +1,19 @@ +[ + { + "request": { + "10002": "http://fedora1:80/v1.11/containers/594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7/json", + "13": 3, + "64": 0, + "80": 1, + "81": 0 + }, + "response": { + "2097154": 200, + "output": "{\"ID\":\"594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7\",\"Created\":\"2014-05-14T08:36:21.317950112Z\",\"Path\":\"ping\",\"Args\":[\"192.168.122.1\"],\"Config\":{\"Hostname\":\"594388bee400\",\"Domainname\":\"\",\"User\":\"\",\"Memory\":0,\"MemorySwap\":0,\"CpuShares\":0,\"Cpuset\":\"\",\"AttachStdin\":false,\"AttachStdout\":true,\"AttachStderr\":true,\"PortSpecs\":null,\"ExposedPorts\":null,\"Tty\":false,\"OpenStdin\":false,\"StdinOnce\":false,\"Env\":[\"HOME=/\",\"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"],\"Cmd\":[\"ping\",\"192.168.122.1\"],\"Image\":\"fedora:20\",\"Volumes\":null,\"WorkingDir\":\"\",\"Entrypoint\":null,\"NetworkDisabled\":false,\"OnBuild\":null},\"State\":{\"Running\":true,\"Paused\":false,\"Pid\":759,\"ExitCode\":0,\"StartedAt\":\"2014-10-16T12:54:24.655481895Z\",\"FinishedAt\":\"2014-10-14T14:38:09.451955433Z\"},\"Image\":\"105182bb5e8bed742e4063e9486afa5f51328fc007e74f6c9f29cd1f75971357\",\"NetworkSettings\":{\"IPAddress\":\"172.17.0.2\",\"IPPrefixLen\":16,\"Gateway\":\"172.17.42.1\",\"Bridge\":\"docker0\",\"PortMapping\":null,\"Ports\":{}},\"ResolvConfPath\":\"/etc/resolv.conf\",\"HostnamePath\":\"/var/lib/docker/containers/594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7/hostname\",\"HostsPath\":\"/var/lib/docker/containers/594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7/hosts\",\"Name\":\"/cocky_poincare\",\"Driver\":\"devicemapper\",\"ExecDriver\":\"native-0.1\",\"MountLabel\":\"\",\"ProcessLabel\":\"\",\"Volumes\":{},\"VolumesRW\":{},\"HostConfig\":{\"Binds\":null,\"ContainerIDFile\":\"\",\"LxcConf\":null,\"Privileged\":false,\"PortBindings\":null,\"Links\":null,\"PublishAllPorts\":false,\"Dns\":null,\"DnsSearch\":null,\"VolumesFrom\":null,\"NetworkMode\":\"\"}}" + }, + "time": { + "perform_duration": 0.006002902984619141, + "time_from_last_request": 0.0 + } + } +] \ No newline at end of file diff --git a/tests/data/mitm-logs/docker/no-auth/list.log b/tests/data/mitm-logs/docker/no-auth/list.log new file mode 100644 index 000000000..5967d03c2 --- /dev/null +++ b/tests/data/mitm-logs/docker/no-auth/list.log @@ -0,0 +1,19 @@ +[ + { + "request": { + "10002": "http://fedora1:80/v1.11/containers/json?all=1", + "13": 3, + "64": 0, + "80": 1, + "81": 0 + }, + "response": { + "2097154": 200, + "output": "[{\"Command\":\"ping 192.168.122.1\",\"Created\":1400056581,\"Id\":\"594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7\",\"Image\":\"fedora:20\",\"Names\":[\"/cocky_poincare\"],\"Ports\":[],\"Status\":\"Exited (-1) 46 hours ago\"}\n,{\"Command\":\"ping host\",\"Created\":1400056433,\"Id\":\"3e8559dc2b09819d3a48757333db98bf275d5ebfaa3d259a8559c3ed2947c426\",\"Image\":\"fedora:20\",\"Names\":[\"/sharp_turing\"],\"Ports\":[],\"Status\":\"Exited (2) 5 months ago\"}\n,{\"Command\":\"/bin/bash\",\"Created\":1398324218,\"Id\":\"ca18a15ef368d43f1e4756b042ee1d61b67b6d0276fd2bc3436416abc2883d4b\",\"Image\":\"fedora:20\",\"Names\":[\"/sick_lumiere\"],\"Ports\":[],\"Status\":\"Exited (0) 5 months ago\"}\n]" + }, + "time": { + "perform_duration": 0.006206989288330078, + "time_from_last_request": 0.0 + } + } +] \ No newline at end of file diff --git a/tests/data/mitm-logs/docker/no-auth/off.log b/tests/data/mitm-logs/docker/no-auth/off.log new file mode 100644 index 000000000..0bc88ec07 --- /dev/null +++ b/tests/data/mitm-logs/docker/no-auth/off.log @@ -0,0 +1,55 @@ +[ + { + "request": { + "10002": "http://fedora1:80/v1.11/containers/594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7/json", + "13": 3, + "64": 0, + "80": 1, + "81": 0 + }, + "response": { + "2097154": 200, + "output": "{\"ID\":\"594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7\",\"Created\":\"2014-05-14T08:36:21.317950112Z\",\"Path\":\"ping\",\"Args\":[\"192.168.122.1\"],\"Config\":{\"Hostname\":\"594388bee400\",\"Domainname\":\"\",\"User\":\"\",\"Memory\":0,\"MemorySwap\":0,\"CpuShares\":0,\"Cpuset\":\"\",\"AttachStdin\":false,\"AttachStdout\":true,\"AttachStderr\":true,\"PortSpecs\":null,\"ExposedPorts\":null,\"Tty\":false,\"OpenStdin\":false,\"StdinOnce\":false,\"Env\":[\"HOME=/\",\"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"],\"Cmd\":[\"ping\",\"192.168.122.1\"],\"Image\":\"fedora:20\",\"Volumes\":null,\"WorkingDir\":\"\",\"Entrypoint\":null,\"NetworkDisabled\":false,\"OnBuild\":null},\"State\":{\"Running\":true,\"Paused\":false,\"Pid\":782,\"ExitCode\":0,\"StartedAt\":\"2014-10-16T12:55:11.058107967Z\",\"FinishedAt\":\"2014-10-16T12:55:10.76558189Z\"},\"Image\":\"105182bb5e8bed742e4063e9486afa5f51328fc007e74f6c9f29cd1f75971357\",\"NetworkSettings\":{\"IPAddress\":\"172.17.0.3\",\"IPPrefixLen\":16,\"Gateway\":\"172.17.42.1\",\"Bridge\":\"docker0\",\"PortMapping\":null,\"Ports\":{}},\"ResolvConfPath\":\"/etc/resolv.conf\",\"HostnamePath\":\"/var/lib/docker/containers/594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7/hostname\",\"HostsPath\":\"/var/lib/docker/containers/594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7/hosts\",\"Name\":\"/cocky_poincare\",\"Driver\":\"devicemapper\",\"ExecDriver\":\"native-0.1\",\"MountLabel\":\"\",\"ProcessLabel\":\"\",\"Volumes\":{},\"VolumesRW\":{},\"HostConfig\":{\"Binds\":null,\"ContainerIDFile\":\"\",\"LxcConf\":null,\"Privileged\":false,\"PortBindings\":null,\"Links\":null,\"PublishAllPorts\":false,\"Dns\":null,\"DnsSearch\":null,\"VolumesFrom\":null,\"NetworkMode\":\"\"}}" + }, + "time": { + "perform_duration": 0.00534510612487793, + "time_from_last_request": 0.0 + } + }, + { + "request": { + "10002": "http://fedora1:80/v1.11/containers/594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7/kill", + "13": 3, + "30120": 0, + "47": 1, + "64": 0, + "80": 1, + "81": 0 + }, + "response": { + "2097154": 204, + "output": "" + }, + "time": { + "perform_duration": 0.008481025695800781, + "time_from_last_request": 0.0004138946533203125 + } + }, + { + "request": { + "10002": "http://fedora1:80/v1.11/containers/594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7/json", + "13": 3, + "64": 0, + "80": 1, + "81": 0 + }, + "response": { + "2097154": 200, + "output": "{\"ID\":\"594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7\",\"Created\":\"2014-05-14T08:36:21.317950112Z\",\"Path\":\"ping\",\"Args\":[\"192.168.122.1\"],\"Config\":{\"Hostname\":\"594388bee400\",\"Domainname\":\"\",\"User\":\"\",\"Memory\":0,\"MemorySwap\":0,\"CpuShares\":0,\"Cpuset\":\"\",\"AttachStdin\":false,\"AttachStdout\":true,\"AttachStderr\":true,\"PortSpecs\":null,\"ExposedPorts\":null,\"Tty\":false,\"OpenStdin\":false,\"StdinOnce\":false,\"Env\":[\"HOME=/\",\"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"],\"Cmd\":[\"ping\",\"192.168.122.1\"],\"Image\":\"fedora:20\",\"Volumes\":null,\"WorkingDir\":\"\",\"Entrypoint\":null,\"NetworkDisabled\":false,\"OnBuild\":null},\"State\":{\"Running\":false,\"Paused\":false,\"Pid\":0,\"ExitCode\":-1,\"StartedAt\":\"2014-10-16T12:55:11.058107967Z\",\"FinishedAt\":\"2014-10-16T12:55:19.555035484Z\"},\"Image\":\"105182bb5e8bed742e4063e9486afa5f51328fc007e74f6c9f29cd1f75971357\",\"NetworkSettings\":{\"IPAddress\":\"\",\"IPPrefixLen\":0,\"Gateway\":\"\",\"Bridge\":\"\",\"PortMapping\":null,\"Ports\":null},\"ResolvConfPath\":\"/etc/resolv.conf\",\"HostnamePath\":\"/var/lib/docker/containers/594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7/hostname\",\"HostsPath\":\"/var/lib/docker/containers/594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7/hosts\",\"Name\":\"/cocky_poincare\",\"Driver\":\"devicemapper\",\"ExecDriver\":\"native-0.1\",\"MountLabel\":\"\",\"ProcessLabel\":\"\",\"Volumes\":{},\"VolumesRW\":{},\"HostConfig\":{\"Binds\":null,\"ContainerIDFile\":\"\",\"LxcConf\":null,\"Privileged\":false,\"PortBindings\":null,\"Links\":null,\"PublishAllPorts\":false,\"Dns\":null,\"DnsSearch\":null,\"VolumesFrom\":null,\"NetworkMode\":\"\"}}" + }, + "time": { + "perform_duration": 0.005722999572753906, + "time_from_last_request": 0.00035500526428222656 + } + } +] \ No newline at end of file diff --git a/tests/data/mitm-logs/docker/no-auth/on.log b/tests/data/mitm-logs/docker/no-auth/on.log new file mode 100644 index 000000000..eabddee2f --- /dev/null +++ b/tests/data/mitm-logs/docker/no-auth/on.log @@ -0,0 +1,55 @@ +[ + { + "request": { + "10002": "http://fedora1:80/v1.11/containers/594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7/json", + "13": 3, + "64": 0, + "80": 1, + "81": 0 + }, + "response": { + "2097154": 200, + "output": "{\"ID\":\"594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7\",\"Created\":\"2014-05-14T08:36:21.317950112Z\",\"Path\":\"ping\",\"Args\":[\"192.168.122.1\"],\"Config\":{\"Hostname\":\"594388bee400\",\"Domainname\":\"\",\"User\":\"\",\"Memory\":0,\"MemorySwap\":0,\"CpuShares\":0,\"Cpuset\":\"\",\"AttachStdin\":false,\"AttachStdout\":true,\"AttachStderr\":true,\"PortSpecs\":null,\"ExposedPorts\":null,\"Tty\":false,\"OpenStdin\":false,\"StdinOnce\":false,\"Env\":[\"HOME=/\",\"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"],\"Cmd\":[\"ping\",\"192.168.122.1\"],\"Image\":\"fedora:20\",\"Volumes\":null,\"WorkingDir\":\"\",\"Entrypoint\":null,\"NetworkDisabled\":false,\"OnBuild\":null},\"State\":{\"Running\":false,\"Paused\":false,\"Pid\":0,\"ExitCode\":-1,\"StartedAt\":\"2014-10-14T13:23:17.322432299Z\",\"FinishedAt\":\"2014-10-14T14:38:09.451955433Z\"},\"Image\":\"105182bb5e8bed742e4063e9486afa5f51328fc007e74f6c9f29cd1f75971357\",\"NetworkSettings\":{\"IPAddress\":\"\",\"IPPrefixLen\":0,\"Gateway\":\"\",\"Bridge\":\"\",\"PortMapping\":null,\"Ports\":null},\"ResolvConfPath\":\"/etc/resolv.conf\",\"HostnamePath\":\"/var/lib/docker/containers/594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7/hostname\",\"HostsPath\":\"/var/lib/docker/containers/594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7/hosts\",\"Name\":\"/cocky_poincare\",\"Driver\":\"devicemapper\",\"ExecDriver\":\"native-0.1\",\"MountLabel\":\"\",\"ProcessLabel\":\"\",\"Volumes\":{},\"VolumesRW\":{},\"HostConfig\":{\"Binds\":null,\"ContainerIDFile\":\"\",\"LxcConf\":null,\"Privileged\":false,\"PortBindings\":null,\"Links\":null,\"PublishAllPorts\":false,\"Dns\":null,\"DnsSearch\":null,\"VolumesFrom\":null,\"NetworkMode\":\"\"}}" + }, + "time": { + "perform_duration": 0.0062007904052734375, + "time_from_last_request": 0.0 + } + }, + { + "request": { + "10002": "http://fedora1:80/v1.11/containers/594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7/start", + "13": 3, + "30120": 0, + "47": 1, + "64": 0, + "80": 1, + "81": 0 + }, + "response": { + "2097154": 204, + "output": "" + }, + "time": { + "perform_duration": 0.10239195823669434, + "time_from_last_request": 0.0005431175231933594 + } + }, + { + "request": { + "10002": "http://fedora1:80/v1.11/containers/594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7/json", + "13": 3, + "64": 0, + "80": 1, + "81": 0 + }, + "response": { + "2097154": 200, + "output": "{\"ID\":\"594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7\",\"Created\":\"2014-05-14T08:36:21.317950112Z\",\"Path\":\"ping\",\"Args\":[\"192.168.122.1\"],\"Config\":{\"Hostname\":\"594388bee400\",\"Domainname\":\"\",\"User\":\"\",\"Memory\":0,\"MemorySwap\":0,\"CpuShares\":0,\"Cpuset\":\"\",\"AttachStdin\":false,\"AttachStdout\":true,\"AttachStderr\":true,\"PortSpecs\":null,\"ExposedPorts\":null,\"Tty\":false,\"OpenStdin\":false,\"StdinOnce\":false,\"Env\":[\"HOME=/\",\"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"],\"Cmd\":[\"ping\",\"192.168.122.1\"],\"Image\":\"fedora:20\",\"Volumes\":null,\"WorkingDir\":\"\",\"Entrypoint\":null,\"NetworkDisabled\":false,\"OnBuild\":null},\"State\":{\"Running\":true,\"Paused\":false,\"Pid\":759,\"ExitCode\":0,\"StartedAt\":\"2014-10-16T12:54:24.655481895Z\",\"FinishedAt\":\"2014-10-14T14:38:09.451955433Z\"},\"Image\":\"105182bb5e8bed742e4063e9486afa5f51328fc007e74f6c9f29cd1f75971357\",\"NetworkSettings\":{\"IPAddress\":\"172.17.0.2\",\"IPPrefixLen\":16,\"Gateway\":\"172.17.42.1\",\"Bridge\":\"docker0\",\"PortMapping\":null,\"Ports\":{}},\"ResolvConfPath\":\"/etc/resolv.conf\",\"HostnamePath\":\"/var/lib/docker/containers/594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7/hostname\",\"HostsPath\":\"/var/lib/docker/containers/594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7/hosts\",\"Name\":\"/cocky_poincare\",\"Driver\":\"devicemapper\",\"ExecDriver\":\"native-0.1\",\"MountLabel\":\"\",\"ProcessLabel\":\"\",\"Volumes\":{},\"VolumesRW\":{},\"HostConfig\":{\"Binds\":null,\"ContainerIDFile\":\"\",\"LxcConf\":null,\"Privileged\":false,\"PortBindings\":null,\"Links\":null,\"PublishAllPorts\":false,\"Dns\":null,\"DnsSearch\":null,\"VolumesFrom\":null,\"NetworkMode\":\"\"}}" + }, + "time": { + "perform_duration": 0.005280017852783203, + "time_from_last_request": 0.0004200935363769531 + } + } +] \ No newline at end of file diff --git a/tests/data/mitm-logs/docker/no-auth/reboot.log b/tests/data/mitm-logs/docker/no-auth/reboot.log new file mode 100644 index 000000000..272ead633 --- /dev/null +++ b/tests/data/mitm-logs/docker/no-auth/reboot.log @@ -0,0 +1,91 @@ +[ + { + "request": { + "10002": "http://fedora1:80/v1.11/containers/594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7/json", + "13": 3, + "64": 0, + "80": 1, + "81": 0 + }, + "response": { + "2097154": 200, + "output": "{\"ID\":\"594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7\",\"Created\":\"2014-05-14T08:36:21.317950112Z\",\"Path\":\"ping\",\"Args\":[\"192.168.122.1\"],\"Config\":{\"Hostname\":\"594388bee400\",\"Domainname\":\"\",\"User\":\"\",\"Memory\":0,\"MemorySwap\":0,\"CpuShares\":0,\"Cpuset\":\"\",\"AttachStdin\":false,\"AttachStdout\":true,\"AttachStderr\":true,\"PortSpecs\":null,\"ExposedPorts\":null,\"Tty\":false,\"OpenStdin\":false,\"StdinOnce\":false,\"Env\":[\"HOME=/\",\"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"],\"Cmd\":[\"ping\",\"192.168.122.1\"],\"Image\":\"fedora:20\",\"Volumes\":null,\"WorkingDir\":\"\",\"Entrypoint\":null,\"NetworkDisabled\":false,\"OnBuild\":null},\"State\":{\"Running\":true,\"Paused\":false,\"Pid\":759,\"ExitCode\":0,\"StartedAt\":\"2014-10-16T12:54:24.655481895Z\",\"FinishedAt\":\"2014-10-14T14:38:09.451955433Z\"},\"Image\":\"105182bb5e8bed742e4063e9486afa5f51328fc007e74f6c9f29cd1f75971357\",\"NetworkSettings\":{\"IPAddress\":\"172.17.0.2\",\"IPPrefixLen\":16,\"Gateway\":\"172.17.42.1\",\"Bridge\":\"docker0\",\"PortMapping\":null,\"Ports\":{}},\"ResolvConfPath\":\"/etc/resolv.conf\",\"HostnamePath\":\"/var/lib/docker/containers/594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7/hostname\",\"HostsPath\":\"/var/lib/docker/containers/594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7/hosts\",\"Name\":\"/cocky_poincare\",\"Driver\":\"devicemapper\",\"ExecDriver\":\"native-0.1\",\"MountLabel\":\"\",\"ProcessLabel\":\"\",\"Volumes\":{},\"VolumesRW\":{},\"HostConfig\":{\"Binds\":null,\"ContainerIDFile\":\"\",\"LxcConf\":null,\"Privileged\":false,\"PortBindings\":null,\"Links\":null,\"PublishAllPorts\":false,\"Dns\":null,\"DnsSearch\":null,\"VolumesFrom\":null,\"NetworkMode\":\"\"}}" + }, + "time": { + "perform_duration": 0.005760908126831055, + "time_from_last_request": 0.0 + } + }, + { + "request": { + "10002": "http://fedora1:80/v1.11/containers/594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7/kill", + "13": 3, + "30120": 0, + "47": 1, + "64": 0, + "80": 1, + "81": 0 + }, + "response": { + "2097154": 204, + "output": "" + }, + "time": { + "perform_duration": 0.010181188583374023, + "time_from_last_request": 0.00043892860412597656 + } + }, + { + "request": { + "10002": "http://fedora1:80/v1.11/containers/594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7/json", + "13": 3, + "64": 0, + "80": 1, + "81": 0 + }, + "response": { + "2097154": 200, + "output": "{\"ID\":\"594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7\",\"Created\":\"2014-05-14T08:36:21.317950112Z\",\"Path\":\"ping\",\"Args\":[\"192.168.122.1\"],\"Config\":{\"Hostname\":\"594388bee400\",\"Domainname\":\"\",\"User\":\"\",\"Memory\":0,\"MemorySwap\":0,\"CpuShares\":0,\"Cpuset\":\"\",\"AttachStdin\":false,\"AttachStdout\":true,\"AttachStderr\":true,\"PortSpecs\":null,\"ExposedPorts\":null,\"Tty\":false,\"OpenStdin\":false,\"StdinOnce\":false,\"Env\":[\"HOME=/\",\"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"],\"Cmd\":[\"ping\",\"192.168.122.1\"],\"Image\":\"fedora:20\",\"Volumes\":null,\"WorkingDir\":\"\",\"Entrypoint\":null,\"NetworkDisabled\":false,\"OnBuild\":null},\"State\":{\"Running\":false,\"Paused\":false,\"Pid\":0,\"ExitCode\":-1,\"StartedAt\":\"2014-10-16T12:54:24.655481895Z\",\"FinishedAt\":\"2014-10-16T12:55:10.76558189Z\"},\"Image\":\"105182bb5e8bed742e4063e9486afa5f51328fc007e74f6c9f29cd1f75971357\",\"NetworkSettings\":{\"IPAddress\":\"\",\"IPPrefixLen\":0,\"Gateway\":\"\",\"Bridge\":\"\",\"PortMapping\":null,\"Ports\":null},\"ResolvConfPath\":\"/etc/resolv.conf\",\"HostnamePath\":\"/var/lib/docker/containers/594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7/hostname\",\"HostsPath\":\"/var/lib/docker/containers/594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7/hosts\",\"Name\":\"/cocky_poincare\",\"Driver\":\"devicemapper\",\"ExecDriver\":\"native-0.1\",\"MountLabel\":\"\",\"ProcessLabel\":\"\",\"Volumes\":{},\"VolumesRW\":{},\"HostConfig\":{\"Binds\":null,\"ContainerIDFile\":\"\",\"LxcConf\":null,\"Privileged\":false,\"PortBindings\":null,\"Links\":null,\"PublishAllPorts\":false,\"Dns\":null,\"DnsSearch\":null,\"VolumesFrom\":null,\"NetworkMode\":\"\"}}" + }, + "time": { + "perform_duration": 0.0070002079010009766, + "time_from_last_request": 0.0004317760467529297 + } + }, + { + "request": { + "10002": "http://fedora1:80/v1.11/containers/594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7/start", + "13": 3, + "30120": 0, + "47": 1, + "64": 0, + "80": 1, + "81": 0 + }, + "response": { + "2097154": 204, + "output": "" + }, + "time": { + "perform_duration": 0.2847788333892822, + "time_from_last_request": 0.000514984130859375 + } + }, + { + "request": { + "10002": "http://fedora1:80/v1.11/containers/594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7/json", + "13": 3, + "64": 0, + "80": 1, + "81": 0 + }, + "response": { + "2097154": 200, + "output": "{\"ID\":\"594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7\",\"Created\":\"2014-05-14T08:36:21.317950112Z\",\"Path\":\"ping\",\"Args\":[\"192.168.122.1\"],\"Config\":{\"Hostname\":\"594388bee400\",\"Domainname\":\"\",\"User\":\"\",\"Memory\":0,\"MemorySwap\":0,\"CpuShares\":0,\"Cpuset\":\"\",\"AttachStdin\":false,\"AttachStdout\":true,\"AttachStderr\":true,\"PortSpecs\":null,\"ExposedPorts\":null,\"Tty\":false,\"OpenStdin\":false,\"StdinOnce\":false,\"Env\":[\"HOME=/\",\"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"],\"Cmd\":[\"ping\",\"192.168.122.1\"],\"Image\":\"fedora:20\",\"Volumes\":null,\"WorkingDir\":\"\",\"Entrypoint\":null,\"NetworkDisabled\":false,\"OnBuild\":null},\"State\":{\"Running\":true,\"Paused\":false,\"Pid\":782,\"ExitCode\":0,\"StartedAt\":\"2014-10-16T12:55:11.058107967Z\",\"FinishedAt\":\"2014-10-16T12:55:10.76558189Z\"},\"Image\":\"105182bb5e8bed742e4063e9486afa5f51328fc007e74f6c9f29cd1f75971357\",\"NetworkSettings\":{\"IPAddress\":\"172.17.0.3\",\"IPPrefixLen\":16,\"Gateway\":\"172.17.42.1\",\"Bridge\":\"docker0\",\"PortMapping\":null,\"Ports\":{}},\"ResolvConfPath\":\"/etc/resolv.conf\",\"HostnamePath\":\"/var/lib/docker/containers/594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7/hostname\",\"HostsPath\":\"/var/lib/docker/containers/594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7/hosts\",\"Name\":\"/cocky_poincare\",\"Driver\":\"devicemapper\",\"ExecDriver\":\"native-0.1\",\"MountLabel\":\"\",\"ProcessLabel\":\"\",\"Volumes\":{},\"VolumesRW\":{},\"HostConfig\":{\"Binds\":null,\"ContainerIDFile\":\"\",\"LxcConf\":null,\"Privileged\":false,\"PortBindings\":null,\"Links\":null,\"PublishAllPorts\":false,\"Dns\":null,\"DnsSearch\":null,\"VolumesFrom\":null,\"NetworkMode\":\"\"}}" + }, + "time": { + "perform_duration": 0.005919933319091797, + "time_from_last_request": 0.00048804283142089844 + } + } +] \ No newline at end of file diff --git a/tests/data/mitm-logs/docker/no-auth/status-off.log b/tests/data/mitm-logs/docker/no-auth/status-off.log new file mode 100644 index 000000000..7441bbf7d --- /dev/null +++ b/tests/data/mitm-logs/docker/no-auth/status-off.log @@ -0,0 +1,19 @@ +[ + { + "request": { + "10002": "http://fedora1:80/v1.11/containers/594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7/json", + "13": 3, + "64": 0, + "80": 1, + "81": 0 + }, + "response": { + "2097154": 200, + "output": "{\"ID\":\"594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7\",\"Created\":\"2014-05-14T08:36:21.317950112Z\",\"Path\":\"ping\",\"Args\":[\"192.168.122.1\"],\"Config\":{\"Hostname\":\"594388bee400\",\"Domainname\":\"\",\"User\":\"\",\"Memory\":0,\"MemorySwap\":0,\"CpuShares\":0,\"Cpuset\":\"\",\"AttachStdin\":false,\"AttachStdout\":true,\"AttachStderr\":true,\"PortSpecs\":null,\"ExposedPorts\":null,\"Tty\":false,\"OpenStdin\":false,\"StdinOnce\":false,\"Env\":[\"HOME=/\",\"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"],\"Cmd\":[\"ping\",\"192.168.122.1\"],\"Image\":\"fedora:20\",\"Volumes\":null,\"WorkingDir\":\"\",\"Entrypoint\":null,\"NetworkDisabled\":false,\"OnBuild\":null},\"State\":{\"Running\":false,\"Paused\":false,\"Pid\":0,\"ExitCode\":-1,\"StartedAt\":\"2014-10-14T13:23:17.322432299Z\",\"FinishedAt\":\"2014-10-14T14:38:09.451955433Z\"},\"Image\":\"105182bb5e8bed742e4063e9486afa5f51328fc007e74f6c9f29cd1f75971357\",\"NetworkSettings\":{\"IPAddress\":\"\",\"IPPrefixLen\":0,\"Gateway\":\"\",\"Bridge\":\"\",\"PortMapping\":null,\"Ports\":null},\"ResolvConfPath\":\"/etc/resolv.conf\",\"HostnamePath\":\"/var/lib/docker/containers/594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7/hostname\",\"HostsPath\":\"/var/lib/docker/containers/594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7/hosts\",\"Name\":\"/cocky_poincare\",\"Driver\":\"devicemapper\",\"ExecDriver\":\"native-0.1\",\"MountLabel\":\"\",\"ProcessLabel\":\"\",\"Volumes\":{},\"VolumesRW\":{},\"HostConfig\":{\"Binds\":null,\"ContainerIDFile\":\"\",\"LxcConf\":null,\"Privileged\":false,\"PortBindings\":null,\"Links\":null,\"PublishAllPorts\":false,\"Dns\":null,\"DnsSearch\":null,\"VolumesFrom\":null,\"NetworkMode\":\"\"}}" + }, + "time": { + "perform_duration": 0.005589962005615234, + "time_from_last_request": 0.0 + } + } +] \ No newline at end of file diff --git a/tests/data/mitm-logs/docker/no-auth/status-on.log b/tests/data/mitm-logs/docker/no-auth/status-on.log new file mode 100644 index 000000000..9ba4ecd51 --- /dev/null +++ b/tests/data/mitm-logs/docker/no-auth/status-on.log @@ -0,0 +1,19 @@ +[ + { + "request": { + "10002": "http://fedora1:80/v1.11/containers/594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7/json", + "13": 3, + "64": 0, + "80": 1, + "81": 0 + }, + "response": { + "2097154": 200, + "output": "{\"ID\":\"594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7\",\"Created\":\"2014-05-14T08:36:21.317950112Z\",\"Path\":\"ping\",\"Args\":[\"192.168.122.1\"],\"Config\":{\"Hostname\":\"594388bee400\",\"Domainname\":\"\",\"User\":\"\",\"Memory\":0,\"MemorySwap\":0,\"CpuShares\":0,\"Cpuset\":\"\",\"AttachStdin\":false,\"AttachStdout\":true,\"AttachStderr\":true,\"PortSpecs\":null,\"ExposedPorts\":null,\"Tty\":false,\"OpenStdin\":false,\"StdinOnce\":false,\"Env\":[\"HOME=/\",\"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"],\"Cmd\":[\"ping\",\"192.168.122.1\"],\"Image\":\"fedora:20\",\"Volumes\":null,\"WorkingDir\":\"\",\"Entrypoint\":null,\"NetworkDisabled\":false,\"OnBuild\":null},\"State\":{\"Running\":true,\"Paused\":false,\"Pid\":759,\"ExitCode\":0,\"StartedAt\":\"2014-10-16T12:54:24.655481895Z\",\"FinishedAt\":\"2014-10-14T14:38:09.451955433Z\"},\"Image\":\"105182bb5e8bed742e4063e9486afa5f51328fc007e74f6c9f29cd1f75971357\",\"NetworkSettings\":{\"IPAddress\":\"172.17.0.2\",\"IPPrefixLen\":16,\"Gateway\":\"172.17.42.1\",\"Bridge\":\"docker0\",\"PortMapping\":null,\"Ports\":{}},\"ResolvConfPath\":\"/etc/resolv.conf\",\"HostnamePath\":\"/var/lib/docker/containers/594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7/hostname\",\"HostsPath\":\"/var/lib/docker/containers/594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7/hosts\",\"Name\":\"/cocky_poincare\",\"Driver\":\"devicemapper\",\"ExecDriver\":\"native-0.1\",\"MountLabel\":\"\",\"ProcessLabel\":\"\",\"Volumes\":{},\"VolumesRW\":{},\"HostConfig\":{\"Binds\":null,\"ContainerIDFile\":\"\",\"LxcConf\":null,\"Privileged\":false,\"PortBindings\":null,\"Links\":null,\"PublishAllPorts\":false,\"Dns\":null,\"DnsSearch\":null,\"VolumesFrom\":null,\"NetworkMode\":\"\"}}" + }, + "time": { + "perform_duration": 0.005934000015258789, + "time_from_last_request": 0.0 + } + } +] \ No newline at end of file diff --git a/tests/data/mitm-logs/ipmilan/already-off.log b/tests/data/mitm-logs/ipmilan/already-off.log new file mode 100644 index 000000000..45603f5c4 --- /dev/null +++ b/tests/data/mitm-logs/ipmilan/already-off.log @@ -0,0 +1,33 @@ +[ + { + "request": { + "env": {}, + "argv": [ + "/usr/bin/ipmitool", + "-I", + "lanplus", + "-H", + "doom-driver-ilo.cluster-qe.lab.eng.brq.redhat.com", + "-U", + "USERID", + "-P", + "PASSW0RD", + "-p", + "623", + "-L", + "ADMINISTRATOR", + "chassis", + "power", + "status" + ] + }, + "response": { + "return_code": 0, + "stderr": "", + "stdout": "Chassis Power is off\n" + }, + "time": { + "perform_duration": 2.7017760276794434 + } + } +] \ No newline at end of file diff --git a/tests/data/mitm-logs/ipmilan/already-on.log b/tests/data/mitm-logs/ipmilan/already-on.log new file mode 100644 index 000000000..15434d697 --- /dev/null +++ b/tests/data/mitm-logs/ipmilan/already-on.log @@ -0,0 +1,33 @@ +[ + { + "request": { + "env": {}, + "argv": [ + "/usr/bin/ipmitool", + "-I", + "lanplus", + "-H", + "doom-driver-ilo.cluster-qe.lab.eng.brq.redhat.com", + "-U", + "USERID", + "-P", + "PASSW0RD", + "-p", + "623", + "-L", + "ADMINISTRATOR", + "chassis", + "power", + "status" + ] + }, + "response": { + "return_code": 0, + "stderr": "", + "stdout": "Chassis Power is on\n" + }, + "time": { + "perform_duration": 0.9178590774536133 + } + } +] \ No newline at end of file diff --git a/tests/data/mitm-logs/ipmilan/off.log b/tests/data/mitm-logs/ipmilan/off.log new file mode 100644 index 000000000..1804cfe68 --- /dev/null +++ b/tests/data/mitm-logs/ipmilan/off.log @@ -0,0 +1,188 @@ +[ + { + "request": { + "argv": [ + "/usr/bin/ipmitool", + "-I", + "lanplus", + "-H", + "doom-driver-ilo.cluster-qe.lab.eng.brq.redhat.com", + "-U", + "USERID", + "-P", + "PASSW0RD", + "-p", + "623", + "-L", + "ADMINISTRATOR", + "chassis", + "power", + "status" + ], + "env": {} + }, + "response": { + "return_code": 0, + "stderr": "", + "stdout": "Chassis Power is on\n" + }, + "time": { + "perform_duration": 0.9692540168762207 + } + }, + { + "request": { + "env": {}, + "argv": [ + "/usr/bin/ipmitool", + "-I", + "lanplus", + "-H", + "doom-driver-ilo.cluster-qe.lab.eng.brq.redhat.com", + "-U", + "USERID", + "-P", + "PASSW0RD", + "-p", + "623", + "-L", + "ADMINISTRATOR", + "chassis", + "power", + "off" + ] + }, + "response": { + "return_code": 0, + "stderr": "", + "stdout": "Chassis Power Control: Down/Off\n" + }, + "time": { + "perform_duration": 0.6728107929229736 + } + }, + { + "request": { + "argv": [ + "/usr/bin/ipmitool", + "-I", + "lanplus", + "-H", + "doom-driver-ilo.cluster-qe.lab.eng.brq.redhat.com", + "-U", + "USERID", + "-P", + "PASSW0RD", + "-p", + "623", + "-L", + "ADMINISTRATOR", + "chassis", + "power", + "status" + ], + "env": {} + }, + "response": { + "return_code": 0, + "stderr": "", + "stdout": "Chassis Power is on\n" + }, + "time": { + "perform_duration": 0.694404125213623 + } + }, + { + "request": { + "env": {}, + "argv": [ + "/usr/bin/ipmitool", + "-I", + "lanplus", + "-H", + "doom-driver-ilo.cluster-qe.lab.eng.brq.redhat.com", + "-U", + "USERID", + "-P", + "PASSW0RD", + "-p", + "623", + "-L", + "ADMINISTRATOR", + "chassis", + "power", + "status" + ] + }, + "response": { + "return_code": 0, + "stderr": "", + "stdout": "Chassis Power is on\n" + }, + "time": { + "perform_duration": 0.695688009262085 + } + }, + { + "request": { + "argv": [ + "/usr/bin/ipmitool", + "-I", + "lanplus", + "-H", + "doom-driver-ilo.cluster-qe.lab.eng.brq.redhat.com", + "-U", + "USERID", + "-P", + "PASSW0RD", + "-p", + "623", + "-L", + "ADMINISTRATOR", + "chassis", + "power", + "status" + ], + "env": {} + }, + "response": { + "return_code": 1, + "stderr": "Error in open session response message : insufficient resources for session\n\nError: Unable to establish IPMI v2 / RMCP+ session\nUnable to get Chassis Power Status\n", + "stdout": "" + }, + "time": { + "perform_duration": 0.14334893226623535 + } + }, + { + "request": { + "env": {}, + "argv": [ + "/usr/bin/ipmitool", + "-I", + "lanplus", + "-H", + "doom-driver-ilo.cluster-qe.lab.eng.brq.redhat.com", + "-U", + "USERID", + "-P", + "PASSW0RD", + "-p", + "623", + "-L", + "ADMINISTRATOR", + "chassis", + "power", + "status" + ] + }, + "response": { + "return_code": 0, + "stderr": "", + "stdout": "Chassis Power is off\n" + }, + "time": { + "perform_duration": 4.748305082321167 + } + } +] \ No newline at end of file diff --git a/tests/data/mitm-logs/ipmilan/on.log b/tests/data/mitm-logs/ipmilan/on.log new file mode 100644 index 000000000..e2227d129 --- /dev/null +++ b/tests/data/mitm-logs/ipmilan/on.log @@ -0,0 +1,126 @@ +[ + { + "request": { + "argv": [ + "/usr/bin/ipmitool", + "-I", + "lanplus", + "-H", + "doom-driver-ilo.cluster-qe.lab.eng.brq.redhat.com", + "-U", + "USERID", + "-P", + "PASSW0RD", + "-p", + "623", + "-L", + "ADMINISTRATOR", + "chassis", + "power", + "status" + ], + "env": {} + }, + "response": { + "return_code": 0, + "stderr": "", + "stdout": "Chassis Power is off\n" + }, + "time": { + "perform_duration": 1.0733919143676758 + } + }, + { + "request": { + "env": {}, + "argv": [ + "/usr/bin/ipmitool", + "-I", + "lanplus", + "-H", + "doom-driver-ilo.cluster-qe.lab.eng.brq.redhat.com", + "-U", + "USERID", + "-P", + "PASSW0RD", + "-p", + "623", + "-L", + "ADMINISTRATOR", + "chassis", + "power", + "on" + ] + }, + "response": { + "return_code": 0, + "stderr": "", + "stdout": "Chassis Power Control: Up/On\n" + }, + "time": { + "perform_duration": 0.6707351207733154 + } + }, + { + "request": { + "argv": [ + "/usr/bin/ipmitool", + "-I", + "lanplus", + "-H", + "doom-driver-ilo.cluster-qe.lab.eng.brq.redhat.com", + "-U", + "USERID", + "-P", + "PASSW0RD", + "-p", + "623", + "-L", + "ADMINISTRATOR", + "chassis", + "power", + "status" + ], + "env": {} + }, + "response": { + "return_code": 1, + "stderr": "Error: Unable to establish IPMI v2 / RMCP+ session\nUnable to get Chassis Power Status\n", + "stdout": "" + }, + "time": { + "perform_duration": 15.120256900787354 + } + }, + { + "request": { + "env": {}, + "argv": [ + "/usr/bin/ipmitool", + "-I", + "lanplus", + "-H", + "doom-driver-ilo.cluster-qe.lab.eng.brq.redhat.com", + "-U", + "USERID", + "-P", + "PASSW0RD", + "-p", + "623", + "-L", + "ADMINISTRATOR", + "chassis", + "power", + "status" + ] + }, + "response": { + "return_code": 0, + "stderr": "", + "stdout": "Chassis Power is on\n" + }, + "time": { + "perform_duration": 0.6681029796600342 + } + } +] \ No newline at end of file diff --git a/tests/data/mitm-logs/ipmilan/reboot.log b/tests/data/mitm-logs/ipmilan/reboot.log new file mode 100644 index 000000000..0d32a4ea6 --- /dev/null +++ b/tests/data/mitm-logs/ipmilan/reboot.log @@ -0,0 +1,188 @@ +[ + { + "request": { + "argv": [ + "/usr/bin/ipmitool", + "-I", + "lanplus", + "-H", + "doom-driver-ilo.cluster-qe.lab.eng.brq.redhat.com", + "-U", + "USERID", + "-P", + "PASSW0RD", + "-p", + "623", + "-L", + "ADMINISTRATOR", + "chassis", + "power", + "status" + ], + "env": {} + }, + "response": { + "return_code": 0, + "stderr": "", + "stdout": "Chassis Power is on\n" + }, + "time": { + "perform_duration": 0.9481310844421387 + } + }, + { + "request": { + "env": {}, + "argv": [ + "/usr/bin/ipmitool", + "-I", + "lanplus", + "-H", + "doom-driver-ilo.cluster-qe.lab.eng.brq.redhat.com", + "-U", + "USERID", + "-P", + "PASSW0RD", + "-p", + "623", + "-L", + "ADMINISTRATOR", + "chassis", + "power", + "off" + ] + }, + "response": { + "return_code": 0, + "stderr": "Close Session command failed\n", + "stdout": "Chassis Power Control: Down/Off\n" + }, + "time": { + "perform_duration": 4.669372081756592 + } + }, + { + "request": { + "argv": [ + "/usr/bin/ipmitool", + "-I", + "lanplus", + "-H", + "doom-driver-ilo.cluster-qe.lab.eng.brq.redhat.com", + "-U", + "USERID", + "-P", + "PASSW0RD", + "-p", + "623", + "-L", + "ADMINISTRATOR", + "chassis", + "power", + "status" + ], + "env": {} + }, + "response": { + "return_code": 0, + "stderr": "", + "stdout": "Chassis Power is off\n" + }, + "time": { + "perform_duration": 2.691959857940674 + } + }, + { + "request": { + "env": {}, + "argv": [ + "/usr/bin/ipmitool", + "-I", + "lanplus", + "-H", + "doom-driver-ilo.cluster-qe.lab.eng.brq.redhat.com", + "-U", + "USERID", + "-P", + "PASSW0RD", + "-p", + "623", + "-L", + "ADMINISTRATOR", + "chassis", + "power", + "on" + ] + }, + "response": { + "return_code": 0, + "stderr": "", + "stdout": "Chassis Power Control: Up/On\n" + }, + "time": { + "perform_duration": 0.6918978691101074 + } + }, + { + "request": { + "argv": [ + "/usr/bin/ipmitool", + "-I", + "lanplus", + "-H", + "doom-driver-ilo.cluster-qe.lab.eng.brq.redhat.com", + "-U", + "USERID", + "-P", + "PASSW0RD", + "-p", + "623", + "-L", + "ADMINISTRATOR", + "chassis", + "power", + "status" + ], + "env": {} + }, + "response": { + "return_code": 1, + "stderr": "Error: Unable to establish IPMI v2 / RMCP+ session\nUnable to get Chassis Power Status\n", + "stdout": "" + }, + "time": { + "perform_duration": 10.091929912567139 + } + }, + { + "request": { + "env": {}, + "argv": [ + "/usr/bin/ipmitool", + "-I", + "lanplus", + "-H", + "doom-driver-ilo.cluster-qe.lab.eng.brq.redhat.com", + "-U", + "USERID", + "-P", + "PASSW0RD", + "-p", + "623", + "-L", + "ADMINISTRATOR", + "chassis", + "power", + "status" + ] + }, + "response": { + "return_code": 0, + "stderr": "", + "stdout": "Chassis Power is on\n" + }, + "time": { + "perform_duration": 0.6657240390777588 + } + } +] \ No newline at end of file diff --git a/tests/data/mitm-logs/ipmilan/status-off.log b/tests/data/mitm-logs/ipmilan/status-off.log new file mode 100644 index 000000000..f9b1f51ac --- /dev/null +++ b/tests/data/mitm-logs/ipmilan/status-off.log @@ -0,0 +1,33 @@ +[ + { + "request": { + "env": {}, + "argv": [ + "/usr/bin/ipmitool", + "-I", + "lanplus", + "-H", + "doom-driver-ilo.cluster-qe.lab.eng.brq.redhat.com", + "-U", + "USERID", + "-P", + "PASSW0RD", + "-p", + "623", + "-L", + "ADMINISTRATOR", + "chassis", + "power", + "status" + ] + }, + "response": { + "return_code": 0, + "stderr": "", + "stdout": "Chassis Power is off\n" + }, + "time": { + "perform_duration": 0.688668966293335 + } + } +] \ No newline at end of file diff --git a/tests/data/mitm-logs/ipmilan/status-on.log b/tests/data/mitm-logs/ipmilan/status-on.log new file mode 100644 index 000000000..9527b69d0 --- /dev/null +++ b/tests/data/mitm-logs/ipmilan/status-on.log @@ -0,0 +1,33 @@ +[ + { + "request": { + "argv": [ + "/usr/bin/ipmitool", + "-I", + "lanplus", + "-H", + "doom-driver-ilo.cluster-qe.lab.eng.brq.redhat.com", + "-U", + "USERID", + "-P", + "PASSW0RD", + "-p", + "623", + "-L", + "ADMINISTRATOR", + "chassis", + "power", + "status" + ], + "env": {} + }, + "response": { + "return_code": 0, + "stderr": "", + "stdout": "Chassis Power is on\n" + }, + "time": { + "perform_duration": 0.6785368919372559 + } + } +] \ No newline at end of file diff --git a/tests/data/mitm-logs/rsa_keys/id_rsa b/tests/data/mitm-logs/rsa_keys/id_rsa new file mode 100644 index 000000000..abd79c066 --- /dev/null +++ b/tests/data/mitm-logs/rsa_keys/id_rsa @@ -0,0 +1,27 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEowIBAAKCAQEAtrut82OuI3/rVEE15hBDXjkeZoMM6XlrLp/wn8fcbVM5HESP +Ky5SoCJdkH/0naCp8UT/Lcb/BM4jyVWe0r3YgH2SEwb3G4N1GkW1kqeOP8KcLwZp +cFn85/n3J/6k3UkOWqgM9dZARn9APemKkn7WRF+xOn1/p+NnSKUEPxxEnDML4yCI +NxLb/6PzGxkB9WTDesL9cQjAin6VNwanm2uuTeda4+3BFevYw7UZpuL6zoEPpSOg +FltRj6l5BEZ3gvztVCAkvWlbQy1fNlSP1nUwrrREPSp09etKHLmqS7V8IxLep2Xp +vUSzBXaENjrYhMZ2mkaNKETUwwuVb2pCAgXjTQIDAQABAoIBACES+zswcZZvUtLf +Mrg/fVISmJQJaE7h8SpxPIZPEHChPZcGObuhGMdvMOw0nLvjFp9a060fdY0TGpsY +ajTOs98d21CiVBugwZNNxr2SokacHNTOHkt9ni8GqVuN1Z1P2c9C14Wvj9aytZf/ +K1u0pWeewl9J0885c7pMU+ZwYWK78+9lbjHfBdOgMupchSieMOeXfpxzF9GI4Eqz +0WrJQiAUmhPXRB8tllDkiuwefyhF09oZzyCBYsQRBFbI/31UxfvrrCLy3Yq0IW8H +0VTo8ZLyUMjqqATYN2E8VC98MxWfy71oaOHeuJ9ZuWtSRuUpqQ2msmRQiegdCkv9 +T6ThiSkCgYEA7Ls2efaCCoaZ+E8HstCDK6c6XXcGfEMtLukzw5gMH6KmX7sqJhKK +1aRCyPNrRZHyJQ0R+HMSFP5RdlCIACkZ5T7rwYZWqVsJsIscWLGr45BB3JNNMPfH +lSqs3K677dHg+r698+jaVTM8j8f2au5AnxgO9MArJE6LBYzNEHLssOsCgYEAxZtN +gxwRD+ptgIEP+0DzhBsAyVP3jnZZxul3pDSFelp65wkjxgmDrtu0iAWThUQMITJi +V92hpnVg+s68Nz801x73hsSgTWOt2B+aclkB9sCGyJ/Rw5fsoD00AflV3o+h/5fw +H2PEvUDNeC9Xlnm4mM7AKYrIiblInSg+lo5s7qcCgYEAmmq/7SxzxOPp+UOr1OMY +PNhXRPJH47R5+5iYcGR0vAn/loBizPTZZORBwAywE3BQ0ARHjZWZ3OHLR27eV6R3 +xMaXR+QWEWBV4LfNJLm4UrcdjwDyoBdwM4fjvAuqgEWgCE91Xm2sRVknju4zeaqx +slUiJFpZidRF8LfYZ3tfk0MCgYB5l/nXToL1PzSIWWKDIdF2ncMbH476W7scmfbj +1Om5g0mTNt2Lc7lS9KCe/odq/pdUKhO3q4pXymyViHbqq/sQ0F5R0FYvqMGFdtTr +vfdmZcvKUgWajLavV1nUSR/cppdxloXMWvDp36FPbhpAXsAHT1mRdnO1w4x6IBR7 +QkKniwKBgH21zhteIoOj/VvXWhAZ5428dXhH5QjPFP3YoIGZ4FiN/NtijcQstFiM +z1k4NgI+yhWikm1ZFAIbSUcMNonPEwtPJN+bTipfvYA/0wPhdHL6Fwlk1a4PfRkK +ith9c7Yn8XQqOWMSOEggVh9oDNM4NAazYmCrg4/++JjzQSFk/kBP +-----END RSA PRIVATE KEY----- diff --git a/tests/data/mitm-logs/rsa_keys/id_rsa.pub b/tests/data/mitm-logs/rsa_keys/id_rsa.pub new file mode 100644 index 000000000..7a6e2e83e --- /dev/null +++ b/tests/data/mitm-logs/rsa_keys/id_rsa.pub @@ -0,0 +1 @@ +ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC2u63zY64jf+tUQTXmEENeOR5mgwzpeWsun/Cfx9xtUzkcRI8rLlKgIl2Qf/SdoKnxRP8txv8EziPJVZ7SvdiAfZITBvcbg3UaRbWSp44/wpwvBmlwWfzn+fcn/qTdSQ5aqAz11kBGf0A96YqSftZEX7E6fX+n42dIpQQ/HEScMwvjIIg3Etv/o/MbGQH1ZMN6wv1xCMCKfpU3Bqeba65N51rj7cEV69jDtRmm4vrOgQ+lI6AWW1GPqXkERneC/O1UICS9aVtDLV82VI/WdTCutEQ9KnT160ocuapLtXwjEt6nZem9RLMFdoQ2OtiExnaaRo0oRNTDC5VvakICBeNN test@test diff --git a/tests/devices.d/apc.cfg b/tests/devices.d/apc.cfg new file mode 100644 index 000000000..e83dea64d --- /dev/null +++ b/tests/devices.d/apc.cfg @@ -0,0 +1,18 @@ +name = "fence_apc test config for non admin user" +replay_server_type = "ssh" +replay_server_args = "-b data/mitm-logs/rsa_keys/id_rsa.pub -B data/mitm-logs/rsa_keys/id_rsa" # additional options for replay server (not required) +subdir = "ssh-user" # subdir for mitm logs, e.g.: different firmware for one agent (not required) +agent_type = "mitmproxy" +agent = "fence_apc" + +[options] # options for fence-agent + # option = [ "value", "long-opt", "short-opt" ] + # option: name of the option which is used in fence-agent stdin + # short-opt: not required + login = [ "test", "--username", "-l" ] + passwd = [ "test", "--password", "-p" ] + ipaddr = [ "localhost", "--ip", "-a" ] + port = [ "1", "--plug", "-n" ] + ipport = [ "4242", "--ipport", "-u" ] + ssh_options = [ "-c blowfish", "--ssh-options" ] # can't use option -1 (ssh v1) mitm supports only ssh v2 + secure = [ None, "--ssh", "-x" ] diff --git a/tests/devices.d/docker.cfg b/tests/devices.d/docker.cfg new file mode 100644 index 000000000..e47d0ff6a --- /dev/null +++ b/tests/devices.d/docker.cfg @@ -0,0 +1,8 @@ +name = "fence_docker test config without auth" +agent_type = "pycurl" +agent = "fence_docker" +subdir = "no-auth" + +[options] + ipaddr = [ "fedora1", "--ip", "-a" ] + port = [ "594388bee400fbe4d20885e08def4ba98e1b96f7c5196f586749f4ad650d5bc7", "--plug", "-n" ] diff --git a/tests/devices.d/ipmilan.cfg b/tests/devices.d/ipmilan.cfg new file mode 100644 index 000000000..dcaeb4a79 --- /dev/null +++ b/tests/devices.d/ipmilan.cfg @@ -0,0 +1,13 @@ +name = "fence_ipmilan" +agent_type = "binmitm" +agent = "fence_ipmilan" + +[options] # options for fence-agent + # option = [ "value", "long-opt", "short-opt" ] + # option: name of the option which is used in fence-agent stdin + # short-opt: not required + login = [ "USERID", "--username", "-l" ] + passwd = [ "PASSW0RD", "--password", "-p" ] + ipaddr = [ "doom-driver-ilo.cluster-qe.lab.eng.brq.redhat.com", "--ip", "-a" ] + lanplus = [ None, "--lanplus", "-P"] + ipmitool_path = [ "./binmitm.py /usr/bin/ipmitool", "--ipmitool-path" ] diff --git a/tests/fence_tests_lib.py b/tests/fence_tests_lib.py new file mode 100644 index 000000000..039fe62d2 --- /dev/null +++ b/tests/fence_tests_lib.py @@ -0,0 +1,218 @@ +__author__ = 'Ondrej Mular ' +__all__ = ["get_MITM_replay_cmd", "get_agent_path", "_prepare_command", "run_agent", + "get_basename", "METHODS", "ACTIONS_PATH", "BINMITM_COUNTERFILE", + "FENCING_LIB_PATH", "DEVICES_PATH", "MITM_LOGS_PATH", "MITM_PROXY_PATH" + "show_help", "get_options", "get_MITM_record_cmd","get_and_remove_arg"] + + +from pipes import quote +import sys +import subprocess +import shlex +import logging +import os +import getopt + + +METHODS = ["getopt", "longopt", "stdin"] # all available methods to test +FENCING_LIB_PATH = "../fence/agents/lib" # apth to fencing libs +DEVICES_PATH = "./devices.d" # path to device directory +ACTIONS_PATH = "./actions.d" # path to actions directory +MITM_LOGS_PATH = "./data/mitm-logs" # path to mitm logs +MITM_PROXY_PATH = "../mitm/mitmproxy-0.1/build" # path to mitm_proxy servers +BINMITM_COUNTERFILE = "./.counterfile" # path to counter file for BINMITM + +# returns command for MITM_PROXY replay server +def get_MITM_replay_cmd(agent_config, log): + if "replay_server_type" not in agent_config: + return None, None + + replay = "%s/scripts-2.7/mitmreplay_%s" % (MITM_PROXY_PATH, agent_config["replay_server_type"]) + + port = ("-p %s" % agent_config["options"]["ipport"][0]) if "ipport" in agent_config["options"] else "" + cmd = "%s -f %s %s %s" % (replay, log, port, agent_config.get("replay_server_args", "")) + env = os.environ.copy() + env["PYTHONPATH"] = "%s/lib" % MITM_PROXY_PATH + + return cmd, env + +def get_MITM_record_cmd(agent_config, log): + if "replay_server_type" not in agent_config: + return None, None + + record = "%s/scripts-2.7/mitmproxy_%s" % (MITM_PROXY_PATH, agent_config["replay_server_type"]) + + port = ("-P %s" % agent_config["options"]["ipport"][0]) if "ipport" in agent_config["options"] else "" + cmd = "%s -o %s %s %s %s" % (record, log, port, agent_config.get("replay_server_args", ""), agent_config.get("record_server_args", "")) + env = os.environ.copy() + env["PYTHONPATH"] = "%s/lib" % MITM_PROXY_PATH + + return cmd, env + +# returns path to fence agent +def get_agent_path(agent): + return "../fence/agents/%s/%s" % (agent[6:], agent) + + + +# prepare agent command to run +def _prepare_command(config, params="", method="getopt"): + env = {} + env["PYTHONPATH"] = FENCING_LIB_PATH + + final_command = "python " + + if config.has_key("agent_path"): + final_command += config["agent_path"] + else: + final_command += get_agent_path(config["agent"]) + + if params: + final_command += " %s " % params + + stdin_values = None + + for opt in config["options"]: + if not isinstance(config["options"][opt], list) or not len(config["options"][opt]) >= 2: + raise Exception("Option %s have to have at least value and longopt"% opt) + + value = config["options"][opt][0] + has_value = value is not None + if opt == "action": + ## ignore action as it is not part of fence device definition + continue + + if method == "stdin": + option = opt + if stdin_values is None: + stdin_values = "" + + stdin_values += option + stdin_values += "=" + (value if has_value else "1") + + stdin_values += "\n" + + elif method == "longopt": + option = config["options"][opt][1] + final_command += " " + option + + if has_value: + final_command += " " + quote(value) + + elif method == "getopt": + if len(config["options"][opt]) == (2 + 1): + option = config["options"][opt][2] + else: + option = config["options"][opt][1] + + final_command += " " + option + if has_value: + final_command += " " + quote(value) + + return (final_command, stdin_values, env) + + +def run_agent(command, stdin="", env_vars={}): + env = os.environ.copy() + env.update(env_vars) + + logging.debug("Running: %s" % command) + + if stdin: + logging.debug("STDIN: %s" % stdin) + if env_vars: + logging.debug("ENV: %s" % str(env_vars)) + + process = subprocess.Popen(shlex.split(command), stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=env) + + if stdin: + process.stdin.write(stdin) + + (pipe_stdout, pipe_stderr) = process.communicate() + + status = process.wait() + + process.stdout.close() + process.stderr.close() + process.stdin.close() + return status, pipe_stdout, pipe_stderr + + +def get_basename(path): + return os.path.splitext(os.path.basename(path))[0] + + +# show help +def show_help(avail_opt, description=None): + print "%s [options]" % os.path.basename(sys.argv[0]) + if description: + print description + print "Options:" + max = 30 + for o in avail_opt: + args = "-%s, --%s%s" % (avail_opt[o]["getopt"].strip(":"), avail_opt[o]["longopt"], " " if avail_opt[o]["getopt"].endswith(":") else "") + line = "\t%s%s%s" % (args, (' ' * (max-len(args)) if max-len(args) > 0 else ' ' * 5), avail_opt[o]["description"]) + print line + + +# get options from command line parameters +def get_options(avail_opt): + opt = {} + for o in avail_opt.itervalues(): # set default values + if "default" in o: + opt["--%s" % o["longopt"]] = o["default"] + + if len(sys.argv) > 1: + os.putenv("LANG", "C") + os.putenv("LC_ALL", "C") + + getopt_string = "" + longopt_list = [] + for k in avail_opt: + getopt_string += avail_opt[k]["getopt"] + longopt_list.append("%s%s" % (avail_opt[k]["longopt"], "=" if avail_opt[k]["getopt"].endswith(":") else "")) + + try: + old_opt, _ = getopt.gnu_getopt(sys.argv[1:], getopt_string, longopt_list) + except getopt.GetoptError, error: + logging.error("Parse error: " + error.msg) + show_help(avail_opt) + sys.exit(1) + + ## Transform short getopt to long one + ##### + for o in dict(old_opt).keys(): + if o.startswith("--"): + for x in avail_opt.keys(): + if avail_opt[x].has_key("longopt") and "--" + avail_opt[x]["longopt"] == o: + if avail_opt[x]["getopt"].endswith(":"): + opt[o] = dict(old_opt)[o] + if "list" in avail_opt[x]: + opt[o] = opt[o].split(avail_opt[x]["list"]) + else: + opt[o] = True + else: + for x in avail_opt.keys(): + if x in avail_opt and avail_opt[x].has_key("getopt") and avail_opt[x].has_key("longopt") and \ + ("-" + avail_opt[x]["getopt"] == o or "-" + avail_opt[x]["getopt"].rstrip(":") == o): + if avail_opt[x]["getopt"].endswith(":"): + opt["--" + avail_opt[x]["longopt"]] = dict(old_opt)[o] + if "list" in avail_opt[x]: + opt["--" + avail_opt[x]["longopt"]] = opt["--" + avail_opt[x]["longopt"]].split(avail_opt[x]["list"]) + else: + opt["--" + avail_opt[x]["longopt"]] = True + + return opt + + +def get_and_remove_arg(arg): + logging.debug("Getting arg: %s" % arg) + if arg in sys.argv: + index = sys.argv.index(arg) + sys.argv.remove(arg) + if len(sys.argv) > index: + value = sys.argv[index] + sys.argv.remove(value) + logging.debug("%s: %s" % (arg, value)) + return value + return None diff --git a/tests/prepare_tests.sh b/tests/prepare_tests.sh new file mode 100755 index 000000000..2ffe4df62 --- /dev/null +++ b/tests/prepare_tests.sh @@ -0,0 +1,3 @@ +#!/usr/bin/bash +cd .. +./autogen.sh && ./configure && make && cd mitm/mitmproxy-0.1/ && python setup.py build && echo "OK" diff --git a/tests/run_tests.py b/tests/run_tests.py new file mode 100755 index 000000000..b1e4affb6 --- /dev/null +++ b/tests/run_tests.py @@ -0,0 +1,324 @@ +#!/usr/bin/python -tt + +__author__ = 'Ondrej Mular ' + +from configobj import ConfigObj +from time import sleep +import sys +import subprocess +import shlex +import logging +import os +import unittest +import re +import pprint +import fence_tests_lib as ftl + +VERBOSE = not set(["-v", "--verbose"]).isdisjoint(sys.argv) +PARAM_FORCE = ftl.get_and_remove_arg("--param") +methods = ftl.get_and_remove_arg("--method") or ftl.get_and_remove_arg("-m") +METHODS_TO_TEST = methods.split(",") if methods else ftl.METHODS + +# define tests which cannot be autodetected +#(device_config, action_config, log_file) +TESTS = [ +] + +# cli parameters +avail_opt = { + "verbose": { + "getopt": "v", + "longopt": "verbose", + "description": "Verbose mode" + }, + "help": { + "getopt": "h", + "longopt": "help", + "description": "Display help and exit" + }, + "device": { + "getopt": "d:", + "longopt": "device", + "list": ",", + "description": "List of devices to test (e.g.: apc,docker)", + "default": None + }, + "action": { + "getopt": "a:", + "longopt": "action", + "list": ",", + "description": "List of actions to test", + "default": None + }, + "method": { + "getopt": "m:", + "longopt": "method", + "list": ",", + "description": "List of input methods to test", + "default": ftl.METHODS + }, + "failfast": { + "getopt": "f", + "longopt": "failfast", + "description": "Stop after first failed test", + "default": False + }, + "show-tests": { + "getopt": "S", + "longopt": "show-tests", + "description": "Prints all found tests and exit", + "default": False + } +} + + +# TestCase class which adds posibility to add param into tests +class ParametrizedTestCase(unittest.TestCase): + """ TestCase classes that want to be parametrized should + inherit from this class. + """ + def __init__(self, methodName='runTest', param=None): + super(ParametrizedTestCase, self).__init__(methodName) + self.param = param + + @staticmethod + def parametrize(testcase_klass, param=None): + """ Create a suite containing all tests taken from the given + subclass, passing them the parameter 'param'. + """ + testloader = unittest.TestLoader() + testnames = testloader.getTestCaseNames(testcase_klass) + suite = unittest.TestSuite() + for name in testnames: + suite.addTest(testcase_klass(name, param=param)) + return suite + + +# TestCase for testing of one agent +class FenceAgentTestCase(ParametrizedTestCase): + + def __getattr__(self, key): + return None + + + # prepate enviroment for running test with MITM_PROXY + def setUp_MITMPROXY(self): + (replay_cmd, replay_env) = ftl.get_MITM_replay_cmd(self.device_config, self.action_log) + if replay_cmd: + logging.debug("Executing: %s", replay_cmd) + try: + # Try to start replay server + process = subprocess.Popen(shlex.split(replay_cmd), stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=replay_env) + except OSError as e: + logging.error("Unable to start replay server: %s" % e.message) + raise + sleep(1) # wait for replay server + if process.poll() is not None: # check if replay server is running correctly + raise Exception("Replay server is not running correctly.") + self.mitm_process = process + + + def tearDown_MITMPROXY(self): + if self.mitm_process: + process = self.mitm_process + # if server is still alive after test, kill it + if process.poll() is None: + try: + # race condition, process can exit between checking and killing process + process.kill() + except Exception: + pass + pipe_stdout, pipe_stderr = process.communicate() + process.stdout.close() + process.stderr.close() + logging.debug("Replay server STDOUT:\n%s\nReplay server STDERR:\n%s", str(pipe_stdout), str(pipe_stderr)) + + + def setUp_pycurl(self): + self.params = "--fencing_pycurl-log-in %s" % self.action_log + + + def tearDown_pycurl(self): + pass + + + def setUp_BINMITM(self): + cf = os.path.abspath(ftl.BINMITM_COUNTERFILE) + if os.path.exists(cf): + os.remove(cf) + if "BINMITM_OUTPUT" in os.environ: + del os.environ["BINMITM_OUTPUT"] + if "BINMITM_DEBUG" in os.environ: + del os.environ["BINMITM_DEBUG"] + self.env = {} + self.env["BINMITM_COUNTER_FILE"] = ftl.BINMITM_COUNTERFILE + self.env["BINMITM_INPUT"] = self.action_log + + + def tearDown_BINMITM(self): + cf = os.path.abspath(ftl.BINMITM_COUNTERFILE) + if os.path.exists(cf): + os.remove(cf) + + + def setUp(self): + if PARAM_FORCE: + force_param, force_param_val = PARAM_FORCE.split("=", 1) + self.device_cfg, self.action_cfg, self.action_log = self.param + self.device_config = ConfigObj(self.device_cfg, unrepr=True) + if PARAM_FORCE and force_param in self.device_config["options"]: + self.device_config["options"][force_param][0] = force_param_val + self.action_config = ConfigObj(self.action_cfg, unrepr=True) + self.type = self.device_config["agent_type"].lower() + self.params = "" + self.mitm_process = None + self.env = {} + type = self.type + if type == "mitmproxy": + self.setUp_MITMPROXY() + elif type =="pycurl": + self.setUp_pycurl() + elif type == "binmitm": + self.setUp_BINMITM() + + + def tearDown(self): + type = self.type + if type == "mitmproxy": + self.tearDown_MITMPROXY() + elif type =="pycurl": + self.tearDown_pycurl() + elif type == "binmitm": + self.tearDown_BINMITM() + + + @unittest.skipIf("getopt" not in METHODS_TO_TEST, "Not testing getopt method") + def test_getopt(self): + self.agent_test("getopt") + + + @unittest.skipIf("longopt" not in METHODS_TO_TEST, "Not testing longopt method") + def test_longopt(self): + self.agent_test("longopt") + + + @unittest.skipIf("stdin" not in METHODS_TO_TEST, "Not testing stdin method") + def test_stdin(self): + self.agent_test("stdin") + + + def get_failure_message(self, expected_status, status, stdout="", stderr="", long=False): + msg = "Return code was %s (expected: %s)" % (str(status), str(expected_status)) + if long: + msg += "\nSTDOUT:\n%s\nSTDERR:\n%s\n" % (stdout, stderr) + return msg + + # run test of agent with specific method + def agent_test(self, method): + action_file = self.action_cfg + actions = self.action_config + for action in actions["actions"]: + self.assertTrue(action.has_key("command"), "Action %s need to have defined 'command'"% (action_file)) + self.assertTrue(action.has_key("return_code"), "Command %s (in %s) need to have 'return_code' defined"% (action_file, action["command"])) + cmd, stdin, env = ftl._prepare_command(self.device_config, self.params, method) + env.update(self.env) + + if method == "stdin": + if stdin is None: + stdin = "" + stdin += "action=%s"% (action["command"]) + elif method == "longopt": + cmd += " --action=%s"% (action["command"]) + elif method == "getopt": + cmd += " -o %s"% (action["command"]) + + status, stdout, stderr = ftl.run_agent(cmd, stdin, env) + + logging.debug("AGENT EXITCODE: %s" % str(status)) + + self.assertTrue(bool(re.search(action["return_code"], str(status), re.IGNORECASE)), self.get_failure_message(action["return_code"], status, stdout, stderr, VERBOSE)) + + + def shortDescription(self): + self.device_cfg, self.action_cfg, self.action_log = self.param + return self.get_test_identificator(True) + + + def get_test_identificator(self, short=False): + if short: + if not self.short_test_identificator: + self.short_test_identificator = "%s => %s" % (ftl.get_basename(self.device_cfg), ftl.get_basename(self.action_cfg)) + return self.short_test_identificator + + if not self.test_identificator: + self.test_identificator = "AGENT: %s (%s)\nACTION: %s" % (self.device_config["name"], self.device_cfg, self.action_cfg) + return self.test_identificator + + +# method tries to find tests in directory tree +# returns list of (agent_cfg_path, action_cfg_path, log_path) +def find_tests(opt): + tests = [] + agents = [os.path.join(ftl.DEVICES_PATH, f) for f in os.listdir(ftl.DEVICES_PATH) + if os.path.isfile(os.path.join(ftl.DEVICES_PATH, f)) and f.endswith(".cfg") and (not opt["--device"] or f[:-4] in opt["--device"])] + actions = [f for f in os.listdir(ftl.ACTIONS_PATH) + if os.path.isfile(os.path.join(ftl.ACTIONS_PATH, f)) and f.endswith(".cfg") and (not opt["--action"] or f[:-4] in opt["--action"])] + + for agent_cfg in agents: + logging.debug("Opening device config '%s'" % agent_cfg) + config = ConfigObj(agent_cfg, unrepr = True) + logs_path = os.path.join(ftl.MITM_LOGS_PATH, config["agent"][6:]) # remove prefix 'fence_' from agent name + if "subdir" in config: + logs_path = os.path.join(logs_path, config["subdir"]) + if not os.path.exists(logs_path): + logging.info("Logs directory '%s' not exists." % logs_path) + continue + logs = [f for f in os.listdir(logs_path) if os.path.isfile(os.path.join(logs_path, f)) and f.endswith(".log")] + for log in logs: + action = "%scfg" % log[:-3] # replace suffix 'log' with 'cfg' + if action in actions: + test = (agent_cfg, os.path.join(ftl.ACTIONS_PATH, action), os.path.join(logs_path, log)) + logging.debug("Found test: %s" % str(test)) + tests.append(test) + return tests + + +def main(): + if VERBOSE: + logging.getLogger().setLevel(logging.DEBUG) + else: + logging.getLogger().setLevel(logging.INFO) + + opt = ftl.get_options(avail_opt) + + if "--help" in opt: + ftl.show_help(avail_opt, "This program can run MITM tests of fence-agents.") + sys.exit(0) + + valid_tests = find_tests(opt) + + if VERBOSE or opt["--show-tests"]: + pprint.pprint(valid_tests) + + if opt["--show-tests"]: + return + + for test in TESTS: + if test not in valid_tests \ + and (opt["--device"] is None or os.path.basename(test[0])[:-4] in opt["--device"]) \ + and (opt["--action"] is None or os.path.basename(test[1])[:-4] in opt["--action"]) \ + and os.path.exists(test[0]) \ + and os.path.exists(test[1]) \ + and os.path.exists(test[2]): + valid_tests.append(test) + + suite = unittest.TestSuite() + + for test in valid_tests: + #agent, action, log = test + suite.addTest(ParametrizedTestCase.parametrize(FenceAgentTestCase, param=test)) + + unittest.TextTestRunner(verbosity=2, failfast=opt["--failfast"]).run(suite) + +if __name__ == "__main__": + main()