verification for focal:

1. launched focal container

lxc launch ubuntu-daily:focal

2. updated container and installed freeradius

apt update && apt full-upgrade
cat <<EOF >/etc/apt/preferences.d/proposed-updates
# Configure apt to allow selective installs of packages from proposed
Package: *
Pin: release a=focal-proposed
Pin-Priority: 500
EOF
apt install freeradius
dpkg -l | grep freeradius
ii  freeradius                     3.0.20+dfsg-3ubuntu0.5            amd64      
  high-performance and highly configurable RADIUS server

3. stopped freeradius

service freeradius stop

4. linked the default coa site to sites-enabled

ln -s /etc/freeradius/3.0/sites-available/coa /etc/freeradius/3.0/sites-
enabled/coa

5. started in debug mode

freeradius -X
FreeRADIUS Version 3.0.20
Copyright (C) 1999-2019 The FreeRADIUS server project and contributors
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License
For more information about these matters, see the file named COPYRIGHT
Starting - reading configuration files ...
<snip>

6. made a coa call
echo "User-Name:=test" | /usr/bin/radclient -x -r 1 -t 2 localhost coa 
testing123
Sent CoA-Request Id 3 from 0.0.0.0:34990 to 127.0.0.1:3799 length 26
 User-Name := "test"
Received CoA-ACK Id 3 from 127.0.0.1:3799 to 127.0.0.1:34990 length 20

# FROM SERVER
Ready to process requests
(0) Received CoA-Request Id 41 from 127.0.0.1:59598 to 127.0.0.1:3799 length 26
(0)   User-Name = "test"
(0) # Executing section recv-coa from file /etc/freeradius/3.0/sites-enabled/coa
(0)   recv-coa {
(0)     [suffix] = noop
(0)     [ok] = ok
(0)   } # recv-coa = ok
(0) # Executing section send-coa from file /etc/freeradius/3.0/sites-enabled/coa
(0)   send-coa {
(0)     [ok] = ok
(0)   } # send-coa = ok
(0) Sent CoA-ACK Id 41 from 127.0.0.1:3799 to 127.0.0.1:59598 length 0
(0) Finished request
Waking up in 4.9 seconds.
(0) Cleaning up request packet ID 41 with timestamp +4
Ready to process requests

focal looks good.


** Tags removed: verification-needed verification-needed-focal
** Tags added: verification-done verification-done-focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2087740

Title:
  Sending CoA message to freeradius will start an endless loop of
  replies

To manage notifications about this bug go to:
https://bugs.launchpad.net/freeradius-1.1.8/+bug/2087740/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to