-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[defect]: checkrad: Unknown NAS (IPv6 address), not checking #4954
Comments
The message Maybe you have the client tied to a virtual server? You might try listing that IP address in |
Hello Allan, how are you? Thanks for your reply. I ran the following tests:
Everything works normally. It seems to me that the behavior is the same, both using MySQL and clients.conf: when the NAS has IPv6, the checkrad script does not recognize it. Hope this helps |
Hello. I just did some tests and the problem continues to occur:
Authentication and accouting are working normally. In the session.c file we can see the call:
The client_find_old function is in the client.c file. It calls the client_find function passing root_clients. When it is IPv6, the line below does not find anything:
However, when it is IPv4 it works normally. However, the client_find function is used in the listen.c and stats.c files. In these places it works normally, that is, in the case of listen.c it recognizes the packet that arrives from a NAS with IPv4 or IPv6. I may be mistaken, but it seems to me that the client_find function is working. The problem only occurs when we pass root_clients to it. Maybe something is wrong when creating root_clients. I used the latest version of the 3.2.x branch for testing. I hope this information has helped and that it helps you solve this problem, as all that remains is to resolve this issue so that IPv6 can be implemented without any problems! Regards |
What type of defect/bug is this?
Unexpected behaviour (obvious or verified by project member)
How can the issue be reproduced?
Hello.
I'm having problems with checkrad script and NAS with IPv6 address. I use Freeradius with MySQL.
Authentication, authorization and accouting work normally. Radclient disconnects the user normally.
The problem occurs when it is necessary to run the verification of simultaneous users, using the checkrad script. I am having the following error message:
checkrad: Unknown NAS 2901:452:9:a::2, not checking
In the MySQL nas table is the IP
2901:452:9:a::2
(remembering that the authentications are working normally with this configuration).(remembering that the authentications are working normally with this configuration).
If you use IPv4 as the NAS address, the checkrad works normally. The problem with checkrad only occurs when using IPv6 as the NAS address.
I compiled the latest version of FreeRadius 3.2.
Could someone help please?
Thanks
Log output from the FreeRADIUS daemon
Relevant log output from client utilities
No response
Backtrace from LLDB or GDB
No response
The text was updated successfully, but these errors were encountered: