On Fri, 19 Mar 2004, Josh Fry wrote: > Hello, > > I am using freeradius-0.9.3 on Solaris 8, > > I have a scenario where a remote third party NAS that we do not control is sending > access request packets without > any NAS-Port defined. ( it is a GPRS connection ) > > To get round this - in the Hints file I was assigning an arbitrary Nas-Port to the > incoming connection. > However so far I have only been able to assign a static number as a Nas-Port. > > this does not work with rlm_ippool module as the database uses nas ip/ nas port as a > key in the file. > > is it possible to assign some sort of arbitrary unique dynamic number as a Nas-Port > I thought I might be able to use "Calling-Station-Id" for example in the > hints file I tried to set > > DEFAULT Suffix = "*******", Strip-User-Name = No > Hint = "GPRS", > Nas-Port = `%i` > > > but this does not seem to work it just sets the port as '0' > > or force rlm_ippool to use some other value apart from Nas-Port as a key
In the future rlm_ippool will be able to use a user defined key. For now you could use attr_rewrite to add the value Calling-Station-Id as a NAS-Port attribute. > > does anybody know away round this > > kind regards > > Josh > > > > > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html > -- Kostas Kalevras Network Operations Center [EMAIL PROTECTED] National Technical University of Athens, Greece Work Phone: +30 210 7721861 'Go back to the shadow' Gandalf - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

