Thanks, Alan! I am thinking that the accounting service needs to be tested on its own apart from authentication. Have I mistaken? This is the command I used:
radtest testuser testpwd 127.0.0.1:1813 123 testing123
I have seen in the Radius RFC that passwords shouldn't be sent in accounting packets but the same error output even when I pull the password out of the command. Best, KT -----Original Message----- From: Freeradius-Users <freeradius-users-bounces+lingctam=hku.hk@lists.freeradius.org> On Behalf Of Alan DeKok Sent: Monday, September 21, 2020 10:39 PM To: FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Subject: Re: Accounting debugging error On Sep 21, 2020, at 10:33 AM, lingctam <lingctam@hku.hk> wrote:
Dear Colleagues,
I have been unable to resolve the following error in debug mode:
Invalid packet code 1 sent to a accounting port from client localhost port 21474 : IGNORED Ready to process requests
The only answer I have found online suggests a port conflict but no other port other than 1813 would respond to accounting requests. Note: accounting point is set to 0 in sites-enabled/default
The client is sending Access-Requests to the accounting port. Fix it so that the client sends Access-Requests to the authentication port. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html