This port replaces security/sguil-client, security/sguild-server and security/sguil-sensor which are at version 0.8.0. They will be removed shortly as a result. PR: 191347 Submitted by: Muhammad Rahman Sguil (pronounced sgweel) is built by network security analysts for network security analysts. Sguil's main component is an intuitive GUI that provides access to realtime events, session data, and raw packet captures. Sguil facilitates the practice of Network Security Monitoring and event driven analysis. The Sguil client is written in tcl/tk and can be run on any operating system that supports tcl/tk (including Linux, *BSD, Solaris, MacOS, and Win32).
32 lines
940 B
Bash
32 lines
940 B
Bash
#!/bin/sh
|
|
|
|
# $FreeBSD: head/security/sguil-sensor/files/sancp_agent.in 312466 2013-02-18 00:56:47Z miwi $
|
|
|
|
# PROVIDE: sancp_agent
|
|
# REQUIRE: DAEMON
|
|
# KEYWORD: shutdown
|
|
|
|
# Add the following line to /etc/rc.conf to enable sancp_agent:
|
|
# sancp_agent_enable (bool): Set to YES to enable sancp_agent
|
|
# Default: NO
|
|
# sancp_agent_conf (str): Sancp_agent configuration file
|
|
# Default: %%PREFIX%%/etc/%%SGUILDIR%%/sancp_agent.conf
|
|
# sancp_agent_flags (str): Default: -D
|
|
#
|
|
|
|
. /etc/rc.subr
|
|
|
|
name="sancp_agent"
|
|
rcvar=sancp_agent_enable
|
|
load_rc_config sancp_agent
|
|
|
|
#set defaults
|
|
: ${sancp_agent_enable:="NO"}
|
|
: ${sancp_agent_conf:="%%PREFIX%%/etc/%%SGUILDIR%%/sancp_agent.conf"}
|
|
: ${sancp_agent_flags:="-D -c ${sancp_agent_conf}"}
|
|
|
|
command="%%PREFIX%%/bin/%%SGUILDIR%%/sancp_agent.tcl"
|
|
procname="%%PREFIX%%/bin/%%TCLSH%%"
|
|
pidfile="/var/run/${name}.pid"
|
|
|
|
run_rc_command "$1"
|