Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 1760 → Rev 1764

/CHANGELOG
11,7 → 11,7
BUGS
- MAC auth equipments in DHCP mode are logout after lease time. They can't be automatically reconnected
ACC
- PHP : migration of the deprecated functions --> should be continued
- PHP : migration of the deprecated functions --> should be continued for the V3
------------------------2.9-1 ------------------------
 
BUGS
/conf/blacklists.tar.gz
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/readme.txt
1,11 → 1,11
$Id: readme-2.0.txt 581 2011-04-21 16:59:59Z richard $
 
Alcasar-2.9.1
Alcasar-2.9.2
 
*********** English **********
- New installation : Need the DVD dual architecture (32b and 64b) of Linux Mageia4.1 (Mageia-4.1-dual-DVD.iso).
--> Follow the installation documentation.
- Update 0 V2.9 version
- Update a V2.9 & V2.9.1 version
--> Run the installation of the new version and follow the instructions
- Update an earlier version
if you current version is not compatible, the update process will stop after creating a configuration file
16,9 → 16,8
*********** Français ********
 
- Nouvelle installation : elle s'effectue sur la base DVD double architectures (32b et 64b) de Linux Mageia4.1 (Mageia-4.1-dual-DVD.iso).
--> Suivez la procédure d'installation.
- Mise à jour d'une version 2.9
- Mise à jour d'une ancienne version :
--> Suivez la procédure d'installation.
- Mise à jour d'une version 2.9 & 2.9.1
--> Lancez l'installation de la nouvelle version et suivez les instructions
- Mise à jour d'une version plus ancienne
si la version actuelle n'est pas compatible, le processus de mise à jour s'arrétera après avoir créé un fichier de configuration
/web/acc/admin/network.php
283,23 → 283,27
<input type="submit" <?php echo "value=\"".$l_import."\""?>>
</form>
<?php
$domain = exec("/bin/openssl x509 -noout -subject -in /etc/pki/tls/certs/alcasar.crt | sed -n '/^subject/s/^.*CN=//p' | cut -d'/' -f 1");
$organization = exec("/bin/openssl x509 -noout -subject -in /etc/pki/tls/certs/alcasar.crt | sed -n '/^subject/s/^.*O=//p' | cut -d'/' -f 1");
$CAdomain = exec("/bin/openssl x509 -noout -issuer -in /etc/pki/tls/certs/alcasar.crt | sed -n '/^issuer/s/^.*CN=//p' | cut -d'/' -f 1");
$CAorganization = exec("/bin/openssl x509 -noout -issuer -in /etc/pki/tls/certs/alcasar.crt | sed -n '/^issuer/s/^.*O=//p' | cut -d'/' -f 1");
$cert_subject = exec("/bin/openssl x509 -noout -subject -in /etc/pki/tls/certs/alcasar.crt");
$cert_issuer = exec("/bin/openssl x509 -noout -issuer -in /etc/pki/tls/certs/alcasar.crt");
$cert_expiration_date = exec("/bin/openssl x509 -noout -dates -in /etc/pki/tls/certs/alcasar.crt|grep After|cut -d\"=\" -f2");
$domain = exec("echo $cert_subject | sed -n '/^subject/s/^.*CN=//p' | cut -d'/' -f 1");
$organization = exec("echo $cert_subject | sed -n '/^subject/s/^.*O=//p' | cut -d'/' -f 1");
$CAdomain = exec("echo $cert_issuer | sed -n '/^issuer/s/^.*CN=//p' | cut -d'/' -f 1");
$CAorganization = exec("echo $cert_issuer | sed -n '/^issuer/s/^.*O=//p' | cut -d'/' -f 1");
 
echo "<br><br>\n";
echo "<h3>".$l_current_certificate."</h3>\n";
echo "Common name : ".$domain."<br>\n";
echo "Organization : ".$organization."<br/>\n";
echo "<h4>". $l_validated ."</h4>\n";
echo "Common name : ".$CAdomain."<br>\n";
echo "Organization : ".$CAorganization."<br>\n";
echo "<br>";
echo "<h3>".$l_current_certificate."</h3>";
echo "Expiration Date : ".$cert_expiration_date."<br>";
echo "Common name : ".$domain."<br>";
echo "Organization : ".$organization."<br/>";
echo "<h4>". $l_validated ."</h4>";
echo "Common name : ".$CAdomain."<br>";
echo "Organization : ".$CAorganization."<br>";
?>
</td><td>
<form method="post" action="network.php">
<input type="hidden" name="default">
<input type="submit" <?php echo "value=\"".$l_default_cert."\""; if(!file_exists("/etc/pki/tls/certs/alcasar.crt.old") || !file_exists("/etc/pki/tls/private/alcasar.key.old")){ echo "disabled";}?> >
<input type="submit" <?php echo "value=\"".$l_default_cert."\""; if(!file_exists("/etc/pki/tls/certs/alcasar.crt.old") || !file_exists("/etc/pki/tls/private/alcasar.key.old")){ echo " disabled";}?>>
</form>
</td>
</tr>
/web/acc/phpsysinfo/includes/lang/en.php
24,7 → 24,7
$text['title'] = 'System Information';
 
$text['vitals'] = 'System Vital';
$text['hostname'] = 'Canonical Hostname';
$text['hostname'] = 'Hostname';
$text['ip'] = 'Listening IP';
$text['kversion'] = 'Kernel Version';
$text['dversion'] = 'Distro Name';
/web/acc/phpsysinfo/includes/lang/fr.php
24,7 → 24,7
$text['title'] = 'Informations Syst&egrave;me ';
 
$text['vitals'] = 'Syst&egrave;me';
$text['hostname'] = 'Nom d\'h&ocirc;te cannonique';
$text['hostname'] = 'Nom d\'h&ocirc;te';
$text['ip'] = 'IP';
$text['kversion'] = 'Version du noyau';
$text['dversion'] = 'Distribution';
/web/acc/phpsysinfo/includes/os/class.Linux.inc.php
82,9 → 82,10
$result = rfts( '/proc/sys/kernel/hostname', 1 );
if ( $result == "ERROR" ) {
$result = "N.A.";
} else {
$result = gethostbyaddr( gethostbyname( trim( $result ) ) );
}
}
//else {
// $result = gethostbyaddr( gethostbyname( trim( $result ) ) );
//}
return $result;
}
// get the IP address of our canonical hostname