Initial skeleton of mod_tls

This commit is contained in:
Jamie Cameron
2023-12-17 15:49:27 -08:00
parent 80cc0cb9d2
commit c87fc1a15c
4 changed files with 22 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 364 B

View File

@@ -382,6 +382,8 @@ mod_readme_display=Notify user of readme files matching
mod_readme_none=None
mod_readme_edisplay=Missing readme files pattern
mod_tls_engine=Enable SSL encryption?
start_err=Failed to start FTP server
start_einetd=You cannot start the server daemon when in inetd mode.

20
proftpd/mod_tls.pl Normal file
View File

@@ -0,0 +1,20 @@
sub mod_tls_directives
{
local $rv = [
[ 'TLSEngine', 0, 0, 'virtual global', 1.27 ],
];
return &make_directives($rv, $_[0], "mod_tls");
}
sub edit_TLSEngine
{
return (2, $text{'mod_tls_engine'},
&choice_input($_[0]->{'value'}, "TLSEngine", "",
"$text{'yes'},on", "$text{'no'},off",
"$text{'default'},"));
}
sub save_TLSEngine
{
return &parse_choice("TLSEngine", "");
}