Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 2470 → Rev 2471

/alcasar.sh
1161,7 → 1161,7
EOF
[ -e /etc/raddb/mods-config/sql/counter/mysql/noresetcounter.conf.default ] || cp /etc/raddb/mods-config/sql/counter/mysql/noresetcounter.conf /etc/raddb/mods-config/sql/counter/mysql/noresetcounter.conf.default
cat << EOF > /etc/raddb/mods-config/sql/counter/mysql/noresetcounter.conf
# This is the query modified for ALCASAR needs (thanks to Daniel Laliberte --> authorized period after the first connection)
# This query was modified for ALCASAR needs (amount of time the voucher is enabled --> rename it in the future : 'Expire_on_login')
query = "\
SELECT IFNULL((SELECT TIME_TO_SEC(TIMEDIFF(NOW(), acctstarttime)) \
FROM radacct \
/conf/nfsen/GeoLiteCity.dat.gz
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/conf/nfsen/GeoLiteCityv6.dat.gz
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/conf/radius/sqlcounter
26,12 → 26,3
reset = never
$INCLUDE ${modconfdir}/sql/counter/mysql/${.:instance}.conf
}
 
sqlcounter expire_on_login {
sql_module_instance = sql
counter_name = Expire-After-Initial-Login
check_name = Expire-After
key = User-Name
reset = never
$INCLUDE ${modconfdir}/sql/counter/mysql/${.:instance}.conf
}
/web/acc/manager/htdocs/help/protocols_help.html
8,7 → 8,7
<body>
<center>
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><th>Filtrage de protocole - Protocol filtering</th></tr>
<tr><th>Filtrage de protocoles - Protocols filtering</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>
22,7 → 22,7
This attribute defines the protocol filtering level for a user :<br/>
- None : All the network protocols are allowed<br/>
- Web browsing : Only HTTP and HTTPS are allowed<br/>
- Web browsing, Mail et remote server : The protocols HTTP/S, POP3/S, IMAP/S, FTP, SFTP et SSH are allowed<br/>
- Web browsing + Mail + remote server : The protocols HTTP/S, POP3/S, IMAP/S, FTP, SFTP et SSH are allowed<br/>
- Custom : the list of allowed network protocols is defined in the menu 'Filtering' + 'Protocols'
</td></tr>
</table>
/web/acc/manager/lib/langues.php
251,7 → 251,7
$l_proto="Network protocols filtering";
$l_proto_0="None";
$l_proto_1="Web browsing (HTTP & HTTPS)";
$l_proto_2="Web browsing, Mail et remote access";
$l_proto_2="Web browsing + Mail + remote access";
$l_proto_3="Customized";
$l_empty="Empty";
$l_ipAddress="IP address";