Home
last modified time | relevance | path

Searched refs:miniserv (Results 1 – 25 of 224) sorted by relevance

123456789

/dports/sysutils/webmin/webmin-1.981/usermin/
H A Dchange_session.cgi25 $miniserv{'blockhost_time'} = $miniserv{'blockhost_failures'} = undef;
38 $miniserv{'blockuser_time'} = $miniserv{'blockuser_failures'} = undef;
41 $miniserv{'syslog'} = $in{'syslog'};
54 $miniserv{'localauth'} = $lsof;
57 delete($miniserv{'localauth'});
71 delete($miniserv{'passwd_file'});
81 delete($miniserv{'extauth'});
106 &lock_file($miniserv{'userfile'});
109 delete($miniserv{'no_pam'});
114 $miniserv{'no_pam'} = 1;
[all …]
H A Dedit_session.cgi9 &get_usermin_miniserv_config(\%miniserv);
93 $miniserv{'no_pam'} ? 1 : 0;
99 $miniserv{'passwd_file'}, 20),
101 $miniserv{'passwd_uindex'}, 2),
103 $miniserv{'passwd_pindex'}, 2)).
111 $miniserv{'pam_conv'}).
114 $miniserv{'pam_end'}));
126 if ($miniserv{'passwd_cindex'} ne '') {
144 $miniserv{'domainstrip'}).
147 $miniserv{'user_mapping'})." ".
[all …]
H A Dchange_ssl.cgi10 &get_usermin_miniserv_config(\%miniserv);
11 $miniserv{'ssl'} = $in{'ssl'};
13 $miniserv{'keyfile'} = $in{'key'};
19 delete($miniserv{'ssl_version'});
25 $miniserv{'no_ssl2'} = $in{'no_ssl2'};
26 $miniserv{'no_ssl3'} = $in{'no_ssl3'};
27 $miniserv{'no_tls1'} = $in{'no_tls1'};
28 $miniserv{'no_tls1_1'} = $in{'no_tls1_1'};
29 $miniserv{'no_tls1_2'} = $in{'no_tls1_2'};
31 delete($miniserv{'ssl_cipher_list'});
[all …]
H A Dsavekey.cgi35 &get_usermin_miniserv_config(\%miniserv);
37 &lock_file($miniserv{'keyfile'});
41 &unlock_file($miniserv{'keyfile'});
43 delete($miniserv{'certfile'});
47 &lock_file($miniserv{'certfile'});
51 &unlock_file($miniserv{'certfile'});
55 if (!$miniserv{'extracas'} || $miniserv{'extracas'} =~ /\s/);
56 &lock_file($miniserv{'extracas'});
60 &unlock_file($miniserv{'extracas'});
62 &put_usermin_miniserv_config(\%miniserv);
[all …]
H A Dcopycert.cgi13 &get_usermin_miniserv_config(\%miniserv);
18 &lock_file($miniserv{'keyfile'});
20 $miniserv{'keyfile'});
21 &unlock_file($miniserv{'keyfile'});
26 &lock_file($miniserv{'certfile'});
28 $miniserv{'certfile'});
29 &unlock_file($miniserv{'certfile'});
33 delete($miniserv{'certfile'});
37 $miniserv{'ssl'} = $wminiserv{'ssl'};
45 &webmin::save_ipkeys(\%miniserv, \@ipkeys);
[all …]
H A Dusermin-lib.pl68 local %miniserv;
111 local %miniserv;
154 my %miniserv;
168 local %miniserv;
287 local %miniserv;
439 local %miniserv;
694 local %miniserv;
719 local %miniserv;
927 my %miniserv;
950 my $ssl = $miniserv{'ssl'} || $miniserv{'inetd_ssl'};
[all …]
H A Dedit_ssl.cgi8 &get_usermin_miniserv_config(\%miniserv);
24 &ui_yesno_radio("ssl", $miniserv{'ssl'}));
27 &ui_textbox("key", $miniserv{'keyfile'}, 40)." ".
31 &ui_opt_textbox("cert", $miniserv{'certfile'}, 40,
36 &ui_yesno_radio("ssl_redirect", $miniserv{'ssl_redirect'}));
39 &ui_opt_textbox("version", $miniserv{'ssl_version'}, 4,
55 $miniserv{'ssl_honorcipherorder'}));
57 $clist = $miniserv{'ssl_cipher_list'};
84 $info = &webmin::cert_info($miniserv{'certfile'} || $miniserv{'keyfile'});
102 @ipkeys = &webmin::get_ipkeys(\%miniserv);
[all …]
H A Dsave_dav.cgi6 &get_usermin_miniserv_config(\%miniserv);
10 delete($miniserv{'davpaths'});
14 $miniserv{'davpaths'} = $in{'path'};
18 delete($miniserv{'dav_root'});
21 $miniserv{'dav_root'} = '*';
25 $miniserv{'dav_root'} = $in{'root'};
29 delete($miniserv{'dav_users'});
33 $miniserv{'dav_users'} = join(" ", split(/\s+/, $in{'users'}));
36 if (!defined($miniserv{'dav_remoteuser'})) {
37 $miniserv{'dav_remoteuser'} = 1;
[all …]
/dports/sysutils/webmin/webmin-1.981/webmin/
H A Dchange_ssl.cgi10 &get_miniserv_config(\%miniserv);
11 $miniserv{'ssl'} = $in{'ssl'};
13 $miniserv{'keyfile'} = $in{'key'};
19 delete($miniserv{'ssl_version'});
25 $miniserv{'no_ssl2'} = $in{'no_ssl2'};
26 $miniserv{'no_ssl3'} = $in{'no_ssl3'};
27 $miniserv{'no_tls1'} = $in{'no_tls1'};
28 $miniserv{'no_tls1_1'} = $in{'no_tls1_1'};
31 delete($miniserv{'ssl_cipher_list'});
44 if (!-r $miniserv{'dhparams_file'}) {
[all …]
H A Dedit_session.cgi8 get_miniserv_config(\%miniserv);
28 $miniserv{'blockhost_failures'} ? 1 : 0));
41 $miniserv{'blocklock'}));
54 if (!$miniserv{'session'}) {
66 $miniserv{'logouttime'} ? 1 : 0).
75 $miniserv{'session_ip'} ? 1 : 0).
78 $miniserv{'utmp'} ? 1 : 0));
88 if ($miniserv{'localauth'}) {
103 $miniserv{'pam_conv'}).
106 $miniserv{'pam_end'}).
[all …]
H A Dchange_session.cgi11 &get_miniserv_config(\%miniserv);
24 $miniserv{'blockhost_time'} = $miniserv{'blockhost_failures'} = undef;
37 $miniserv{'blockuser_time'} = $miniserv{'blockuser_failures'} = undef;
41 $miniserv{'syslog'} = $in{'syslog'};
58 $miniserv{'localauth'} = $lsof;
61 delete($miniserv{'localauth'});
64 $miniserv{'no_pam'} = $in{'no_pam'};
77 delete($miniserv{'passwd_file'});
98 delete($miniserv{'extauth'});
104 $miniserv{'utmp'} = $in{'utmp'};
[all …]
H A Dsavekey.cgi35 &get_miniserv_config(\%miniserv);
37 &lock_file($miniserv{'keyfile'});
41 &unlock_file($miniserv{'keyfile'});
43 delete($miniserv{'certfile'});
47 &lock_file($miniserv{'certfile'});
51 &unlock_file($miniserv{'certfile'});
55 if (!$miniserv{'extracas'} || $miniserv{'extracas'} =~ /\s/);
56 &lock_file($miniserv{'extracas'});
60 &unlock_file($miniserv{'extracas'});
62 &put_miniserv_config(\%miniserv);
[all …]
H A Dchange_bind.cgi7 &get_miniserv_config(\%miniserv);
8 %oldminiserv = %miniserv;
79 $miniserv{'port'} = $first->[1];
81 delete($miniserv{'bind'});
87 $miniserv{'ipv6'} = $in{'ipv6'};
89 delete($miniserv{'listen'});
95 delete($miniserv{'host'});
102 delete($miniserv{'maxconns'});
164 if ($miniserv{'musthost'}) { $miniserv{'musthost'}; }
165 elsif ($miniserv{'bind'}) { $url = $miniserv{'bind'}; }
[all …]
H A Dtwofactor-funcs-lib.pl18 my ($miniserv) = @_;
30 my ($in, $miniserv) = @_;
32 my $test = $miniserv->{'twofactor_test'};
47 $miniserv->{'twofactor_apikey'} = $key;
87 my %miniserv;
88 &get_miniserv_config(\%miniserv);
93 &urlize($miniserv{'twofactor_apikey'});
120 my %miniserv;
121 &get_miniserv_config(\%miniserv);
163 my ($miniserv, $in) = @_;
[all …]
H A Dchange_log.cgi10 &get_miniserv_config(\%miniserv);
11 $miniserv{'log'} = $in{'log'};
12 $miniserv{'loghost'} = $in{'loghost'};
13 $miniserv{'logclf'} = $in{'logclf'};
14 $miniserv{'logclear'} = $in{'logclear'};
17 $miniserv{'logtime'} = $in{'logtime'};
19 delete($miniserv{'logperms'});
23 $miniserv{'logperms'} = $in{'perms'};
38 delete($miniserv{'login_script'});
39 delete($miniserv{'logout_script'});
[all …]
H A Dpostinstall.pl20 my %miniserv;
21 &get_miniserv_config(\%miniserv);
22 if (!defined($miniserv{'cipher_list_def'})) {
24 my $clist = $miniserv{'ssl_cipher_list'};
29 $miniserv{'cipher_list_def'} = $cmode;
31 elsif ($miniserv{'cipher_list_def'} == 2 || $miniserv{'cipher_list_def'} == 3) {
33 $miniserv{'ssl_cipher_list'} = $miniserv{'cipher_list_def'} == 2 ?
43 $miniserv{'login_script'} = $record_login_cmd;
44 $miniserv{'logout_script'} = $record_logout_cmd;
45 $miniserv{'failed_script'} = $record_failed_cmd;
[all …]
H A Dedit_ssl.cgi11 our %miniserv;
24 get_miniserv_config(\%miniserv);
55 ui_yesno_radio("ssl", $miniserv{'ssl'}));
58 ui_textbox("key", $miniserv{'keyfile'}, 40)." ".
62 ui_opt_textbox("cert", $miniserv{'certfile'}, 40,
86 $miniserv{'ssl_honorcipherorder'}));
88 my $clist = $miniserv{'ssl_cipher_list'};
89 my $clist_def = $miniserv{'cipher_list_def'};
103 if (defined $miniserv{'extracas'}) { $extracas = $miniserv{'extracas'}; }
118 $info = &cert_info($miniserv{'certfile'} || $miniserv{'keyfile'});
[all …]
H A Dletsencrypt.cgi9 our %miniserv;
96 &get_miniserv_config(\%miniserv);
98 $miniserv{'keyfile'} = $config_directory.
100 &lock_file($miniserv{'keyfile'});
102 &unlock_file($miniserv{'keyfile'});
106 &lock_file($miniserv{'certfile'});
108 &unlock_file($miniserv{'certfile'});
113 &lock_file($miniserv{'extracas'});
115 &unlock_file($miniserv{'extracas'});
118 delete($miniserv{'extracas'});
[all …]
H A Dchange_web.cgi7 &get_miniserv_config(\%miniserv);
11 delete($miniserv{'expires'});
16 $miniserv{'expires'} = $in{'expires'};
26 $miniserv{'expires_paths'} = join("\t", map { $_->[0]."=".$_->[1] }
33 $miniserv{'noshowstderr'} = !$in{'showstderr'};
35 if (!$miniserv{'session'}) {
37 $miniserv{'pass_password'} = $in{'pass'};
45 $miniserv{'gzip'} = $in{'gzip'};
51 $miniserv{'nolistdir'} = !$in{'listdir'};
60 &put_miniserv_config(\%miniserv);
/dports/sysutils/webmin/webmin-1.981/acl/
H A Dsave_pass.cgi11 my %miniserv;
12 &get_miniserv_config(\%miniserv);
17 delete($miniserv{'pass_minsize'});
21 $miniserv{'pass_minsize'} = $in{'minsize'};
24 $miniserv{'pass_regdesc'} = $in{'regdesc'};
26 delete($miniserv{'pass_maxdays'});
33 delete($miniserv{'pass_lockdays'});
39 $miniserv{'pass_nouser'} = $in{'nouser'};
40 $miniserv{'pass_nodict'} = $in{'nodict'};
42 delete($miniserv{'pass_oldblock'});
[all …]
H A Dacl-lib.pl219 my %miniserv;
364 my %miniserv;
370 if ($miniserv{'userdb'} && !$miniserv{'userdb_addto'}) {
944 my %miniserv;
947 if ($miniserv{'userdb'} && !$miniserv{'userdb_addto'}) {
1039 my %miniserv;
1145 my %miniserv;
1302 my $sfile = $miniserv->{'sessiondb'} ? $miniserv->{'sessiondb'} :
1787 my %miniserv;
2030 if (!$miniserv) {
[all …]
H A Dedit_unix.cgi15 my %miniserv;
16 &get_miniserv_config(\%miniserv);
22 my @unixauth = &get_unixauth(\%miniserv);
53 $miniserv{'sudo'}));
59 $miniserv{'pamany'},
61 $miniserv{'pamany'}));
66 my $users = $miniserv{"allowusers"} ?
68 $miniserv{"denyusers"} ?
71 &ui_radio("access", $miniserv{"allowusers"} ? 1 :
72 $miniserv{"denyusers"} ? 2 : 0,
[all …]
H A Dsave_unix.cgi55 my %miniserv;
56 &get_miniserv_config(\%miniserv);
57 my $oldsudo = $miniserv{'sudo'};
58 &save_unixauth(\%miniserv, \@unix);
59 delete($miniserv{"allowusers"});
60 delete($miniserv{"denyusers"});
64 $miniserv{'shells_deny'} = $in{'shells'};
67 delete($miniserv{'shells_deny'});
74 $miniserv{'sudo'} = $in{'sudo'};
75 $miniserv{'pamany'} = $in{'pamany'} ? $in{'pamany_user'} : undef;
[all …]
/dports/sysutils/usermin/usermin-1.830/twofactor/
H A Dtwofactor-funcs-lib.pl18 my ($miniserv) = @_;
30 my ($in, $miniserv) = @_;
32 my $test = $miniserv->{'twofactor_test'};
47 $miniserv->{'twofactor_apikey'} = $key;
87 my %miniserv;
88 &get_miniserv_config(\%miniserv);
93 &urlize($miniserv{'twofactor_apikey'});
120 my %miniserv;
121 &get_miniserv_config(\%miniserv);
163 my ($miniserv, $in) = @_;
[all …]
H A Denable.cgi12 my %miniserv;
13 &get_miniserv_config(\%miniserv);
14 if (!$miniserv{'twofactor_provider'}) {
19 my ($provid, $id, $api) = &get_user_twofactor($remote_user, \%miniserv);
28 $miniserv{'twofactor_provider'};
36 my ($prov) = grep { $_->[0] eq $miniserv{'twofactor_provider'} }
41 my $efunc = "enroll_twofactor_".$miniserv{'twofactor_provider'};
52 $miniserv{'twofactor_provider'};
58 &save_user_twofactor($remote_user, \%miniserv,
59 $miniserv{'twofactor_provider'},
[all …]

123456789