|
NAMESecurity::TLSCheck::Checks::AgeDE - Checks, if a host has an age-de.xml fileSYNOPSIS...DESCRIPTIONThis test looks for a file named age-de.xml in the root directory and parses it if exists.age-de.xml is a german standard for age labeling for child protection filter programs. It's very rarely used but will be a standard by german law. The ages are: 0, 6, 12, 16, 18 XML parsing not really started, it's only simple regexes TODO: Parse XML METHODSrun_checkruns the main checkHere: tries to get the age-de.xml file and stores it's content in attribute "age_de_xml". has_age_de_xmlReturns true if there is a age_de_xml.Since redirects are accepted, this might be the start page or an error page (when no error code is set) etc. So, this does not mean, that there is really an age-de.xml! has_age_declarationA simple check, if there is really an age-de.xml.default_ageGets the default age from an existing age-de.xml or undef;min_ageGets the minage from an existing age-de.xml or undef;
Visit the GSP FreeBSD Man Page Interface. |