/web/acc/backup/sauvegarde.php |
---|
2,8 → 2,8 |
<!-- Written by Rexy --> |
<html> |
<head> |
<title>Sauvegarde</title> |
<link rel="stylesheet" href="/css/acc.css" type="text/css"> |
<title>Sauvegarde</title> |
<link rel="stylesheet" href="/css/acc.css" type="text/css"> |
</head> |
<body> |
<? |
/web/acc/backup/log_generation.php |
---|
1,18 → 1,26 |
<!DOCTYPE html> |
<html> |
<head> |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
<title>ALCASAR Report</title> |
<link rel="stylesheet" href="/css/bootstrap.min.css"> |
<link rel="stylesheet" href="/css/acc.css"> |
<script src="/js/jquery.min.js"></script> |
<script src="/js/bootstrap.min.js"></script> |
</head> |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
<TITLE>ALCASAR Report</TITLE> |
<link rel="stylesheet" type="text/css" href="../../../css/bootstrap.min.css"> |
<script src="../../../js/jquery.min.js"></script> |
<script src="../../../js/bootstrap.min.js"></script> |
<link rel="stylesheet" href="../manager/htdocs/style.css"> |
<style> |
body{ |
background-color: #EFEFEF; |
} |
</style> |
</HEAD> |
<body> |
<?php |
# Cette page permet de générer les journaux d'imputabilité dans une archive avec mot de passe. |
# Lors de la création de cette archive, tous les utilisateurs d'alcasar seront prévenus lors de leur prochaine connexion par un message d'alerte. |
# $Id $ |
#Cette page permet de générer les journaux d'imputabilité dans une archive avec mot de passe. |
#Lors de la création de cette archive, tous les utilisateurs d'alcasar seront prévenus lors de leur prochaine connexion par un message d'alerte. |
#Cette page a été créé suite à la demande d'une préfecture de police afin de faciliter le déroulement des affaires judiciaires UNIQUEMENT. |
# Choice of language |
if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) |
{ |
21,7 → 29,6 |
} |
if($Language == 'fr') |
{ |
$l_title = "Journaux d'imputabilité"; |
$l_info = "Génération des journaux d'imputabilité"; |
$l_log_info = "Vous allez générer un document réservé aux autorités dans le cadre d'une requête judiciaire ou administrative. Tout les utilisateurs seront avertis de la génération de ce document."; |
$l_password = "Entrez votre mot de passe afin de protéger l'archive contenant le document généré"; |
46,7 → 53,6 |
} |
else |
{ |
$l_title = "Imputabilities logs"; |
$l_info = "Imputabilities logs generation"; |
$l_log_info = "You are in progress to generate a document reserved for a judicial or administrative investigation. All users will be warned."; |
$l_password = "Enter your password to protect the archive which contains the document."; |
68,22 → 74,30 |
$l_logtab="Last entries :"; |
$l_empty_log="Logs are empty"; |
} |
$filename='/var/www/html/acc/backup/log_info.txt'; |
if(isset($_POST['submit'])) |
{ |
$password=$_POST['password']; |
$demandeur=$_POST['demandeur']; |
$raison=$_POST['comment']; |
# si le mot de passe est vide ou si il contient des espaces |
#si le mot de passe est vide ou si il contient des espaces |
if($password != "" && $demandeur != "" && $raison != "") |
{ |
# Génération de log |
#Génération de log |
$text=date("Y-m-d H:i:s")."|||".$demandeur."|||".$raison."|||".$_SERVER['REMOTE_ADDR']; |
# supprimer les nouvelles lignes |
#supprimer les nouvelles lignes |
$text = str_replace("\n", ' ', $text); |
$text = str_replace("\r", ' ', $text); |
file_put_contents($filename, $text.PHP_EOL, FILE_APPEND); |
# Création des journaux dans une archive avec mot de passe. |
#Création des journaux dans une archive avec mot de passe. |
$filename_logs="imputabilities_logs.zip"; |
switch($_POST['submit']) |
{ |
99,8 → 113,11 |
$date1_selected= $_POST['start-year'].'-'.$_POST['start-month'].'-'.$_POST['start-day'].' '.$_POST['start-hour'].':'.$_POST['start-min'].':'.$_POST['start-sec']; |
exec("sudo alcasar-generate_log.sh ".escapeshellarg($password)." ".escapeshellarg($date1_selected)); |
break; |
} |
# Interface permettant de télécharger les journaux d'imputabilité |
#Interface permettant de télécharger les journaux d'imputabilité |
echo "<h3>$l_create</h3>"; |
echo "<a href=\"$filename_logs\" class=\"btn btn-info btn-lg\">"; |
echo " <span class=\"glyphicon glyphicon-download-alt\"></span> $l_download"; |
113,16 → 130,28 |
} |
else |
{ |
# Interface permettant de configurer la génération des journaux d'imputabilité. |
echo "<div class=\"panel\">\n"; |
echo "<div class=\"panel-header\">$l_title</div>"; |
echo "<div class=\"panel-row\">"; |
#Interface permettant de configurer la génération des journaux d'imputabilité. |
echo "<table class=\"tableTop\" border='0' cellspacing='0' cellpadding='0'>"; |
echo "<tbody >"; |
echo " <tr>"; |
echo "<th class='thBasicACC'>"; |
echo "ALCASAR Report"; |
echo "</th>"; |
echo "</tr>"; |
echo "</tbody>"; |
echo "<tr bgcolor='#FFCC66'><td class=\"tdSizeACC\"> |
<img src='/images/pix.gif' width='1' height='2'></td></tr>"; |
echo "</table>"; |
echo "<div class =\"frameBorderACC\">"; |
echo " <div style=\"margin-top:16px;margin-left:15px;\">"; |
echo " <div>"; |
echo " <fieldset>"; |
echo " <h3>$l_info</h3>"; |
echo " <p>$l_log_info</p>"; |
echo " </fieldset>"; |
echo "<h4> $l_options_info </h4>"; |
echo "<div class=\"radio\">"; |
echo "<label><input type=\"radio\" name=\"optradio\" onclick=\"radio_interact1()\" style=\"margin-top: -1px;\" checked> $l_options_1 </label>"; |
140,6 → 169,7 |
echo "<p>$l_commentary</p><textarea name='comment'></textarea>"; |
echo "<p id=\"query_option\"></br></br><button type=\"submit\" onClick=\"this.classList.add('disabled');\" class=\"btn btn-primary\" name=\"submit\" value=\"query_all\"> $l_submit </button></p>"; |
} |
echo "<br><div style=\"height:1px;background:#717171;border-bottom:1px solid #313030:\"></div>"; |
echo "<h2>$l_logtab</h2>"; |
if(file_exists($filename)){ |
359,6 → 389,6 |
echo "</div>"; |
echo "</div>"; |
?> |
</div> |
</body> |
</html> |
/web/acc/manager/htdocs/accounting.php |
---|
1,9 → 1,10 |
<!DOCTYPE html> |
<?php |
require('/etc/freeradius-web/config.php'); |
require('../lib/functions.php'); |
require('../lib/sql/functions.php'); |
require('../lib/acctshow.php'); |
if (is_file("../lib/sql/drivers/$config[sql_type]/functions.php")) |
include_once("../lib/sql/drivers/$config[sql_type]/functions.php"); |
else{ |
10,8 → 11,8 |
echo <<<EOM |
<html> |
<head> |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
<title>$l_title</title> |
<title>Générateur de rapports de comptes</title> |
<meta http-equiv="Content-Type" content="text/html; charset=$config[general_charset]"> |
<link rel="stylesheet" href="/css/acc.css"> |
</head> |
<body> |
22,16 → 23,6 |
EOM; |
exit(); |
} |
$Language = 'en'; |
if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) { |
$Langue = explode(',', $_SERVER['HTTP_ACCEPT_LANGUAGE']); |
$Language = strtolower(substr(chop($Langue[0]), 0, 2)); |
} |
if ($Language === 'fr') { |
$l_title = "Journal des connexions"; |
} else { |
$l_title = "Connections log"; |
} |
$operators=array( '=','<', '>', '<=', '>=', 'regexp', 'like' ); |
if ($config['sql_type'] == 'pg'){ |
39,7 → 30,10 |
} |
$link = da_sql_pconnect ($config) or die('cannot connect to sql databse'); |
$fields = da_sql_list_fields($config['sql_accounting_table'],$link,$config); |
unset($items); |
while($row = $fields->fetch_array()) |
{ |
$key = strtolower($row[0]); |
113,14 → 107,18 |
?> |
<html> |
<head> |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
<title><?= $l_title ?></title> |
<link rel="stylesheet" href="/css/acc.css"> |
<title>Journal des connexions</title> |
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $config['general_charset']?>"> |
<link rel="stylesheet" href="/css/acc.css"> |
</head> |
<body> |
<div class="panel"> |
<div class="panel-header"><?= $l_title ?></div> |
<div class="panel-row"> |
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0"> |
<tr><th>Journal des connexions</th></tr> |
<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" height="2"> |
</td></tr> |
</TABLE> |
<TABLE width="100%" border="1" cellspacing="0" cellpadding="1"> |
<tr><td> |
<?php |
if(!isset($queryflag)) |
{ |
209,7 → 207,11 |
</tr> |
</table> |
</form> |
</table> |
</body> |
</html> |
EOM; |
} |
if ($queryflag == 1){ |
267,10 → 269,13 |
echo <<<EOM |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
<table border=1 width=100% cellpadding=2 cellspacing=0 bgcolor="#ffffe0" valign=top> |
<tr bgcolor="#d0ddb0"> |
<p> |
<table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor="#ffffe0" valign=top> |
<tr bgcolor="#d0ddb0"> |
</tr> |
EOM; |
foreach($accounting_show_attrs as $val){ |
$desc = $sql_attrs[$val]['desc']; |
if($val == 'acctoutputoctets') |
296,7 → 301,7 |
$info = '-'; |
if ($val == 'username'){ |
$Info = urlencode($info); |
$info = "<a href=\"user_admin.php?login=$Info\" title=\"Edit user $info\">$info</a>"; |
$info = "<a href=\"user_admin.php?login=$Info\" title=\"Edit user $info\">$info<a/>"; |
} |
echo <<<EOM |
<td>$info</td> |
307,14 → 312,15 |
} |
else |
echo "<b>Database query failed: " . da_sql_error($link,$config) . "</b><br>\n"; |
echo <<<EOM |
</table> |
echo <<<EOM |
</table> |
</td></tr> |
</table>\n |
</table> |
</td></tr> |
</table> |
</table> |
</body> |
</html> |
EOM; |
} |
?> |
</div> |
</div> |
</body> |
</html> |
/web/acc/manager/htdocs/security.php |
---|
27,25 → 27,38 |
} |
$tab = (isset($_GET['tab'])) ? intval($_GET['tab']) : 1; |
?> |
<!DOCTYPE HTML> |
<!DOCTYPE HTML PUBLIC> |
<html> |
<head> |
<meta charset="UTF-8"> |
<title><?= $l_title ?></title> |
<link rel="stylesheet" href="/css/bootstrap.min.css"> |
<script src="/js/jquery.min.js"></script> |
<script src="/js/bootstrap.min.js"></script> |
<link rel="stylesheet" href="/css/acc.css"> |
</head> |
<body> |
<div class="panel"> |
<div class="panel-header"><?= $l_title ?></div> |
<div class="panel-row"> |
<div class="btn-group btn-group-justified" role="group" aria-label="Justified button group"> |
<a href="security.php?tab=1" class="btn btn-default<?= (($tab === 1) ? ' active' : '') ?>" role="button"><?= $l_spoofing ?></a> |
<a href="security.php?tab=2" class="btn btn-default<?= (($tab === 2) ? ' active' : '') ?>" role="button"><?= $l_virus ?></a> |
<a href="security.php?tab=3" class="btn btn-default<?= (($tab === 3) ? ' active' : '') ?>" role="button"><?= $l_fail2ban ?></a> |
</div> |
<head> |
<meta charset="UTF-8"> |
<title><?= $l_title ?></title> |
<link rel="stylesheet" href="/css/bootstrap.min.css"> |
<script src="/js/jquery.min.js"></script> |
<script src="/js/bootstrap.min.js"></script> |
<link rel="stylesheet" href="style.css"> |
</head> |
<body> |
<table class="tableTop" border=0 cellspacing=0 cellpadding=0 > |
<tbody > |
<tr> |
<th class="thBasicACC"> |
<?echo "$l_title";?> |
</th> |
</tr> |
<tr bgcolor="#FFCC66" class="trSizeACC"> |
<td class="tdSizeACC"> |
<img src="/images/pix.gif" width=1 height=2> |
</td> |
</tr> |
</tbody> |
</table> |
<div class="frameBorderACC"> |
<div class="btn-group btn-group-justified" role="group" aria-label="Justified button group"> |
<a href="security.php?tab=1" class="btn btn-default<?= (($tab === 1) ? ' active' : '') ?>" role="button"><?= $l_spoofing ?></a> |
<a href="security.php?tab=2" class="btn btn-default<?= (($tab === 2) ? ' active' : '') ?>" role="button"><?= $l_virus ?></a> |
<a href="security.php?tab=3" class="btn btn-default<?= (($tab === 3) ? ' active' : '') ?>" role="button"><?= $l_fail2ban ?></a> |
</div> |
<br> |
<?php |
if ($tab === 1) { |
$spoofs = []; |
71,34 → 84,34 |
} |
$spoofs = array_reverse($spoofs); |
?> |
<h3><?= $l_spoofing ?></h3> |
<div class="container"> |
<table class="table table-striped table-hover" border="1"> |
<h3 style="text-align: center;"><?= $l_spoofing ?></h3> |
<div class="container"> |
<table style='font-family: "DejaVu Sans";font-size: small;color: #666650;' class="table table-striped tableBis table-hover" border="1"> |
<tr> |
<th> |
<th class="thSecurityBis" > |
Date |
</th> |
<th> |
<th class="thSecurityBis"> |
<?= $l_ipAddress ?> |
</th> |
<th> |
<th class="thSecurityBis"> |
MAC |
</th> |
<th> |
<th class="thSecurityBis"> |
<?= $l_user ?> |
</th> |
</tr> |
<tbody> |
<?php if (!empty($spoofs)): ?> |
<tbody> |
<?php if (!empty($spoofs)): ?> |
<?php foreach ($spoofs as $spoof): ?> |
<tr><td><?= $spoof->date ?></td><td><?= $spoof->ip ?></td><td><?= $spoof->mac ?></td><td><?= $spoof->user ?></td></tr> |
<tr><td><?= $spoof->date ?></td><td><?= $spoof->ip ?></td><td><?= $spoof->mac ?></td><td><?= $spoof->user ?></td></tr> |
<?php endforeach; ?> |
<?php else: ?> |
<?php else: ?> |
<tr><td colspan="4" style="text-align: center;"><?= $l_empty ?></td></tr> |
<?php endif; ?> |
</tbody> |
</table> |
</div> |
<?php endif; ?> |
</tbody> |
</table> |
</div> |
<?php |
} else if ($tab === 2) { |
$filePath = '/var/log/havp/access.log'; |
106,10 → 119,12 |
if ($lines === false) { |
exit("Cannot open '$filePath'."); |
} |
$lines = array_reverse($lines); |
?> |
<h3><?= $l_virus ?></h3> |
<h3 style="text-align: center;"><?= $l_virus ?></h3> |
<div class="container"> |
<table class="table table-striped table-hover"> |
<tbody> |
<?php if (!empty($lines)): ?> |
153,20 → 168,20 |
} |
$bans = array_reverse($bans); |
?> |
<h3><?= $l_fail2ban ?></h3> |
<h3 style="text-align: center;"><?= $l_fail2ban ?></h3> |
<div class="container" border="1"> |
<table class="table table-striped table-hover" border="1"> |
<table class="table tableBis table-striped table-hover" border="1"> |
<tr > |
<th> |
<th class="thSecurityBis" > |
Date |
</th> |
<th> |
<th class="thSecurityBis" > |
Date Unban |
</th> |
<th> |
<th class="thSecurityBis" > |
<?= $l_rule ?> |
</th> |
<th> |
<th class="thSecurityBis" > |
<?= $l_ipAddress ?> |
</th> |
</tr> |
197,7 → 212,6 |
echo 'Unknown tab'; |
} |
?> |
</div> |
</div> |
</body> |
</html> |
/web/acc/manager/htdocs/help/expire_after_help.html |
---|
3,7 → 3,7 |
<HEAD> |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
<title>Help Page</title> |
<link rel="stylesheet" href="/css/acc.css" type="text/css"> |
<link rel="stylesheet" href="/css/style.css" type="text/css"> |
</HEAD> |
<body> |
<center> |
/web/acc/manager/htdocs/help/max_all_session_help.html |
---|
3,7 → 3,7 |
<HEAD> |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
<title>Help Page</title> |
<link rel="stylesheet" href="/css/acc.css" type="text/css"> |
<link rel="stylesheet" href="/css/style.css" type="text/css"> |
</HEAD> |
<body> |
<center> |
/web/acc/manager/htdocs/help/statusOpenRequired_help.html |
---|
3,7 → 3,7 |
<HEAD> |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
<title>Help Page</title> |
<link rel="stylesheet" href="/css/acc.css" type="text/css"> |
<link rel="stylesheet" href="/css/style.css" type="text/css"> |
</HEAD> |
<body> |
<center> |
/web/acc/manager/htdocs/help/coovachilli_bandwidth_max_down_help.html |
---|
3,7 → 3,7 |
<HEAD> |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
<title>Help Page</title> |
<link rel="stylesheet" href="/css/acc.css" type="text/css"> |
<link rel="stylesheet" href="/css/style.css" type="text/css"> |
</HEAD> |
<body> |
<center> |
/web/acc/manager/htdocs/help/coovachilli_bandwidth_max_up_help.html |
---|
3,7 → 3,7 |
<HEAD> |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
<title>Help Page</title> |
<link rel="stylesheet" href="/css/acc.css" type="text/css"> |
<link rel="stylesheet" href="/css/style.css" type="text/css"> |
</HEAD> |
<body> |
<center> |
/web/acc/manager/htdocs/help/coovachilli_max_input_octets_help.html |
---|
3,7 → 3,7 |
<HEAD> |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
<title>Help Page</title> |
<link rel="stylesheet" href="/css/acc.css" type="text/css"> |
<link rel="stylesheet" href="/css/style.css" type="text/css"> |
</HEAD> |
<body> |
<center> |
/web/acc/manager/htdocs/help/coovachilli_max_output_octets_help.html |
---|
3,7 → 3,7 |
<HEAD> |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
<title>Help Page</title> |
<link rel="stylesheet" href="/css/acc.css" type="text/css"> |
<link rel="stylesheet" href="/css/style.css" type="text/css"> |
</HEAD> |
<body> |
<center> |
/web/acc/manager/htdocs/help/coovachilli_max_total_octets_help.html |
---|
3,7 → 3,7 |
<HEAD> |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
<title>Help Page</title> |
<link rel="stylesheet" href="/css/acc.css" type="text/css"> |
<link rel="stylesheet" href="/css/style.css" type="text/css"> |
</HEAD> |
<body> |
<center> |
/web/acc/manager/htdocs/help/protocols_help.html |
---|
3,7 → 3,7 |
<HEAD> |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
<title>Help Page</title> |
<link rel="stylesheet" href="/css/acc.css" type="text/css"> |
<link rel="stylesheet" href="/css/style.css" type="text/css"> |
</HEAD> |
<body> |
<center> |
/web/acc/manager/htdocs/help/filtering_help.html |
---|
3,7 → 3,7 |
<HEAD> |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
<title>Help Page</title> |
<link rel="stylesheet" href="/css/acc.css" type="text/css"> |
<link rel="stylesheet" href="/css/style.css" type="text/css"> |
</HEAD> |
<body> |
<center> |
/web/acc/manager/htdocs/help/expiration_help.html |
---|
3,7 → 3,7 |
<HEAD> |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
<title>Help Page</title> |
<link rel="stylesheet" href="/css/acc.css" type="text/css"> |
<link rel="stylesheet" href="/css/style.css" type="text/css"> |
</HEAD> |
<body> |
<center> |
/web/acc/manager/htdocs/help/login_time_help.html |
---|
3,7 → 3,7 |
<HEAD> |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
<title>Help Page</title> |
<link rel="stylesheet" href="/css/acc.css" type="text/css"> |
<link rel="stylesheet" href="/css/style.css" type="text/css"> |
</HEAD> |
<body> |
<center> |
/web/acc/manager/htdocs/help/session_timeout_help.html |
---|
3,7 → 3,7 |
<HEAD> |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
<title>Help page</title> |
<link rel="stylesheet" href="/css/acc.css" type="text/css"> |
<link rel="stylesheet" href="/css/style.css" type="text/css"> |
</HEAD> |
<body> |
<center> |
/web/acc/manager/htdocs/help/simultaneous_use_help.html |
---|
3,7 → 3,7 |
<HEAD> |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
<title>Help Page</title> |
<link rel="stylesheet" href="/css/acc.css" type="text/css"> |
<link rel="stylesheet" href="/css/style.css" type="text/css"> |
</HEAD> |
<body> |
<center> |
/web/acc/manager/htdocs/help/wispr_redirection_url_help.html |
---|
3,7 → 3,7 |
<HEAD> |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
<title>Help Page</title> |
<link rel="stylesheet" href="/css/acc.css" type="text/css"> |
<link rel="stylesheet" href="/css/style.css" type="text/css"> |
</HEAD> |
<body> |
<center> |
/web/acc/manager/htdocs/help/callback_number_help.html |
---|
0,0 → 1,47 |
<html> |
<head> |
<title>Callback-Number Help Page</title> |
<link rel="stylesheet" href="../style.css"> |
</head> |
<body bgcolor="#80a040" background="../images/greenlines1.gif" link="black" alink="black"> |
<center> |
<table border=0 width=540 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=340></td> |
<td bgcolor="black" width=400> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=right valign=top><th><font color="white">Callback-Number Help Page</font> </th></tr> |
</table> |
</td></tr> |
<tr bgcolor="black" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
<br> |
<center> |
<pre> |
Attribute Number: 19 |
Value: String |
</pre> |
<br> |
<pre> |
The value of this attribute is the number to which the RADIUS client |
gear should return a call to the authenticating user. Depending on |
what packet this attribute is found in, different actions may be |
configured. For instance, if <i>Callback-Number</i> is found in an |
<i>Access Request</i> packet, the implementation may assume that the |
end user is requesting callback service. If the attribute is found |
in the <i>Access Accept</i> packet, it can mean everything that the |
administrator configuring the gear wants it to mean. In fact, in |
some cases, <i>Callback-ID</i> and <i>Callback-Number</i> will <i>not</i> be found |
together in one packet. |
</pre> |
</td></tr> |
<tr><td align=center> |
<a href="javascript:window.close();"><b>Close Window</b></a> |
</td></tr> |
</center> |
</table> |
</tr> |
</table> |
</body> |
</html> |
/web/acc/manager/htdocs/help/class_help.html |
---|
0,0 → 1,45 |
<html> |
<head> |
<title>Class Help Page</title> |
<link rel="stylesheet" href="../style.css"> |
</head> |
<body bgcolor="#80a040" background="../images/greenlines1.gif" link="black" alink="black"> |
<center> |
<table border=0 width=540 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=340></td> |
<td bgcolor="black" width=400> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=right valign=top><th><font color="white">Class Help Page</font> </th></tr> |
</table> |
</td></tr> |
<tr bgcolor="black" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
<br> |
<center> |
<pre> |
Attribute Number: 25 |
Value: String |
</pre> |
<br> |
<pre> |
The Class attribute mainly exists to funnel identification and |
property information to the accounting systems of RADIUS |
implementations.<br> |
From RFC2865:<br>"This Attribute is available to be sent by the server to the client |
in an Access-Accept and SHOULD be sent unmodified by the client to |
the accounting server as part of the Accounting-Request packet if |
accounting is supported. The client MUST NOT interpret the |
attribute locally." |
</pre> |
</td></tr> |
<tr><td align=center> |
<a href="javascript:window.close();"><b>Close Window</b></a> |
</td></tr> |
</center> |
</table> |
</tr> |
</table> |
</body> |
</html> |
/web/acc/manager/htdocs/help/callback_id_help.html |
---|
0,0 → 1,46 |
<html> |
<head> |
<title>Callback-ID Help Page</title> |
<link rel="stylesheet" href="../style.css"> |
</head> |
<body bgcolor="#80a040" background="../images/greenlines1.gif" link="black" alink="black"> |
<center> |
<table border=0 width=540 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=340></td> |
<td bgcolor="black" width=400> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=right valign=top><th><font color="white">Callback-ID Help Page</font> </th></tr> |
</table> |
</td></tr> |
<tr bgcolor="black" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
<br> |
<center> |
<pre> |
Attribute Number: 20 |
Value: String |
</pre> |
<br> |
<pre> |
This attribute is used when a RADIUS implementation is set up to |
return a user's call. This is commonly used in corporate situations |
to avoid long-distance charges in hotel rooms and other remote |
locations. This value, A STRING, is often the identifier for a |
profile configured on the service equipment; there is no specific |
standrad for a string name, a triggered action, or something else. |
In other words, it is environment specific. RADIUS client gear is |
allowed to reject a connection if this attribute is present but |
not supported by the gear. |
</pre> |
</td></tr> |
<tr><td align=center> |
<a href="javascript:window.close();"><b>Close Window</b></a> |
</td></tr> |
</center> |
</table> |
</tr> |
</table> |
</body> |
</html> |
/web/acc/manager/htdocs/help/framed_ip_netmask_help.html |
---|
0,0 → 1,38 |
<html> |
<head> |
<title>Framed-IP-Netmask Help Page</title> |
<link rel="stylesheet" href="../style.css"> |
</head> |
<body bgcolor="#80a040" background="../images/greenlines1.gif" link="black" alink="black"> |
<center> |
<table border=0 width=540 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=340></td> |
<td bgcolor="black" width=400> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=right valign=top><th><font color="white">Framed-IP-Netmask Help Page</font> </th></tr> |
</table> |
</td></tr> |
<tr bgcolor="black" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
<br> |
<center> |
<pre> |
Attribute Number: 9 |
Value: IPADDR |
</pre> |
<pre> |
This attribute can be used to assign a specific netmask to |
a connection. |
</pre> |
</td></tr> |
<tr><td align=center> |
<a href="javascript:window.close();"><b>Close Window</b></a> |
</td></tr> |
</center> |
</table> |
</tr> |
</table> |
</body> |
</html> |
/web/acc/manager/htdocs/help/badusers_help.html |
---|
0,0 → 1,36 |
<html> |
<head> |
<title>BADUSERS Help Page</title> |
<link rel="stylesheet" href="../style.css"> |
</head> |
<body bgcolor="#80a040" background="../images/greenlines1.gif" link="black" alink="black"> |
<center> |
<table border=0 width=540 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=340></td> |
<td bgcolor="black" width=400> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=right valign=top><th><font color="white">Expiration Help Page</font> </th></tr> |
</table> |
</td></tr> |
<tr bgcolor="black" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
<br> |
<center> |
<pre> |
The badusers table can be used to keep a history of unauthorized actions by |
certain users. |
To add a user to the badusers table you first have to insert a descriptive text |
in the 'Lock Message' attribute |
</pre> |
</td></tr> |
<tr><td align=center> |
<a href="javascript:window.close();"><b>Close Window</b></a> |
</td></tr> |
</center> |
</table> |
</tr> |
</table> |
</body> |
</html> |
/web/acc/manager/htdocs/help/login_time_help2.html |
---|
0,0 → 1,49 |
<html> |
<head> |
<title>Login-Time Help Page</title> |
<link rel="stylesheet" href="../style.css"> |
</head> |
<body bgcolor="#80a040" background="../images/greenlines1.gif" link="black" alink="black"> |
<center> |
<table border=0 width=540 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=340></td> |
<td bgcolor="black" width=400> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=right valign=top><th><font color="white">Login-Time Help Page</font> </th></tr> |
</table> |
</td></tr> |
<tr bgcolor="black" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
<br> |
<center> |
<pre> |
Login-Time defines the time span a user may login to the system. The |
format of a so-called time string is like the format used by UUCP. |
A time string may be a list of simple time strings separated by "|" or ",". |
Each simple time string must begin with a day definition. That can be just |
one day, multiple days, or a range of days separated by a hyphen. A |
day is Mo, Tu, We, Th, Fr, Sa or Su, or Wk for Mo-Fr. "Any" or "Al" |
means all days. |
After that a range of hours follows in hhmm-hhmm format. |
For example, "Wk2305-0855,Sa,Su2305-1655". |
Radiusd calculates the number of seconds left in the time span, and |
sets the Session-Timeout to that number of seconds. So if someones |
Login-Time is "Al0800-1800" and he logs in at 17:30, Session-Timeout |
is set to 1800 seconds so that he is kicked off at 18:00. |
</pre> |
</td></tr> |
<tr><td align=center> |
<a href="javascript:window.close();"><b>Close Window</b></a> |
</td></tr> |
</center> |
</table> |
</tr> |
</table> |
</body> |
</html> |
/web/acc/manager/htdocs/help/framed_compression_help.html |
---|
0,0 → 1,38 |
<html> |
<head> |
<title>Framed Compression Help Page</title> |
<link rel="stylesheet" href="../style.css"> |
</head> |
<body bgcolor="#80a040" background="../images/greenlines1.gif" link="black" alink="black"> |
<center> |
<table border=0 width=540 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=340></td> |
<td bgcolor="black" width=400> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=right valign=top><th><font color="white">Framed Compression Help Page</font> </th></tr> |
</table> |
</td></tr> |
<tr bgcolor="black" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
<br> |
<center> |
<pre> |
Framed-Compression indicates a compression protocol to be used for the link. |
Possible values are: |
</pre> |
<i>None</i><br> |
<i>Van-Jacobson-TCP-IP</i><br> |
<i>IPX-Header-Compression</i><br> |
<i>Stac-LZS</i><br> |
</td></tr> |
<tr><td align=center> |
<a href="javascript:window.close();"><b>Close Window</b></a> |
</td></tr> |
</center> |
</table> |
</tr> |
</table> |
</body> |
</html> |
/web/acc/manager/htdocs/help/framed_protocol_help.html |
---|
0,0 → 1,42 |
<html> |
<head> |
<title>Framed Protocol Help Page</title> |
<link rel="stylesheet" href="../style.css"> |
</head> |
<body bgcolor="#80a040" background="../images/greenlines1.gif" link="black" alink="black"> |
<center> |
<table border=0 width=540 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=340></td> |
<td bgcolor="black" width=400> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=right valign=top><th><font color="white">Framed Protocol Help Page</font> </th></tr> |
</table> |
</td></tr> |
<tr bgcolor="black" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
<br> |
<center> |
<pre> |
This Attribute indicates the framing to be used for framed access. |
It MAY be used in both Access-Request and Access-Accept packets. |
Possible values are: |
</pre> |
<i>1 PPP</i><br> |
<i>2 SLIP</i><br> |
<i>3 AppleTalk Remote Access Protocol (ARAP)</i><br> |
<i>4 Gandalf proprietary SingleLink/Multilink protocol</i><br> |
<i>5 Xylogics proprietary IPX/SLIP</i><br> |
<i>6 X.75 Synchronous</i><br> |
</td></tr> |
<tr><td align=center> |
<a href="javascript:window.close();"><b>Close Window</b></a> |
</td></tr> |
</center> |
</table> |
</tr> |
</table> |
</body> |
</html> |
/web/acc/manager/htdocs/help/port_limit_help.html |
---|
0,0 → 1,35 |
<html> |
<head> |
<title>Port Limit Help Page</title> |
<link rel="stylesheet" href="../style.css"> |
</head> |
<body bgcolor="#80a040" background="../images/greenlines1.gif" link="black" alink="black"> |
<center> |
<table border=0 width=540 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=340></td> |
<td bgcolor="black" width=400> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=right valign=top><th><font color="white">Port Limit Help Page</font> </th></tr> |
</table> |
</td></tr> |
<tr bgcolor="black" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
<br> |
<center> |
<pre> |
Port-Limit is intended for use in conjuction with Multilink PPP or similar uses. |
It defines the maximum number of channels the user is allowed to open during |
a multilink dialup session. |
</pre> |
</td></tr> |
<tr><td align=center> |
<a href="javascript:window.close();"><b>Close Window</b></a> |
</td></tr> |
</center> |
</table> |
</tr> |
</table> |
</body> |
</html> |
/web/acc/manager/htdocs/help/framed_mtu_help.html |
---|
0,0 → 1,39 |
<html> |
<head> |
<title>Framed-MTU Help Page</title> |
<link rel="stylesheet" href="../style.css"> |
</head> |
<body bgcolor="#80a040" background="../images/greenlines1.gif" link="black" alink="black"> |
<center> |
<table border=0 width=540 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=340></td> |
<td bgcolor="black" width=400> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=right valign=top><th><font color="white">Framed-MTU Help Page</font> </th></tr> |
</table> |
</td></tr> |
<tr bgcolor="black" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
<br> |
<center> |
<pre> |
Attribute Numer: 12 |
Value: Integer |
</pre> |
<pre> |
MTU, the Maximum Transfer Unit, is the largest |
packet size that can be transmitted over a connection.<br> |
The value can be between 64 and 65535. |
</pre> |
</td></tr> |
<tr><td align=center> |
<a href="javascript:window.close();"><b>Close Window</b></a> |
</td></tr> |
</center> |
</table> |
</tr> |
</table> |
</body> |
</html> |
/web/acc/manager/htdocs/help/idle_timeout_help.html |
---|
0,0 → 1,35 |
<html> |
<head> |
<title>Idle Timeout Help Page</title> |
<link rel="stylesheet" href="../style.css"> |
</head> |
<body bgcolor="#80a040" background="../images/greenlines1.gif" link="black" alink="black"> |
<center> |
<table border=0 width=540 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=340></td> |
<td bgcolor="black" width=400> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=right valign=top><th><font color="white">Idle Timeout Help Page</font> </th></tr> |
</table> |
</td></tr> |
<tr bgcolor="black" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
<br> |
<center> |
<pre> |
This Attribute sets the maximum number of consecutive seconds of |
idle connection allowed to the user before termination of the |
session or prompt. |
</pre> |
</td></tr> |
<tr><td align=center> |
<a href="javascript:window.close();"><b>Close Window</b></a> |
</td></tr> |
</center> |
</table> |
</tr> |
</table> |
</body> |
</html> |
/web/acc/manager/htdocs/help/framed_ip_address_help.html |
---|
0,0 → 1,40 |
<html> |
<head> |
<title>Framed-IP-Address Help Page</title> |
<link rel="stylesheet" href="../style.css"> |
</head> |
<body bgcolor="#80a040" background="../images/greenlines1.gif" link="black" alink="black"> |
<center> |
<table border=0 width=540 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=340></td> |
<td bgcolor="black" width=400> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=right valign=top><th><font color="white">Framed-IP-Address Help Page</font> </th></tr> |
</table> |
</td></tr> |
<tr bgcolor="black" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
<br> |
<center> |
<pre> |
Framed-IP-Address can be used to specify the IP address that |
a dialup user will use. There are two special values: |
</pre> |
<i>255.255.255.255: Assign the user requested IP</i><br> |
<i>255.255.255.254: Assign an IP from the NAS IP pool</i><br> |
<pre> |
All other values will be assigned as they are to the user dialup |
interface |
</pre> |
</td></tr> |
<tr><td align=center> |
<a href="javascript:window.close();"><b>Close Window</b></a> |
</td></tr> |
</center> |
</table> |
</tr> |
</table> |
</body> |
</html> |
/web/acc/manager/htdocs/help/lock_message_help.html |
---|
0,0 → 1,37 |
<html> |
<head> |
<title>Lock Message Help Page</title> |
<link rel="stylesheet" href="../style.css"> |
</head> |
<body bgcolor="#80a040" background="../images/greenlines1.gif" link="black" alink="black"> |
<center> |
<table border=0 width=540 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=340></td> |
<td bgcolor="black" width=400> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=right valign=top><th><font color="white">Lock Message Help Page</font> </th></tr> |
</table> |
</td></tr> |
<tr bgcolor="black" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
<br> |
<center> |
<pre> |
The Lock Message will be included as a Reply-Item in all radius server responses for |
the user. It will also appear in the Usefull User Description in the user admin page. |
It is intended to be used as a hint to the user and to the administrator for the reason |
of the user lock out. |
In case it is a multi word message it should be enclosed in double quotes |
</pre> |
</td></tr> |
<tr><td align=center> |
<a href="javascript:window.close();"><b>Close Window</b></a> |
</td></tr> |
</center> |
</table> |
</tr> |
</table> |
</body> |
</html> |
/web/acc/manager/htdocs/help/reply_message_help.html |
---|
0,0 → 1,50 |
<html> |
<head> |
<title>Reply-Message Help Page</title> |
<link rel="stylesheet" href="../style.css"> |
</head> |
<body bgcolor="#80a040" background="../images/greenlines1.gif" link="black" alink="black"> |
<center> |
<table border=0 width=540 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=340></td> |
<td bgcolor="black" width=400> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=right valign=top><th><font color="white">Reply-Message Help Page</font> </th></tr> |
</table> |
</td></tr> |
<tr bgcolor="black" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
<br> |
<center> |
<pre> |
Attribute Numer: 18 |
Value: String |
</pre> |
<pre> |
The Reply-Message attribute is used to send a message back to the client |
in response of another packet. |
RFC2865 describes it as easy as:<br> |
"This attribute indicates text which MAY be displayed to the user. |
When used in an Access-Accept, it is the success message. |
When used in an Access-Reject, it is the failure message. It MAY |
indicate a dialog message to prompt the user before another |
Access-Request attempt. |
When used in an Access-Challenge, it MAY indicate a dialog message |
to prompt the user for a response. |
Multiple Reply-Message's MAY be included and if any are displayed, |
they MUST be displayed in the same order as they appear in the packet. |
A summary of the Reply-Message Attribute format is shown below. The |
fields are transmitted from left to right." |
</pre> |
</td></tr> |
<tr><td align=center> |
<a href="javascript:window.close();"><b>Close Window</b></a> |
</td></tr> |
</center> |
</table> |
</tr> |
</table> |
</body> |
</html> |
/web/acc/manager/htdocs/help/dialup_access_help.html |
---|
0,0 → 1,36 |
<html> |
<head> |
<title>Dialup Access Help Page</title> |
<link rel="stylesheet" href="../style.css"> |
</head> |
<body bgcolor="#80a040" background="../images/greenlines1.gif" link="black" alink="black"> |
<center> |
<table border=0 width=540 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=340></td> |
<td bgcolor="black" width=400> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=right valign=top><th><font color="white">Dialup Access Help Page</font> </th></tr> |
</table> |
</td></tr> |
<tr bgcolor="black" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
<br> |
<center> |
<pre> |
If the Dialup-Access attribute is specified, the ldap module |
checks for its existance in user object. If it exists and is |
set to FALSE, user is denied remote access. Otherwise, the user |
is allowed remote access. |
</pre> |
</td></tr> |
<tr><td align=center> |
<a href="javascript:window.close();"><b>Close Window</b></a> |
</td></tr> |
</center> |
</table> |
</tr> |
</table> |
</body> |
</html> |
/web/acc/manager/htdocs/help/filter_id_help.html |
---|
0,0 → 1,38 |
<html> |
<head> |
<title>Framed-Id Help Page</title> |
<link rel="stylesheet" href="../style.css"> |
</head> |
<body bgcolor="#80a040" background="../images/greenlines1.gif" link="black" alink="black"> |
<center> |
<table border=0 width=540 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=340></td> |
<td bgcolor="black" width=400> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=right valign=top><th><font color="white">Filter-Id Help Page</font> </th></tr> |
</table> |
</td></tr> |
<tr bgcolor="black" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
<br> |
<center> |
<pre> |
This Attribute indicates the name of the filter list for this |
user. Zero or more Filter-Id attributes MAY be sent in an |
Access-Accept packet. |
Identifying a filter list by name allows the filter to be used on |
different NASes without regard to filter-list implementation |
details. |
</td></tr> |
<tr><td align=center> |
<a href="javascript:window.close();"><b>Close Window</b></a> |
</td></tr> |
</center> |
</table> |
</tr> |
</table> |
</body> |
</html> |
/web/acc/manager/htdocs/help/service_type_help.html |
---|
0,0 → 1,81 |
<html> |
<head> |
<title>Service-Type Help Page</title> |
<link rel="stylesheet" href="../style.css"> |
</head> |
<body bgcolor="#80a040" background="../images/greenlines1.gif" link="black" alink="black"> |
<center> |
<table border=0 width=540 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=340></td> |
<td bgcolor="black" width=400> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=right valign=top><th><font color="white">Service-Type Help Page</font> </th></tr> |
</table> |
</td></tr> |
<tr bgcolor="black" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
<br> |
<center> |
<pre> |
This Attribute indicates the type of service the user has |
requested, or the type of service to be provided. It MAY be used |
in both Access-Request and Access-Accept packets. A NAS is not |
required to implement all of these service types, and MUST treat |
unknown or unsupported Service-Types as though an Access-Reject |
had been received instead. |
Possible values are. |
</pre> |
<i>1 Login</i><br> |
<i>2 Framed</i><br> |
<i>3 Callback Login</i><br> |
<i>4 Callback Framed</i><br> |
<i>5 Outbound</i><br> |
<i>6 Administrative</i><br> |
<i>7 NAS Prompt</i><br> |
<i>8 Authenticate Only</i><br> |
<i>9 Callback NAS Prompt</i><br> |
<pre> |
The service types are defined as follows when used in an Access- |
Accept. When used in an Access-Request, they should be considered |
to be a hint to the RADIUS server that the NAS has reason to |
believe the user would prefer the kind of service indicated, but |
the server is not required to honor the hint. |
Login The user should be connected to a host. |
Framed A Framed Protocol should be started for the |
User, such as PPP or SLIP. |
Callback Login The user should be disconnected and called |
back, then connected to a host. |
Callback Framed The user should be disconnected and called |
back, then a Framed Protocol should be started |
for the User, such as PPP or SLIP. |
Outbound The user should be granted access to outgoing |
devices. |
Administrative The user should be granted access to the |
administrative interface to the NAS from which |
privileged commands can be executed. |
NAS Prompt The user should be provided a command prompt |
on the NAS from which non-privileged commands |
can be executed. |
Authenticate Only Only Authentication is requested, and no |
authorization information needs to be returned |
in the Access-Accept (typically used by proxy |
servers rather than the NAS itself). |
Callback NAS Prompt The user should be disconnected and called |
back, then provided a command prompt on the |
NAS from which non-privileged commands can be |
executed. |
</pre> |
</td></tr> |
<tr><td align=center> |
<a href="javascript:window.close();"><b>Close Window</b></a> |
</td></tr> |
</center> |
</table> |
</tr> |
</table> |
</body> |
</html> |
/web/acc/manager/htdocs/help/auth_type_help.html |
---|
0,0 → 1,44 |
<html> |
<head> |
<title>Auth-Type Help Page</title> |
<link rel="stylesheet" href="../style.css"> |
</head> |
<body bgcolor="#80a040" background="../images/greenlines1.gif" link="black" alink="black"> |
<center> |
<table border=0 width=540 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=340></td> |
<td bgcolor="black" width=400> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=right valign=top><th><font color="white">Auth-Type Help Page</font> </th></tr> |
</table> |
</td></tr> |
<tr bgcolor="black" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
<br> |
<center> |
<pre> |
Value: String |
</pre> |
<pre> |
The Auth-Type attribute describes which authentication module to call. |
Standard values from a default FreeRADIUS setup my be: |
</pre> |
<i>PAP</i><br> |
<i>CHAP</i><br> |
<i>MSCHAP</i><br> |
<i>PAM</i><br> |
<i>UNIX</i><br> |
<i>LADP</i><br> |
<i>EAP</i><br> |
</td></tr> |
<tr><td align=center> |
<a href="javascript:window.close();"><b>Close Window</b></a> |
</td></tr> |
</center> |
</table> |
</tr> |
</table> |
</body> |
</html> |
/web/acc/manager/htdocs/help/help.php |
---|
0,0 → 1,76 |
<html> |
<head> |
<title>Help page</title> |
<link rel="stylesheet" href="../style.css"> |
<!-- Fonctions JavaScript --> |
<SCRIPT LANGUAGE="JavaScript"> |
function ouvrir(page) |
{ |
window.open(page, "portail", "alwaysRaised=yes,toolbar=no,location=yes,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=no,copyhistory=no,hotkeys=no,width=640 ,height=480"); |
} |
</SCRIPT> |
<!-- fin javascript --> |
</head> |
<body bgcolor="#EFEFEF"> |
<center> |
<table border=0 width=550 cellpadding=0 cellspacing=0> |
<tr valign=top> |
<!--<td align=center><img src="../images/title2.gif"></td>--> |
</tr> |
</table> |
<table border=0 width=400 cellpadding=0 cellspacing=2></table> |
<br> |
<table border=0 width=540 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=540></td> |
<td bgcolor="black" width=400> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=right valign=top><th><font color="white">Page d'aide de Dialup Admin</font> </th></tr> |
</table> |
</td></tr> |
<tr bgcolor="black" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
<br> |
<!--<b>Choisissez le fichier d'aide que vous voulez lire :</b><br><br> |
<form name="readhelp" method=post> |
<select name=help_file> |
<?php |
#$selected[$help_file] = 'selected'; |
# |
#echo <<<EOM |
#<option $selected[faq] value="faq">FAQ File |
#<option $selected[readme] value="readme">README File |
#<option $selected[howto] value="howto">HOWTO File |
#EOM; |
?> |
</select> |
<br><br> |
<input type=submit class=button value="Read File"> |
</form> |
--> |
<td><a href=javascript:ouvrir("http://wiki.freeradius.org/index.php/FAQ")>http://wiki.freeradius.org/index.php/FAQ</a></td> |
<pre> |
<?php |
#$in_file = '../../doc/FAQ_dialup.html'; |
#if ($help_file == 'readme') |
# $in_file = '../../README'; |
#else if ($help_file == 'howto') |
# $in_file = '../../doc/HOWTO'; |
#else if ($help_file == 'faq') |
# $in_file = 'FAQ'; |
#if ($in_file != '') |
# readfile("$in_file"); |
?> |
</pre> |
<br> |
</td></tr> |
</table> |
</tr> |
</table> |
</body> |
</html> |
/web/acc/manager/nfsen.php |
---|
11,14 → 11,27 |
?> |
<!DOCTYPE html> |
<html> |
<head> |
<link rel="stylesheet" href="/css/acc.css"> |
</head> |
<header> |
<link rel="stylesheet" href="htdocs/acc.css"> |
</header> |
<body> |
<div class="panel"> |
<div class="panel-header"><?= $l_title ?></div> |
<iframe class="panel-iframe" src="nfsen/nfsen.php"> |
</iframe> |
<table border=0 cellspacing=0 cellpadding=0 class="tableTopACC"> |
<tbody class="tbodyAcc" > |
<tr> |
<th class="thBasicACC"> |
<?echo $l_title;?> |
</th> |
</tr> |
</tbody> |
<tr bgcolor="#FFCC66" class="trSizeACC"> |
<td class="tdSizeACC"> |
<img src="/images/pix.gif" width="1" height="2"> |
</td> |
</tr> |
</table> |
<div > |
<iframe class="ACCiframe" src="nfsen/nfsen.php"> |
</iframe> |
</div> |
</body> |
</html> |
/web/acc/haut.php |
---|
22,7 → 22,7 |
window.open(page, "portail", "alwaysRaised=yes,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,hotkeys=no,width=640 ,height=480"); |
} |
</script> |
<link rel="stylesheet" type="text/css" href="/css/acc.css"> |
<link rel="stylesheet" type="text/css" href="/css/style.css"> |
</head> |
<body> |
<table width="100%" border="0" cellspacing="0" cellpadding="0"> |
/web/acc/admin_log.php |
---|
50,43 → 50,49 |
} |
?> |
<!DOCTYPE html> |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
<html> |
<head> |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
<meta charset="utf-8"> |
<title>Admin Logs</title> |
<link rel="stylesheet" href="/css/acc.css" type="text/css"> |
<link rel="stylesheet" href="/css/style.css" type="text/css"> |
<style> |
body { |
background-color: #EFEFEF; |
} |
</style> |
</head> |
<body> |
<div class="panel"> |
<div class="panel-header"><?= $l_title ?></div> |
<div class="panel-row"> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
<TABLE width="100%" border=1 cellspacing=0 cellpadding=0> |
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0"> |
<tr><th><? echo "$l_title";?></th></tr> |
<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" |
height="2"></td></tr> |
</TABLE> |
<TABLE width="100%" border=1 cellspacing=0 cellpadding=0> |
<thead> |
<tr> |
<th>Date</th> |
<th><?=$l_user?></th> |
<th><?=$l_ip_address?></th> |
<th>Agent</th> |
</tr> |
</thead> |
<tbody> |
<?php if (empty($accessLogs)): ?> |
<tr> |
<th>Date</th> |
<th><?=$l_user?></th> |
<th><?=$l_ip_address?></th> |
<th>Agent</th> |
</tr> |
<?php if (empty($accessLogs)): ?> |
<tr> |
<td colspan="4"><center>Empty</center></td> |
</tr> |
<?php else: ?> |
<?php else: ?> |
<?php foreach ($accessLogs as $access): ?> |
<tr> |
<td><?= $access->date ?></td> |
<td><?= $access->username ?></td> |
<td><?= $access->ip ?></td> |
<td><?= $access->user_agent ?></td> |
</tr> |
<td><?= $access->date ?></td> |
<td><?= $access->username ?></td> |
<td><?= $access->ip ?></td> |
<td><?= $access->user_agent ?></td> |
</tr> |
<?php endforeach; ?> |
<?php endif; ?> |
</table> |
</table> |
</div> |
</div> |
<?php endif; ?> |
</tbody> |
</table> |
</body> |
</html> |
/web/index.php |
---|
55,6 → 55,7 |
$remote_ip = preg_match('#^([0-9]{1,3}\.){3}[0-9]{1,3}$#', $_SERVER['REMOTE_ADDR']) ? $_SERVER['REMOTE_ADDR'] : ''; |
$connection_history = ''; |
$nb_connection_history = 3; |
$redirect_link = 'www.euronews.com'; // Default redirection for HTTPS interception (beware, this website must run in HTTP) |
// Check if the SMS service is enable |
171,7 → 172,11 |
} |
$l_password_change = "<a href=\"https://$hostname/password.php\">Changer votre mot de passe</a>"; |
$l_password_change_explain = "Vous devez avoir un compte internet valide."; |
$l_sms_explain = "Vous redirige vers la page explicative de l'auto enregistrement par SMS.<br><br><strong>Identifiant:</strong> votre numéro de téléphone<br><strong>Mot de passe:</strong> votre message"; |
$l_back_page = "<a href=\"javascript:history.back()\">Page précédente</a>"; |
$l_service_sms = "Service SMS actif"; |
$l_service_sms_n = "Service SMS non actif"; |
$l_acc_sms = "Auto enregistrement par SMS"; |
$l_explain_warn = "L'administrateur a créé une archive contenant vos journaux de connexion dans le cadre d'une affaire judiciaire."; |
if (isset($_GET['url'])) { |
$l_continue_link = "<a href=\"index.php?redirect=1&url=".urlencode($_GET['url'])."\" class=\"button\">Je comprends et je souhaite continuer ma navigation.</a>"; |
214,7 → 219,11 |
} |
$l_password_change = "<a href=\"https://$hostname/password.php\">Mudar sua senha</a>"; |
$l_password_change_explain = "Você será redirecionado à página de alteração de senha.<br><br> e deverá ter uma conta de usuário valido para efetuar a troca e acessar à Internet."; |
$l_sms_explain = "Redirect you on auto registration page.<br><br><strong>Login:</strong> your phone number<br><strong>Password:</strong> SMS content"; |
$l_back_page = "<a href=\"javascript:history.back()\">Página anterior</a>"; |
$l_service_sms = "SMS service enable"; |
$l_service_sms_n = "SMS service disable"; |
$l_acc_sms = "Auto registration by SMS"; |
$l_explain_warn = "El administrador ha creado un archivo que contiene los periódicos de inicio de sesión como parte de un proceso judicial."; |
if (isset($_GET['url'])) { |
$l_continue_link = "<a href=\"index.php?redirect=1&url=".urlencode($_GET['url'])."\" class=\"button\">Lo comprendo y deseo continuar mi navegación.</a>"; |
257,7 → 266,11 |
} |
$l_password_change = "<a href=\"https://$hostname/password.php\">更改您的密码</a>"; |
$l_password_change_explain = "重新指向密码修改页面。<br><br> 您需要一个可用的网络账户。"; |
$l_sms_explain = "重新指向短信登录页面。<br><br><strong>用户名:</strong>您的电话号码<br><strong>密码:</strong>您的信息"; |
$l_back_page = "<a href=\"javascript:history.back()\">上一页</a>"; |
$l_service_sms = "短信服务可用"; |
$l_service_sms_n = "短信服务禁用"; |
$l_acc_sms = "短信自动注册"; |
$l_explain_warn = "管理员创建了一份可用于司法调查的连接日志文档。"; |
if (isset($_GET['url'])) { |
$l_continue_link = "<a href=\"index.php?redirect=1&url=".urlencode($_GET['url'])."\" class=\"button\">我明白并希望继续浏览。</a>"; |
319,8 → 332,12 |
$your_phone_text = "رقم الهاتف الخاص بك"; |
$pass_text = "كلمة السر"; |
$your_message_text = "رسالتك"; |
$l_sms_explain = "$your_message_text <strong>$pass_text</strong><br>$your_phone_text <strong>$login_text</strong><br><br>$redirect_sms_text"; |
$previous_text = "الصفحة السابقة"; |
$l_back_page = "<a href=\"javascript:history.back()\">$previous_text</a>"; |
$l_service_sms = "نشطة SMS خدمة"; |
$l_service_sms_n = "غير نشطة SMS خدمة"; |
$l_acc_sms = "تسجيل ذاتي عن طريق SMS"; |
$l_explain_warn = "المسؤول أنشأ أرشيفاً تحتوي على سجلات الاتصال في إطار تحقيق قضائي"; |
$understand_text = "أنا متفهم و أريد ان أواصل التصفح"; |
if (isset($_GET['url'])) { |
364,7 → 381,11 |
} |
$l_password_change = "<a href=\"https://$hostname/password.php\">Passwort ändern</a>"; |
$l_password_change_explain = "Leitet Sie auf die Seite der Passwortänderung weiter.<br><br> Sie sollten bereits einen Account für den Internetzugriff haben."; |
$l_sms_explain = "Leitet Sie auf die automatische Registrierungsseite weiter.<br><br><strong>Login:</strong> Ihre Telefonnummer<br><strong>Passwort:</strong> SMS content"; |
$l_back_page = "<a href=\"javascript:history.back()\">Previous page</a>"; |
$l_service_sms = "SMS-Service aktivieren"; |
$l_service_sms_n = "SMS-Service deaktivieren"; |
$l_acc_sms = "Automatische Registrierung per SMS"; |
$l_explain_warn = "Der Administrator wird ein Archiv erstellen, welches Ihre Logdaten für den Fall einer gerichtlichen Untersuchung beinhaltet."; |
if (isset($_GET['url'])) { |
$l_continue_link = "<a href=\"index.php?redirect=1&url=".urlencode($_GET['url'])."\" class=\"button\">Ich verstehe und möchte fortfahren.</a>"; |
408,7 → 429,11 |
} |
$l_password_change = "<a href=\"https://$hostname/password.php\">Change your password</a>"; |
$l_password_change_explain = "You should already have an Internet access account."; |
$l_sms_explain = "Redirect you on auto registration page.<br><br><strong>Login:</strong> your phone number<br><strong>Password:</strong> SMS content"; |
$l_back_page = "<a href=\"javascript:history.back()\">Previous page</a>"; |
$l_service_sms = "SMS service enable"; |
$l_service_sms_n = "SMS service disable"; |
$l_acc_sms = "Auto registration by SMS"; |
$l_explain_warn = "The administrator created an archive which contains your imputabilities logs for a judicial investigation."; |
if (isset($_GET['url'])) { |
$l_continue_link = "<a href=\"index.php?redirect=1&url=".urlencode($_GET['url'])."\" class=\"button\">I understand and I wish to continue.</a>"; |
494,7 → 519,7 |
} |
//////////////////////////////////////////////////////////////////////// |
/////////////////////////// TEST VARIABLES ///////////////////////////// |
//////////////////////////////////////////////////////////////////////// |
///////////////////////////////////////////////////////////////////////////////////////////////////////////// |
//$service_SMS_status = true; |
//$direct_access = true; |
//$network_pb = false; |
502,8 → 527,10 |
// 'name' => 'name_test', |
// 'domain' => 'domain_test' |
//]; |
///////////////////////////////////////////////////////////////////////// |
///////////////////////////////////////////////////////////////////////////////////////////////////////////// |
// Cleaning the cache |
header('Expires: Tue, 01 Jan 2000 00:00:00 GMT'); |
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT'); |
520,8 → 547,10 |
<title>ALCASAR - <?= $l_title ?></title> |
<link type="text/css" href="<?= ((!$direct_access) ? "//$hostname" : '') ?>/css/bootstrap.min.css" rel="stylesheet"> |
<link type="text/css" href="/css/index.css" rel="stylesheet"> |
</head> |
<body> |
<div class="col-xs-12 col-md-10 col-md-offset-1" id="gui"> |
<!-- HeaderBox --> |
533,6 → 562,7 |
<!-- Title --> |
<div id="cadre_titre" class="col-xs-12 col-sm-8"> |
<?php if ($direct_access): ?> |
<p id="acces_controle" class="titre_controle"><?= $l_title ?></p> |
<?php if ($network_pb): ?> |
539,10 → 569,13 |
<div class="explanation_net_pb"><?= $l_explain_net_pb ?></div> |
<?php endif; ?> |
<?php else: // the user is intercepted ?> |
<?php if (isset($_GET['warn']) && isset($_GET['url']) && $_GET['warn'] == '1'): // if user need to be warm that someone reads his log ?> |
<?php // if user need to be warned that someone reads his logs ?> |
<?php if (isset($_GET['warn']) && isset($_GET['url']) && $_GET['warn'] == '1'): ?> |
<div id="cadre_titre" class="titre_refus"> |
<p id="acces_controle" class="titre_refus"><?= $l_title_warn ?></p> |
</div> |
<?php else: // the user is blacklisted (or whitelisted) ?> |
<div id="cadre_titre" class="titre_refus"> |
<p id="acces_controle" class="titre_refus"><?= $l_title ?></p> |
555,12 → 588,14 |
<!-- Main content box --> |
<div class="row"> |
<div id="contenu_acces" class="col-xs-12 col-lg-offset-1 col-lg-10"> |
<?php if ((!$direct_access) && (!$network_pb) && (!isset($_GET['warn']))): // print blacklist categories ?> |
<div id="box_url"> |
<?= $filteredUrlHtml ?> |
<?php // Print blacklist categories ?> |
<?php if ((!$direct_access) && (!$network_pb) && (!isset($_GET['warn']))): ?> |
<?= $filteredUrlHtml ?> |
<?php endif; ?> |
</div> |
<?php endif; ?> |
<!-- Menu --> |
<div class="menu-container container col_xs_12 col-sm-7"> |
<?php if ($direct_access): ?> |
586,14 → 621,15 |
</div> |
<?php if ($service_SMS_status === true): ?> |
<div class="box_menu_right box_menu" id="box_acc"> |
<span><?= $l_sms_access ?></span> |
<div class="menu-image"> |
<img class="img-responsive menu-image" src="<?= $img_rep.$img_sms ?>"> |
<div class="box_menu_right box_menu" id="box_acc"> |
<span><?= $l_sms_access ?></span> |
<div class="menu-image"> |
<img class="img-responsive menu-image" src="<?= $img_rep.$img_sms ?>"> |
</div> |
</div> |
</div> |
<?php endif; ?> |
</div> |
<!-- Info Box --> |
<div class="info-box-container col-sm-5"> |
615,6 → 651,11 |
<h2 class="box_infos_titles"><?= $l_password_change ?></h2> |
<p class="box_infos_explanations"><?= $l_password_change_explain ?></p> |
<?php if ($service_SMS_status === true): ?> |
<h2 class="box_infos_titles"><?= $l_sms_access ?></h2> |
<p class="box_infos_explanations"><?= $l_sms_explain ?></p> |
<p style="color: green; text-align: center;"><?= $l_service_sms ?></p> |
<?php endif; ?> |
<?php else: // the user is intercepted ?> |
<?php if (isset($_GET['warn']) && isset($_GET['url']) && $_GET['warn'] === '1'): // user need to be warned that someone reads his logs ?> |
<div id="box_refuse"> |
640,11 → 681,13 |
<span>Diagnostic : <?= $diagnostic ?></span> |
<?php endif; ?> |
</div> |
<?php if ($direct_access): // display the admin logo (wheel) at the bottom right ?> |
<div id="corner"> |
<div id="adm" class="corn"> |
<a href="<?= "https://$hostname/acc/" ?>"><img src="<?= $img_rep.$img_adm ?>"></a> |
</div> |
<div id="corner"> |
<div id="adm" class="corn"> |
<a href="<?= "https://$hostname/acc/" ?>"><img src="<?= $img_rep.$img_adm ?>"></a> |
</div> |
</div> |
</div> |
<?php endif; ?> |
654,5 → 697,7 |
<img class="img-responsive img-organisme" src="<?= ((!$direct_access) ? "//$hostname" : '') ?><?= $img_rep.$img_organisme ?>"> |
</div> |
</div> |
</body> |
</html> |
/web/alcasar-certificat.pdf |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/alcasar.sh |
---|
850,7 → 850,7 |
$SED 's/^$SERVER\["socket"\] == ".*:443.*/$SERVER\["socket"\] == "'"$PRIVATE_IP"':443" {/g' /etc/lighttpd/vhosts.d/alcasar-without-ssl.conf |
$SED "s/^\([\t ]*\)var.server_name.*/\1var.server_name = \"$PRIVATE_IP\"/g" /etc/lighttpd/vhosts.d/alcasar-with-ssl.conf |
$SED "s/^\([\t ]*\)var.server_name.*/\1var.server_name = \"$PRIVATE_IP\"/g" /etc/lighttpd/vhosts.d/alcasar-without-ssl.conf |
ln -s /etc/lighttpd/vhosts.d/alcasar-without-ssl.conf /etc/lighttpd/vhosts.d/alcasar.conf |
ln -s /etc/lighttpd/vhosts.d/alcasar-with-ssl.conf /etc/lighttpd/vhosts.d/alcasar.conf |
[ -d /var/log/lighttpd ] || mkdir /var/log/lighttpd |
[ -e /var/log/lighttpd/access.log ] || touch /var/log/lighttpd/access.log |
875,10 → 875,8 |
$DIR_DEST_BIN/alcasar-profil.sh --add admin |
done |
fi |
# Creation of ACC certs links |
[ -d /var/www/html/certs ] || mkdir /var/www/html/certs |
ln -s /etc/pki/CA/alcasar-ca.crt /var/www/html/certs/certificat_alcasar_ca.crt |
# Run lighttpd after coova (in order waiting tun0 to be up) |
# Run lighttpd after coova (in order waiting tun0 to be up) |
$SED "s?^After=.*?After=network.target remote-fs.target nss-lookup.target chilli.service?g" /lib/systemd/system/lighttpd.service |
# Log file for ACC access imputability |
[ -e /var/Save/security/acc_access.log ] || touch /var/Save/security/acc_access.log |
1217,7 → 1215,7 |
radiussecret $secretradius |
radiusauthport 1812 |
radiusacctport 1813 |
uamserver http://$HOSTNAME.$DOMAIN/intercept.php |
uamserver https://$HOSTNAME.$DOMAIN/intercept.php |
redirurl |
radiusnasid $HOSTNAME.$DOMAIN |
uamsecret $secretuam |
1234,8 → 1232,8 |
#dhcpgatewayport none |
sslkeyfile /etc/pki/tls/private/alcasar.key |
sslcertfile /etc/pki/tls/certs/alcasar.crt |
#redirssl |
#uamuissl |
redirssl |
uamuissl |
EOF |
# create files for "DHCP static ip" and "DHCP static ip info". Reserve the second IP address for INTIF (the first one is for tun0) |
echo "$PRIVATE_MAC $PRIVATE_SECOND_IP" > $DIR_DEST_ETC/alcasar-ethers |
2137,7 → 2135,7 |
# sshd authorized certificate for root login |
$SED "s?^PermitRootLogin.*?PermitRootLogin without-password?g" /etc/ssh/sshd_config |
# ALCASAR conf file |
echo "HTTPS_LOGIN=off" >> $CONF_FILE |
echo "HTTPS_LOGIN=on" >> $CONF_FILE |
echo "HTTPS_CHILLI=off" >> $CONF_FILE |
echo "SSH=on" >> $CONF_FILE |
echo "SSH_ADMIN_FROM=0.0.0.0/0.0.0.0" >> $CONF_FILE |