matching accounting packets in the acct_users file

Tariq Rashid tariq.rashid at uk.easynet.net
Wed Aug 24 13:35:46 CEST 2005


i would like to filter off interim accoutning packets from specific domains
to a different proxy target - as follows...

	# interim/status/alive accounting records are actually sent to the
processing domain
	DEFAULT User-Name =~ "@.*\.abc\.co\.uk$", Acct-Status-Type == Alive,
Proxy-To-Realm := "filterradius"

	# following is used to map subdomains of *.easynet.co.uk
	# to be proxied according to the realm easynet.co.uk
	DEFAULT User-Name =~ "@.*\.abc\.co\.uk$", Proxy-To-Realm :=
"abc.co.uk"


however, the first rule is never matched when i send packets with the
following attributes:

	Attributes:
        Acct-Status-Type = Alive,
        User-Name = "test at xyz.abc.co.uk"

do i have the syntax wrong?

tariq



More information about the Freeradius-Users mailing list