Pass | Half | Fail | Excluded | Total | ||||
---|---|---|---|---|---|---|---|---|
|
40.00% |
60.00% |
0.00% |
100% |
||||
|
4.55% |
95.45% |
0.00% |
100% |
||||
|
0.00% |
0.00% |
100.00% |
0.00% |
100% |
|||
|
0.00% |
100.00% |
0.00% |
100% |
||||
|
0.00% |
0.00% |
100.00% |
0.00% |
100% |
|||
|
0.00% |
0.00% |
0.00% |
0.00% |
100% |
|||
|
0.00% |
0.00% |
100.00% |
0.00% |
100% |
|||
|
0.00% |
0.00% |
0.00% |
0.00% |
100% |
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | |
11 | |
12 | |
13 | |
14 | |
15 | |
16 | |
17 | |
18 | |
19 | |
20 | |
21 | |
22 | |
23 | |
24 | |
25 | |
26 | |
27 | |
28 | |
29 | |
30 | |
31 | |
32 | |
33 | |
34 | |
35 | create_authn_file_dir_config(apr_pool_t *p, char *d) |
36 | |
37 | apr_palloc : /usr/include/apr-1/apr_pools.h line=419 column=21 apr_palloc(p : modules/aaa/mod_authn_file.c line=35 column=55 p, sizeof(*conf)); |
38 | |
39 | conf-> : enter=1, leave=1 ->pwfile : modules/aaa/mod_authn_file.c line=32 column=11 pwfile = : enter=1, leave=1 = NULL; /* just to illustrate the default really */ |
40 | return conf : modules/aaa/mod_authn_file.c line=37 column=28 conf; |
41 | |
42 | |
43 | set_authn_file_slot(cmd_parms *cmd, void *offset, |
44 | |
45 | |
46 | if (MC/DC independently affect : true=0, false=0 t : modules/aaa/mod_authn_file.c line=44 column=67 t && : true=0, false=0 && MC/DC independently affect : true=0, false=0 strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(t : modules/aaa/mod_authn_file.c line=44 column=67 t, "standard")) { |
47 | return apr_pstrcat : enter=0, leave=0 apr_pstrcat : /usr/include/apr-1/apr_strings.h line=139 column=28 apr_pstrcat(cmd : modules/aaa/mod_authn_file.c line=43 column=51 cmd-> : enter=0, leave=0 ->pool : include/http_config.h line=291 column=17 pool, "Invalid auth file type: ", t : modules/aaa/mod_authn_file.c line=44 column=67 t, NULL); |
48 | |
49 | |
50 | return ap_set_file_slot : enter=0, leave=0 ap_set_file_slot : include/http_config.h line=533 column=33 ap_set_file_slot(cmd : modules/aaa/mod_authn_file.c line=43 column=51 cmd, offset : modules/aaa/mod_authn_file.c line=43 column=62 offset, f : modules/aaa/mod_authn_file.c line=44 column=52 f); |
51 | |
52 | |
53 | |
54 | |
55 | set_authn_file_slot, |
56 | pwfile), |
57 | |
58 | |
59 | |
60 | |
61 | |
62 | |
63 | check_password(request_rec *r, const char *user, |
64 | |
65 | |
66 | r-> : enter=0, leave=0 ->per_dir_config : include/httpd.h line=977 column=30 per_dir_config, |
67 | authn_file_module); |
68 | |
69 | |
70 | |
71 | |
72 | |
73 | if (! : true=0, false=0 !conf : modules/aaa/mod_authn_file.c line=66 column=28 conf-> : enter=0, leave=0 ->pwfile : modules/aaa/mod_authn_file.c line=32 column=11 pwfile) { |
74 | ap_log_rerror : include/http_log.h line=219 column=18 ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r : modules/aaa/mod_authn_file.c line=63 column=49 r, |
75 | |
76 | return AUTH_GENERAL_ERROR : modules/aaa/mod_auth.h line=50 column=5 AUTH_GENERAL_ERROR; |
77 | |
78 | |
79 | status = : pass=0 = ap_pcfg_openfile : enter=0, leave=0 ap_pcfg_openfile : include/http_config.h line=607 column=26 ap_pcfg_openfile(&f : modules/aaa/mod_authn_file.c line=68 column=22 f, r : modules/aaa/mod_authn_file.c line=63 column=49 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, conf : modules/aaa/mod_authn_file.c line=66 column=28 conf-> : enter=0, leave=0 ->pwfile : modules/aaa/mod_authn_file.c line=32 column=11 pwfile); |
80 | |
81 | if (status : modules/aaa/mod_authn_file.c line=70 column=18 status != : true=0, false=0 != APR_SUCCESS) { |
82 | ap_log_rerror : include/http_log.h line=219 column=18 ap_log_rerror(APLOG_MARK, APLOG_ERR, status : modules/aaa/mod_authn_file.c line=70 column=18 status, r : modules/aaa/mod_authn_file.c line=63 column=49 r, |
83 | conf-> : enter=0, leave=0 ->pwfile : modules/aaa/mod_authn_file.c line=32 column=11 pwfile); |
84 | return AUTH_GENERAL_ERROR : modules/aaa/mod_auth.h line=50 column=5 AUTH_GENERAL_ERROR; |
85 | |
86 | |
87 | while (! : true=0, false=0 !(ap_cfg_getline : enter=0, leave=0 ap_cfg_getline : include/http_config.h line=633 column=17 ap_cfg_getline(l : modules/aaa/mod_authn_file.c line=69 column=10 l, MAX_STRING_LEN, f : modules/aaa/mod_authn_file.c line=68 column=22 f))) { |
88 | |
89 | |
90 | |
91 | if ((l : modules/aaa/mod_authn_file.c line=69 column=10 l[] : enter=0, leave=0 [0] == : true=0, false=0 MC/DC independently affect : true=0, false=0 == '#') || : true=0, false=0 || (! : true=0, false=0 MC/DC independently affect : true=0, false=0 !l : modules/aaa/mod_authn_file.c line=69 column=10 l[] : enter=0, leave=0 [0])) { |
92 | continue; |
93 | |
94 | |
95 | rpw = : pass=0 = l : modules/aaa/mod_authn_file.c line=69 column=10 l; |
96 | w = : pass=0 = ap_getword : enter=0, leave=0 ap_getword : include/httpd.h line=1299 column=20 ap_getword(r : modules/aaa/mod_authn_file.c line=63 column=49 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, &rpw : modules/aaa/mod_authn_file.c line=88 column=21 rpw, ':'); |
97 | |
98 | if (! : true=0, false=0 !strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(user : modules/aaa/mod_authn_file.c line=63 column=64 user, w : modules/aaa/mod_authn_file.c line=88 column=27 w)) { |
99 | file_password = : pass=0 = ap_getword : enter=0, leave=0 ap_getword : include/httpd.h line=1299 column=20 ap_getword(r : modules/aaa/mod_authn_file.c line=63 column=49 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, &rpw : modules/aaa/mod_authn_file.c line=88 column=21 rpw, ':'); |
100 | break; |
101 | |
102 | |
103 | ap_cfg_closefile : include/http_config.h line=647 column=17 ap_cfg_closefile(f : modules/aaa/mod_authn_file.c line=68 column=22 f); |
104 | |
105 | if (! : true=0, false=0 !file_password : modules/aaa/mod_authn_file.c line=71 column=11 file_password) { |
106 | return AUTH_USER_NOT_FOUND : modules/aaa/mod_auth.h line=49 column=5 AUTH_USER_NOT_FOUND; |
107 | |
108 | |
109 | status = : pass=0 = apr_password_validate : enter=0, leave=0 apr_password_validate : /usr/include/apr-1/apr_md5.h line=153 column=27 apr_password_validate(password : modules/aaa/mod_authn_file.c line=64 column=48 password, file_password : modules/aaa/mod_authn_file.c line=71 column=11 file_password); |
110 | if (status : modules/aaa/mod_authn_file.c line=70 column=18 status != : true=0, false=0 != APR_SUCCESS) { |
111 | return AUTH_DENIED : modules/aaa/mod_auth.h line=46 column=5 AUTH_DENIED; |
112 | |
113 | |
114 | return AUTH_GRANTED : modules/aaa/mod_auth.h line=47 column=5 AUTH_GRANTED; |
115 | |
116 | |
117 | get_realm_hash(request_rec *r, const char *user, |
118 | |
119 | |
120 | r-> : enter=0, leave=0 ->per_dir_config : include/httpd.h line=977 column=30 per_dir_config, |
121 | authn_file_module); |
122 | |
123 | |
124 | |
125 | |
126 | |
127 | if (! : true=0, false=0 !conf : modules/aaa/mod_authn_file.c line=120 column=28 conf-> : enter=0, leave=0 ->pwfile : modules/aaa/mod_authn_file.c line=32 column=11 pwfile) { |
128 | ap_log_rerror : include/http_log.h line=219 column=18 ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r : modules/aaa/mod_authn_file.c line=117 column=49 r, |
129 | |
130 | return AUTH_GENERAL_ERROR : modules/aaa/mod_auth.h line=50 column=5 AUTH_GENERAL_ERROR; |
131 | |
132 | |
133 | status = : pass=0 = ap_pcfg_openfile : enter=0, leave=0 ap_pcfg_openfile : include/http_config.h line=607 column=26 ap_pcfg_openfile(&f : modules/aaa/mod_authn_file.c line=122 column=22 f, r : modules/aaa/mod_authn_file.c line=117 column=49 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, conf : modules/aaa/mod_authn_file.c line=120 column=28 conf-> : enter=0, leave=0 ->pwfile : modules/aaa/mod_authn_file.c line=32 column=11 pwfile); |
134 | |
135 | if (status : modules/aaa/mod_authn_file.c line=124 column=18 status != : true=0, false=0 != APR_SUCCESS) { |
136 | ap_log_rerror : include/http_log.h line=219 column=18 ap_log_rerror(APLOG_MARK, APLOG_ERR, status : modules/aaa/mod_authn_file.c line=124 column=18 status, r : modules/aaa/mod_authn_file.c line=117 column=49 r, |
137 | conf-> : enter=0, leave=0 ->pwfile : modules/aaa/mod_authn_file.c line=32 column=11 pwfile); |
138 | return AUTH_GENERAL_ERROR : modules/aaa/mod_auth.h line=50 column=5 AUTH_GENERAL_ERROR; |
139 | |
140 | |
141 | while (! : true=0, false=0 !(ap_cfg_getline : enter=0, leave=0 ap_cfg_getline : include/http_config.h line=633 column=17 ap_cfg_getline(l : modules/aaa/mod_authn_file.c line=123 column=10 l, MAX_STRING_LEN, f : modules/aaa/mod_authn_file.c line=122 column=22 f))) { |
142 | |
143 | |
144 | |
145 | if ((l : modules/aaa/mod_authn_file.c line=123 column=10 l[] : enter=0, leave=0 [0] == : true=0, false=0 MC/DC independently affect : true=0, false=0 == '#') || : true=0, false=0 || (! : true=0, false=0 MC/DC independently affect : true=0, false=0 !l : modules/aaa/mod_authn_file.c line=123 column=10 l[] : enter=0, leave=0 [0])) { |
146 | continue; |
147 | |
148 | |
149 | rpw = : pass=0 = l : modules/aaa/mod_authn_file.c line=123 column=10 l; |
150 | w = : pass=0 = ap_getword : enter=0, leave=0 ap_getword : include/httpd.h line=1299 column=20 ap_getword(r : modules/aaa/mod_authn_file.c line=117 column=49 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, &rpw : modules/aaa/mod_authn_file.c line=142 column=21 rpw, ':'); |
151 | x = : pass=0 = ap_getword : enter=0, leave=0 ap_getword : include/httpd.h line=1299 column=20 ap_getword(r : modules/aaa/mod_authn_file.c line=117 column=49 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, &rpw : modules/aaa/mod_authn_file.c line=142 column=21 rpw, ':'); |
152 | |
153 | if (MC/DC independently affect : true=0, false=0 x : modules/aaa/mod_authn_file.c line=142 column=31 x && : true=0, false=0 && MC/DC independently affect : true=0, false=0 w : modules/aaa/mod_authn_file.c line=142 column=27 w && : true=0, false=0 && ! : true=0, false=0 MC/DC independently affect : true=0, false=0 !strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(user : modules/aaa/mod_authn_file.c line=117 column=64 user, w : modules/aaa/mod_authn_file.c line=142 column=27 w) && : true=0, false=0 && ! : true=0, false=0 MC/DC independently affect : true=0, false=0 !strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(realm : modules/aaa/mod_authn_file.c line=118 column=48 realm, x : modules/aaa/mod_authn_file.c line=142 column=31 x)) { |
154 | |
155 | file_hash = : pass=0 = ap_getword : enter=0, leave=0 ap_getword : include/httpd.h line=1299 column=20 ap_getword(r : modules/aaa/mod_authn_file.c line=117 column=49 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, &rpw : modules/aaa/mod_authn_file.c line=142 column=21 rpw, ':'); |
156 | break; |
157 | |
158 | |
159 | ap_cfg_closefile : include/http_config.h line=647 column=17 ap_cfg_closefile(f : modules/aaa/mod_authn_file.c line=122 column=22 f); |
160 | |
161 | if (! : true=0, false=0 !file_hash : modules/aaa/mod_authn_file.c line=125 column=11 file_hash) { |
162 | return AUTH_USER_NOT_FOUND : modules/aaa/mod_auth.h line=49 column=5 AUTH_USER_NOT_FOUND; |
163 | |
164 | |
165 | rethash = : enter=0, leave=0 = file_hash : modules/aaa/mod_authn_file.c line=125 column=11 file_hash; |
166 | |
167 | return AUTH_USER_FOUND : modules/aaa/mod_auth.h line=48 column=5 AUTH_USER_FOUND; |
168 | |
169 | |
170 | |
171 | |
172 | check_password, |
173 | get_realm_hash, |
174 | |
175 | |
176 | register_hooks(apr_pool_t *p) |
177 | |
178 | ap_register_provider : include/ap_provider.h line=50 column=26 ap_register_provider(p : modules/aaa/mod_authn_file.c line=176 column=40 p, AUTHN_PROVIDER_GROUP, "file", "0", |
179 | authn_file_provider); |
180 | |
181 | |
182 | |
183 | |
184 | |
185 | create_authn_file_dir_config, /* dir config creater */ |
186 | |
187 | |
188 | |
189 | authn_file_cmds, /* command apr_table_t */ |
190 | register_hooks /* register hooks */ |
191 | |
192 |