Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 1477 → Rev 1478

/web/acc/admin/network.php
22,8 → 22,8
$Language = strtolower(substr(chop($Langue[0]),0,2)); }
if($Language == 'fr'){
$l_network_title = "Configuration réseau";
$l_eth0_legend = "Eth0 (Interface connectée à Internet)";
$l_eth1_legend = "Eth1 (Réseau de consultation)";
$l_extif_legend = " (Interface connectée à Internet)";
$l_intif_legend = " (Réseau de consultation)";
$l_internet_legend = "INTERNET";
$l_ip_adr = "Adresse IP";
$l_ip_mask = "Masque";
49,8 → 49,8
 
} else {
$l_network_title = "Network configuration";
$l_eth0_legend = "Eth0 (Internet connected interface)";
$l_eth1_legend = "Eth1 (Private network)";
$l_extif_legend = " (Internet connected interface)";
$l_intif_legend = " (Private network)";
$l_internet_legend = "INTERNET";
$l_ip_adr = "IP Address";
$l_ip_mask = "Mask";
231,7 → 231,7
</fieldset>
</td><td>
<fieldset>
<legend><?php echo $l_eth0_legend; ?></legend>
<legend><?php echo $conf["EXTIF"].$l_extif_legend; ?></legend>
<table>
<tr><td><?php echo $l_ip_adr." : </td><td>".$conf["PUBLIC_IP"];?></td></tr>
<tr><td><?php echo $l_ip_router." : </td><td>".$conf["GW"];?></td></tr>
239,7 → 239,7
</fieldset>
</td><td>
<fieldset>
<legend><?php echo $l_eth1_legend; ?></legend>
<legend><?php echo $conf["INTIF"].$l_intif_legend; ?></legend>
<table>
<tr><td><?php echo $l_ip_adr." : </td><td>".$conf["PRIVATE_IP"];?></td></tr>
</table>
/web/acc/admin/services.php
32,7 → 32,7
$l_dnsmasq_blacklist = "Serveur DNS pour la Blacklist";
$l_dnsmasq_whitelist = "Serveur DNS pour la Whitelist";
$l_dnsmasq_blackhole = "Serveur DNS 'trou noir'";
$l_ulogd_ssh = "journalisation des accès par SSH";
$l_ulog_ssh = "journalisation des accès par SSH";
$l_ulogd_ext_access = "journalisation des tentatives d'accès externes";
$l_ulogd_traceability = "journalisation des connexions WEB filtrés";
} else {
140,9 → 140,9
$MainServiceStatus['mysqld'] = checkServiceStatus("mysqld");
$MainServiceStatus['httpd'] = checkServiceStatus("httpd");
$MainServiceStatus['dnsmasq'] = checkServiceStatus("dnsmasq");
$MainServiceStatus['ulogd-ssh'] = checkServiceStatus("ulogd-ssh");
$MainServiceStatus['ulogd-ext-access]'] = checkServiceStatus("ulogd-ext-access");
$MainServiceStatus['ulogd-traceability]'] = checkServiceStatus("ulogd-traceability");
$MainServiceStatus['ulogd_ssh'] = checkServiceStatus("ulogd-ssh");
$MainServiceStatus['ulogd_ext_access'] = checkServiceStatus("ulogd-ext-access");
$MainServiceStatus['ulogd_traceability'] = checkServiceStatus("ulogd-traceability");
 
$FilterServiceStatus = array();
$FilterServiceStatus['dnsmasq_blacklist'] = checkServiceStatus("dnsmasq-blacklist");
/web/acc/phpsysinfo/includes/lang/en.php
54,7 → 54,6
$text['disable'] = "disable";
$text['web_antivirus'] = "WEB antivirus";
$text['net_filter'] = "Network protocols filter";
$text['domain_filter'] = "Domain and URL filter";
$text['cert_expiration_date'] = "Certificate expiration date";
//
 
/web/acc/phpsysinfo/includes/lang/fr.php
54,7 → 54,6
$text['disable'] = "inactif";
$text['web_antivirus'] = "Antivirus de flux WEB";
$text['net_filter'] = "Filtre de protocoles r&eacute;seau";
$text['domain_filter'] = "Filtre de domaine et d'URL";
$text['cert_expiration_date'] = "Date d'expiration du certificat";
//
 
/web/acc/phpsysinfo/includes/xml/portail.php
29,7 → 29,7
$host = "localhost";
$DB_USER = "radius";
$DB_RADIUS = "radius";
$radiuspwd = "hxoGX9sw";
$radiuspwd = "J7YI65SW";
// Connexion au serveur
mysql_connect($host, $DB_USER,$radiuspwd) or die("erreur de connexion au serveur");
mysql_select_db($DB_RADIUS) or die("erreur de connexion a la base de donnees");
111,12 → 111,6
if (filtrageTest("/usr/local/etc/alcasar.conf", "/^PROTOCOLS_FILTERING=on/")){
$network_filter_status = $text['enable'];}
else { $network_filter_status = $text['disable'];}
if (filtrageTest("/usr/local/etc/alcasar.conf","/^DNS_FILTERING=on/")){
$domain_filter_status = $text['enable'];}
else { $domain_filter_status = $text['disable'];}
if (filtrageTest("/usr/local/etc/alcasar.conf","/^WEB_ANTIVIRUS=on/")){
$web_antivir_status = $text['enable'];}
else { $web_antivir_status = $text['disable'];}
if ((filtrageTest("/var/www/html/index.php","/network_pb = False/")) && (internetTest($INSTALLEDVERSION))){
$internet_status = "<img src='/images/state_ok.gif'>".$text['enable'];
$version = dns_get_record("version.alcasar.net",DNS_TXT);
151,14 → 145,6
. " <td><font size=\"-1\">" . $network_filter_status . "</font></td>\n"
. " </tr>\n"
. " <tr>\n"
. " <td valign=\"top\"><font size=\"-1\">" . $text['web_antivirus'] . "</font></td>\n"
. " <td><font size=\"-1\">" . $web_antivir_status . "</font></td>\n"
. " </tr>\n"
. " <tr>\n"
. " <td valign=\"top\"><font size=\"-1\">" . $text['domain_filter'] . "</font></td>\n"
. " <td><font size=\"-1\">" . $domain_filter_status . "</font></td>\n"
. " </tr>\n"
. " <tr>\n"
. " <td valign=\"top\"><font size=\"-1\">" . $text['bl-version'] . "</font></td>\n"
. " <td><font size=\"-1\">" . $VERSIONBL . "</font></td>\n"
. " </tr>\n"
/web/acc/phpsysinfo/includes/xml/vitals.php
42,7 → 42,7
. " <Distro>" . htmlspecialchars( $sysinfo->distro(), ENT_QUOTES ) . "</Distro>\n"
. " <Distroicon>" . htmlspecialchars( $sysinfo->distroicon(), ENT_QUOTES ) . "</Distroicon>\n"
. " <Uptime>" . htmlspecialchars( $sysinfo->uptime(), ENT_QUOTES ) . "</Uptime>\n"
. " <Users>" . htmlspecialchars( $sysinfo->users(), ENT_QUOTES ) . "</Users>\n"
// . " <Users>" . htmlspecialchars( $sysinfo->users(), ENT_QUOTES ) . "</Users>\n"
. " <LoadAvg>" . htmlspecialchars( trim( $strLoadavg ), ENT_QUOTES ) . "</LoadAvg>\n";
if( isset( $arrBuf['cpupercent'] ) ) {
$_text .= " <CPULoad>" . htmlspecialchars( round( $arrBuf['cpupercent'], 2 ), ENT_QUOTES ) . "</CPULoad>";
96,11 → 96,11
. " <td valign=\"top\"><font size=\"-1\">" . $text['uptime'] . "</font></td>\n"
. " <td><font size=\"-1\">" . uptime( $XPath->getData( "/phpsysinfo/Vitals/Uptime" ) ) . "</font></td>\n"
. " </tr>\n"
// . " <tr>\n"
// . " <td valign=\"top\"><font size=\"-1\">" . $text['users'] . "</font></td>\n"
// . " <td><font size=\"-1\">" . $XPath->getData( "/phpsysinfo/Vitals/Users" ) . "</font></td>\n"
// . " </tr>\n"
. " <tr>\n"
. " <td valign=\"top\"><font size=\"-1\">" . $text['users'] . "</font></td>\n"
. " <td><font size=\"-1\">" . $XPath->getData( "/phpsysinfo/Vitals/Users" ) . "</font></td>\n"
. " </tr>\n"
. " <tr>\n"
. " <td valign=\"top\"><font size=\"-1\">" . $text['loadavg'] . "</font></td>\n"
. " <td><font size=\"-1\">" . $XPath->getData( "/phpsysinfo/Vitals/LoadAvg" ) . $strLoadbar . "</font></td>\n"
. " </tr>\n"