When using radclient get "Failed filter : 1"
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? Rick
On 13 Jul 2020, at 18:56, Runner <runner@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?
Hi Rick, So, basically the radclient is pretty simple guy. You told to him verify the user and password, if the server _refused_ the authentication. It means that your server doesn’t have such user or the password is wrong. Therefore, execute your radiusd in debug mode to see the reason. You could find the steps here https://wiki.freeradius.org/guide/radiusd-X <https://wiki.freeradius.org/guide/radiusd-X> Ah! If you’re configuring a production server. Please think about using the latest version 3.0.20. you could find official packages in https://packages.networkradius.com/ <https://packages.networkradius.com/> Best regards, Jorge Pereira
Rick
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On Jul 13, 2020, at 5:56 PM, Runner <runner@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. Alan DeKok.
participants (3)
-
Alan DeKok -
Jorge Pereira -
Runner