Create a separate Client block, before the network its containted in if you have already a Client block for the whole network as well, assign a client-identifier to it and use it in the Handler instead of the NAS-IP-Address.
BR Alex On 2013-04-15 14:03, Arya, Manish Kumar wrote: > Hi Alexander, > > I have already added this IP in client list with secret. usually > we write handlers for networks which look like <Handler > NAS-IP-Address=/10\.1\.233\..*/> > but I am not sure what should be the syntax for a single IP like > 10.33.50.4 > > Regards, > -Manish > > > ------------------------------------------------------------------------ > *From:* Alexander Hartmaier <alexander.hartma...@t-systems.at> > *To:* radiator@open.com.au > *Sent:* Monday, April 15, 2013 5:25 PM > *Subject:* Re: [RADIATOR] Syntax for handler > > Hi Manish, > as you have to define the nas and its radius secret anyway I suggest > that you configure a client-identifier for it and use that in your > Handler(s), makes future changes easier because you don't have to > search the IP in your whole config. > Best regards, Alex > On 2013-04-15 12:56, Arya, Manish Kumar wrote: >> Hi, >> >> I want to write a handler to entertain requests coming from a IP, >> is this the right syntax for this ? >> >> <Handler Realm = alu,NAS-IP-Address=/10\.33\.50\.4/> >> AuthLog auth_log >> RewriteUsername s/^([^@]+).*/$1/ >> AuthBy alu_ldap >> </Handler> >> >> I had tried NAS-IP-Address=10.33.50.4 but it doesn't works >> >> Regards, >> -Manish >> >> >> _______________________________________________ >> radiator mailing list >> radiator@open.com.au <mailto:radiator@open.com.au> >> http://www.open.com.au/mailman/listinfo/radiator > > > > *"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"* > T-Systems Austria GesmbH Rennweg 97-99, 1030 Wien > Handelsgericht Wien, FN 79340b > *"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"* > Notice: This e-mail contains information that is confidential and may > be privileged. > If you are not the intended recipient, please notify the sender and then > delete this e-mail immediately. > *"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"* > > _______________________________________________ > radiator mailing list > radiator@open.com.au <mailto:radiator@open.com.au> > http://www.open.com.au/mailman/listinfo/radiator >
_______________________________________________ radiator mailing list radiator@open.com.au http://www.open.com.au/mailman/listinfo/radiator