diff --git a/bootstrap.sh b/bootstrap.sh index 400997c5e6ce5962d9f1662abf402e8df1a80dd4..411e1189e4e3c52caf4f1aab4907e8de23427d8e 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -1,5 +1,5 @@ #!/bin/sh -# Use this script to create generated files from the CVS distribution +# Use this script to create generated files from the SVN distribution libtoolize --automake --copy aclocal -I . diff --git a/doc/mapi_rulerflib.3 b/doc/mapi_rulerflib.3 new file mode 100644 index 0000000000000000000000000000000000000000..2e6f28a35e89ed2ac269785351feced77dc0908a --- /dev/null +++ b/doc/mapi_rulerflib.3 @@ -0,0 +1,52 @@ +.\" MAPI RULER man page +.\" for a quick overview: +.\" nroff -man -Tascii mapi_rulerflib.3 |less +.\" +.TH MAPI_RULER 3 "August, 2007" +.SH NAME +MAPI rulerflib \- MAPI Function Library to interface with Ruler +.SH SYNOPSIS +.nf +\fBRULER\fP Applies a Ruler filter +.fi +.SH DESCRIPTION +The RULER MAPI function library (rulerflib) provides +a single predefined function that compiles and then applies a Ruler +packet filter. Packets are matched and rewritten in accordance with the +standard Ruler behavior, and if they are not rejected by the filter +they +will be returned to \fBMAPId\fP +to get processed from subsequent funtions. +.LP +The function takes a single string parameter: the name of a filter +file to apply. The function does not return any result. +.LP +Through the RULER +mapi function a Ruler filter can be applied to a network flow +in the usual way: by using the +.B mapi_apply_function() +call. +For further information regarding +.B mapi_apply_function() +see the +.BR mapi (3) +page and the example at the end of this page. +.\".SH FUNCTIONS +.\"-------------------------------------------------------- +.SH "EXAMPLE" +For example, the following invocation of +.B mapi_apply_function +applies a filter +.B anonymize-all.rl +to the stream +.BR fd : +.nf + + mapi_apply_function(fd, "RULER", "anonymize-all.rl"); +.fi +.SH BUGS +Please send bug reports to mapi@uninett.no +.SH "SEE ALSO" +.BR mapi (3), +.BR mapi_stdflib (3), +.BR ruler (1) diff --git a/doc/mapi_trackflib.3 b/doc/mapi_trackflib.3 index 8a23fd3e224be7d2a9068a4b8f1b64bdaa34fdc9..eccd3ad0ef7ec479670e637be6bde12c9d4f1122 100644 --- a/doc/mapi_trackflib.3 +++ b/doc/mapi_trackflib.3 @@ -26,7 +26,7 @@ strings and create filters in order to track the flows that contain this traffic .LP Type of results: \fBnone\fP. .LP -A MAPI TRACKER functions can be applied to an existing network flow using the +MAPI TRACKER functions can be applied to an existing network flow using the .B mapi_apply_function() call. For further information regarding