/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> |