/alcasar.sh |
---|
1389,7 → 1389,6 |
# adaptation du script "chien de garde" (watchdog) |
$SED "s?^EXTIF=.*?EXTIF=\"$EXTIF\"?g" $DIR_DEST_BIN/alcasar-watchdog.sh |
$SED "s?^INTIF=.*?INTIF=\"$INTIF\"?g" $DIR_DEST_BIN/alcasar-watchdog.sh |
$SED "s?^PRIVATE_IP=.*?PRIVATE_IP=\"$PRIVATE_IP\"?g" $DIR_DEST_BIN/alcasar-watchdog.sh |
# création de la bannière locale |
[ -e /etc/mandriva-release.default ] || cp /etc/mandriva-release /etc/mandriva-release.default |
cp -f $DIR_CONF/banner /etc/mandriva-release |
/conf/radiusd.conf-simple |
---|
File deleted |
Property changes: |
Deleted: svn:keywords |
-Id Date Author |
\ No newline at end of property |
/conf/alcasar-radius |
---|
198,6 → 198,11 |
# Autz-Type Status-Server { |
# |
# } |
update coa { |
User-Name = "%{User-Name}" |
Acct-Session-Id = "%{Acct-Session-Id}" |
NAS-IP-Address = "%{NAS-IP-Address}" |
} |
} |
/CHANGELOG |
---|
3,8 → 3,9 |
************ CHANGELOG *********** |
---- svn ---- |
Bugs |
- "username" in "userinfo" table is varchar(64) like in others tables of ALCASAR database |
- "username" in "userinfo" table is varchar(64) like in others tables of ALCASAR database. |
- "activity.php" : don't print "private_ip_address". Update with new "chilli_query" output |
- re-activation of COA between radius and coova. |
Improve core |
- all "alcasar.info" becomes "alcasar.net" in code |
- change the order of http chain (DG --> squid --> HAVP --> Internet) more réactivity and less charge of CPU |
/scripts/alcasar-watchdog.sh |
---|
113,7 → 113,7 |
arp_reply=`/usr/sbin/arping -b -I$INTIF -s$PRIVATE_IP -c1 -w4 $noresponse_ip|grep "Unicast reply"|wc -l` |
if [[ $(expr $arp_reply) -eq 0 ]] |
then |
logger "alcasar-watchdog $noresponse_ip ($noresponse_mac) can't be contact. Alcasar disconnects the user ($noresponce_user)." |
logger "alcasar-watchdog $noresponse_ip ($noresponse_mac) can't be contact. Alcasar disconnects the user ($noresponse_user)." |
/usr/sbin/chilli_query logout $noresponse_mac |
/usr/sbin/chilli_query dhcp-release $noresponse_mac # release dhcp for mac_auth equipment |
fi |