Config

/* Global or per-server/per-location */
AP_INIT_TAKE1("SigSciAgentTimeout", sigsci_agent_timeout_cmd_func, NULL,
              RSRC_CONF | ACCESS_CONF, "Timeout to Signal Sciences agent, in Milliseconds"),
/* ADD "| ACCESS_CONF" to enable perdirectory stuff */
AP_INIT_TAKE1("SigSciAgentAnomalyTime", sigsci_agent_anomaly_time_cmd_func, NULL,
              RSRC_CONF | ACCESS_CONF, "Response time for Signal Sciences agent, in milliseconds"),
AP_INIT_TAKE1("SigSciAgentAnomalySize", sigsci_agent_anomaly_size_cmd_func, NULL,
              RSRC_CONF | ACCESS_CONF, "Response anomaly size for Signal Sciences agent, in bytes"),
AP_INIT_TAKE1("SigSciAgentPostLen", sigsci_maxpostlen_cmd_func, NULL,
              RSRC_CONF | ACCESS_CONF, "Max postlen size for Signal Sciences agent, in bytes"),
AP_INIT_TAKE1("RPCEnabled", sigsci_rpc_enabled_cmd_func, NULL,
              RSRC_CONF | ACCESS_CONF, "DEPRECATED: Enable RPC (set to 1)"),
AP_INIT_FLAG("SigSciAgentInspection", sigsci_agent_inspection_cmd_func, NULL,
             RSRC_CONF | ACCESS_CONF,
             "Enable/Disable Signal Sciences agent inspection (on|off)"),
AP_INIT_FLAG("SigSciEnableFixups", sigsci_enable_fixups_cmd_func, NULL,
             RSRC_CONF | ACCESS_CONF,
             "Enable/Disable Signal Sciences fixups priority over post read request handling (on|off)"),
// ex: SigSciRunBeforeModulesList mod_example_hooks.c mod_some_other.c
AP_INIT_TAKE_ARGV("SigSciRunBeforeModulesList", sigsci_run_before_cmd_func, NULL,
             RSRC_CONF | ACCESS_CONF,
             "Signal Sciences module runs before the list of specified modules"),
// ex: SigSciRunAfterModulesList mod_example_hooks.c mod_security.c
AP_INIT_TAKE_ARGV("SigSciRunAfterModulesList", sigsci_run_after_cmd_func, NULL,
             RSRC_CONF | ACCESS_CONF,
             "Signal Sciences module runs after the list of specified modules. By default it will run after mod_security.c even if not specified."),
AP_INIT_NO_ARGS(NULL, NULL, NULL, 0, NULL)};

SigSciAgentPort

SigSciAgentHost

SigSciAgentTimeout milliseconds, default

SigSciAgentAnomalySize bytes, default

SigSciAgentPostLen, bytes default

SigSciAgentInspection on/off default ?

SigSciEnableFixups on/off default=off

SigSciRunBeforeModulesList

SigSciRunAfterModulesList

DEPRECATED but backwards compatible:

AgentPort

AgentHost

AgentTimeout milliseconds, default

AgentAnomalySize bytes, default

AgentPostLen, bytes default

RPCEnabled, 1? default ?

AgentInspection on/off default ?

nginx defaults

-- module defaults m.timeout = 100 m.keepalive = 10000 m.agenthost = "unix:/var/run/sigsci.sock" m.agentport = 12345 m.maxpost = 100000 m.maxtime = 1000 m.maxsize = 512 * 1024 m.subrequest_support = false m.log_network_errors = false m.log_internal_errors = true