When you start the httpd server, a first access is done to the fonction:
Nov 17 16:13:37 debug-Centos7-vm debugPOC[10794]: HOSTNAME 001: 192.168.1.100
Nov 17 16:13:37 debug-Centos7-vm systemd: Started The Apache HTTP Server.
After accessing the webpage, enter user / password and clic Connect, the log is:
Nov 17 16:13:53 debug-Centos7-vm debugPOC[10796]: HOSTNAME 001: fe80::a00:27ff:fef0:72b
The remote hostname is not the same that the one in the config file and changed for the IPv6 local of the first interface.
After disabling IPv6, all good:
echo 1 > /proc/sys/net/ipv6/conf/default/disable_ipv6
echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6
Nov 17 16:18:19 main-repo debugPOC[10861]: HOSTNAME 001: 192.168.1.100
Nov 17 16:18:19 main-repo systemd: Started The Apache HTTP Server.
Nov 17 16:18:31 main-repo debugPOC[10863]: HOSTNAME 001: 10.0.2.15
Hello,
mod_auth_radius is not working when IPv6 is enabled.
PoC Interface
A debug was added to the C script
When you start the httpd server, a first access is done to the fonction:
After accessing the webpage, enter user / password and clic Connect, the log is:
Nov 17 16:13:53 debug-Centos7-vm debugPOC[10796]: HOSTNAME 001: fe80::a00:27ff:fef0:72b
The remote hostname is not the same that the one in the config file and changed for the IPv6 local of the first interface.
After disabling IPv6, all good:
Thanks, Ribellusmt