Hi Everybody ! something strange happening the rlm_ippool module ...
if 1) I run radiusd in deamon mode with ippool enabled in authorize+accounting ( even if there is no Pool-Name attribute ) I get an assertion failed. 2) If I run radiusd -X then it runs fine. 3) If I comment out the IPPool name in authorize/acccounting. it runs fine in deamon mode. I ./configure --with-mysql-include-dir=/usr/include/mysql --with-mysql-lib-di r=/usr/lib/mysql --with-mysql-dir=/usr/bin/ the freeradius-snapshot-20020512 on a Redhat linux 7.2 (2.4.9-31) here is the log: ( I can reproduce the 3 cases above ) Sun May 12 15:18:40 2002 : Info: Starting - reading configuration files ... Sun May 12 15:18:40 2002 : Info: rlm_sql: Driver rlm_sql_mysql loaded and linked Sun May 12 15:18:40 2002 : Info: rlm_sql: Attempting to connect to XXXXXXXXXXXXX Sun May 12 15:18:40 2002 : Info: Listening on IP address *, ports 1645/udp and 1646/udp, with proxy on 1647/udp. Sun May 12 15:18:40 2002 : Info: Ready to process requests. Sun May 12 15:18:41 2002 : Auth: Login incorrect: [XXXXXXXXXXXXX (from client funk port 185 cli 14664223) Sun May 12 15:18:47 2002 : Auth: Login incorrect: [ XXXXXXXXXXXXXXXXX] (from client funk port 24 cli 26533832) Sun May 12 15:18:51 2002 : Info: Sending duplicate authentication reply to client funk:3064 - ID: 231 Sun May 12 15:18:56 2002 : Error: Dropping duplicate authentication packet from client funk:3064 - ID: 232 Sun May 12 15:19:01 2002 : Error: Dropping duplicate authentication packet from client funk:3064 - ID: 232 Sun May 12 15:19:06 2002 : Error: Dropping duplicate authentication packet from client funk:3064 - ID: 232 Sun May 12 15:19:16 2002 : Error: Dropping duplicate authentication packet from client funk:3064 - ID: 233 Sun May 12 15:19:21 2002 : Error: Dropping duplicate authentication packet from client funk:3064 - ID: 233 Sun May 12 15:19:21 2002 : Error: Assertion failed in radiusd.c, line 2463 Sun May 12 15:19:21 2002 : Error: MASTER: exit on signal (6) #Sun May 12 15:20:31 2002 : Info: rlm_sql: Driver rlm_sql_mysql loaded and linked Sun May 12 15:20:31 2002 : Info: rlm_sql: Attempting to connect to xxxxxxxxxxxxxxxxxxxx Sun May 12 15:20:31 2002 : Info: Listening on IP address *, ports 1645/udp and 1646/udp, with proxy on 1647/udp. Sun May 12 15:20:31 2002 : Info: Ready to process requests. Sun May 12 15:20:31 2002 : Auth: Login incorrect: [xxxxxxxxxxxxxxxxxxxx] (from client funk port 294 cli 26080716) Sun May 12 15:20:37 2002 : Auth: Login incorrect: [xxxxxxxxxxxxxxxxxxxx](from client funk port 75 cli 12636360) Sun May 12 15:20:41 2002 : Info: Sending duplicate authentication reply to client funk:3064 - ID: 238 Sun May 12 15:21:09 2002 : Auth: Login incorrect: [xxxxxxxxxxxxxxxxxxxx](from client funk port 372 cli 26080716) Sun May 12 15:21:14 2002 : Info: Sending duplicate authentication reply to client funk:3064 - ID: 239 Sun May 12 15:21:26 2002 : Auth: Login incorrect: [xxxxxxxxxxxxxxxxxxxx](from client funk port 148 cli 26700801) Sun May 12 15:21:31 2002 : Info: Sending duplicate authentication reply to client funk:3064 - ID: 240 Sun May 12 15:21:50 2002 : Error: Dropping duplicate authentication packet from client funk:3064 - ID: 241 Sun May 12 15:21:55 2002 : Error: Dropping duplicate authentication packet from client funk:3064 - ID: 241 Sun May 12 15:22:00 2002 : Error: Dropping duplicate authentication packet from client funk:3064 - ID: 241 Sun May 12 15:22:11 2002 : Error: Dropping duplicate authentication packet from client funk:3064 - ID: 242 Sun May 12 15:22:16 2002 : Error: Dropping duplicate authentication packet from client funk:3064 - ID: 242 Sun May 12 15:22:16 2002 : Error: Assertion failed in radiusd.c, line 2463 Sun May 12 15:22:16 2002 : Error: MASTER: exit on signal (6) the instantiation seems to be done fine though ... Module: Loaded IPPOOL ippool: session-db = "/usr/local/etc/raddb/db.ippool" ippool: ip-index = "/usr/local/etc/raddb/db.ipindex" ippool: range-start = 212.46.36.16 IP address [212.46.36.16] ippool: range-stop = 212.46.37.254 IP address [212.46.37.254] ippool: netmask = 255.255.255.0 IP address [255.255.255.0] ippool: cache-size = 400 Module: Instantiated ippool (dialuppool) any ideas anyone ? - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
