"Fossies" - the Fresh Open Source Software Archive 
Member "apg-2.2.3/doc/man/wapgbfm.txt" (7 Aug 2003, 4114 Bytes) of package /linux/privat/old/apg-2.2.3.tar.gz:
As a special service "Fossies" has tried to format the requested text file into HTML format (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
1 WAPGBFM User Manual WAPGBFM
2
3
4
5 NAME
6 WAPGBFM - APG Bloom filter management program
7
8
9 SYNOPSIS
10 WAPGBFM -f filter -n numofwords [-q] [-s]
11 WAPGBFM -f filter -d dictfile [-q] [-s]
12 WAPGBFM -f filter -a word [-q]
13 WAPGBFM -f filter -A dictfile [-q]
14 WAPGBFM -f filter -c word [-q]
15 WAPGBFM -f filter -C dictfile [-q]
16 WAPGBFM -i filter
17 WAPGBFM [-v] [-h]
18
19
20 DESCRIPTION
21 WAPGBFM is used to manage Bloom filter that is used to restrict password
22 generation in WAPG pasword generation software. Usage of the Bloom fil-
23 ter allows to speed up password check for large dictionaries and has
24 some other benefits.
25
26 The idea to use Bloom filter for that purpose is came from the descrip-
27 tion of the OPUS project OPUS: Preventing Weak Password Choices Purdue
28 Technical Report CSD-TR 92-028 writen by Eugene H. Spafford.
29
30 You can obtain this article from:
31 http://www.cerias.purdue.edu/homes/spaf/tech-reps/9128.ps
32 It has very nice description of Bloom filter and it's advantages for
33 password checking systems.
34
35 In simple words, WAPGBFM generates n hash values for every word and sets
36 corresponding bits in filter file to 1. To check the word WAPGBFM gener-
37 ates the same hash functions for that word and if all n corresponding
38 bits in filter file are set to 1 then it suppose that word exists in
39 dicionary. WAPGBFM uses SHA-1 as a hash function.
40
41 WAPGBFM can be used as standalone utility, not only with apg, or apgd.
42
43
44 WARNING !!!
45 Filter file format can be changed in the future. I'll try to
46 make file formats compatible but i can not guaranty this.
47
48 WARNING !!!
49 WAPGBFM may slow down your computer during filter creation.
50
51 OPTIONS
52 -f filter
53 use filter as the name for Bloom filter filename.
54
55 -i filter
56 print information about filter.
57
58 -n numofwords
59 create new empty filter for numofwords number of words. Useful
60 when you want to fill filter dynamicaly.
61
62 -d dictfile
63 create new filter from dictfile. It may take a lot of time to
64 generate filter from a big dictionary. In that dictionary you
65 may place words (one per line) that should not appear as gener-
66 ated passwords. For example: user names common words, etc. You
67 even can use one of the dictionaries that come with dictionary
68 password crackers. This check is case sensitive. For example,
69 if you want to reject word 'root', you should insert in dictfile
70 words: root, Root, RoOt, ... , ROOT. To indicate that program
71 is working WAPGBFM prints dot for every 100 words added in dic-
72 tionary.
73
74 -a word
75 add word to the filter.
76
77 -A dictfile
78 add all words from dictfile to the filter. To indicate that pro-
79 gram is working WAPGBFM prints dot for every 100 words added in
80 dictionary.
81
82 -c word
83 check word for appearance in the filter.
84
85 -C dictfile
86 check every word from dictfile for appearance in the filter.
87
88 -q quiet mode.
89
90 -s create new filter in case-insensitive mode.
91
92 -v print version information.
93
94 -h print help information.
95
96 EXIT CODE
97 On successful completion of its task, WAPGBFM will complete with exit
98 code 0. An exit code of -1 indicates an error occurred. Textual
99 errors are written to the standard error stream.
100
101 FILES
102 None.
103
104 BUGS
105 None. If you've found one, please send bug description to the author.
106
107 SEE ALSO
108 WAPG.TXT
109
110 AUTHOR
111 Adel I. Mirzazhanov, <a-del@iname.com>
112 Project home page: http://www.adel.nursat.kz/apg/
113
114
115
116 Automated Password Generator 2003 Jun 19 WAPGBFM