Coa server warning
Hello all. I tried to configure COA service on my test server. When i send coa packet: # echo User-Name = cisco, mpd-limit += \"in#1=all rate-limit 1320000 150000 300000\", mpd-limit += \"out#2=all rate-limit 1320000 150000 300000\"|radclient -d /usr/local/share/freeradius/ -x [nas ip]:3799 coa [nas secret] FreeRADIUS asking: rad_recv: CoA-Request packet from host 127.0.0.1 port 20722, id=231, length=126 User-Name = "cisco" mpd-limit = "in#1=all rate-limit 1320000 150000 300000" mpd-limit = "out#2=all rate-limit 1320000 150000 300000" server localhost-coa { WARNING: Empty section. Using default return values. WARNING: Empty section. Using default return values. } # server localhost-coa Sending CoA-ACK of id 231 to 127.0.0.1 port 20722 What am I missing? My configuration on FreeBSD 8.0, FreeRADIUS 2.1.8, MPD (as a NAS) in radius.conf listen { ipaddr = 127.0.0.1 port = 3799 type = coa virtual_server = coaon } in clients.conf client localhost { ipaddr = 127.0.0.1 secret = test1 nastype = other coa_server = coaon in sites-enabled/originate-coa home_server coaon { type = coa ipaddr = 127.0.0.1 port = 3799 secret = test2 coa { irt = 2 mrt = 16 mrc = 5 mrd = 30 } } home_server_pool coa { type = fail-over home_server = coaon }
Andrew Rikhlivsky wrote:
I tried to configure COA service on my test server. When i send coa packet: ... server localhost-coa { WARNING: Empty section. Using default return values. WARNING: Empty section. Using default return values. } # server localhost-coa Sending CoA-ACK of id 231 to 127.0.0.1 port 20722
What am I missing?
Oops. It would be good if that had *some* documentation. See: http://github.com/alandekok/freeradius-server/blob/4545d8ecd41cd798efc2fd75d... Put the file into raddb/sites-available/coa, and link it into raddb/sites-enabled/coa Then, edit it to suit your local config.
My configuration on FreeBSD 8.0, FreeRADIUS 2.1.8, MPD (as a NAS)
in radius.conf
listen {
There's a sample "listen" section in the file. Use that.
in clients.conf
client localhost { ipaddr = 127.0.0.1 secret = test1 nastype = other coa_server = coaon
Don't define a "coa_server" here. It's not needed.
in sites-enabled/originate-coa
That is for SENDING a CoA packet, not for receiving one. Alan DeKok.
On 02/11/2010 01:48 PM, Alan DeKok wrote:
Andrew Rikhlivsky wrote:
I tried to configure COA service on my test server. When i send coa packet:
...
server localhost-coa { WARNING: Empty section. Using default return values. WARNING: Empty section. Using default return values. } # server localhost-coa Sending CoA-ACK of id 231 to 127.0.0.1 port 20722
What am I missing?
Oops. It would be good if that had *some* documentation.
See:
http://github.com/alandekok/freeradius-server/blob/4545d8ecd41cd798efc2fd75d...
Put the file into raddb/sites-available/coa, and link it into raddb/sites-enabled/coa
Then, edit it to suit your local config.
My configuration on FreeBSD 8.0, FreeRADIUS 2.1.8, MPD (as a NAS)
in radius.conf
listen {
There's a sample "listen" section in the file. Use that.
in clients.conf
client localhost { ipaddr = 127.0.0.1 secret = test1 nastype = other coa_server = coaon
Don't define a "coa_server" here. It's not needed.
in sites-enabled/originate-coa
That is for SENDING a CoA packet, not for receiving one.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Thanks for help.
participants (2)
-
Alan DeKok -
Andrew Rikhlivsky