Hi Alan, Thanks for your answer. I've just updated to 3.0.9 and after that using the same config i got a "Segmentation fault". Here is freeradius debug output: (1) # Executing section accounting from file /usr/local/etc/raddb/sites-enabled/default (1) accounting { (1) update coa { (1) Packet-Dst-IP-Address = 127.0.0.1 (1) Packet-Dst-Port = 4141 (1) EXPAND %{User-Name} (1) --> testuser (1) User-Name = testuser (1) EXPAND %{Acct-Session-Id} (1) --> 8625095-vlan400-2 (1) Acct-Session-Id = 8625095-vlan400-2 (1) EXPAND %{NAS-IP-Address} (1) --> 127.0.0.1 (1) NAS-IP-Address = 127.0.0.1 (1) EXPAND %{Framed-IP-Address} (1) --> x.x.x.x (1) Framed-IP-Address = x.x.x.x (1) EXPAND %{Mikrotik-Rate-Limit} (1) --> (1) Mikrotik-Rate-Limit = (1) mpd-limit += "in#1=all rate-limit 66 66 66 pass" (1) } # update coa = noop (1) detail: EXPAND /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (1) detail: --> /var/log/radacct/127.0.0.1/detail-20150803 (1) detail: /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radacct/127.0.0.1/detail-20150803 (1) detail: EXPAND %t (1) detail: --> Mon Aug 3 15:04:55 2015 (1) [detail] = ok (1) [unix] = ok (1) [exec] = noop (1) attr_filter.accounting_response: EXPAND %{User-Name} (1) attr_filter.accounting_response: --> testuser (1) attr_filter.accounting_response: Matched entry DEFAULT at line 15 (1) [attr_filter.accounting_response] = updated (1) } # accounting = updated Segmentation fault Exit 139 Any ideas? Thanks. On Sat, Aug 1, 2015 at 4:15 AM, Alan DeKok <aland@deployingradius.com> wrote:
On Jul 31, 2015, at 6:37 PM, Cassiano Peixoto <peixotocassiano@gmail.com> wrote:
I'm using freeradius 3.0.8 as proxy, but i can't generate CoA packets to server 10.0.0.1 on port 4141. What i'm doing wrong? Am i missing something?
In 3.0.8 you can't use "update coa" in the post-auth section. You can use it there in 3.0.9.
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html