Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

apgbfm(1) [debian man page]

APGBFM(1)							    User Manual 							 APGBFM(1)

NAME
apgbfm - APG Bloom filter management program SYNOPSIS
apgbfm -f filter -n numofwords [-q] [-s] apgbfm -f filter -d dictfile [-q] [-s] apgbfm -f filter -a word [-q] apgbfm -f filter -A dictfile [-q] apgbfm -f filter -c word [-q] apgbfm -f filter -C dictfile [-q] apgbfm -i filter apgbfm [-v] [-h] DESCRIPTION
apgbfm is used to manage Bloom filter that is used to restrict password generation in APG pasword generation software. Usage of the Bloom filter allows to speed up password check for large dictionaries and has some other benefits. The idea to use Bloom filter for that purpose is came from the description of the OPUS project OPUS: Preventing Weak Password Choices Pur- due Technical Report CSD-TR 92-028 writen by Eugene H. Spafford. You can obtain this article from: http://www.cerias.purdue.edu/homes/spaf/tech-reps/9128.ps It has very nice description of Bloom filter and it's advantages for password checking systems. In simple words, apgbfm generates n hash values for every word and sets corresponding bits in filter file to 1. To check the word apgbfm generates the same hash functions for that word and if all n corresponding bits in filter file are set to 1 then it suppose that word exists in dicionary. apgbfm uses SHA-1 as a hash function. apgbfm can be used as standalone utility, not only with apg, or apgd. WARNING !!! Filter file format can be changed in the future. I'll try to make file formats compatible but i can not guaranty this. WARNING !!! apgbfm may slow down your computer during filter creation. OPTIONS
-f filter use filter as the name for Bloom filter filename. -i filter print information about filter. -n numofwords create new empty filter for numofwords number of words. Useful when you want to fill filter dynamicaly. -d dictfile create new filter from dictfile. It may take a lot of time to generate filter from a big dictionary. In that dictionary you may place words (one per line) that should not appear as generated passwords. For example: user names common words, etc. You even can use one of the dictionaries that come with dictionary password crackers. This check is case sensitive. For example, if you want to reject word 'root', you should insert in dictfile words: root, Root, RoOt, ... , ROOT. To indicate that program is working apgbfm prints dot for every 100 words added in dictionary. -a word add word to the filter. -A dictfile add all words from dictfile to the filter. To indicate that program is working apgbfm prints dot for every 100 words added in dic- tionary. -c word check word for appearance in the filter. -C dictfile check every word from dictfile for appearance in the filter. -q quiet mode. -s create new filter in case-insensitive mode. -v print version information. -h print help information. EXIT CODE
On successful completion of its task, apgbfm will complete with exit code 0. An exit code of -1 indicates an error occurred. Textual errors are written to the standard error stream. FILES
None. BUGS
None. If you've found one, please send bug description to the author. This man page is Alpha too. SEE ALSO
apg(1) AUTHOR
Adel I. Mirzazhanov, <a-del@iname.com> Project home page: http://www.adel.nursat.kz/apg/ Automated Password Generator 2003 Jun 19 APGBFM(1)

Check Out this Related Man Page

MIMEDEFANG.PL(8)					      System Manager's Manual						  MIMEDEFANG.PL(8)

NAME
mimedefang.pl - Perl script to scan MIME messages. SYNOPSIS
mimedefang.pl [-f filter] dir DESCRIPTION
mimedefang.pl is a Perl script designed to work with mimedefang(8). It takes a single argument which is a directory which should contain files laid out as described in mimedefang(8). OPTIONS
-f filter Specifies the name of the file containing the filter. If this option is omitted, the default filter /etc/mimedefang-filter is used. OPERATION
mimedefang.pl evaluates the file /etc/mimedefang-filter as a Perl fragment. This file should define the filter procedure. For each part of a MIME message, mimedefang.pl calls filter and disposes of the part as instructed by the filter. The various modes of disposition are described in mimedefang-filter(5). TESTING FILTERS
You are strongly recommended to test your filter before installing it in /etc/mimedefang-filter. To test the filter, save it in a file (e.g. test-filter) and run this command: mimedefang.pl -f test-filter -test This tests the filter for syntactic correctness. If it passes, you can install it as a production filter. (Note that the test tests only for correct Perl syntax; it doesn't make sure your filter does something sensible.) MISCELLANEOUS OPTIONS
There are a few other ways to invoke mimedefang.pl: mimedefang.pl -structure < mime_message parses a message on stdin and prints lots of debugging information. mimedefang.pl -prettyprint < mime_message parses a message on stdin and prints it in a "nice" format (depending on your definition of "nice".) mimedefang.pl -features prints a list of detected optional Perl modules. The output looks something like this: SpamAssassin: yes mimedefang.pl -validate calls the function filter_validate, if it is defined in your filter. filter_validate should return an integer; this becomes the exit code. If filter_validate does not exist, an error message is printed and mimedefang.pl exits with an exit code of 1. AUTHOR
mimedefang.pl was written by David F. Skoll <dfs@roaringpenguin.com>. The mimedefang home page is http://www.mimedefang.org/. SEE ALSO
mimedefang(8), mimedefang-filter(5), mimedefang-protocol(7) 4th Berkeley Distribution 8 February 2005 MIMEDEFANG.PL(8)
Man Page