attrs.pre-proxy in V2

Alan DeKok aland at deployingradius.com
Mon May 16 17:03:51 CEST 2011


Steve Brown wrote:
> Hi chaps,
> 
> I'm slightly confused with the different V2 semantics. I'm trying to truncate
> the Framed-IP-Address to the first three quads for a particular realm
> (somerealm below) when a particular attribute contains particular text:

  You can't really do that.  IP addresses have 4 octets...

  My $0.02 is to put the truncated value into a separate attribute, then
add the final octet to that when you create the Framed-IP-Address.

> What would the equivalent rule for V2 be? The above doesn't appear to do what I
> want.

  Probably because v2 is pickier: a 3-octet IP address is not valid.

  Alan DeKok.



More information about the Freeradius-Users mailing list