Hi,
I�m using freeradius 0.5+cvs20020408-1 in my debian box.
Checking my logs ippool tell me it�s clear the ip address from your
db, but I create one pool with 3 ip addresses, when I connect on the
4 time ippol doesn�t return any ip for me.
My NAS send Start and Stop acct packets for the radius, in debug radius
tell-me :
rlm_ippool: Deallocated entry for ip/port: xxx.xxx.28.252/82
rlm_ippool: num: 0
If you need more detailed debug output tell-me, I prefer do not put it here to
keep my mail small.
my config is something like:
modules {
ippool classe28 {
range-start = xxx.xxx.28.131
range-stop = xxx.xxx.28.246
netmask = 255.255.255.128
cache-size = 115
session-db = ${raddbdir}/db.classe28
ip-index = ${raddbdir}/db.ndx_classe28
}
ippool sidenet {
range-start = xxx.xxx.28.249
range-stop = xxx.xxx.28.252
netmask = 255.255.255.248
cache-size = 3
session-db = ${raddbdir}/db.sidenet
ip-index = ${raddbdir}/db.ndx_sidenet
}
...
}
authorize {
...
classe28
sidenet
...
}
accouting {
...
classe28
sidenet
...
}
and in my db I have the following config:
mysql> select * from radcheck where UserName = 'cassiano';
+----+----------+---------------+----------+------+
| id | UserName | Attribute | Value | op |
+----+----------+---------------+----------+------+
| 1 | cassiano | User-Password | xxxxxxxx | == |
+----+----------+---------------+----------+------+
1 row in set (0.00 sec)
mysql> select * from usergroup where UserName = 'cassiano';
+----+----------+-----------+
| id | UserName | GroupName |
+----+----------+-----------+
| 1 | cassiano | DEFAULT |
| 2 | cassiano | 768k |
| 39 | cassiano | sidenet |
+----+----------+-----------+
3 rows in set (0.00 sec)
mysql> select * from radgroupcheck;
+----+-----------+------------------+----------+------+
| id | GroupName | Attribute | Value | op |
+----+-----------+------------------+----------+------+
| 1 | DEFAULT | Simultaneous-Use | 1 | := |
| 2 | DEFAULT | Auth-Type | PAP | := |
| 6 | home | Pool-Name | classe28 | := |
| 7 | sidenet | Pool-Name | sidenet | := |
+----+-----------+------------------+----------+------+
4 rows in set (0.00 sec)
mysql> select * from radgroupreply;
+----+-----------+-----------------------+---------+------+------+
| id | GroupName | Attribute | Value | op | prio |
+----+-----------+-----------------------+---------+------+------+
| 16 | DEFAULT | Idle-Timeout | 0 | = | 0 |
| 6 | DEFAULT | Fall-Through | Yes | = | 0 |
| 8 | 256k | X-Ascend-Data-Rate | 256000 | = | 0 |
| 9 | 128k | X-Ascend-Data-Rate | 100000 | = | 0 |
| 10 | 64k | X-Ascend-Data-Rate | 62000 | = | 0 |
| 13 | 768k | X-Ascend-Data-Rate | 768000 | = | 0 |
| 14 | 1024k | X-Ascend-Data-Rate | 1000000 | = | 0 |
| 15 | 384k | X-Ascend-Data-Rate | 380000 | = | 0 |
| 17 | DEFAULT | Session-Timeout | 0 | = | 0 |
| 18 | DEFAULT | Acct-Interim-Interval | 0 | = | 0 |
+----+-----------+-----------------------+---------+------+------+
10 rows in set (0.00 sec)
mysql>
I have missed something?
Thank�s for freeradiu�s people (core and modules) for your great software.
PS: sorry about my tarzan�s english :P
--
Cassiano Aquino <[EMAIL PROTECTED]>
World Wide Security Networks <http://www.wwsecurity.net>
KeyID# C9FD0B69 @ wwwkeys.nl.pgp.net
VoIP# 55243000011
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html