Checking values of attributes

Alan DeKok aland at deployingradius.com
Wed Jul 8 14:28:59 CEST 2015


On Jul 7, 2015, at 10:03 PM, Pshem Kowalczyk <pshem.k at gmail.com> wrote:
> if ( ! &request:SV-Handled || &request:SV-Handled != True ){

  That helps a bit.

> Our requirements are slightly different then what that default config
> offers:
> 
> 1. Both of the servers are active (and the NASes load-balance between them)
> 2. We don't care if an accounting packet goes missing every now and then
> 3. We don't want to store anything on the machine/file system

  You should do replicate checks based on source IP address.  It's simpler and easier.

	if (Packet-Src-IP-Addr != address.of.other.server) {
		replicate    # to the other server
	}

  That's simple and clear.

  Alan DeKok.




More information about the Freeradius-Users mailing list