summaryrefslogtreecommitdiffstats
path: root/raddb/policy.d/control
blob: b3f1e036695c2c3db6b887e4f4c88b85bf1159bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#
#  If you want the server to pretend that it is dead,
#  then use the "do_not_respond" policy.
#
do_not_respond {
	update control {
		&Response-Packet-Type := Do-Not-Respond
	}
	handled
}

#
#  Send Access-Accept immediately
#
accept {
	update control {
		&Response-Packet-Type = Access-Accept
	}
	handled
}

#
#  Send Access-Challenge immediately
#
challenge {
	update control {
		&Response-Packet-Type = Access-Challenge
	}
	handled
}

#
#  Send an Accounting-Response immediately
#
acct_response {
	update control {
		&Response-Packet-Type = Accounting-Response
	}
	handled
}