Cute trick now in v3:

Alan DeKok aland at deployingradius.com
Wed Jun 12 14:44:17 CEST 2013


	update control {
		Class := 0x7f000001
	}

	update reply {
		Framed-IP-address := &Class
	}

Access-Accept
	Framed-IP-Address = 127.0.0.1


  It normally requires both sides of an assignment to be the same data
type.  (e.g. ipaddr).  In this case, "octets" can be assigned to
"ipaddr" because the octets are 4 bytes in length.

  This functionality makes it easier to manipulate data.  The server
previously required that all input data was in printable ASCII form.  It
can now handle limited forms of binary data, too.

  The next step is to allow the inverse:

	Class = &Framed-IP-Address

  Which will also be helpful.

  In any case, v3 is pretty much done.  Unless there are major
roadblocks, it will be released by the end of June, 2013.

  Alan DeKok.


More information about the Freeradius-Devel mailing list