Subversion Repositories ALCASAR

Rev

Rev 2886 | Rev 2956 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 2886 Rev 2896
Line 1... Line 1...
1
#!/bin/sh
1
#!/bin/sh
2
#
2
#
3
# $Id: alcasar-condown.sh 2886 2020-11-23 22:50:01Z rexy $
3
# $Id: alcasar-condown.sh 2896 2020-12-10 23:29:21Z rexy $
4
#
4
#
5
# alcasar-condown.sh
5
# alcasar-condown.sh
6
# by Rexy
6
# by Rexy
7
# This script is distributed under the Gnu General Public License (GPL)
7
# This script is distributed under the Gnu General Public License (GPL)
8
 
8
 
Line 50... Line 50...
50
 
50
 
51
# Remove user from his IPSET
51
# Remove user from his IPSET
52
ipset del $set_filter      $FRAMED_IP_ADDRESS
52
ipset del $set_filter      $FRAMED_IP_ADDRESS
53
ipset del $set_filterProto $FRAMED_IP_ADDRESS
53
ipset del $set_filterProto $FRAMED_IP_ADDRESS
54
 
54
 
55
# Remove IP address from active users
55
# Remove IP address from active users list
56
current_users_file="/tmp/current_users.txt"
56
current_users_file="/tmp/current_users.txt"
57
[ -e $current_users_file ] && sed -i "/^$FRAMED_IP_ADDRESS:/d" $current_users_file
57
[ -e $current_users_file ] && sed -i "/^$FRAMED_IP_ADDRESS:/d" $current_users_file
58
 
58
 
59
#############################
59
#############################
60
## Debug : show all the coova parse variables (+ ALCASAR-Filter + ALCASAR-Protocols-Filter).
60
## Debug : show all the coova parse variables (+ ALCASAR-Filter + ALCASAR-Protocols-Filter).