NAS-Identifier Patch

Jouni Malinen jkmaline at cc.hut.fi
Sun Feb 15 01:04:33 EST 2004


On Thu, Jan 29, 2004 at 11:02:27AM +0100, Gunter Burchardt wrote:

> At the moment hostapd sends only NAS-Ip in radius-packets. For a better
> identification of a nas the radius-attribute nas-identifier would be
> fine. I patched it into the latest CVS-version of hostapd (0.2.0). In
> the atachment is the patch-file.
> 
> In each radius-packet the NAS-Identifier attibute will be included. You
> can configure it in hostapd.conf.

Thanks. I added this feature, although with a bit modified patch
(hostapd.conf should always be updated when adding new variables,
NAS-Identifier must be freed when freeing config, must verify whether
NAS-Identifier has been set before using it, coding style).

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the HostAP mailing list