summaryrefslogtreecommitdiffstats
path: root/perl-install/security/msec.pm
Commit message (Collapse)AuthorAgeFilesLines
* simplifyThierry Vignaud2002-11-201-1/+1
|
* cleanupsThierry Vignaud2002-11-201-3/+2
|
* - fix duplication of sec level setting:Thierry Vignaud2002-11-191-33/+5
| | | | | | | | | | | | | merge any::get_secure_level() with secure::msec::get_secure_level() - move security level functions from secure::msec to secure::level - uses secure::level in install_steps - fix duplication of security level labels - draksec: use same strings in drakx, got nice translations - get_default_checks(): make it more readable
* previous example in perldoc was buggy;Thierry Vignaud2002-11-191-14/+21
| | | | | put one that really works
* update copyright yearsThierry Vignaud2002-11-181-1/+1
|
* - perl_checker fixesThierry Vignaud2002-11-141-17/+19
| | | | | | - clean code - simplify config_function()
* - replace ... =~ 'foo' with ... =~ /foo/Pascal Rigaux2002-11-111-2/+2
| | | | | - remove unneeded parentheses for things like ... if (...)
* add or remove spaces where need to please perl_checkerPascal Rigaux2002-11-111-1/+2
|
* - use "foreach" instead of "for" in list contextPascal Rigaux2002-11-111-2/+2
| | | | | - use "for" instead of "foreach" when used a la C
* various small syntax enhancements to please perl_checkerPascal Rigaux2002-11-111-2/+2
|
* ignore_list is uselessThierry Vignaud2002-09-241-2/+1
|
* - factorize @sec_levels and %sec_levels for get_default() andThierry Vignaud2002-09-181-9/+7
| | | | | | | | get_seclevel_list() - use them in get_default() - get_value() : don't assume a space between "function_name" and "(parameters)"
* remove brackets on function values loadingThierry Vignaud2002-09-181-4/+8
|
* respect msec syntaxThierry Vignaud2002-09-181-1/+1
|
* "kill quart of draksec code" patch aka make it really working aka "happy fred" :Thierry Vignaud2002-09-181-51/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - security::msec : o consolidate get_function_value() and get_value into get_value() o really apply changes, aka save them : * config_check() : use substInFile and setVarsInSh * config_function() : use substInFile and append_to_file * kill stupid and bogus config_option() o don't overwrite previous changes, aka reread them : * fix checks and functions current value loading * fix checks and functions default loading - security::main : o simplify ui creation, make it more readable o kill offuscating basic_secadmin_check(), basic_secadmin_entry(), network_generate_page(), system_generate_page() and checks_generate_page() o increase default height because of stupid "add_with_viewport" in ugtk::createScrolledWindow o consolidate network and system functions managment, they're all the same for msec, splitting is only a draksec "feature"; all go in %options_values - draksec : o let standalone module configure standalone mode o security::main already take care of initializing gtk o security::main already take care of exiting o don't play with embedded mode special variables it overall looks better but big cleanups're still possible for mdk9.1
* - security::msec :Thierry Vignaud2002-09-171-18/+16
| | | | | | | | | | | | | | | | | | | | | o config_check: use MDK::Common to set option rather than overwriting config file o remove all stupid prefix that just ofuscate code whereas it's always set to '', $::prefix will be a lot better o s/shift @_/shift/ o kill config_option() o simplify get_default() o get_secure_level() : replace if cascade by an array o set_secure_level() : * replace if cascade by an hash * default to runlevel 3 if undefined o get_functions() : simplify by merging code paths - security::main : o security::libsafe is unneeded o don't pass useless prefix o begin to read default values
* - msec::config_check: use MDK::Common to set option ratherThierry Vignaud2002-09-171-110/+67
| | | | | | | | than overwriting config file - remove all stupid prefix that just ofuscate code whereas it's always set to '', $::prefix will be a lot better
* - security::main: kill duplicated 'use strict'Thierry Vignaud2002-09-171-1/+1
| | | | | | | | | | - no ignore choice for periodic checks - save functions in /etc/security/msec/level.local and not security.conf - "from mseclib import" is useless - fix functions saving (an object method invocation takes class name as argument)
* remove libsafe option (not anymore used by msec)Thierry Vignaud2002-09-171-1/+1
|
* - draksec window title is draksec, not "draksec - basic options" since it offerThierry Vignaud2002-09-121-0/+3
| | | | | | advanced options too now - mark some strings to be translated (mainly notebook pages titles)
* inline seclevel_explain (why using functions to return a text label ?)Thierry Vignaud2002-09-101-20/+0
|
* move back draksec's files in drakxtoolsThierry Vignaud2002-09-101-0/+356
|
* - draksec is in his own package nowChristian Belisle2002-08-191-283/+0
|
* - Fix page change between checks -> advancedChristian Belisle2002-07-311-1/+2
|
* - Factorize options-related functionsChristian Belisle2002-07-311-26/+103
| | | | | | - s/choose_options/choose_functions - Added security checks page
* - put the basic button on top (in the advanced page)Christian Belisle2002-07-311-3/+4
| | | | | - move set_server_link in the ignore list temporary
* - complete re-writeChristian Belisle2002-07-301-23/+136
|
* - fix typo: s/%%options;/%%options/Daouda Lo2002-07-231-1/+1
|
* - add prefix var in file namesChristian Belisle2002-07-181-4/+10
| | | | | | - remove useless expert_mode var - add get_options(): will be used to get various options from msec
* move the msec related functions from any.pm to msec.pm. create sec_optionsChristian Belisle2002-07-181-225/+72
|
* - Customize entries for each options (checkboxes, text boxes and lists)Christian Belisle2002-06-171-46/+89
|
* added network, server and user advanced optionsChristian Belisle2002-06-171-1/+120
|
* Initial commitChristian Belisle2002-06-101-0/+76