Logo Search packages:      
Sourcecode: acidlab version File versions  Download package

acid_constants.inc

<?php
/*  
 * Analysis Console for Intrusion Databases (ACID)
 *
 * Author: Roman Danyliw <rdd@cert.org>, <roman@danyliw.com>
 *
 * Copyright (C) 2000, 2001 Carnegie Mellon University
 * (see the file 'acid_main.php' for license details)
 *
 * Purpose: application constants
 *
 */

/* IP encapsulated layer4 proto */
define("UDP", 17);
define("TCP", 6);
define("ICMP", 1);

define("SOURCE_PORT", 1);
define("DEST_PORT", 2);

define("SOURCE_IP", 1);
define("DEST_IP", 2);

/* Page ID */
define("PAGE_QRY_ALERTS", 1);
define("PAGE_STAT_ALERTS", 2);
define("PAGE_STAT_SENSOR", 3);
define("PAGE_QRY_AG", 4);
define("PAGE_ALERT_DISPLAY", 5);
define("PAGE_STAT_IPLINK", 6);

define("NULL_IP", "256.256.256.256");

/* Criteria Field count */
define("IPADDR_CFCNT", 11);
define("TIME_CFCNT", 10);
define("PROTO_CFCNT", 6);
define("TCPFLAGS_CFCNT", 7);
define("PAYLOAD_CFCNT", 5);

/* Database connection method */
define("DB_CONNECT", 2);
define("DB_PCONNECT", 1);

?>

Generated by  Doxygen 1.6.0   Back to index