Subversion Repositories ALCASAR

Rev

Rev 2513 | Rev 2615 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 2513 Rev 2591
1
server default {
1
server default {
2
listen {
2
listen {
3
	type = auth
3
	type = auth
4
	ipaddr = *
4
	ipaddr = *
5
	port = 0
5
	port = 0
6
	limit {
6
	limit {
7
		max_connections = 16
7
		max_connections = 16
8
		lifetime = 0
8
		lifetime = 0
9
		idle_timeout = 30
9
		idle_timeout = 30
10
	}
10
	}
11
}
11
}
12
 
12
 
13
listen {
13
listen {
14
	type = acct
14
	type = acct
15
	ipaddr = *
15
	ipaddr = *
16
	port = 0
16
	port = 0
17
	limit {
17
	limit {
18
		max_pps = 0
18
		max_pps = 0
19
	}
19
	}
20
}
20
}
21
 
21
 
22
authorize {
22
authorize {
23
	sql
23
	sql{
-
 
24
		notfound = 1
-
 
25
		reject = 2
-
 
26
	}
-
 
27
	if(notfound){
-
 
28
		update reply {
-
 
29
			Reply-Message := "Username not found"
-
 
30
		}
-
 
31
	}
24
	expire_on_login
32
	expire_on_login
25
	noresetcounter
33
	noresetcounter
26
	dailycounter
34
	dailycounter
27
	monthlycounter
35
	monthlycounter
28
	expiration
36
	expiration
29
	counterCoovaChilliMaxTotalOctetsDaily
37
	counterCoovaChilliMaxTotalOctetsDaily
30
	counterCoovaChilliMaxTotalOctetsMonthly
38
	counterCoovaChilliMaxTotalOctetsMonthly
31
	logintime
39
	logintime
32
	pap
40
	pap
33
}
41
}
34
 
42
 
35
authenticate {
43
authenticate {
36
	Auth-Type PAP {
44
	Auth-Type PAP {
37
		pap
45
		pap
38
	}
46
	}
39
}
47
}
40
 
48
 
41
accounting {
49
accounting {
42
	sql
50
	sql
43
}
51
}
44
 
52
 
45
session {
53
session {
46
	sql
54
	sql
47
}
55
}
48
 
56
 
49
post-auth {
57
post-auth {
50
	Post-Auth-Type REJECT {
58
	Post-Auth-Type REJECT {
51
		attr_filter.access_reject
59
		attr_filter.access_reject
52
	}
60
	}
53
}
61
}
54
}
62
}
55
 
63