diff --git a/common/protocol.py b/common/protocol.py index 543e08e4..85d4947b 100644 --- a/common/protocol.py +++ b/common/protocol.py @@ -30,23 +30,23 @@ import textwrap # Describes the protocol used to communicate with the server. protocol = [ -['', "Basic", ""], +['', "BASIC", ""], ["start", "starts the server and the jails"], ["reload", "reloads the configuration"], ["stop", "stops all jails and terminate the server"], ["status", "gets the current status of the server"], ["ping", "tests if the server is alive"], -['', "Logging", ""], +['', "LOGGING", ""], ["set loglevel ", "sets logging level to . 0 is minimal, 4 is debug"], ["get loglevel", "gets the logging level"], ["set logtarget ", "sets logging target to . Can be STDOUT, STDERR, SYSLOG or a file"], ["get logtarget", "gets logging target"], -['', "Jail control", ""], +['', "JAIL CONTROL", ""], ["add ", "creates using "], ["start ", "starts the jail "], ["stop ", "stops the jail . The jail is removed"], ["status ", "gets the current status of "], -['', "Jail configuration", ""], +['', "JAIL CONFIGURATION", ""], ["set idle on|off", "sets the idle state of "], ["set addignoreip ", "adds to the ignore list of "], ["set delignoreip ", "removes from the ignore list of "], @@ -70,7 +70,7 @@ protocol = [ ["set actioncheck ", "sets the check command of the action for "], ["set actionban ", "sets the ban command of the action for "], ["set actionunban ", "sets the unban command of the action for "], -['', "Jail information", ""], +['', "JAIL INFORMATION", ""], ["get logpath", "gets the list of the monitored files for "], ["get ignoreip", "gets the list of ignored IP addresses for "], ["get timeregex", "gets the regular expression used for the time detection for "],