debug log

Ryan McGuire rmcguire at cgtmt.com
Fri Jul 12 15:32:11 UTC 2024


When trying to authenticate user from Mikrotik to Radius Server receiving the following, which file do I need to check on my shared secret?


Thank you

(0) Received Access-Request Id 11 from 10.108.21.198:50870 to 10.108.15.25:1812 length 191
Dropping packet without response because of error: Received packet from 10.108.21.198 with invalid Message-Authenticator!  (Shared secret is incorrect.)
Waking up in 0.3 seconds.
(0) Ignoring duplicate packet from client mikrotik-router port 50870 - ID: 11 due to unfinished request in component <REQUEST_DONE> module
(0) Cleaning up request packet ID 11 with timestamp +18 due to done
Ready to process requests
(1) Received Access-Request Id 11 from 10.108.21.198:50870 to 10.108.15.25:1812 length 191
Dropping packet without response because of error: Received packet from 10.108.21.198 with invalid Message-Authenticator!  (Shared secret is incorrect.)
Waking up in 0.3 seconds.
(1) Cleaning up request packet ID 11 with timestamp +19 due to done
Ready to process requests
(2) Received Access-Request Id 12 from 10.108.21.198:45981 to 10.108.15.25:1812 length 191
Dropping packet without response because of error: Received packet from 10.108.21.198 with invalid Message-Authenticator!  (Shared secret is incorrect.)
Waking up in 0.3 seconds.
(2) Ignoring duplicate packet from client mikrotik-router port 45981 - ID: 12 due to unfinished request in component <REQUEST_DONE> module
(2) Cleaning up request packet ID 12 with timestamp +19 due to done
Ready to process requests
(3) Received Access-Request Id 12 from 10.108.21.198:45981 to 10.108.15.25:1812 length 191
Dropping packet without response because of error: Received packet from 10.108.21.198 with invalid Message-Authenticator!  (Shared secret is incorrect.)
Waking up in 0.3 seconds.
(3) Cleaning up request packet ID 12 with timestamp +20 due to done
Ready to process requests
(4) Received Access-Request Id 13 from 10.108.21.198:34731 to 10.108.15.25:1812 length 191
Dropping packet without response because of error: Received packet from 10.108.21.198 with invalid Message-Authenticator!  (Shared secret is incorrect.)
Waking up in 0.3 seconds.
(4) Ignoring duplicate packet from client mikrotik-router port 34731 - ID: 13 due to unfinished request in component <REQUEST_DONE> module
(4) Cleaning up request packet ID 13 with timestamp +20 due to done
Ready to process requests
(5) Received Access-Request Id 13 from 10.108.21.198:34731 to 10.108.15.25:1812 length 191
Dropping packet without response because of error: Received packet from 10.108.21.198 with invalid Message-Authenticator!  (Shared secret is incorrect.)
Waking up in 0.3 seconds.
(5) Cleaning up request packet ID 13 with timestamp +21 due to done
Ready to process requests
(6) Received Access-Request Id 14 from 10.108.21.198:33815 to 10.108.15.25:1812 length 191
Dropping packet without response because of error: Received packet from 10.108.21.198 with invalid Message-Authenticator!  (Shared secret is incorrect.)
Waking up in 0.3 seconds.
(6) Ignoring duplicate packet from client mikrotik-router port 33815 - ID: 14 due to unfinished request in component <REQUEST_DONE> module
(6) Cleaning up request packet ID 14 with timestamp +21 due to done
Ready to process requests
(7) Received Access-Request Id 14 from 10.108.21.198:33815 to 10.108.15.25:1812 length 191
Dropping packet without response because of error: Received packet from 10.108.21.198 with invalid Message-Authenticator!  (Shared secret is incorrect.)
Waking up in 0.3 seconds.
(7) Cleaning up request packet ID 14 with timestamp +22 due to done
Ready to process requests
(8) Received Access-Request Id 15 from 10.108.21.198:38303 to 10.108.15.25:1812 length 143
Dropping packet without response because of error: Received packet from 10.108.21.198 with invalid Message-Authenticator!  (Shared secret is incorrect.)
Waking up in 0.3 seconds.
(8) Ignoring duplicate packet from client mikrotik-router port 38303 - ID: 15 due to unfinished request in component <REQUEST_DONE> module
(8) Cleaning up request packet ID 15 with timestamp +50 due to done
Ready to process requests
(9) Received Access-Request Id 15 from 10.108.21.198:38303 to 10.108.15.25:1812 length 143
Dropping packet without response because of error: Received packet from 10.108.21.198 with invalid Message-Authenticator!  (Shared secret is incorrect.)
Waking up in 0.3 seconds.
(9) Cleaning up request packet ID 15 with timestamp +51 due to done


----------------------------
Ryan McGuire | Systems Administrator
Century Gaming Technologies - Billings
PO Box 21138 Billings, MT 59101
C: 406-860-1299
E: rmcguire at cgtmt.com
W: www.cgtmt.com
Confidentiality Statement:
This e-mail contains confidential information which also may be privileged. Unless you are the addressee (or authorized to receive for the addressee), you may not copy, use, disclose or distribute the e-mail message or any information contained in the message. If you have received this e-mail message in error, please advise the sender by replying to this message or by telephone and then promptly delete it.
----------------------------
From: Ryan McGuire
Sent: Friday, July 12, 2024 8:21 AM
To: Jon Gerdes <gerdesj at blueloop.net>; aland at deployingradius.com
Cc: freeradius-users at lists.freeradius.org
Subject: RE: debug log

Hi Jon,

Just seeing what other information you would need from me. Once again, really new to this and just started setting up freeradius with linux.

Thank you for your help

From: Ryan McGuire
Sent: Thursday, July 11, 2024 8:27 AM
To: Jon Gerdes <gerdesj at blueloop.net>; aland at deployingradius.com
Cc: freeradius-users at lists.freeradius.org
Subject: RE: debug log

Hi Jon,

I have a Linux Server setup with Ubuntu 22.04.4….initially we had setup radius using a windows server that was our Certificate Authority, Network Policy Server, with all of our different routers at different locations as radius clients(we have multiple locations 10 or so, where we want to dictate the devices which are allowed to connect to our wireless in those locations but say someone visits from one location to another have them automatically authenticate to the new location they’re at).

Problem is we cannot go the route of Windows based now and had come across using first user manager but we don’t want to authenticate via mac address which lead me to free radius.

The mikrotik’s would all be my NAS clients I believe, the one I’m testing on is v6.49.8.  All laptops connecting would be either Windows 10 or 11.

Had setup daloradius as well for a GUI to use as for myself this works better as I’m learning linux still.



Let me know if you need any additional information


Thank you




From: Jon Gerdes <gerdesj at blueloop.net<mailto:gerdesj at blueloop.net>>
Sent: Wednesday, July 10, 2024 4:36 PM
To: aland at deployingradius.com<mailto:aland at deployingradius.com>; Ryan McGuire <rmcguire at cgtmt.com<mailto:rmcguire at cgtmt.com>>
Cc: freeradius-users at lists.freeradius.org<mailto:freeradius-users at lists.freeradius.org>
Subject: Re: debug log

Ryan "Received Access-Accept" means that RADIUS is happy and has authenticated the request. I get the impression that we have hit a blockage of some sort here. Perhaps a quick overview of what you are trying to do might help. No need

Ryan

"Received Access-Accept" means that RADIUS is happy and has authenticated the request.

I get the impression that we have hit a blockage of some sort here.  Perhaps a quick overview of what you are trying to do might help.  No need for configs.

Something like:

I am trying to do username/password authentication with a Windows 11 (version) laptop (model) connected via wifi to a Mikrotik (something) using (standard name).  The Mikrotik authenticates and authorises access using RADIUS.  The RADIUS server is a etc etc

Model numbers, versions etc will be helpful.  Given that, we might be able to work back through your debug logs and hopefully find out what is going wrong.

Cheers
Jon




On Wed, 2024-07-10 at 21:29 +0000, Ryan McGuire wrote:
This is what I get when I do a radtest

Sent Access-Request Id 27 from 0.0.0.0:41113 to 10.108.15.25:1812 length 78
        User-Name = "rmcguire"
        User-Password = "password123"
        NAS-IP-Address = 127.0.1.1
        NAS-Port = 1812
        Message-Authenticator = 0x00
        Cleartext-Password = "password123"
Received Access-Accept Id 27 from 10.108.15.25:1812 to 10.108.15.25:41113 length 36
        Tunnel-Medium-Type:0 = IEEE-802
        Tunnel-Type:0 = VLAN
        Tunnel-Private-Group-Id:0 = "88"

Basically, wanting to know what should I be looking for? Next steps to confirm things are working and then to get my router authentication working for wireless, sorry for all the dumb questions, this is my first time doing this and was hoping that there would be a straight forward tutorial for setting this up

Thanks for any help provided

‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑​​​​
Ryan McGuire
 |
Systems Administrator
Century Gaming Technologies
 ‑
Billings
PO Box 21138

Billings
,
MT

59101
C: 406-860-1299<tel:406-860-1299>
E: rmcguire at cgtmt.com<mailto:rmcguire at cgtmt.com>
W: www.cgtmt.com<http://www.cgtmt.com/>
[cid:image001.jpg at 01DAD43E.61DEC060]
Confidentiality Statement:
This e-mail contains confidential information which also may be privileged. Unless you are the addressee (or authorized to receive for the addressee), you may not copy, use, disclose or distribute the e-mail message or any information contained in the message. If you have received this e-mail message in error, please advise the sender by replying to this message or by telephone and then promptly delete it.
‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑
From: Alan DeKok <aland at deployingradius.com<mailto:aland at deployingradius.com>>
Sent: Wednesday, July 10, 2024 2:32 PM
To: Ryan McGuire <rmcguire at cgtmt.com<mailto:rmcguire at cgtmt.com>>
Cc: Jon Gerdes <gerdesj at blueloop.net<mailto:gerdesj at blueloop.net>>; freeradius-users at lists.freeradius.org<mailto:freeradius-users at lists.freeradius.org>
Subject: Re: debug log

On Jul 10, 2024, at 3: 05 PM, Ryan McGuire <rmcguire@ cgtmt. com> wrote: > Attached is my log when running ntradping Please just paste the message into the email. That makes it easier to reply in-line, and quote the debug output. Adding

On Jul 10, 2024, at 3:05 PM, Ryan McGuire <rmcguire at cgtmt.com<mailto:rmcguire at cgtmt.com>> wrote:

> Attached is my log when running ntradping



  Please just paste the message into the email.  That makes it easier to reply in-line, and quote the debug output.  Adding it as an attachment just makes it more difficult to help you, which makes it less likely that you will get help.



  And you don't need to use nradping.  The server comes with test tools: radclient / radtest.



  As for the debug output, it doesn't show anything useful.  For one, you've removed almost everything from it, which the documentation says *don't do*.



  For another, the debug output shows it sending an Access-Accept.  OK... what's wrong?  Is there an error?  Do you expect the server to do something else?



  What, exactly, is the problem you need help with?  Can you describe it?



  I really only have limited patience for this kind of "20 questions" game.  If it's clear that I can't help you, then there's no reason for me to try.



  Alan DeKok.





More information about the Freeradius-Users mailing list