freeradius fail redundant

Дмитрий b2ronn at gmail.com
Mon Feb 1 14:22:08 CET 2016


Freeradius 

Version: 2.1.12+dfsg-1.2ubuntu8.1

 

/etc/freeradius/radiusd.conf

accounting {

        switch "%{Hint}" {

    case "session" {

                               redundant {

                                               module-sql-session

                                               write-backlog

                                               ok

                                                               }

                                               }

    case "service" {

                               redundant {

                                               module-sql-service

                                               write-backlog

                                ok

 
}

                                                               }

}

}

 

 

In debug sql returns "noop"

 

Mon Feb  1 13:12:58 2016 : Debug: rlm_sql (module-sql-session): Reserving
sql socket id: 14

Mon Feb  1 13:12:58 2016 : Debug: rlm_sql_mysql: query:  call
freeradius_session_sql('2016-02-01 13:12:58', '7c4d32221312f4c7', '',
'test-user', '172.12.12.5', '172.1.1.52', 0, 0, 0, 0, 0, 0, 0); 

Mon Feb  1 13:12:58 2016 : Debug: rlm_sql (module-sql-session): Released sql
socket id: 14

Mon Feb  1 13:12:58 2016 : Info: +++++[module-sql-session] returns noop

Mon Feb  1 13:12:58 2016 : Info: [write-backlog]              expand:
/var/log/freeradius/radacct/backlog/write-backlog-%Y-%m-%d-%H.log ->
/var/log/freeradius/radacct/backlog/write-backlog-2016-02-01-13.log

Mon Feb  1 13:12:58 2016 : Info: [write-backlog]
/var/log/freeradius/radacct/backlog/write-backlog-%Y-%m-%d-%H.log expands to
/var/log/freeradius/radacct/backlog/write-backlog-2016-02-01-13.log

Mon Feb  1 13:12:58 2016 : Info: [write-backlog] Acquired filelock, tried 1
time(s)

Mon Feb  1 13:12:58 2016 : Info: [write-backlog]              expand: %t ->
Mon Feb  1 13:12:58 2016

Mon Feb  1 13:12:58 2016 : Info: +++++[write-backlog] returns ok

Mon Feb  1 13:12:58 2016 : Info: ++++- group safe-module-sql-session returns
ok

Mon Feb  1 13:12:58 2016 : Info: +++- case session returns ok

Mon Feb  1 13:12:58 2016 : Info: ++- switch %{Hint} returns ok

 

BUT in tcpdump 

Mysql Response OK

 



More information about the Freeradius-Users mailing list