Updated header format (see #558)

This commit is contained in:
Gilbert Clark gc355804@ohio.edu 2011-08-30 11:20:28 -07:00
parent b723ecd0e0
commit 3b411b69f3
54 changed files with 358 additions and 337 deletions

View file

@ -6,6 +6,25 @@
#include "LogWriterAscii.h"
#include "NetVar.h"
/**
* Takes a string, escapes each character into its equivalent hex code (\x##), and
* returns a string containing all escaped values.
*
* @param str string to escape
* @return A std::string containing a list of escaped hex values of the form \x##
*/
static string _GetEscapedString(const std::string str)
{
char tbuf[128];
string esc = "";
for (size_t i = 0; i < str.length(); ++i)
{
snprintf(tbuf, 128, "\\x%02x", str[i]);
esc += tbuf;
}
return esc;
}
/**
* Takes a LogField and returns a human-readable version of its type. Used to output the type to the log file's
* header.
@ -118,40 +137,33 @@ bool LogWriterAscii::DoInit(string path, int num_fields,
if ( include_header )
{
if ( fwrite(header_prefix, header_prefix_len, 1, file) != 1 )
goto write_error;
for ( int i = 0; i < num_fields; i++ )
{
if ( i > 0 &&
fwrite(separator, separator_len, 1, file) != 1 )
goto write_error;
const LogField* field = fields[i];
if ( fputs(field->name.c_str(), file) == EOF )
goto write_error;
}
if ( fputc('\n', file) == EOF )
goto write_error;
string wString = string(header_prefix, header_prefix_len) + string("path:'") + path + string("'\n");
wString += string(header_prefix, header_prefix_len) + "separator:'" + string(separator, separator_len) + "'\n";
string wString = string(header_prefix, header_prefix_len) + "separator " + _GetEscapedString(string(separator, separator_len)) + "\n";
if(fwrite(wString.c_str(), wString.length(), 1, file) != 1)
goto write_error;
wString = string(header_prefix, header_prefix_len);
wString = string(header_prefix, header_prefix_len) + "fields" + string(separator, separator_len);
for ( int i = 0; i < num_fields; ++i )
{
const LogField* field = fields[i];
wString += ((i > 0) ? string(separator, separator_len) : string("")) + field->name + string("=") + _GetBroTypeString(field);
wString += ((i > 0) ? string(separator, separator_len) : string("")) + field->name.c_str();
}
if(fwrite(wString.c_str(), wString.length(), 1, file) != 1)
goto write_error;
if ( fputc('\n', file) == EOF )
goto write_error;
wString = string(header_prefix, header_prefix_len) + "types" + string(separator, separator_len);
for ( int i = 0; i < num_fields; ++i )
{
const LogField* field = fields[i];
wString += ((i > 0) ? string(separator, separator_len) : string("")) + _GetBroTypeString(field);
}
if(fwrite(wString.c_str(), wString.length(), 1, file) != 1)
goto write_error;
if ( fputc('\n', file) == EOF )
goto write_error;
wString = string(header_prefix, header_prefix_len) + string("path") + string(separator, separator_len) + path + string("\n");
if(fwrite(wString.c_str(), wString.length(), 1, file) != 1)
goto write_error;
}
return true;

View file

@ -1,5 +1,5 @@
# ts uid id.orig_h id.orig_p id.resp_h id.resp_p proto service duration orig_bytes resp_bytes conn_state local_orig missed_bytes history
# path:'conn'
# separator:' '
# ts=time uid=string id.orig_h=addr id.orig_p=port id.resp_h=addr id.resp_p=port proto=enum service=string duration=interval orig_bytes=count resp_bytes=count conn_state=string local_orig=bool missed_bytes=count history=string
# separator \x09
# fields ts uid id.orig_h id.orig_p id.resp_h id.resp_p proto service duration orig_bytes resp_bytes conn_state local_orig missed_bytes history
# types time string addr port addr port enum string interval count count string bool count string
# path conn
1128727435.450898 UWkUyAuUGXf 141.42.64.125 56730 125.190.109.199 80 tcp http 1.73330307006836 98 9417 SF - 0 ShADdFaf

View file

@ -1,20 +1,20 @@
# ts node filter init success
# path:'packet_filter'
# separator:' '
# ts=time node=string filter=string init=bool success=bool
1313294321.706635 - not ip6 F T
# ts node filter init success
# path:'packet_filter'
# separator:' '
# ts=time node=string filter=string init=bool success=bool
1313294321.886625 - (((((((((((((((((((((((port 53) or (tcp port 989)) or (tcp port 443)) or (udp and port 5353)) or (udp and port 5355)) or (tcp port 22)) or (tcp port 995)) or (port 21)) or (tcp port smtp or tcp port 587)) or (port 6667)) or (tcp port 614)) or (tcp port 990)) or (udp port 137)) or (tcp port 993)) or (tcp port 5223)) or (port 514)) or (tcp port 585)) or (tcp port 992)) or (tcp port 563)) or (tcp port 994)) or (tcp port 636)) or (tcp and port (80 or 81 or 631 or 1080 or 3138 or 8000 or 8080 or 8888))) or (port 6666)) and (not ip6) F T
# ts node filter init success
# path:'packet_filter'
# separator:' '
# ts=time node=string filter=string init=bool success=bool
1313294322.054107 - port 42 F T
# ts node filter init success
# path:'packet_filter'
# separator:' '
# ts=time node=string filter=string init=bool success=bool
1313294322.221475 - port 56730 T T
# separator \x09
# fields ts node filter init success
# types time string string bool bool
# path packet_filter
1314727730.005834 - not ip6 F T
# separator \x09
# fields ts node filter init success
# types time string string bool bool
# path packet_filter
1314727730.210660 - (((((((((((((((((((((((port 53) or (tcp port 989)) or (tcp port 443)) or (udp and port 5353)) or (udp and port 5355)) or (tcp port 22)) or (tcp port 995)) or (port 21)) or (tcp port smtp or tcp port 587)) or (port 6667)) or (tcp port 614)) or (tcp port 990)) or (udp port 137)) or (tcp port 993)) or (tcp port 5223)) or (port 514)) or (tcp port 585)) or (tcp port 992)) or (tcp port 563)) or (tcp port 994)) or (tcp port 636)) or (tcp and port (80 or 81 or 631 or 1080 or 3138 or 8000 or 8080 or 8888))) or (port 6666)) and (not ip6) F T
# separator \x09
# fields ts node filter init success
# types time string string bool bool
# path packet_filter
1314727730.391189 - port 42 F T
# separator \x09
# fields ts node filter init success
# types time string string bool bool
# path packet_filter
1314727730.576036 - port 56730 T T

View file

@ -1,7 +1,7 @@
# ts uid id.orig_h id.orig_p id.resp_h id.resp_p proto service duration orig_bytes resp_bytes conn_state local_orig missed_bytes history
# path:'conn'
# separator:' '
# ts=time uid=string id.orig_h=addr id.orig_p=port id.resp_h=addr id.resp_p=port proto=enum service=string duration=interval orig_bytes=count resp_bytes=count conn_state=string local_orig=bool missed_bytes=count history=string
# separator \x09
# fields ts uid id.orig_h id.orig_p id.resp_h id.resp_p proto service duration orig_bytes resp_bytes conn_state local_orig missed_bytes history
# types time string addr port addr port enum string interval count count string bool count string
# path conn
952109346.874907 UWkUyAuUGXf 10.1.2.1 11001 10.34.0.1 23 tcp - 2.10255992412567 25 0 SH - 0 -
1128727435.450898 56gKBmhBBB6 141.42.64.125 56730 125.190.109.199 80 tcp http 1.73330307006836 98 9417 SF - 0 ShADdFaf
1278600802.069419 50da4BEzauh 10.20.80.1 50343 10.0.0.15 80 tcp - 0.00415205955505371 9 3429 SF - 0 ShADadfF

View file

@ -1,5 +1,5 @@
# ts uid id.orig_h id.orig_p id.resp_h id.resp_p method host uri referrer user_agent request_content_length response_content_length status_code status_msg filename tags username password proxied mime_type md5 extraction_file
# path:'http'
# separator:' '
# ts=time uid=string id.orig_h=addr id.orig_p=port id.resp_h=addr id.resp_p=port method=string host=string uri=string referrer=string user_agent=string request_content_length=count response_content_length=count status_code=count status_msg=string filename=string tags=table username=string password=string proxied=table mime_type=string md5=string extraction_file=file
1313294803.616197 56gKBmhBBB6 141.42.64.125 56730 125.190.109.199 80 GET www.icir.org / - Wget/1.10 - 9130 200 OK - - - - - text/html - -
# separator \x09
# fields ts uid id.orig_h id.orig_p id.resp_h id.resp_p method host uri referrer user_agent request_content_length response_content_length status_code status_msg filename tags username password proxied mime_type md5 extraction_file
# types time string addr port addr port string string string string string count count count string string table string string table string string file
# path http
1314727981.131631 56gKBmhBBB6 141.42.64.125 56730 125.190.109.199 80 GET www.icir.org / - Wget/1.10 - 9130 200 OK - - - - - text/html - -

View file

@ -1,5 +1,5 @@
# ts uid id.orig_h id.orig_p id.resp_h id.resp_p method host uri referrer user_agent request_content_length response_content_length status_code status_msg filename tags username password proxied mime_type md5 extraction_file
# path:'http'
# separator:' '
# ts=time uid=string id.orig_h=addr id.orig_p=port id.resp_h=addr id.resp_p=port method=string host=string uri=string referrer=string user_agent=string request_content_length=count response_content_length=count status_code=count status_msg=string filename=string tags=table username=string password=string proxied=table mime_type=string md5=string extraction_file=file
1313294803.616197 56gKBmhBBB6 141.42.64.125 56730 125.190.109.199 80 GET www.icir.org / - Wget/1.10 - 9130 200 OK - - - - - text/html - -
# separator \x09
# fields ts uid id.orig_h id.orig_p id.resp_h id.resp_p method host uri referrer user_agent request_content_length response_content_length status_code status_msg filename tags username password proxied mime_type md5 extraction_file
# types time string addr port addr port string string string string string count count count string string table string string table string string file
# path http
1314727981.131631 56gKBmhBBB6 141.42.64.125 56730 125.190.109.199 80 GET www.icir.org / - Wget/1.10 - 9130 200 OK - - - - - text/html - -

View file

@ -1,5 +1,5 @@
# ts uid id.orig_h id.orig_p id.resp_h id.resp_p method host uri referrer user_agent request_content_length response_content_length status_code status_msg filename tags username password proxied mime_type md5 extraction_file
# path:'http'
# separator:' '
# ts=time uid=string id.orig_h=addr id.orig_p=port id.resp_h=addr id.resp_p=port method=string host=string uri=string referrer=string user_agent=string request_content_length=count response_content_length=count status_code=count status_msg=string filename=string tags=table username=string password=string proxied=table mime_type=string md5=string extraction_file=file
1313294821.853639 56gKBmhBBB6 141.42.64.125 56730 125.190.109.199 80 GET www.icir.org / - Wget/1.10 - 9130 200 OK - - - - - text/html - -
# separator \x09
# fields ts uid id.orig_h id.orig_p id.resp_h id.resp_p method host uri referrer user_agent request_content_length response_content_length status_code status_msg filename tags username password proxied mime_type md5 extraction_file
# types time string addr port addr port string string string string string count count count string string table string string table string string file
# path http
1314727996.111318 56gKBmhBBB6 141.42.64.125 56730 125.190.109.199 80 GET www.icir.org / - Wget/1.10 - 9130 200 OK - - - - - text/html - -

View file

@ -1,5 +1,5 @@
# ts uid id.orig_h id.orig_p id.resp_h id.resp_p method host uri referrer user_agent request_content_length response_content_length status_code status_msg filename tags username password proxied mime_type md5 extraction_file
# path:'http'
# separator:' '
# ts=time uid=string id.orig_h=addr id.orig_p=port id.resp_h=addr id.resp_p=port method=string host=string uri=string referrer=string user_agent=string request_content_length=count response_content_length=count status_code=count status_msg=string filename=string tags=table username=string password=string proxied=table mime_type=string md5=string extraction_file=file
1313294821.853639 56gKBmhBBB6 141.42.64.125 56730 125.190.109.199 80 GET www.icir.org / - Wget/1.10 - 9130 200 OK - - - - - text/html - -
# separator \x09
# fields ts uid id.orig_h id.orig_p id.resp_h id.resp_p method host uri referrer user_agent request_content_length response_content_length status_code status_msg filename tags username password proxied mime_type md5 extraction_file
# types time string addr port addr port string string string string string count count count string string table string string table string string file
# path http
1314727996.111318 56gKBmhBBB6 141.42.64.125 56730 125.190.109.199 80 GET www.icir.org / - Wget/1.10 - 9130 200 OK - - - - - text/html - -

View file

@ -1,6 +1,6 @@
# t id.orig_h id.orig_p id.resp_h id.resp_p status country
# path:'ssh-new-default'
# separator:' '
# t=time id.orig_h=addr id.orig_p=port id.resp_h=addr id.resp_p=port status=string country=string
1313294629.401535 1.2.3.4 1234 2.3.4.5 80 success unknown
1313294629.401535 1.2.3.4 1234 2.3.4.5 80 failure US
# separator \x09
# fields t id.orig_h id.orig_p id.resp_h id.resp_p status country
# types time addr port addr port string string
# path ssh-new-default
1314727872.290926 1.2.3.4 1234 2.3.4.5 80 success unknown
1314727872.290926 1.2.3.4 1234 2.3.4.5 80 failure US

View file

@ -1,9 +1,9 @@
PREFIX<>t|id.orig_h|id.orig_p|id.resp_h|id.resp_p|status|country|b
PREFIX<>path:'ssh'
PREFIX<>separator:'|'
PREFIX<>t=time|id.orig_h=addr|id.orig_p=port|id.resp_h=addr|id.resp_p=port|status=string|country=string|b=bool
1313294759.195743|1.2.3.4|1234|2.3.4.5|80|success|unknown|NOT-SET
1313294759.195743|1.2.3.4|1234|2.3.4.5|80|NOT-SET|US|NOT-SET
1313294759.195743|1.2.3.4|1234|2.3.4.5|80|failure|UK|NOT-SET
1313294759.195743|1.2.3.4|1234|2.3.4.5|80|NOT-SET|BR|NOT-SET
1313294759.195743|1.2.3.4|1234|2.3.4.5|80|failure|EMPTY|T
PREFIX<>separator \x7c
PREFIX<>fields|t|id.orig_h|id.orig_p|id.resp_h|id.resp_p|status|country|b
PREFIX<>types|time|addr|port|addr|port|string|string|bool
PREFIX<>path|ssh
1314727948.493595|1.2.3.4|1234|2.3.4.5|80|success|unknown|NOT-SET
1314727948.493595|1.2.3.4|1234|2.3.4.5|80|NOT-SET|US|NOT-SET
1314727948.493595|1.2.3.4|1234|2.3.4.5|80|failure|UK|NOT-SET
1314727948.493595|1.2.3.4|1234|2.3.4.5|80|NOT-SET|BR|NOT-SET
1314727948.493595|1.2.3.4|1234|2.3.4.5|80|failure|EMPTY|T

View file

@ -1,7 +1,7 @@
# data
# path:'test'
# separator:' '
# data=time
# separator \x09
# fields data
# types time
# path test
1234567890.000000
1234567890.000000
1234567890.010000

View file

@ -1,5 +1,5 @@
# status country a1 b1 b2
# path:'ssh'
# separator:' '
# status=string country=string a1=count b1=count b2=count
# separator \x09
# fields status country a1 b1 b2
# types string string count count count
# path ssh
success unknown 1 3 4

View file

@ -1,7 +1,7 @@
# status country
# path:'ssh'
# separator:' '
# status=string country=string
# separator \x09
# fields status country
# types string string
# path ssh
success unknown
failure US
failure UK

View file

@ -1,9 +1,9 @@
# t id.orig_h id.orig_p id.resp_h id.resp_p status country
# path:'ssh'
# separator:' '
# t=time id.orig_h=addr id.orig_p=port id.resp_h=addr id.resp_p=port status=string country=string
1313294569.495672 1.2.3.4 1234 2.3.4.5 80 success unknown
1313294569.495672 1.2.3.4 1234 2.3.4.5 80 failure US
1313294569.495672 1.2.3.4 1234 2.3.4.5 80 failure UK
1313294569.495672 1.2.3.4 1234 2.3.4.5 80 success BR
1313294569.495672 1.2.3.4 1234 2.3.4.5 80 failure MX
# separator \x09
# fields t id.orig_h id.orig_p id.resp_h id.resp_p status country
# types time addr port addr port string string
# path ssh
1314727852.730851 1.2.3.4 1234 2.3.4.5 80 success unknown
1314727852.730851 1.2.3.4 1234 2.3.4.5 80 failure US
1314727852.730851 1.2.3.4 1234 2.3.4.5 80 failure UK
1314727852.730851 1.2.3.4 1234 2.3.4.5 80 success BR
1314727852.730851 1.2.3.4 1234 2.3.4.5 80 failure MX

View file

@ -1,7 +1,7 @@
# id.orig_p id.resp_h id.resp_p status country
# path:'ssh'
# separator:' '
# id.orig_p=port id.resp_h=addr id.resp_p=port status=string country=string
# separator \x09
# fields id.orig_p id.resp_h id.resp_p status country
# types port addr port string string
# path ssh
1234 2.3.4.5 80 success unknown
1234 2.3.4.5 80 failure US
1234 2.3.4.5 80 failure UK

View file

@ -1,5 +1,5 @@
# t f
# path:'ssh'
# separator:' '
# t=time f=file
1313294659.301877 Foo.log
# separator \x09
# fields t f
# types time file
# path ssh
1314727892.880049 Foo.log

View file

@ -1,9 +1,9 @@
# t id.orig_h
# path:'ssh'
# separator:' '
# t=time id.orig_h=addr
1313294779.446569 1.2.3.4
1313294779.446569 1.2.3.4
1313294779.446569 1.2.3.4
1313294779.446569 1.2.3.4
1313294779.446569 1.2.3.4
# separator \x09
# fields t id.orig_h
# types time addr
# path ssh
1314727963.092660 1.2.3.4
1314727963.092660 1.2.3.4
1314727963.092660 1.2.3.4
1314727963.092660 1.2.3.4
1314727963.092660 1.2.3.4

View file

@ -5,38 +5,38 @@ static-prefix-1-MX.log
static-prefix-1-US.log
static-prefix-2-MX2.log
static-prefix-2-UK.log
# t id.orig_h id.orig_p id.resp_h id.resp_p status country
# path:'static-prefix-0-BR'
# separator:' '
# t=time id.orig_h=addr id.orig_p=port id.resp_h=addr id.resp_p=port status=string country=string
1313294713.688145 1.2.3.4 1234 2.3.4.5 80 success BR
# t id.orig_h id.orig_p id.resp_h id.resp_p status country
# path:'static-prefix-0-MX3'
# separator:' '
# t=time id.orig_h=addr id.orig_p=port id.resp_h=addr id.resp_p=port status=string country=string
1313294713.688145 1.2.3.4 1234 2.3.4.5 80 failure MX3
# t id.orig_h id.orig_p id.resp_h id.resp_p status country
# path:'static-prefix-0-unknown'
# separator:' '
# t=time id.orig_h=addr id.orig_p=port id.resp_h=addr id.resp_p=port status=string country=string
1313294713.688145 1.2.3.4 1234 2.3.4.5 80 success unknown
# t id.orig_h id.orig_p id.resp_h id.resp_p status country
# path:'static-prefix-1-MX'
# separator:' '
# t=time id.orig_h=addr id.orig_p=port id.resp_h=addr id.resp_p=port status=string country=string
1313294713.688145 1.2.3.4 1234 2.3.4.5 80 failure MX
# t id.orig_h id.orig_p id.resp_h id.resp_p status country
# path:'static-prefix-1-US'
# separator:' '
# t=time id.orig_h=addr id.orig_p=port id.resp_h=addr id.resp_p=port status=string country=string
1313294713.688145 1.2.3.4 1234 2.3.4.5 80 failure US
# t id.orig_h id.orig_p id.resp_h id.resp_p status country
# path:'static-prefix-2-MX2'
# separator:' '
# t=time id.orig_h=addr id.orig_p=port id.resp_h=addr id.resp_p=port status=string country=string
1313294713.688145 1.2.3.4 1234 2.3.4.5 80 failure MX2
# t id.orig_h id.orig_p id.resp_h id.resp_p status country
# path:'static-prefix-2-UK'
# separator:' '
# t=time id.orig_h=addr id.orig_p=port id.resp_h=addr id.resp_p=port status=string country=string
1313294713.688145 1.2.3.4 1234 2.3.4.5 80 failure UK
# separator \x09
# fields t id.orig_h id.orig_p id.resp_h id.resp_p status country
# types time addr port addr port string string
# path static-prefix-0-BR
1314727918.882660 1.2.3.4 1234 2.3.4.5 80 success BR
# separator \x09
# fields t id.orig_h id.orig_p id.resp_h id.resp_p status country
# types time addr port addr port string string
# path static-prefix-0-MX3
1314727918.882660 1.2.3.4 1234 2.3.4.5 80 failure MX3
# separator \x09
# fields t id.orig_h id.orig_p id.resp_h id.resp_p status country
# types time addr port addr port string string
# path static-prefix-0-unknown
1314727918.882660 1.2.3.4 1234 2.3.4.5 80 success unknown
# separator \x09
# fields t id.orig_h id.orig_p id.resp_h id.resp_p status country
# types time addr port addr port string string
# path static-prefix-1-MX
1314727918.882660 1.2.3.4 1234 2.3.4.5 80 failure MX
# separator \x09
# fields t id.orig_h id.orig_p id.resp_h id.resp_p status country
# types time addr port addr port string string
# path static-prefix-1-US
1314727918.882660 1.2.3.4 1234 2.3.4.5 80 failure US
# separator \x09
# fields t id.orig_h id.orig_p id.resp_h id.resp_p status country
# types time addr port addr port string string
# path static-prefix-2-MX2
1314727918.882660 1.2.3.4 1234 2.3.4.5 80 failure MX2
# separator \x09
# fields t id.orig_h id.orig_p id.resp_h id.resp_p status country
# types time addr port addr port string string
# path static-prefix-2-UK
1314727918.882660 1.2.3.4 1234 2.3.4.5 80 failure UK

View file

@ -1,5 +1,5 @@
# t id.orig_h id.orig_p id.resp_h id.resp_p status country
# path:'ssh.failure'
# separator:' '
# t=time id.orig_h=addr id.orig_p=port id.resp_h=addr id.resp_p=port status=string country=string
1313294637.607505 1.2.3.4 1234 2.3.4.5 80 failure US
# separator \x09
# fields t id.orig_h id.orig_p id.resp_h id.resp_p status country
# types time addr port addr port string string
# path ssh.failure
1314727874.590133 1.2.3.4 1234 2.3.4.5 80 failure US

View file

@ -1,5 +1,5 @@
# t id.orig_h id.orig_p id.resp_h id.resp_p status country
# path:'ssh.success'
# separator:' '
# t=time id.orig_h=addr id.orig_p=port id.resp_h=addr id.resp_p=port status=string country=string
1313294637.607505 1.2.3.4 1234 2.3.4.5 80 success -
# separator \x09
# fields t id.orig_h id.orig_p id.resp_h id.resp_p status country
# types time addr port addr port string string
# path ssh.success
1314727874.590133 1.2.3.4 1234 2.3.4.5 80 success -

View file

@ -1,5 +1,5 @@
# b i e c p sn n a d t iv s sc ss se vc ve
# path:'test'
# separator:' '
# b=bool i=int e=enum c=count p=port sn=subnet n=net a=addr d=double t=time iv=interval s=string sc=table ss=table se=table vc=vector ve=vector
T -42 Test::TEST 21 123 10.0.0.0/24 10.0.0.0 1.2.3.4 3.14 1313294605.568014 100.0 hurz 2,4,1,3 CC,AA,BB EMPTY 10,20,30 EMPTY
# separator \x09
# fields b i e c p sn n a d t iv s sc ss se vc ve
# types bool int enum count port subnet net addr double time interval string table table table vector vector
# path test
T -42 Test::TEST 21 123 10.0.0.0/24 10.0.0.0 1.2.3.4 3.14 1314727862.540918 100.0 hurz 2,4,1,3 CC,AA,BB EMPTY 10,20,30 EMPTY

View file

@ -1,7 +1,7 @@
# t id.orig_h id.orig_p id.resp_h id.resp_p status country
# path:'test.failure'
# separator:' '
# t=time id.orig_h=addr id.orig_p=port id.resp_h=addr id.resp_p=port status=string country=string
1313294726.669862 1.2.3.4 1234 2.3.4.5 80 failure US
1313294726.669862 1.2.3.4 1234 2.3.4.5 80 failure UK
1313294726.669862 1.2.3.4 1234 2.3.4.5 80 failure MX
# separator \x09
# fields t id.orig_h id.orig_p id.resp_h id.resp_p status country
# types time addr port addr port string string
# path test.failure
1314727932.130262 1.2.3.4 1234 2.3.4.5 80 failure US
1314727932.130262 1.2.3.4 1234 2.3.4.5 80 failure UK
1314727932.130262 1.2.3.4 1234 2.3.4.5 80 failure MX

View file

@ -1,9 +1,9 @@
# t id.orig_h id.orig_p id.resp_h id.resp_p status country
# path:'test'
# separator:' '
# t=time id.orig_h=addr id.orig_p=port id.resp_h=addr id.resp_p=port status=string country=string
1313294726.669862 1.2.3.4 1234 2.3.4.5 80 success -
1313294726.669862 1.2.3.4 1234 2.3.4.5 80 failure US
1313294726.669862 1.2.3.4 1234 2.3.4.5 80 failure UK
1313294726.669862 1.2.3.4 1234 2.3.4.5 80 success BR
1313294726.669862 1.2.3.4 1234 2.3.4.5 80 failure MX
# separator \x09
# fields t id.orig_h id.orig_p id.resp_h id.resp_p status country
# types time addr port addr port string string
# path test
1314727932.130262 1.2.3.4 1234 2.3.4.5 80 success -
1314727932.130262 1.2.3.4 1234 2.3.4.5 80 failure US
1314727932.130262 1.2.3.4 1234 2.3.4.5 80 failure UK
1314727932.130262 1.2.3.4 1234 2.3.4.5 80 success BR
1314727932.130262 1.2.3.4 1234 2.3.4.5 80 failure MX

View file

@ -1,6 +1,6 @@
# t id.orig_h id.orig_p id.resp_h id.resp_p status country
# path:'test.success'
# separator:' '
# t=time id.orig_h=addr id.orig_p=port id.resp_h=addr id.resp_p=port status=string country=string
1313294726.669862 1.2.3.4 1234 2.3.4.5 80 success -
1313294726.669862 1.2.3.4 1234 2.3.4.5 80 success BR
# separator \x09
# fields t id.orig_h id.orig_p id.resp_h id.resp_p status country
# types time addr port addr port string string
# path test.success
1314727932.130262 1.2.3.4 1234 2.3.4.5 80 success -
1314727932.130262 1.2.3.4 1234 2.3.4.5 80 success BR

View file

@ -1,6 +1,6 @@
# t id.orig_h id.orig_p id.resp_h id.resp_p status country
# path:'ssh.failure'
# separator:' '
# t=time id.orig_h=addr id.orig_p=port id.resp_h=addr id.resp_p=port status=string country=string
1313294785.141559 1.2.3.4 1234 2.3.4.5 80 failure US
1313294785.141559 1.2.3.4 1234 2.3.4.5 80 failure UK
# separator \x09
# fields t id.orig_h id.orig_p id.resp_h id.resp_p status country
# types time addr port addr port string string
# path ssh.failure
1314727967.932172 1.2.3.4 1234 2.3.4.5 80 failure US
1314727967.932172 1.2.3.4 1234 2.3.4.5 80 failure UK

View file

@ -1,7 +1,7 @@
# t id.orig_h id.orig_p id.resp_h id.resp_p status country
# path:'ssh'
# separator:' '
# t=time id.orig_h=addr id.orig_p=port id.resp_h=addr id.resp_p=port status=string country=string
1313294785.141559 1.2.3.4 1234 2.3.4.5 80 failure US
1313294785.141559 1.2.3.4 1234 2.3.4.5 80 failure UK
1313294785.141559 1.2.3.4 1234 2.3.4.5 80 failure BR
# separator \x09
# fields t id.orig_h id.orig_p id.resp_h id.resp_p status country
# types time addr port addr port string string
# path ssh
1314727967.932172 1.2.3.4 1234 2.3.4.5 80 failure US
1314727967.932172 1.2.3.4 1234 2.3.4.5 80 failure UK
1314727967.932172 1.2.3.4 1234 2.3.4.5 80 failure BR

View file

@ -28,11 +28,11 @@ custom rotate, [writer=WRITER_ASCII, fname=test2-11-03-07_11.00.05.log, path=tes
custom rotate, [writer=WRITER_ASCII, fname=test2-11-03-07_11.59.55.log, path=test2, open=1299499195.0, close=1299499205.0, terminating=F]
custom rotate, [writer=WRITER_ASCII, fname=test2-11-03-07_12.00.05.log, path=test2, open=1299499205.0, close=1299502795.0, terminating=F]
custom rotate, [writer=WRITER_ASCII, fname=test2-11-03-07_12.59.55.log, path=test2, open=1299502795.0, close=1299502795.0, terminating=T]
# path:'test'
# path:'test2'
# separator:' '
# t id.orig_h id.orig_p id.resp_h id.resp_p
# t=time id.orig_h=addr id.orig_p=port id.resp_h=addr id.resp_p=port
# fields t id.orig_h id.orig_p id.resp_h id.resp_p
# path test
# path test2
# separator \x09
# types time addr port addr port
1299466805.000000 10.0.0.1 20 10.0.0.2 1024
1299470395.000000 10.0.0.2 20 10.0.0.3 0
1299470405.000000 10.0.0.1 20 10.0.0.2 1025

View file

@ -9,72 +9,72 @@ test.2011-03-07-10-00-05.log test 11-03-07_10.00.05 11-03-07_11.00.05 0
test.2011-03-07-11-00-05.log test 11-03-07_11.00.05 11-03-07_12.00.05 0
test.2011-03-07-12-00-05.log test 11-03-07_12.00.05 11-03-07_12.59.55 1
> test.2011-03-07-03-00-05.log
# t id.orig_h id.orig_p id.resp_h id.resp_p
# path:'test'
# separator:' '
# t=time id.orig_h=addr id.orig_p=port id.resp_h=addr id.resp_p=port
# separator \x09
# fields t id.orig_h id.orig_p id.resp_h id.resp_p
# types time addr port addr port
# path test
1299466805.000000 10.0.0.1 20 10.0.0.2 1024
1299470395.000000 10.0.0.2 20 10.0.0.3 0
> test.2011-03-07-04-00-05.log
# t id.orig_h id.orig_p id.resp_h id.resp_p
# path:'test'
# separator:' '
# t=time id.orig_h=addr id.orig_p=port id.resp_h=addr id.resp_p=port
# separator \x09
# fields t id.orig_h id.orig_p id.resp_h id.resp_p
# types time addr port addr port
# path test
1299470405.000000 10.0.0.1 20 10.0.0.2 1025
1299473995.000000 10.0.0.2 20 10.0.0.3 1
> test.2011-03-07-05-00-05.log
# t id.orig_h id.orig_p id.resp_h id.resp_p
# path:'test'
# separator:' '
# t=time id.orig_h=addr id.orig_p=port id.resp_h=addr id.resp_p=port
# separator \x09
# fields t id.orig_h id.orig_p id.resp_h id.resp_p
# types time addr port addr port
# path test
1299474005.000000 10.0.0.1 20 10.0.0.2 1026
1299477595.000000 10.0.0.2 20 10.0.0.3 2
> test.2011-03-07-06-00-05.log
# t id.orig_h id.orig_p id.resp_h id.resp_p
# path:'test'
# separator:' '
# t=time id.orig_h=addr id.orig_p=port id.resp_h=addr id.resp_p=port
# separator \x09
# fields t id.orig_h id.orig_p id.resp_h id.resp_p
# types time addr port addr port
# path test
1299477605.000000 10.0.0.1 20 10.0.0.2 1027
1299481195.000000 10.0.0.2 20 10.0.0.3 3
> test.2011-03-07-07-00-05.log
# t id.orig_h id.orig_p id.resp_h id.resp_p
# path:'test'
# separator:' '
# t=time id.orig_h=addr id.orig_p=port id.resp_h=addr id.resp_p=port
# separator \x09
# fields t id.orig_h id.orig_p id.resp_h id.resp_p
# types time addr port addr port
# path test
1299481205.000000 10.0.0.1 20 10.0.0.2 1028
1299484795.000000 10.0.0.2 20 10.0.0.3 4
> test.2011-03-07-08-00-05.log
# t id.orig_h id.orig_p id.resp_h id.resp_p
# path:'test'
# separator:' '
# t=time id.orig_h=addr id.orig_p=port id.resp_h=addr id.resp_p=port
# separator \x09
# fields t id.orig_h id.orig_p id.resp_h id.resp_p
# types time addr port addr port
# path test
1299484805.000000 10.0.0.1 20 10.0.0.2 1029
1299488395.000000 10.0.0.2 20 10.0.0.3 5
> test.2011-03-07-09-00-05.log
# t id.orig_h id.orig_p id.resp_h id.resp_p
# path:'test'
# separator:' '
# t=time id.orig_h=addr id.orig_p=port id.resp_h=addr id.resp_p=port
# separator \x09
# fields t id.orig_h id.orig_p id.resp_h id.resp_p
# types time addr port addr port
# path test
1299488405.000000 10.0.0.1 20 10.0.0.2 1030
1299491995.000000 10.0.0.2 20 10.0.0.3 6
> test.2011-03-07-10-00-05.log
# t id.orig_h id.orig_p id.resp_h id.resp_p
# path:'test'
# separator:' '
# t=time id.orig_h=addr id.orig_p=port id.resp_h=addr id.resp_p=port
# separator \x09
# fields t id.orig_h id.orig_p id.resp_h id.resp_p
# types time addr port addr port
# path test
1299492005.000000 10.0.0.1 20 10.0.0.2 1031
1299495595.000000 10.0.0.2 20 10.0.0.3 7
> test.2011-03-07-11-00-05.log
# t id.orig_h id.orig_p id.resp_h id.resp_p
# path:'test'
# separator:' '
# t=time id.orig_h=addr id.orig_p=port id.resp_h=addr id.resp_p=port
# separator \x09
# fields t id.orig_h id.orig_p id.resp_h id.resp_p
# types time addr port addr port
# path test
1299495605.000000 10.0.0.1 20 10.0.0.2 1032
1299499195.000000 10.0.0.2 20 10.0.0.3 8
> test.2011-03-07-12-00-05.log
# t id.orig_h id.orig_p id.resp_h id.resp_p
# path:'test'
# separator:' '
# t=time id.orig_h=addr id.orig_p=port id.resp_h=addr id.resp_p=port
# separator \x09
# fields t id.orig_h id.orig_p id.resp_h id.resp_p
# types time addr port addr port
# path test
1299499205.000000 10.0.0.1 20 10.0.0.2 1033
1299502795.000000 10.0.0.2 20 10.0.0.3 9

View file

@ -1,9 +1,9 @@
# t id.orig_h id.orig_p id.resp_h id.resp_p status country
# path:'/dev/stdout'
# separator:' '
# t=time id.orig_h=addr id.orig_p=port id.resp_h=addr id.resp_p=port status=string country=string
1313294620.928942 1.2.3.4 1234 2.3.4.5 80 success unknown
1313294620.928942 1.2.3.4 1234 2.3.4.5 80 failure US
1313294620.928942 1.2.3.4 1234 2.3.4.5 80 failure UK
1313294620.928942 1.2.3.4 1234 2.3.4.5 80 success BR
1313294620.928942 1.2.3.4 1234 2.3.4.5 80 failure MX
# separator \x09
# fields t id.orig_h id.orig_p id.resp_h id.resp_p status country
# types time addr port addr port string string
# path /dev/stdout
1314727869.880042 1.2.3.4 1234 2.3.4.5 80 success unknown
1314727869.880042 1.2.3.4 1234 2.3.4.5 80 failure US
1314727869.880042 1.2.3.4 1234 2.3.4.5 80 failure UK
1314727869.880042 1.2.3.4 1234 2.3.4.5 80 success BR
1314727869.880042 1.2.3.4 1234 2.3.4.5 80 failure MX

View file

@ -1,9 +1,9 @@
# t id.orig_h id.orig_p id.resp_h id.resp_p status country
# path:'ssh'
# separator:' '
# t=time id.orig_h=addr id.orig_p=port id.resp_h=addr id.resp_p=port status=string country=string
1313294707.543971 1.2.3.4 1234 2.3.4.5 80 success unknown
1313294707.543971 1.2.3.4 1234 2.3.4.5 80 failure US
1313294707.543971 1.2.3.4 1234 2.3.4.5 80 failure UK
1313294707.543971 1.2.3.4 1234 2.3.4.5 80 success BR
1313294707.543971 1.2.3.4 1234 2.3.4.5 80 failure MX
# separator \x09
# fields t id.orig_h id.orig_p id.resp_h id.resp_p status country
# types time addr port addr port string string
# path ssh
1314727916.553137 1.2.3.4 1234 2.3.4.5 80 success unknown
1314727916.553137 1.2.3.4 1234 2.3.4.5 80 failure US
1314727916.553137 1.2.3.4 1234 2.3.4.5 80 failure UK
1314727916.553137 1.2.3.4 1234 2.3.4.5 80 success BR
1314727916.553137 1.2.3.4 1234 2.3.4.5 80 failure MX

View file

@ -1,6 +1,6 @@
# a.val1 a.val2 b
# path:'testing'
# separator:' '
# a.val1=count a.val2=count b=count
# separator \x09
# fields a.val1 a.val2 b
# types count count count
# path testing
- - 6
1 2 3

View file

@ -1,5 +1,5 @@
# vec
# path:'ssh'
# separator:' '
# vec=vector
# separator \x09
# fields vec
# types vector
# path ssh
-,2,-,-,5

View file

@ -1,7 +1,7 @@
# ts host
# path:'known_hosts'
# separator:' '
# ts=time host=addr
# separator \x09
# fields ts host
# types time addr
# path known_hosts
1300475168.783842 141.142.220.118
1300475168.783842 208.80.152.118
1300475168.915940 208.80.152.3

View file

@ -1,5 +1,5 @@
# ts host
# path:'known_hosts'
# separator:' '
# ts=time host=addr
# separator \x09
# fields ts host
# types time addr
# path known_hosts
1300475168.783842 141.142.220.118

View file

@ -1,7 +1,7 @@
# ts host
# path:'known_hosts'
# separator:' '
# ts=time host=addr
# separator \x09
# fields ts host
# types time addr
# path known_hosts
1300475168.783842 208.80.152.118
1300475168.915940 208.80.152.3
1300475168.962628 208.80.152.2

View file

@ -1,7 +1,7 @@
# ts host port_num port_proto service
# path:'known_services'
# separator:' '
# ts=time host=addr port_num=port port_proto=enum service=table
# separator \x09
# fields ts host port_num port_proto service
# types time addr port enum table
# path known_services
1308930691.035044 172.16.238.131 22 tcp SSH
1308930694.548964 172.16.238.131 80 tcp HTTP
1308930716.457950 74.125.225.81 80 tcp HTTP

View file

@ -1,7 +1,7 @@
# ts host port_num port_proto service
# path:'known_services'
# separator:' '
# ts=time host=addr port_num=port port_proto=enum service=table
# separator \x09
# fields ts host port_num port_proto service
# types time addr port enum table
# path known_services
1308930691.035044 172.16.238.131 22 tcp SSH
1308930694.548964 172.16.238.131 80 tcp HTTP
1308930703.068148 172.16.238.131 21 tcp FTP

View file

@ -1,6 +1,6 @@
# ts host port_num port_proto service
# path:'known_services'
# separator:' '
# ts=time host=addr port_num=port port_proto=enum service=table
# separator \x09
# fields ts host port_num port_proto service
# types time addr port enum table
# path known_services
1308930716.457950 74.125.225.81 80 tcp HTTP
1308930726.864150 141.142.192.39 22 tcp SSH

View file

@ -1,5 +1,5 @@
# ts uid id.orig_h id.orig_p id.resp_h id.resp_p proto trans_id query qclass qclass_name qtype qtype_name rcode rcode_name QR AA TC RD RA Z TTL answers auth addl
# path:'dns'
# separator:' '
# ts=time uid=string id.orig_h=addr id.orig_p=port id.resp_h=addr id.resp_p=port proto=enum trans_id=count query=string qclass=count qclass_name=string qtype=count qtype_name=string rcode=count rcode_name=string QR=bool AA=bool TC=bool RD=bool RA=bool Z=count TTL=interval answers=table auth=table addl=table
# separator \x09
# fields ts uid id.orig_h id.orig_p id.resp_h id.resp_p proto trans_id query qclass qclass_name qtype qtype_name rcode rcode_name QR AA TC RD RA Z TTL answers auth addl
# types time string addr port addr port enum count string count string count string count string bool bool bool bool bool count interval table table table
# path dns
930613226.529070 UWkUyAuUGXf 212.180.42.100 25000 131.243.64.3 53 tcp 34798 - - - - - 0 NOERROR F F F F T 0 31337.0 4.3.2.1 - -

View file

@ -1,7 +1,7 @@
# ts uid id.orig_h id.orig_p id.resp_h id.resp_p method host uri referrer user_agent request_content_length response_content_length status_code status_msg filename tags username password proxied mime_type md5 extraction_file
# path:'http'
# separator:' '
# ts=time uid=string id.orig_h=addr id.orig_p=port id.resp_h=addr id.resp_p=port method=string host=string uri=string referrer=string user_agent=string request_content_length=count response_content_length=count status_code=count status_msg=string filename=string tags=table username=string password=string proxied=table mime_type=string md5=string extraction_file=file
# separator \x09
# fields ts uid id.orig_h id.orig_p id.resp_h id.resp_p method host uri referrer user_agent request_content_length response_content_length status_code status_msg filename tags username password proxied mime_type md5 extraction_file
# types time string addr port addr port string string string string string count count count string string table string string table string string file
# path http
1258577884.844956 UWkUyAuUGXf 192.168.1.104 1673 63.245.209.11 80 GET www.mozilla.org /style/enhanced.css http://www.mozilla.org/projects/calendar/ Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 - 946 200 OK - - - - - FAKE_MIME - -
1258577884.960135 UWkUyAuUGXf 192.168.1.104 1673 63.245.209.11 80 GET www.mozilla.org /script/urchin.js http://www.mozilla.org/projects/calendar/ Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 - 6716 200 OK - - - - - FAKE_MIME - -
1258577885.317160 UWkUyAuUGXf 192.168.1.104 1673 63.245.209.11 80 GET www.mozilla.org /images/template/screen/bullet_utility.png http://www.mozilla.org/style/screen.css Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 - 94 200 OK - - - - - FAKE_MIME - -

View file

@ -1,7 +1,7 @@
# ts uid id.orig_h id.orig_p id.resp_h id.resp_p method host uri referrer user_agent request_content_length response_content_length status_code status_msg filename tags username password proxied md5 extraction_file
# path:'http'
# separator:' '
# ts=time uid=string id.orig_h=addr id.orig_p=port id.resp_h=addr id.resp_p=port method=string host=string uri=string referrer=string user_agent=string request_content_length=count response_content_length=count status_code=count status_msg=string filename=string tags=table username=string password=string proxied=table md5=string extraction_file=file
# separator \x09
# fields ts uid id.orig_h id.orig_p id.resp_h id.resp_p method host uri referrer user_agent request_content_length response_content_length status_code status_msg filename tags username password proxied md5 extraction_file
# types time string addr port addr port string string string string string count count count string string table string string table string file
# path http
1258577884.844956 UWkUyAuUGXf 192.168.1.104 1673 63.245.209.11 80 GET www.mozilla.org /style/enhanced.css http://www.mozilla.org/projects/calendar/ Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 - 946 200 OK - - - - - - -
1258577884.960135 UWkUyAuUGXf 192.168.1.104 1673 63.245.209.11 80 GET www.mozilla.org /script/urchin.js http://www.mozilla.org/projects/calendar/ Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 - 6716 200 OK - - - - - - -
1258577885.317160 UWkUyAuUGXf 192.168.1.104 1673 63.245.209.11 80 GET www.mozilla.org /images/template/screen/bullet_utility.png http://www.mozilla.org/style/screen.css Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 - 94 200 OK - - - - - - -

View file

@ -1,7 +1,7 @@
# ts uid id.orig_h id.orig_p id.resp_h id.resp_p nick user channels command value addl tags dcc_file_name dcc_file_size extraction_file
# path:'irc'
# separator:' '
# ts=time uid=string id.orig_h=addr id.orig_p=port id.resp_h=addr id.resp_p=port nick=string user=string channels=table command=string value=string addl=string tags=table dcc_file_name=string dcc_file_size=count extraction_file=file
# separator \x09
# fields ts uid id.orig_h id.orig_p id.resp_h id.resp_p nick user channels command value addl tags dcc_file_name dcc_file_size extraction_file
# types time string addr port addr port string string table string string string table string count file
# path irc
1311189164.119437 UWkUyAuUGXf 192.168.1.77 57640 66.198.80.67 6667 - - - NICK bloed - - - - -
1311189164.119437 UWkUyAuUGXf 192.168.1.77 57640 66.198.80.67 6667 bloed - - USER sdkfje sdkfje Montreal.QC.CA.Undernet.org dkdkrwq - - - -
1311189174.474127 UWkUyAuUGXf 192.168.1.77 57640 66.198.80.67 6667 bloed sdkfje - JOIN #easymovies - - - - -

View file

@ -1,7 +1,7 @@
# ts uid id.orig_h id.orig_p id.resp_h id.resp_p nick user channels command value addl tags dcc_file_name dcc_file_size dcc_mime_type extraction_file
# path:'irc'
# separator:' '
# ts=time uid=string id.orig_h=addr id.orig_p=port id.resp_h=addr id.resp_p=port nick=string user=string channels=table command=string value=string addl=string tags=table dcc_file_name=string dcc_file_size=count dcc_mime_type=string extraction_file=file
# separator \x09
# fields ts uid id.orig_h id.orig_p id.resp_h id.resp_p nick user channels command value addl tags dcc_file_name dcc_file_size dcc_mime_type extraction_file
# types time string addr port addr port string string table string string string table string count string file
# path irc
1311189164.119437 UWkUyAuUGXf 192.168.1.77 57640 66.198.80.67 6667 - - - NICK bloed - - - - - -
1311189164.119437 UWkUyAuUGXf 192.168.1.77 57640 66.198.80.67 6667 bloed - - USER sdkfje sdkfje Montreal.QC.CA.Undernet.org dkdkrwq - - - - -
1311189174.474127 UWkUyAuUGXf 192.168.1.77 57640 66.198.80.67 6667 bloed sdkfje - JOIN #easymovies - - - - - -

View file

@ -1,5 +1,5 @@
# ts uid id.orig_h id.orig_p id.resp_h id.resp_p mid helo mailfrom rcptto date from to reply_to msg_id in_reply_to subject x_originating_ip first_received second_received last_reply path user_agent
# path:'smtp'
# separator:' '
# ts=time uid=string id.orig_h=addr id.orig_p=port id.resp_h=addr id.resp_p=port mid=string helo=string mailfrom=string rcptto=table date=string from=string to=table reply_to=string msg_id=string in_reply_to=string subject=string x_originating_ip=addr first_received=string second_received=string last_reply=string path=vector user_agent=string
# separator \x09
# fields ts uid id.orig_h id.orig_p id.resp_h id.resp_p mid helo mailfrom rcptto date from to reply_to msg_id in_reply_to subject x_originating_ip first_received second_received last_reply path user_agent
# types time string addr port addr port string string string table string string table string string string string addr string string string vector string
# path smtp
1254722768.219663 56gKBmhBBB6 10.10.1.4 1470 74.53.140.153 25 @50da4BEzauh GP <gurpartap@patriots.in> <raj_deol2002in@yahoo.co.in> Mon, 5 Oct 2009 11:36:07 +0530 "Gurpartap Singh" <gurpartap@patriots.in> <raj_deol2002in@yahoo.co.in> - <000301ca4581$ef9e57f0$cedb07d0$@in> - SMTP - - - 250 OK id=1Mugho-0003Dg-Un 74.53.140.153,10.10.1.4 Microsoft Office Outlook 12.0

View file

@ -1,7 +1,7 @@
# ts uid id.orig_h id.orig_p id.resp_h id.resp_p mid filename content_len mime_type md5 extraction_file excerpt
# path:'smtp_entities'
# separator:' '
# ts=time uid=string id.orig_h=addr id.orig_p=port id.resp_h=addr id.resp_p=port mid=string filename=string content_len=count mime_type=string md5=string extraction_file=file excerpt=string
# separator \x09
# fields ts uid id.orig_h id.orig_p id.resp_h id.resp_p mid filename content_len mime_type md5 extraction_file excerpt
# types time string addr port addr port string string count string string file string
# path smtp_entities
1254722770.692743 56gKBmhBBB6 10.10.1.4 1470 74.53.140.153 25 @50da4BEzauh - 79 FAKE_MIME - smtp-entity_10.10.1.4:1470-74.53.140.153:25_1.dat -
1254722770.692743 56gKBmhBBB6 10.10.1.4 1470 74.53.140.153 25 @50da4BEzauh - 1918 FAKE_MIME - - -
1254722770.692804 56gKBmhBBB6 10.10.1.4 1470 74.53.140.153 25 @50da4BEzauh NEWS.txt 10823 FAKE_MIME - smtp-entity_10.10.1.4:1470-74.53.140.153:25_2.dat -

View file

@ -1,7 +1,7 @@
# ts uid id.orig_h id.orig_p id.resp_h id.resp_p mid filename content_len mime_type md5 extraction_file excerpt
# path:'smtp_entities'
# separator:' '
# ts=time uid=string id.orig_h=addr id.orig_p=port id.resp_h=addr id.resp_p=port mid=string filename=string content_len=count mime_type=string md5=string extraction_file=file excerpt=string
# separator \x09
# fields ts uid id.orig_h id.orig_p id.resp_h id.resp_p mid filename content_len mime_type md5 extraction_file excerpt
# types time string addr port addr port string string count string string file string
# path smtp_entities
1254722770.692743 56gKBmhBBB6 10.10.1.4 1470 74.53.140.153 25 @50da4BEzauh - 79 FAKE_MIME 92bca2e6cdcde73647125da7dccbdd07 - -
1254722770.692743 56gKBmhBBB6 10.10.1.4 1470 74.53.140.153 25 @50da4BEzauh - 1918 FAKE_MIME - - -
1254722770.692804 56gKBmhBBB6 10.10.1.4 1470 74.53.140.153 25 @50da4BEzauh NEWS.txt 10823 FAKE_MIME a968bb0f9f9d95835b2e74c845877e87 - -

View file

@ -1,4 +1,5 @@
[btest]
ProfileDir = profiles
TestDirs = doc bifs language core policy istate
TmpDir = %(testbase)s/.tmp
BaselineDir = %(testbase)s/Baseline

View file

@ -0,0 +1,2 @@
#!/usr/bin/env bash

View file

@ -0,0 +1,2 @@
#!/usr/bin/env bash

View file

@ -0,0 +1,2 @@
#!/usr/bin/env bash

View file

@ -0,0 +1,2 @@
#!/usr/bin/env bash