SANCP INSTALL
=============

Minimum Requirements:

	gcc/g++ (v2.9.5 or greater, http://gcc.gnu.org/)

	libpcap (http://www.tcpdump.org/)

Basic install:

	1. Extract source tree and change directory

	   tar -zxf sancp-x.x.x.tar.gz

	   cd sancp-x.x.x


	1.a.  (Prelude users only)

	 	Read start of Makefile and modify to enable PRELUDE support 


	2. Compile for target platform: linux, bsd or solaris

	  # For Linux run:

	    make linux

	  # For BSD run:

	    make bsd

	  # For Solaris run:

	    make solaris


	3. Install program
	
	   ./install.sh

	The above script will perform a standard install:
 
	a. Adds user/group (sancp/sancp) to run sancp with setuid
	b. Creates an output directory /var/log/sancp
	c. Creates a configuration directory under /etc/sancp
	d. Copies a sample sancp.conf file to /etc/sancp


See: etc/sancp/sancp.conf for a configuration file example



Basic usage:


   sancp -i <listen-interface> -d <logging-directory> -c <configuration-file>  -F <bpf-expression-file>

   where:
        <listen-interface> = network interface name
        <logging-directory> = directory for writing output files
        <configuration-file> = text file containing configuration options
        <bpf-expression-file> = text file containing a valid bpf expression in the first line



Software documentation:

        see: docs/SETUP
             docs/README
	     docs/CHANGES
	     docs/ISSUES
	     docs/SCHEMAS


Software Maintainer websites:

        http://metre.net/sancp.html

	http://sancp.sourceforge.net


Please report bugs to sancp-devel@lists.sourceforge.net.

