When using radclient get "Failed filter : 1"
aland at deployingradius.com
Tue Jul 14 03:25:56 CEST 2020
On Jul 13, 2020, at 5:56 PM, Runner <runner at winning.com> wrote:
> Using radclient version 3.0.15. I'm new freeradius and I'm trying to get the radclient utility (running it from the freeraduis server) to work so I can test a new user that was recently added. Running radclient results in Access-Reject. Te results of the command are as follows:
> Sent Access-Request Id 119 from 0.0.0.0:58583 to 127.0.0.1:1812 length 66
> User-Name = "testuser1"
> User-Password = "testpassword123"
> Cleartext-Password = "testpassword123"
> Received Access-Reject Id 119 from 127.0.0.1:1812 to 0.0.0.0:0 length 20
> (0) -: Expected Access-Accept got Access-Reject
> Packet summary:
> Accepted : 0
> Rejected : 1
> Lost : 0
> Passed filter : 0
> Failed filter : 1
> I've google searched "radclient" + "Failed filter" and I can find very little info about what this "Failed filter" means. I've read the man pages for radclient and found no info on "Failed filter." Can someone tell me what "Failed filter" means?
Read "man radclient". Look for "-f", which explains the filters.
You're putting multiple packets in the file being passed to rad client. Don't do that. Pass just one packet. And then nothing else. Don't add a blank line. Don't add anything else after the blank line.
More information about the Freeradius-Users