WPA2 Enterprise Auth Server and Acct Server issues

Post new topic   Reply to topic    DD-WRT Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.)
Author Message
ereiss
DD-WRT Novice


Joined: 03 Aug 2023
Posts: 9

PostPosted: Mon Jan 08, 2024 18:15    Post subject: WPA2 Enterprise Auth Server and Acct Server issues Reply with quote
Hi All:

Currently using DD-WRT v3.0-r51937 std (03/05/23).

I have two Windows Active Directory Servers with Network Policy Server (NPS) setup to do the Radius authentication.

I have the basics all working and can log in to the WiFi Access Point using a Windows Active Directory username and password.

My problem is that in the Wireless | Wireless Security settings, when you use WPA2 Enterprise and have Auth Server settings set and Auth Backup Server settings set, I don't understand why there is only one Acct Server settings.

Both of the NPS servers (Radius Servers) have accounting.

My Auth servers are both using default 1812 ports.

Acct Server uses the 1813 port and uses the primary Auth server (same IP).

I can authenticate and the connections details are shown in syslog on the DD-WRT and in the NPS accounting logs.

Works great.

But it I disable the primary Auth server (NPS server), I can't log in.

It does not seem to be failing to the seconard Auth server.

If I flip-flop the IP addresses and use the secondary (Radius/NPS) server's IP in the Auth Server and Acct Server, then put the primary (Radius/NPS) server's IP in the Backup Auth server setting, I can login and the logs show on the secondary (Radius/NPS) server.

So I know that both Windows NPS servers are working.

The problem seems to be something with the DD-WRT and not failing over and I don't understand why the account server is not paired up with the auth server.

There should be a second Acct Server.

You should be able to pair the Acct server with an Auth server and pair the second Acct server with the second Auth Server.

Anyone have any thoughts on this?

See my attached image of settings.

Thank you,

Eric
Sponsor
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1935

PostPosted: Mon Jan 08, 2024 19:03    Post subject: Reply with quote
If it is not an issue in current release, there won't be much attention given to your issue, especially with no system logs or serial console logs attached. You were already advised to upgrade once already.

https://ftp.dd-wrt.com/dd-wrtv2/downloads/betas/2024/01-02-2024-r54682/linksys-wrt1900acsv2/

_________________
"The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost

"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio

<fact>code knows no gender</fact>

This is me, knowing I've ruffled your feathers, and not giving a ****
Some people are still hard-headed.

--------------------------------------
Mac Pro (Mid 2012) - Two 2.4GHz 6-Core Intel Xeon E5645 processors 64GB 1333MHz DDR3 ECC SDRAM OpenSUSE Leap 15.5
ereiss
DD-WRT Novice


Joined: 03 Aug 2023
Posts: 9

PostPosted: Wed Jan 10, 2024 3:27    Post subject: Reply with quote
OK, so I upgraded to Firmware: DD-WRT v3.0-r54682 std (01/02/24) and see the same problem.

I managed to collect logs and screenshots for six test cases. I also have a quick diagram to help people understand.

All are attached.

I have a Windows Active Directory Domain with two Domain Controller running Netowrk Polic Server which is Microsoft's Radius server. It also has Account Server capabilities.

The DD-WRT router will connect and use a Windows Domain username and password and authenticate and it all gets logged and works great.

The basics work.

The problem is with the redundancy.

In the Wireless | Wireless Security tab of the DD-WRT, I have for the first Auth Server my first domain controller with Network Policy Server (NPS). I also have Accounting enabled and the Acct Server pointed at the same IP of the Auth Server.

The second domain controller with NPS is set with the Auth Backup Server address.

This is Test Case 1 (See "Test Case 1.zip").
This works fine.

The zip file has a screenshot showing the settings on the DD-WRT router.
The relevant part of the DD-WRT log file is there.
The first NPS server "AuthServer1" log file is there in .xml format.
The secont NPS server "AuthServer2" logged nothing.

In each test case, I rebooted the DD-WRT to get a clean log and likewise did the same with the NPS server service. Stopped it and renamed the log and allowed it to start a new long when restarting the NPS service.

All of this seems fine since the first NPS server is up and running and listening to handle RADIUS authentication requests.


Test Case 2 repeats this but I disabled the Acct Server Setting in DD-WRT.
The only difference in the logs is that in the DD-WRT log it doesn't show that I disconnected (DeAuth) like in Test Case 1. And the XML log in the NPS1 server is less verbose



For Test Case 3, I flipped which server was the Auth Server and Auth Backup Server and I also switch the Acc Server address. So my NPS2 server is listed first and as the Acct Server and my NPS2 server is now the Auth Backup server.

This likewise works. This just proves the second NPS server is working as well.


Test Case 4 same as Test Case 3 but with the Accounting disabled.

Still works. Less Verbose.


NOW COMES THE PROBLEM.

Back configured as Test Case 1 but in this Test Case 5, I have the NPS service on the Auth Server 1 shutdown. The Active Directory Domain Controller server is up and running, jsut the NPS server is turned off.

The NPS1 XML log has a little in it but that was before I shut it down.

When I try to connect from the notebook, the DD-WRT log is spitting out a bunch of errors:

an 9 18:58:05 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 MLME: auth request, signal -52 (Accepted)
Jan 9 18:58:05 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 IEEE 802.11: authenticated
Jan 9 18:58:05 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 MLME: assoc request, signal -51 (Accepted)
Jan 9 18:58:05 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 IEEE 802.11: associated (aid 1)
Jan 9 18:58:22 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 MLME: auth request, signal -54 (Accepted)
Jan 9 18:58:22 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 IEEE 802.11: authenticated
Jan 9 18:58:22 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 MLME: assoc request, signal -53 (Accepted)
Jan 9 18:58:22 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 IEEE 802.11: Station tried to associate with unknown SSID ''
Jan 9 18:58:22 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 MLME: auth request, signal -54 (Accepted)
Jan 9 18:58:22 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 IEEE 802.11: authenticated
Jan 9 18:58:22 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 MLME: assoc request, signal -53 (Accepted)
Jan 9 18:58:22 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 IEEE 802.11: Station tried to associate with unknown SSID ''
Jan 9 18:58:22 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 MLME: auth request, signal -55 (Accepted)
Jan 9 18:58:22 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 IEEE 802.11: authenticated
Jan 9 18:58:22 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 MLME: assoc request, signal -53 (Accepted)
Jan 9 18:58:22 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 IEEE 802.11: Station tried to associate with unknown SSID ''
Jan 9 18:58:22 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 MLME: auth request, signal -54 (Accepted)
Jan 9 18:58:22 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 IEEE 802.11: authenticated
Jan 9 18:58:22 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 MLME: assoc request, signal -53 (Accepted)
Jan 9 18:58:22 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 IEEE 802.11: Station tried to associate with unknown SSID ''
Jan 9 18:58:26 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 IEEE 802.11: deauthenticated due to local deauth request
Jan 9 18:58:26 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 MLME: auth request, signal -53 (Accepted)
Jan 9 18:58:26 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 IEEE 802.11: authenticated
Jan 9 18:58:26 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 MLME: assoc request, signal -50 (Accepted)
Jan 9 18:58:26 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 IEEE 802.11: Station tried to associate with unknown SSID ''
Jan 9 18:58:26 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 MLME: auth request, signal -53 (Accepted)
Jan 9 18:58:26 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 IEEE 802.11: authenticated
Jan 9 18:58:26 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 MLME: assoc request, signal -52 (Accepted)
Jan 9 18:58:26 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 IEEE 802.11: Station tried to associate with unknown SSID ''
Jan 9 18:58:26 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 MLME: auth request, signal -53 (Accepted)
Jan 9 18:58:26 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 IEEE 802.11: authenticated
Jan 9 18:58:26 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 MLME: assoc request, signal -49 (Accepted)
Jan 9 18:58:26 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 IEEE 802.11: Station tried to associate with unknown SSID ''
Jan 9 18:58:26 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 MLME: auth request, signal -53 (Accepted)
Jan 9 18:58:26 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 IEEE 802.11: authenticated
Jan 9 18:58:26 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 MLME: assoc request, signal -49 (Accepted)
Jan 9 18:58:26 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 IEEE 802.11: Station tried to associate with unknown SSID ''
Jan 9 18:58:29 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 MLME: auth request, signal -55 (Accepted)
Jan 9 18:58:29 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 IEEE 802.11: authenticated
Jan 9 18:58:29 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 MLME: assoc request, signal -55 (Accepted)
Jan 9 18:58:29 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 IEEE 802.11: Station tried to associate with unknown SSID ''
Jan 9 18:58:29 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 MLME: auth request, signal -55 (Accepted)
Jan 9 18:58:29 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 IEEE 802.11: authenticated
Jan 9 18:58:29 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 MLME: assoc request, signal -55 (Accepted)
Jan 9 18:58:29 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 IEEE 802.11: Station tried to associate with unknown SSID ''
Jan 9 18:58:29 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 MLME: auth request, signal -56 (Accepted)
Jan 9 18:58:29 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 IEEE 802.11: authenticated
Jan 9 18:58:29 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 MLME: assoc request, signal -55 (Accepted)
Jan 9 18:58:29 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 IEEE 802.11: Station tried to associate with unknown SSID ''
Jan 9 18:58:29 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 MLME: auth request, signal -55 (Accepted)
Jan 9 18:58:29 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 IEEE 802.11: authenticated
Jan 9 18:58:29 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 MLME: assoc request, signal -50 (Accepted)
Jan 9 18:58:29 ASC-WRT30 daemon.info hostapd: wlan0: STA 14:75:5b:89:4c:f7 IEEE 802.11: Station tried to associate with unknown SSID ''



NOthing is getting logged on my second NPS server.



Test Case 6 is the same but with Accounting disabled.



I found someone else having an issue and they reduced the setting "Primary Server Retry Limit" from the default of 600 down to "1" and it still didn't work. But then he tried "10" and it started working.

I tried that and still no failover.

It seems like the point of having am "Auith Backup Server" is to support failver if the first Auth server is unavailable.

But this does not seem to be working.
ereiss
DD-WRT Novice


Joined: 03 Aug 2023
Posts: 9

PostPosted: Wed Jan 10, 2024 3:33    Post subject: Reply with quote
Here are Test Cases 3, 4 and 5.

Apparently you can only attached three files to a post.
ereiss
DD-WRT Novice


Joined: 03 Aug 2023
Posts: 9

PostPosted: Wed Jan 10, 2024 3:34    Post subject: Reply with quote
last test case, #6. not really important.

Test Case 5 shows the problem.
ereiss
DD-WRT Novice


Joined: 03 Aug 2023
Posts: 9

PostPosted: Wed Jan 10, 2024 14:50    Post subject: Reply with quote
A Little more to add this morning.

I figured out how Windows collects connection data from the notebook.

The image shows a good connection which is my Test Case 1.

The second failed connection shows what the notebook reports for Test Case 5 when the first NPS server (Auth Server) is has the service turned off.
ereiss
DD-WRT Novice


Joined: 03 Aug 2023
Posts: 9

PostPosted: Fri Jan 12, 2024 16:43    Post subject: Reply with quote
Any comments on this issue.

It basically looks like the "Auth Backup Server Address" cannot be contacted (failed-over to) when the "Auth Server Address" radius server is not accessible.

The error in in the DD-WRT syslog when I disable the primary Radius server is:
IEEE 802.11: Station tried to associate with unknown SSID ''

So those are two single quote marks with a space.

It looks like when the DD-WRT fails over to the backup auth server it is providing a null SSID.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.) All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum